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

  :root {
    --navy: #0d1b35;
    --navy-mid: #142244;
    --navy-light: #1e3160;
    --red: #e8234a;
    --red-hover: #c41a3c;
    --white: #f5f7fa;
    --gray: #f0f2f7;
    --text-dark: #0d1b35;
    --text-muted: #5a6a85;
    --maxw: 1200px;
    --pad: clamp(20px, 5vw, 64px);
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

  /* ---------- BUTTONS ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 15px; padding: 15px 30px; border-radius: 8px;
    cursor: pointer; border: none; transition: all .2s ease; white-space: nowrap;
  }
  .btn-red { background: var(--red); color: #fff; }
  .btn-red:hover { background: var(--red-hover); transform: translateY(-1px); }
  .btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
  .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
  .btn-ghost-dark { background: transparent; color: var(--text-dark); border: 1.5px solid rgba(13,27,53,.2); }
  .btn-ghost-dark:hover { border-color: var(--text-dark); }

  /* ---------- HEADER ---------- */
  header.site {
    position: sticky; top: 0; z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav {
    display: flex; align-items: center; gap: 36px;
    height: 78px;
  }
  .nav .logo img { height: 30px; width: auto; }
  .nav-links { display: flex; align-items: center; gap: 30px; margin-left: 20px; }
  .nav-links > li { position: relative; list-style: none; }
  .nav-links a, .nav-trigger {
    color: rgba(245,247,250,.92); font-size: 15px; font-weight: 600; letter-spacing: .2px;
    background: none; border: none; cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 0;
  }
  .nav-links a:hover, .nav-trigger:hover { color: #fff; }
  .nav-links > li > a, .nav-links .nav-trigger { position: relative; }
  .nav-links > li > a.active, .nav-links .nav-trigger.active { color: #fff; }
  .nav-links > li > a.active::after, .nav-links .nav-trigger.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--red);
  }
  .nav-links .nav-trigger.active::after { right: 17px; }
  .dropdown a.active { color: var(--red); background: rgba(232,35,74,.07); }
  .nav-trigger svg { transition: transform .2s; }
  .has-drop:hover .nav-trigger svg { transform: rotate(180deg); }
  .dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(13,27,53,.22);
    padding: 10px; min-width: 250px; opacity: 0; visibility: hidden; transition: all .18s ease;
    list-style: none;
  }
  .has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
  .dropdown li a {
    display: block; color: var(--text-dark); font-size: 14px; font-weight: 600;
    padding: 10px 14px; border-radius: 8px;
  }
  .dropdown li a:hover { background: var(--gray); color: var(--red); }
  .nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
  .lang { position: relative; }
  .lang-btn { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; background: none; border: none; font-family: inherit; padding: 6px 0; }
  .lang-btn img { width: 22px; height: auto; border-radius: 2px; }
  .lang-btn svg { transition: transform .2s; }
  .lang.open .lang-btn svg { transform: rotate(180deg); }
  .lang-menu { position: absolute; top: 100%; right: 0; transform: translateY(8px); background: #fff; border-radius: 10px; box-shadow: 0 14px 40px rgba(13,27,53,.22); padding: 6px; min-width: 150px; list-style: none; opacity: 0; visibility: hidden; transition: all .18s ease; }
  .lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
  .lang-menu li button { width: 100%; display: flex; align-items: center; gap: 9px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text-dark); padding: 9px 12px; border-radius: 7px; text-align: left; }
  .lang-menu li button:hover { background: var(--gray); }
  .lang-menu li button.active { color: var(--red); }
  .lang-menu li button img { width: 20px; height: auto; border-radius: 2px; }
  .header-cta { padding: 12px 22px; font-size: 13.5px; letter-spacing: .5px; text-transform: uppercase; }
  .burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .burger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .25s; }

  /* ---------- HERO ---------- */
  .hero {
    position: relative; overflow: hidden;
    background:
      radial-gradient(900px 500px at 78% 18%, rgba(232,35,74,.10), transparent 60%),
      linear-gradient(120deg, #0b1730 0%, #16305f 55%, #0c1830 100%);
    background-color: var(--navy);
    color: var(--white);
  }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(232,35,74,.18) 1.1px, transparent 1.2px);
    background-size: 34px 34px; opacity: .5; pointer-events: none;
  }
  .hero-diamond {
    position: absolute; left: -70px; top: 50%; transform: translateY(-50%) rotate(0deg);
    width: 150px; opacity: .9; pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 2; padding: clamp(70px, 12vh, 150px) 0 clamp(80px, 14vh, 170px); max-width: 760px; }
  .badge {
    display: inline-block; font-size: 15px; font-weight: 600; color: #fff;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    padding: 9px 20px; border-radius: 8px; margin-bottom: 28px;
  }
  .hero h1 {
    font-size: clamp(38px, 6vw, 70px); font-weight: 800; line-height: 1.04; letter-spacing: -1.5px;
    margin-bottom: 26px; text-wrap: balance;
  }
  .hero p.lead {
    font-size: clamp(17px, 2vw, 21px); color: rgba(245,247,250,.78); max-width: 580px;
    line-height: 1.55; margin-bottom: 38px;
  }

  /* hero two-column split (text + contextual visual) */
  .hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; max-width: var(--maxw); padding-left: var(--pad); padding-right: var(--pad); }
  .hero-split .hero-copy { max-width: 560px; }
  .hero-split .hero-copy h1 { font-size: clamp(32px, 3.6vw, 50px); }
  .hero-split .hero-copy .lead { max-width: 500px; }
  .hero-visual { position: relative; }
  .hero-visual > img { width: 100%; border-radius: 20px; box-shadow: 0 34px 80px rgba(3,9,22,.55); object-fit: cover; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  @media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } .hero-visual { display: none; } }

  /* booking mini-card (links to the new scheduling page) */
  .book-preview { display:block; background:#fff; border-radius:20px; padding:24px; max-width:420px; margin:0 auto; box-shadow:0 24px 60px rgba(9,19,39,.35); transition:transform .2s, box-shadow .2s; }
  .book-preview:hover { transform:translateY(-4px); box-shadow:0 30px 70px rgba(9,19,39,.42); }
  .book-preview .bp-head { border-bottom:1px solid rgba(13,27,53,.1); padding-bottom:16px; margin-bottom:16px; }
  .book-preview .bp-title { font-size:19px; font-weight:800; color:var(--navy); }
  .book-preview .bp-sub { font-size:13px; color:var(--text-muted); font-weight:600; margin-top:6px; display:flex; align-items:center; gap:7px; }
  .book-preview .bp-dot { width:9px; height:9px; border-radius:2px; background:var(--red); display:inline-block; }
  .book-preview .bp-month { font-size:14px; font-weight:800; color:var(--navy); display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
  .book-preview .bp-month span { color:var(--text-muted); }
  .book-preview .bp-dow { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; margin-bottom:6px; }
  .book-preview .bp-dow span { text-align:center; font-size:10px; font-weight:800; color:var(--text-muted); }
  .book-preview .bp-days { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
  .book-preview .bp-days span { aspect-ratio:1; display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:700; color:var(--navy); border-radius:50%; }
  .book-preview .bp-days span.off { color:rgba(13,27,53,.28); font-weight:600; }
  .book-preview .bp-days span.on { background:rgba(232,35,74,.1); color:var(--red); }
  .book-preview .bp-days span.sel { background:var(--red); color:#fff; }
  .book-preview .bp-foot { margin-top:18px; padding-top:16px; border-top:1px solid rgba(13,27,53,.1); font-size:14px; font-weight:800; color:var(--red); text-align:center; }

  /* Opportunity dashboard mockup (búsqueda → oportunidad → acción → resultado) */
  .opp-card { position: relative; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 34px 80px rgba(3,9,22,.55); color: var(--navy); max-width: 430px; margin-left: auto; display: flex; flex-direction: column; gap: 14px; }
  .opp-query { display: flex; align-items: center; gap: 12px; border: 1px solid #e2e6ef; border-radius: 26px; padding: 13px 18px; font-size: 14.5px; color: #3c4043; box-shadow: 0 1px 4px rgba(32,33,36,.08); }
  .opp-query svg { width: 18px; height: 18px; stroke: #9aa0a6; fill: none; stroke-width: 2; flex: 0 0 auto; }
  .opp-block { border: 1px solid #eceef4; border-radius: 14px; padding: 16px; }
  .opp-detected { background: linear-gradient(180deg, #fff5f7, #fff); border-color: rgba(232,35,74,.18); }
  .opp-head { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 800; color: var(--red); margin-bottom: 13px; }
  .opp-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(232,35,74,.5); animation: oppPulse 2s infinite; flex: 0 0 auto; }
  @keyframes oppPulse { 0% { box-shadow: 0 0 0 0 rgba(232,35,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(232,35,74,0); } 100% { box-shadow: 0 0 0 0 rgba(232,35,74,0); } }
  .opp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .opp-chips .chip { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; background: #f0f2f7; color: #5a6a85; }
  .opp-chips .chip-hot { background: var(--red); color: #fff; }
  .opp-action { display: flex; align-items: center; gap: 13px; background: var(--navy); border-radius: 14px; padding: 14px 16px; }
  .opp-action-ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(232,35,74,.2); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .opp-action-ic svg { width: 20px; height: 20px; fill: var(--red); }
  .opp-action-t { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: rgba(245,247,250,.55); }
  .opp-action-s { font-size: 14.5px; font-weight: 800; color: #fff; margin-top: 2px; }
  .opp-results { display: flex; flex-direction: column; gap: 11px; padding: 4px 2px 0; }
  .opp-res-n { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
  .opp-bar { height: 7px; border-radius: 6px; background: #eceef4; overflow: hidden; }
  .opp-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--red), #ff5d7a); animation: oppGrow 1.4s ease-out both; }
  @keyframes oppGrow { from { width: 0 !important; } }
  @media (prefers-reduced-motion: reduce) { .opp-pulse, .opp-bar i { animation: none; } }

  /* ---------- SECTION SHELL ---------- */
  section { position: relative; }
  .pad-y { padding: clamp(64px, 9vw, 110px) 0; }
  .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
  .h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
  .sub { color: var(--text-muted); font-size: 17px; max-width: 620px; line-height: 1.6; }

  /* ---------- TRUST / CLIENTS ---------- */
  .clients { background: var(--gray); }
  .clients .head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
  .clients .head .txt { max-width: 560px; }
  .logo-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 28px; align-items: center;
  }
  .logo-grid img {
    width: 100%; max-height: 52px; object-fit: contain; filter: grayscale(1); opacity: .55;
    transition: .25s; margin: 0 auto;
  }
  .logo-grid img:hover { filter: grayscale(0); opacity: 1; }

  /* ---------- SERVICES ---------- */
  .services-head { text-align: center; margin-bottom: 56px; }
  .services-head .sub { margin: 14px auto 0; }
  .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .svc-card {
    background: #fff; border: 1px solid rgba(13,27,53,.09); border-radius: 16px; padding: 30px;
    transition: .22s;
  }
  .svc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(13,27,53,.10); border-color: rgba(232,35,74,.3); }
  .svc-icon {
    width: 58px; height: 58px; border-radius: 12px; background: linear-gradient(135deg, #fdeef1, #fbe2e8);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  }
  .svc-icon img { width: 32px; height: 32px; object-fit: contain; }
  .svc-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
  .svc-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }

  /* ---------- FEATURE BLOCKS ---------- */
  .feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
  .feature + .feature { margin-top: clamp(48px, 7vw, 96px); }
  .feature.rev .media { order: 2; }
  .feature .media img { width: 100%; border-radius: 18px; box-shadow: 0 24px 60px rgba(13,27,53,.14); }
  .feature h3.big { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.8px; line-height: 1.12; margin: 6px 0 18px; }
  .feature p { color: var(--text-muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 26px; }
  .feature .links { display: flex; flex-wrap: wrap; gap: 12px; }
  .integral-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px,7vw,80px); }

  /* ---------- PILLARS ---------- */
  .pillars { background: var(--navy); color: var(--white); }
  .pillars .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 54px; }
  .pillar {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px; padding: 38px 32px;
  }
  .pillar .ic { width: 56px; height: 56px; margin-bottom: 22px; border-radius: 14px; background: rgba(232,35,74,.16); display: flex; align-items: center; justify-content: center; }
  .pillar .ic img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
  .pillar h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
  .pillar p { color: rgba(245,247,250,.66); font-size: 15px; line-height: 1.6; }

  /* ---------- STATS ---------- */
  .stats { background: var(--navy-mid); color: #fff; }
  .stats .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
  .stats-map { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px,5vw,64px); align-items: center; }
  .stats-map .stats-map-media { position: relative; min-height: 300px; }
  .stats-map .stats-map-media img { width: 100%; height: auto; display: block; }
  .stats-map .stats-map-media image-slot { --dot: rgba(255,255,255,.14); position:absolute; inset:0; background-image: radial-gradient(var(--dot) 1.6px, transparent 1.7px); background-size: 15px 15px; border-radius: 14px; }
  .stats-map .grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  @media (max-width: 860px) { .stats-map { grid-template-columns: 1fr; } .stats-map .stats-map-media { min-height: 240px; } .stats-map .grid { grid-template-columns: repeat(3,1fr); text-align: center; } }
  @media (max-width: 560px) { .stats-map .grid { grid-template-columns: 1fr; } }
  .geo-legend { margin-top: clamp(36px,5vw,56px); border-top: 1px solid rgba(255,255,255,.1); padding-top: 32px; }
  .geo-legend-title { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(245,247,250,.55); text-align: center; margin-bottom: 24px; }
  .geo-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
  .geo-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: rgba(245,247,250,.9); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 8px 15px; border-radius: 30px; }
  .geo-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
  .stat .num { font-size: clamp(46px, 6vw, 76px); font-weight: 900; letter-spacing: -2px; color: #fff; line-height: 1; }
  .stat .num .plus { color: var(--red); }
  .stat .lbl { margin-top: 10px; color: rgba(245,247,250,.6); font-size: 16px; font-weight: 600; }

  /* ---------- TESTIMONIALS ---------- */
  .testi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
  .testi {
    background: #fff; border: 1px solid rgba(13,27,53,.09); border-radius: 18px; padding: 34px;
    display: flex; flex-direction: column; gap: 22px;
  }
  .testi .quote { font-size: 16.5px; line-height: 1.6; color: var(--text-dark); font-weight: 500; }
  .testi .quote::before { content: "“"; color: var(--red); font-size: 30px; font-weight: 900; vertical-align: -8px; margin-right: 2px; }
  .testi .person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
  .testi .person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
  .testi .person .nm { font-weight: 800; font-size: 15px; }
  .testi .person .ro { font-size: 13.5px; color: var(--text-muted); }

  /* ---------- PARTNERS CTA ---------- */
  .partners { background: var(--gray); }
  .partners .inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px,6vw,72px); align-items: center; }
  .partners img.plogo { max-width: 230px; margin-bottom: 22px; }
  .partners h3 { font-size: clamp(24px,3vw,34px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 16px; line-height: 1.15; }
  .partners p { color: var(--text-muted); font-size: 16.5px; line-height: 1.6; margin-bottom: 26px; }
  .partners .media img { width: 100%; border-radius: 16px; }

  /* ---------- CONTACT ---------- */
  .contact { background: var(--navy); color: var(--white); overflow: hidden; }
  .contact .inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
  .contact h2 { font-size: clamp(34px,5vw,56px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 18px; }
  .contact p { color: rgba(245,247,250,.74); font-size: 18px; line-height: 1.6; margin-bottom: 32px; max-width: 460px; }
  .contact .alt { margin-top: 28px; font-size: 15px; color: rgba(245,247,250,.6); }
  .contact .alt a { color: #fff; font-weight: 700; border-bottom: 1px solid var(--red); }
  .contact .media img { width: 100%; }

  /* ---------- FAQ ---------- */
  .faq-head { text-align: center; margin-bottom: 48px; }
  .faq-list { max-width: 860px; margin: 0 auto; }
  .faq-item { border-bottom: 1px solid rgba(13,27,53,.12); }
  .faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 24px 4px; font-size: 18px; font-weight: 700; color: var(--text-dark);
  }
  .faq-q .ico { flex: 0 0 auto; width: 26px; height: 26px; position: relative; transition: transform .25s; }
  .faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; }
  .faq-q .ico::before { left: 4px; right: 4px; top: 50%; height: 2.5px; transform: translateY(-50%); }
  .faq-q .ico::after { top: 4px; bottom: 4px; left: 50%; width: 2.5px; transform: translateX(-50%); transition: transform .25s; }
  .faq-item.open .faq-q .ico::after { transform: translateX(-50%) scaleY(0); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-a p { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; padding: 0 4px 26px; }

  /* ---------- FOOTER ---------- */
  footer.site { background: #091327; color: rgba(245,247,250,.7); padding: 70px 0 30px; }
  .news-bar { background: var(--navy-mid); border-radius: 18px; padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 60px; }
  .news-bar p { color: #fff; font-size: 19px; font-weight: 700; max-width: 480px; }
  .news-form { display: flex; gap: 10px; flex: 0 0 auto; }
  .news-form input { border: none; border-radius: 8px; padding: 13px 18px; font-family: inherit; font-size: 15px; min-width: 240px; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
  .foot-logo { height: 40px; margin-bottom: 20px; }
  .foot-grid p.desc { font-size: 14.5px; line-height: 1.65; max-width: 380px; margin-bottom: 18px; }
  .foot-grid h4 { color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
  .foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
  .foot-grid ul a { font-size: 14.5px; }
  .foot-grid ul a:hover { color: #fff; }
  .social { display: flex; gap: 14px; margin-top: 6px; }
  .social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; transition: .2s; }
  .social a:hover { background: var(--red); }
  .social svg { width: 18px; height: 18px; fill: #fff; }
  .badges { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: center; margin-top: 46px; padding-top: 38px; border-top: 1px solid rgba(255,255,255,.08); }
  .badges img { height: 40px; width: auto; max-width: 130px; object-fit: contain; opacity: .8; filter: brightness(0) invert(1); }
  .badges img[alt="Tiendanube Partner"] { height: 78px; max-width: 220px; }
  .foot-badge { display:inline-flex; align-items:center; height:34px; padding:0 14px; border:1px solid rgba(255,255,255,.22); border-radius:8px; font-size:12.5px; font-weight:800; letter-spacing:.5px; color:rgba(245,247,250,.85); text-transform:uppercase; }
  .foot-badge:hover { color:#fff; border-color:#fff; }
  .foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13.5px; }
  .foot-bottom a:hover { color: #fff; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px) {
    .svc-grid, .pillars .grid { grid-template-columns: repeat(2,1fr); }
    .logo-grid { grid-template-columns: repeat(4,1fr); }
    .feature, .feature.rev, .partners .inner, .contact .inner { grid-template-columns: 1fr; }
    .feature.rev .media { order: 0; }
    .testi-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .nav-links, .nav-right .lang, .header-cta { display: none; }
    .burger { display: flex; margin-left: auto; }
    .mobile-menu { display: block; }
    .svc-grid, .stats .grid, .foot-grid { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(3,1fr); gap: 24px; }
    .stats .grid { gap: 40px; }
    .news-bar { flex-direction: column; align-items: flex-start; }
    .news-form { width: 100%; }
    .news-form input { flex: 1; min-width: 0; }
    .hero-diamond { display: none; }
    /* el hero llena la pantalla (menos el header) para que no asome la sección blanca
       de abajo detrás de la barra de Safari; svh contempla las barras del iPhone */
    .hero { min-height: calc(100vh - 78px); min-height: calc(100svh - 78px); display: grid; align-items: center; }
    .hero::after {
      content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
      background:
        radial-gradient(300px 300px at -40px 90px, rgba(60,110,220,.30), transparent 70%),
        radial-gradient(340px 340px at calc(100% + 60px) calc(100% + 20px), rgba(230,42,72,.26), transparent 70%);
    }
  }

  /* mobile safety: collapse any inline-forced grids so nothing overflows on phones */
  @media (max-width: 900px) {
    .why2[style], .sol-grid[style] { grid-template-columns: 1fr !important; }
  }
  @media (max-width: 700px) {
    .logo-grid.press[style] { grid-template-columns: repeat(3, 1fr) !important; }
  }

  /* mobile menu panel */
  .mobile-menu { display: none; position: fixed; inset: 78px 0 0; background: var(--navy); z-index: 99; padding: 14px var(--pad) 20px; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; }
  .mobile-menu.show { display: block; transform: translateX(0); }
  .mobile-menu a { display: block; color: #fff; font-size: 16px; font-weight: 700; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mobile-menu .sub-a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); padding: 8px 0 8px 16px; }
  .mobile-menu .btn { width: 100%; margin-top: 16px; text-align: center; font-size: 16px; padding: 14px; border-bottom: none; }
  .mobile-menu .mm-label { display: block; color: rgba(255,255,255,.4); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 0 0; }
  .mobile-menu a.active { color: var(--red); }
  .mobile-menu a.active.btn { color: #fff; }
