/* =====================================================
   Julian J. Acosta — Financial Consulting
   Paleta: Rojo #E8192C · Negro #0F0F0F · Blanco #FFFFFF
   Versión: 2.0.0
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Marca */
  --red:      #E8192C;
  --red2:     #C8111F;   /* hover / pressed */
  --red3:     #FF3347;   /* sobre fondos oscuros */
  --red-soft: rgba(232,25,44,0.08);
  --red-mid:  rgba(232,25,44,0.15);

  /* Neutrales */
  --black:  #0F0F0F;
  --dark:   #1A1A1A;
  --dark2:  #242424;
  --dark3:  #2E2E2E;
  --white:  #FFFFFF;
  --ivory:  #F8F7F5;
  --gray:   #F1F0EE;
  --text:   #1A1A1A;
  --text2:  #4A4A4A;
  --text3:  #8A8A8A;
  --border: #E5E5E5;
  --border-dark: rgba(255,255,255,0.08);

  --ff:  'Inter', system-ui, sans-serif;
  --ffd: 'Playfair Display', Georgia, serif;
  --radius:  6px;
  --radius2: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13);
  --shadow-red: 0 8px 24px rgba(232,25,44,0.28);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--ff);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  font-size: 15px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── TOP BAR ── */
.topbar {
  background: var(--black);
  border-bottom: none;
  padding: 0 6vw;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-contact { display: flex; align-items: center; gap: 28px; }
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  transition: color 0.2s;
}
.topbar-item:hover { color: var(--white); }
.topbar-icon { width: 14px; height: 14px; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.25); }
.topbar-social { display: flex; align-items: center; gap: 8px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  transition: all 0.2s;
}
.topbar-social a:hover { background: rgba(255,255,255,0.2); color: var(--white); border-color: rgba(255,255,255,0.6); }

/* ── NAV ── */
#mainNav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  padding: 0 6vw; height: 82px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
#mainNav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.13); }

/* Logo usando imagen real */
.nav-logo { display: flex; align-items: center; gap: 14px; }

.nav-logo-img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Fallback text logo (si no carga la imagen) */
.nav-logo-text-wrap { display: flex; flex-direction: column; }
.nav-brand {
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}
.nav-sub {
  font-size: 9px;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 600;
  color: var(--text);
  padding: 8px 16px; border-radius: var(--radius);
  transition: all 0.2s; letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--red); background: var(--red-soft); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
  letter-spacing: 0.02em !important;
}
.nav-cta:hover { background: var(--red2) !important; }

/* ── HERO SLIDER ── */
.hero-slider { position: relative; overflow: hidden; height: 600px; }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.9s ease; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,8,8,0.90) 38%, rgba(8,8,8,0.45) 100%);
}

.slide-content { position: relative; z-index: 2; padding: 0 6vw; max-width: 680px; }

.slide-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); margin-bottom: 22px;
}
.slide-tag::before { content: ''; width: 32px; height: 2px; background: rgba(255,255,255,0.4); }

.slide-content h1,
.slide-content .slide-h1 {
  font-family: var(--ffd);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700; line-height: 1.08;
  color: var(--white); margin-bottom: 20px; letter-spacing: -0.02em;
}
.slide-content h1 em,
.slide-content .slide-h1 em { font-style: italic; color: var(--red3); }
.slide-content .slide-h1 { display: block; }

.slide-desc {
  font-size: 16px; font-weight: 300; line-height: 1.78;
  color: rgba(255,255,255,0.62); margin-bottom: 38px; max-width: 520px;
}

.slide-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-red {
  background: var(--red); color: var(--white);
  padding: 13px 30px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: var(--red2); transform: translateY(-1px); }

.btn-outline-w {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.82);
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.btn-outline-w:hover { border-color: var(--white); color: var(--white); }

/* Barra decorativa lateral */
.slide-content::before {
  content: '';
  position: absolute;
  left: calc(6vw - 20px);
  top: 50%; transform: translateY(-50%);
  width: 4px; height: 72px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}

.slider-controls {
  position: absolute; bottom: 30px; left: 6vw;
  z-index: 10; display: flex; align-items: center; gap: 10px;
}
.slider-dot {
  width: 24px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.3s;
}
.slider-dot.active { background: var(--white); width: 44px; }

.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: all 0.2s; color: var(--white);
}
.slider-nav:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); }
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }
.slider-nav svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ── STATS ── */
.stats {
  background: var(--black);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.stat-item {
  padding: 34px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
  position: relative; transition: background 0.2s;
}
.stat-item::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: rgba(255,255,255,0.2);
  transition: width 0.3s;
}
.stat-item:hover { background: var(--dark); }
.stat-item:hover::after { width: 60%; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--ff);
  font-size: 40px; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 7px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.38); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ── SECTIONS ── */
.section { padding: 88px 6vw; }
.section-white  { background: var(--white); }
.section-gray   { background: var(--gray); }
.section-dark   { background: var(--black); }
.section-dark2  { background: var(--dark); }
.container { max-width: 1160px; margin: 0 auto; }

.section-hdr { text-align: center; max-width: 600px; margin: 0 auto 60px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 20px; height: 2px; background: var(--red); }

h2 {
  font-family: var(--ffd);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; line-height: 1.18;
  color: var(--text); margin-bottom: 14px;
}
.section-dark h2, .section-dark2 h2 { color: var(--white); }
.lead { font-size: 15px; color: var(--text2); line-height: 1.78; }
.section-dark .lead, .section-dark2 .lead { color: rgba(255,255,255,0.48); }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.svc {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 30px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}
.svc::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 3px; height: 0;
  background: var(--black); transition: height 0.3s;
}
.svc:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.svc:hover::before { height: 100%; }

.svc-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--red-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.svc-icon svg { width: 22px; height: 22px; stroke: var(--red); stroke-width: 1.8; fill: none; }

.svc h3 {
  font-family: var(--ffd); font-size: 17px; font-weight: 600;
  color: var(--text); margin-bottom: 10px; line-height: 1.25;
}
.svc p { font-size: 13.5px; color: var(--text2); line-height: 1.68; }
.svc-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--red);
}
.svc-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; fill: none; transition: transform 0.2s; }
.svc:hover .svc-link svg { transform: translateX(4px); }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { border-radius: var(--radius2); overflow: hidden; aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-badge {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--black); color: var(--white);
  border-radius: var(--radius2); padding: 20px 24px; text-align: center;
  box-shadow: var(--shadow-red);
}
.about-badge-num { font-family: var(--ff); font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.about-badge-lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 5px; opacity: 0.85; }
.about-text h2 { text-align: left; margin-bottom: 18px; }
.about-text .eyebrow { display: inline-flex; }
.about-text p { font-size: 15px; color: var(--text2); line-height: 1.78; margin-bottom: 14px; }
.valores-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.valor {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px; background: var(--gray);
  border-radius: var(--radius); border-left: 3px solid var(--dark2);
}
.valor-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.valor-desc { font-size: 12px; color: var(--text3); line-height: 1.5; }

/* ── PLANES ── */
.planes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.plan {
  border-radius: var(--radius2); padding: 34px 28px;
  background: var(--white); border: 1px solid var(--border);
  position: relative; transition: box-shadow 0.2s, transform 0.2s;
}
.plan:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan.featured { background: var(--black); border-color: rgba(255,255,255,0.18); border-width: 2px; }

.plan-pill {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 18px; border-radius: 20px; white-space: nowrap;
}
.plan-name { font-family: var(--ffd); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.plan.featured .plan-name { color: var(--white); }
.plan-tag { font-size: 13px; color: var(--text3); line-height: 1.55; margin-bottom: 24px; min-height: 38px; }
.plan.featured .plan-tag { color: rgba(255,255,255,0.45); }
.plan-sep { height: 1px; background: var(--border); margin-bottom: 22px; }
.plan.featured .plan-sep { background: rgba(255,255,255,0.08); }
.plan ul { list-style: none; margin-bottom: 28px; }
.plan ul li { font-size: 13px; color: var(--text2); padding: 5px 0 5px 20px; position: relative; line-height: 1.5; }
.plan.featured ul li { color: rgba(255,255,255,0.7); }
.plan ul li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; font-size: 12px; }
.plan-btn {
  display: block; text-align: center; padding: 13px;
  border-radius: var(--radius); font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.plan-btn-outline { border: 1.5px solid var(--border); color: var(--text); }
.plan-btn-outline:hover { border-color: var(--red); color: var(--red); }
.plan-btn-red { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.plan-btn-red:hover { background: var(--red2); }

/* ── PROCESO ── */
.proceso-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 980px; margin: 0 auto; position: relative;
}
.proceso-grid::before {
  content: ''; position: absolute;
  top: 27px; left: 13%; right: 13%;
  height: 1px; background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.04));
}
.paso { text-align: center; padding: 0 16px; }
.paso-n {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--ff); font-size: 17px; font-weight: 700; color: var(--black);
  position: relative; z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.paso:hover .paso-n { background: var(--black); color: var(--white); }
.paso h4 { font-family: var(--ffd); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.paso p { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── ARTICLES ── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article {
  background: var(--white); border-radius: var(--radius2); overflow: hidden;
  border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s;
}
.article:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-img { height: 200px; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article:hover .article-img img { transform: scale(1.05); }
.article-body { padding: 22px; }
.article-cat {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); background: var(--red-soft);
  padding: 3px 10px; border-radius: 3px; margin-bottom: 12px;
}
.article h3 { font-family: var(--ffd); font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 10px; }
.article p { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.article-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text3);
}
.article-read { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--red); }
.article-read svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.5; fill: none; transition: transform 0.2s; }
.article:hover .article-read svg { transform: translateX(4px); }
.articles-credit { margin-top: 28px; text-align: center; font-size: 12px; color: #888; }
.articles-credit a { color: var(--gold); text-decoration: none; font-weight: 600; }
.articles-credit a:hover { text-decoration: underline; }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.65fr; gap: 56px; align-items: start; }
.contact-info h2 { text-align: left; margin-bottom: 16px; }
.contact-info .eyebrow { display: inline-flex; }
.contact-info > p { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.78; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-ico {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--red-mid); border: 1px solid rgba(232,25,44,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-ico svg { width: 18px; height: 18px; stroke: var(--red3); stroke-width: 1.8; fill: none; }
.contact-detail-lbl { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.contact-detail-val { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); line-height: 1.5; }

.contact-form {
  background: var(--white); border-radius: var(--radius2);
  padding: 38px; box-shadow: var(--shadow-lg);
}
.contact-form-hdr { margin-bottom: 28px; }
.contact-form-hdr h3 { font-family: var(--ffd); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.contact-form-hdr p { font-size: 13.5px; color: var(--text2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: 0.03em; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff); font-size: 14px; color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; background: var(--gray);
  outline: none; transition: border-color 0.2s, background 0.2s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 14px; border-radius: var(--radius);
  background: var(--red); color: var(--white);
  font-family: var(--ff); font-size: 14.5px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: var(--shadow-red);
}
.form-submit:hover { background: var(--red2); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--text3); text-align: center; margin-top: 12px; }

/* ── FOOTER ── */
footer { background: #080808; padding: 60px 6vw 28px; border-top: 3px solid var(--dark3); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }

.footer-logo-img {
  height: 44px; width: auto; object-fit: contain;
  background: var(--white); border-radius: 6px; padding: 6px 14px;
  margin-bottom: 14px; display: block;
}
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.75; max-width: 260px; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-ci { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-ci-icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-ci-icon svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.footer-ci span { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p, .footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

/* ── NAV HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV ACTIVE LINK ── */
.nav-links a.active:not(.nav-cta) {
  color: var(--red);
  background: var(--red-soft);
  position: relative;
}
.nav-links a.active:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 1px; left: 16px; right: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--black);
  padding: 72px 6vw 68px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,25,44,0.07) 0%, transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 6vw;
  width: 80px; height: 3px;
  background: var(--red);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--red3); }
.page-hero h1 {
  font-family: var(--ffd);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.48);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.03em;
  list-style: none; padding: 0; margin: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 5px 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: var(--red); font-size: 13px; line-height: 1; }
.breadcrumb .current { color: rgba(255,255,255,0.9); }

/* ── INNER CTA BANNER ── */
.inner-cta {
  background: var(--red);
  padding: 56px 6vw;
  text-align: center;
}
.inner-cta h2 {
  font-family: var(--ffd);
  font-size: clamp(22px, 2.8vw, 34px);
  color: var(--white); margin-bottom: 12px;
}
.inner-cta p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* Variante clara — fondo blanco, texto oscuro */
.inner-cta-light {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.inner-cta-light h2 { color: var(--text); }
.inner-cta-light p  { color: var(--text2); }
.inner-cta-light .btn-white {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.inner-cta-light .btn-white:hover { background: var(--red2); transform: translateY(-2px); }
.inner-cta-light .btn-outline-red {
  border-color: var(--border);
  color: var(--text2);
}
.inner-cta-light .btn-outline-red:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.btn-white {
  display: inline-block;
  background: var(--white); color: var(--red);
  padding: 13px 34px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.btn-white:hover { background: var(--ivory); transform: translateY(-2px); }
.btn-outline-red {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  margin-left: 14px;
  transition: all 0.2s;
}
.btn-outline-red:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── TEAM GRID ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-photo { height: 240px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info { padding: 22px 24px; }
.team-name { font-family: var(--ffd); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.team-bio { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── MVV GRID ── */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 32px 28px;
  text-align: center;
  border-top: 3px solid var(--dark2);
  transition: box-shadow 0.2s, transform 0.2s;
}
.mvv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mvv-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red-soft); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.mvv-icon svg { width: 24px; height: 24px; stroke: var(--red); stroke-width: 1.8; fill: none; }
.mvv-card h3 { font-family: var(--ffd); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.mvv-card p { font-size: 13.5px; color: var(--text2); line-height: 1.7; }

/* ── CLIENTS LOGOS ── */
.clients-section { background: var(--gray); padding: 72px 6vw; }
.logos-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 48px;
}
.logo-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px;
  display: flex; align-items: center; justify-content: center;
  min-height: 90px; transition: box-shadow 0.2s, border-color 0.2s;
}
.logo-card:hover { box-shadow: var(--shadow-sm); border-color: var(--black); }
.logo-text {
  font-family: var(--ffd); font-size: 15px; font-weight: 700;
  color: var(--text2); text-align: center; line-height: 1.3;
  transition: color 0.2s;
}
.logo-card:hover .logo-text { color: var(--black); }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-quote {
  font-size: 56px; font-family: Georgia, serif;
  color: var(--text3); line-height: 0.5;
  margin-bottom: 16px; opacity: 0.45;
}
.testimonial-text {
  font-size: 14px; color: var(--text2); line-height: 1.78;
  font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-company { font-size: 12px; color: var(--text3); }
.stars { display: flex; gap: 2px; margin-bottom: 16px; }
.stars span { color: #F59E0B; font-size: 15px; }

/* ── INDUSTRIES ── */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 16px;
  text-align: center; transition: border-color 0.2s, box-shadow 0.2s;
}
.industry-item:hover { border-color: var(--black); box-shadow: var(--shadow-sm); }
.industry-icon { font-size: 28px; margin-bottom: 10px; }
.industry-name { font-size: 13px; font-weight: 600; color: var(--text2); }

/* ── BLOG FILTERS ── */
.blog-filters {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 7px 20px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  background: none; border: 1.5px solid var(--border);
  color: var(--text2); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--black); border-color: var(--black); color: var(--white);
}
.articles-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff); font-size: 15px; font-weight: 600; color: var(--text);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--border); flex-shrink: 0; margin-left: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--text3); stroke-width: 2.5; fill: none; transition: transform 0.25s; }
.faq-item.open .faq-icon { background: var(--black); border-color: var(--black); }
.faq-item.open .faq-icon svg { stroke: var(--white); transform: rotate(45deg); }
.faq-answer {
  overflow: hidden; max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 14px; color: var(--text2); line-height: 1.75; }

/* ── SERVICE DETAIL CARD ── */
.svc-full {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.svc-full::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: var(--black);
}
.svc-full:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.svc-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  background: var(--red-soft); color: var(--red);
  padding: 3px 10px; border-radius: 3px;
}

/* ── ABOUT HISTORY ── */
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.history-text h2 { text-align: left; }
.history-img { border-radius: var(--radius2); overflow: hidden; aspect-ratio: 4/3; }
.history-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
  .fi { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .fi.vis { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr 1fr; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .planes-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 6vw 20px;
    border-bottom: 2px solid var(--red);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    gap: 2px;
    z-index: 300;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; font-size: 14px; color: var(--text); }
  .nav-links a:hover { color: var(--red); background: var(--red-soft); }
  .nav-cta { text-align: center; margin-top: 8px; color: var(--white) !important; }
  .topbar-contact .topbar-item:nth-child(3) { display: none; }
}
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-full-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid-full { grid-template-columns: 1fr; }
  .proceso-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .proceso-grid::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 540px; }
  .slide-content::before { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 52px 6vw 48px; }
  .btn-outline-red { margin-left: 0; margin-top: 12px; display: block; text-align: center; }
  /* Logo en móvil */
  .nav-logo-img { height: 46px; max-width: 170px; }
  #mainNav { height: 68px; }
}

/* ── NAV LOGO ICON (móvil) ── */
.nav-logo-icon { display: none; }
@media (max-width: 960px) {
  .nav-logo-img { display: none; }
  .nav-logo-icon {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
  }

  /* Topbar: ocultar dirección y social en móvil para evitar desbordamiento */
  .topbar-item:first-child,
  .topbar-sep:first-of-type,
  .topbar-social { display: none; }
  .topbar { justify-content: center; }

  /* Slide-content: nunca más ancho que el viewport */
  .slide-content { max-width: 100%; padding: 0 5vw; }

  /* Grids: min-width 0 para que las celdas no desborden */
  .services-grid > *,
  .planes-grid > *,
  .articles-grid > *,
  .articles-grid-full > *,
  .footer-grid > *,
  .stats > * { min-width: 0; }
}

/* ── INSTAGRAM FEED ── */
.ig-section { background: var(--gray); }

/* Grid real (Opción B — API) */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.ig-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--border);
  display: block;
  border-radius: var(--radius);
}
.ig-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}
.ig-item:hover img { transform: scale(1.06); }
.ig-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: opacity 0.3s;
  color: var(--white);
}
.ig-overlay svg { width: 28px; height: 28px; }
.ig-overlay span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.ig-item:hover .ig-overlay { opacity: 1; }

/* Estado de carga */
.ig-loading {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 48px; font-size: 14px; color: var(--text3);
}
.ig-spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--black);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Placeholder (mientras no hay token) */
.ig-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.ig-placeholder-item {
  aspect-ratio: 1 / 1;
  background: var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  transition: background 0.2s;
}
.ig-placeholder-item:hover { background: #d8d7d5; }

/* Botón seguir */
.btn-ig {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white);
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.btn-ig:hover { background: var(--dark2); transform: translateY(-1px); }

@media (max-width: 600px) {
  .ig-grid,
  .ig-placeholder-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}
.wa-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  position: relative;
}
.wa-float-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
/* Pulso animado */
.wa-float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  animation: wa-pulse 2.2s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.18); opacity: 0; }
}
.wa-float-label {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  /* pequeña flecha apuntando al botón */
  position: relative;
}
.wa-float-label::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--black);
  border-right: 0;
}
/* Mostrar label al hacer hover sobre el conjunto */
.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}
.wa-float:hover .wa-float-btn {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
@media (max-width: 600px) {
  .wa-float { bottom: 18px; right: 16px; }
  .wa-float-label { display: none; }
  .wa-float-btn { width: 52px; height: 52px; }
  .wa-float-btn svg { width: 26px; height: 26px; }
}

/* ── PREVENIR SCROLL LATERAL — fix universal ── */
/* overflow-x: hidden en html + body es el fix principal.              */
/* Adicionalmente, ningún hijo directo de body debe exceder 100vw.     */
/* NO aplicar overflow a #mainNav — el dropdown quedaría clippeado.    */
@media (max-width: 960px) {
  .topbar,
  .hero-slider,
  .stats,
  .section,
  .inner-cta,
  .clients-section,
  .page-hero,
  footer { width: 100%; box-sizing: border-box; }
}

/* === FAQ GEO === */
.section-faq { background: var(--gray1, #f8f9fa); padding: 4rem 0; }
.section-faq .section-title { text-align: center; margin-bottom: 2rem; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--gray3, #dee2e6); border-radius: 8px; overflow: hidden; }
.faq-item summary { padding: 1rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 1.25rem 1rem; margin: 0; color: var(--text-muted, #666); line-height: 1.7; }

/* === Social Footer === */
.footer-social { display: flex; gap: 1rem; align-items: center; margin-top: 0.5rem; }
.footer-social a { color: inherit; opacity: 0.7; transition: opacity 0.2s; }

/* === FAQ items (section-white) === */
#preguntas-frecuentes .faq-list { max-width: 800px; margin: 0 auto; }
.faq-q { font-size: 1.05rem; color: var(--dark, #0F0F0F); }

/* === Contacto rápido split layout === */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-quick-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-quick-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.contact-form { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.cf-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.25rem; }
.cf-field label { font-size: 0.85rem; font-weight: 600; color: var(--dark, #0F0F0F); }
.cf-field input, .cf-field select {
  padding: 0.65rem 0.9rem; border: 1px solid #ddd; border-radius: 6px;
  font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s;
}
.cf-field input:focus, .cf-field select:focus { outline: none; border-color: var(--red, #E8192C); }
.btn-full { width: 100%; justify-content: center; }
@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-social a:hover { opacity: 1; }
