
:root {
  --p-bg: #211a45; --p-surface: #2a2258; --p-ink: #f4f1ea; --p-muted: #b9b5cc;
  --p-accent: #e6a93c; --p-accent-ink: #211a45; --p-action: #e6a93c; --p-action-ink: #211a45;
  --p-inv-bg: #f4f1ea; --p-inv-surface: #ebe6da; --p-inv-ink: #211a45; --p-inv-muted: #5c5876;
  --p-inv-accent: #e6a93c; --p-inv-accent-ink: #211a45; --p-inv-action: #211a45; --p-inv-action-ink: #f4f1ea;
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 700; --display-tracking: -0.025em; --display-tracking-xl: -0.03em;
  --o-deep: #1a1438; --o-violet: #4b3a9e; --o-green: #9fb08c; --o-forest: #2e463a;
  --o-mustard: #e6a93c; --o-cream: #f4f1ea; --o-grey: #7c8090; --o-line: rgba(244,241,234,.14);
}


  body { background: var(--p-bg); color: var(--p-ink); }
  main p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
  .o-route-cap, .o-vuelo__cta p, .o-form p, .o-itin p { text-align: left; }
  main > section.o-sec { height: auto !important; min-height: 0 !important; display: block !important; padding-block: clamp(80px, 10vw, 136px) !important; }
  main > section.o-hero { height: auto !important; min-height: min(100svh, 880px) !important; display: flex !important; }
  main > section.o-sec > .wrap { height: auto !important; }
  .o-label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-green); font-weight: 600; }
  .o-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--o-mustard); }
  .o-sec { padding-block: clamp(80px, 11vw, 144px); position: relative; overflow: hidden; }
  .o-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; max-width: 22ch; margin-top: 18px; }
  .o-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--p-muted); max-width: 58ch; }
  .nav__logo img { display: block; height: 44px; width: auto; }
  .nav { background: rgba(33,26,69,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--o-line); }

  /* hero */
  .o-hero { position: relative; min-height: min(100svh, 880px); display: flex; align-items: center; overflow: hidden; padding-block: calc(var(--nav, 72px) + 56px) 96px; }
  .o-hero__photo { position: absolute; inset: 0; z-index: 0; }
  .o-hero__photo img { position: absolute; right: 0; top: 0; width: 58%; height: 100%; object-fit: cover; object-position: 50% 35%; }
  .o-hero__photo::after { content: ""; position: absolute; inset: 0; background:
      linear-gradient(90deg, #211a45 0%, #211a45 40%, rgba(33,26,69,.82) 55%, rgba(33,26,69,.35) 78%, rgba(33,26,69,.55) 100%),
      linear-gradient(0deg, #211a45 0%, rgba(33,26,69,0) 28%); }
  .o-hero > .wrap { position: relative; z-index: 1; }
  .o-hero h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; max-width: none; white-space: nowrap; margin: 22px 0 28px; position: relative; z-index: 2; }
  @media (max-width: 1023px) { .o-hero h1 { white-space: normal; } .o-hero h1 br { display: none; } }
  .o-hero h1 em { font-style: normal; color: var(--o-mustard); }
  .o-hero p { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; max-width: 600px; color: #e4e0f0; }
  .o-hero p + p { margin-top: 14px; }
  .o-hero .btn-row { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
  .o-hero__trail { position: absolute; z-index: 1; left: 0; right: 0; bottom: 40px; height: 120px; pointer-events: none; opacity: .9; }
  .o-hero__rings { display: block; width: 88px; height: auto; margin-top: 44px; opacity: .3; pointer-events: none; }

  /* jump bar (Deloitte "Saltar a") */
  .o-jump { border-block: 1px solid var(--o-line); background: var(--o-deep); position: relative; z-index: 2; }
  .o-jump .wrap { display: flex; gap: 8px 28px; align-items: center; flex-wrap: wrap; padding-block: 18px; font-size: 15px; }
  .o-jump span { color: var(--o-grey); }
  .o-jump a { color: var(--p-ink); text-decoration: none; border-bottom: 1px solid transparent; }
  .o-jump a:hover { border-color: var(--o-mustard); }

  /* caos operativo */
  .o-caos { background: var(--o-deep); }
  .o-caos .grid { align-items: center; }
  .o-caos blockquote { margin: 18px 0 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.45; font-weight: 300; letter-spacing: -0.01em; max-width: 30ch; }
  .o-caos blockquote strong { font-weight: 700; color: var(--o-mustard); }
  .o-route { width: 100%; height: auto; overflow: visible; }
    .o-route-cap { display: flex; justify-content: space-between; color: var(--o-grey); font-size: 14px; margin-top: 10px; }

  /* servicios: accordion + tree */
  .o-acc { margin-top: 40px; border-top: 1px solid var(--o-line); }
  .o-acc details { border-bottom: 1px solid var(--o-line); }
  .o-acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 16px; padding: 22px 0; font-size: 20px; font-weight: 650; }
  .o-acc summary::-webkit-details-marker { display: none; }
  .o-acc summary .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--o-green)); color: #211a45; }
  .o-acc summary .ic svg { width: 20px; height: 20px; }
  .o-acc summary .pm { width: 24px; height: 24px; position: relative; }
  .o-acc summary .pm::before, .o-acc summary .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 2px; background: var(--o-mustard); transition: transform .3s; }
  .o-acc summary .pm::after { transform: rotate(90deg); }
  .o-acc details[open] summary .pm::after { transform: rotate(0); }
  .o-acc details > div { padding: 0 40px 26px 60px; color: var(--p-muted); font-size: 17px; line-height: 1.65; max-width: 60ch; }
  .o-acc details > div p + p { margin-top: 10px; }
  .o-more { display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; color: var(--o-mustard); font-weight: 600; text-decoration: none; }
  .o-more:hover { text-decoration: underline; text-underline-offset: 4px; }
  .o-treepanel { border-radius: 24px; background: radial-gradient(120% 90% at 80% 10%, #3a2f7a 0%, #2a2258 45%, #1f1844 100%); border: 1px solid var(--o-line); padding: 24px; height: 100%; min-height: 520px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
  .o-treepanel .o-dgp { --p-h: 420px; background: none; border: 0; box-shadow: none; position: relative; z-index: 1; }
  .o-treepanel::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; background: url(assets/img/impacto.svg) center/contain no-repeat; opacity: .14; }
  .o-treepanel figcaption { position: relative; z-index: 1; color: var(--p-muted); font-size: 14px; margin-top: 12px; }

  /* plan de vuelo IA */
  .o-vuelo { background: linear-gradient(180deg, var(--o-deep) 0%, #211a45 100%); }
  .o-vuelo__band { position: relative; border-radius: 28px; overflow: hidden; min-height: 360px; margin-top: 48px; }
  .o-vuelo__band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
  .o-vuelo__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,20,56,.95) 0%, rgba(26,20,56,.7) 45%, rgba(26,20,56,.15) 100%); }
  .o-pass { position: relative; z-index: 1; margin: 40px; max-width: 620px; background: var(--o-cream); color: #211a45; border-radius: 18px; display: grid; grid-template-columns: 1fr 150px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
  .o-pass__main { padding: 26px 28px; }
  .o-pass__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5c5876; font-weight: 600; }
  .o-pass__route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 18px 0 20px; }
  .o-pass__route b { display: block; font-size: 26px; letter-spacing: -0.02em; line-height: 1.05; }
  .o-pass__route small { display: block; font-size: 12px; color: #5c5876; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
  .o-pass__route .to { text-align: right; }
  .o-pass__line { height: 2px; background: repeating-linear-gradient(90deg, #9fb08c 0 8px, transparent 8px 14px); position: relative; }
  .o-pass__line svg { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%,-50%) rotate(90deg); color: #211a45; background: var(--o-cream); padding: 2px; }
  .o-pass dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; margin: 0; padding-top: 16px; border-top: 1px dashed #c9c3b4; }
  .o-pass dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #5c5876; }
  .o-pass dd { margin: 3px 0 0; font-weight: 700; font-size: 15px; }
  .o-pass__stub { border-left: 2px dashed #c9c3b4; padding: 26px 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; position: relative; }
  .o-pass__stub::before, .o-pass__stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: #1d1640; }
  .o-pass__stub::before { top: -10px; } .o-pass__stub::after { bottom: -10px; }
  .o-pass__stub img { width: 86px; }
  .o-pass__code { font-size: 30px; font-weight: 800; letter-spacing: .04em; }
  .o-pass__code small { display: block; font-size: 11px; letter-spacing: .12em; font-weight: 600; color: #5c5876; }
  .o-itin { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
  .o-itin::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--o-green) 0 10px, transparent 10px 18px); }
  .o-itin li { position: relative; }
  .o-itin .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--p-bg); border: 2px solid var(--o-green); display: grid; place-items: center; position: relative; z-index: 1; color: var(--o-cream); }
  .o-itin li:nth-child(3) .dot { border-color: var(--o-mustard); background: var(--o-mustard); color: #211a45; }
  .o-itin li:last-child .dot { border-style: dashed; }
  .o-itin .dot svg { width: 20px; height: 20px; }
  .o-itin h3 { margin: 20px 0 8px; font-size: 19px; font-weight: 700; }
  .o-itin small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-green); margin-top: 18px; font-weight: 600; }
  .o-itin p { color: var(--p-muted); font-size: 16px; line-height: 1.6; }
  .o-vuelo__cta { margin-top: 48px; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }
  .o-vuelo__cta p { color: var(--p-muted); font-size: 15px; }

  /* socio estratégico */
  .o-socio .grid { align-items: center; }
  .o-socio__pic { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
  .o-socio__pic > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .o-socio__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,26,69,0) 50%, rgba(33,26,69,.85) 100%); }
  .o-socio__mark { position: absolute; z-index: 1; right: 28px; bottom: 28px; width: 110px; height: auto; }
  .o-socio p.big { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.6; font-weight: 300; margin-top: 24px; max-width: none; }
  .o-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
  .o-chips li { border: 1px solid var(--o-line); border-radius: 999px; padding: 10px 18px; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
  .o-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--o-green); }

  /* conócenos (crema, como la maqueta original) */
  .o-about { background: var(--o-cream); color: #211a45; }
  .o-about .o-label { color: #5f7a55; }
  .o-about .grid { align-items: center; }
  .o-about__text p { font-size: 18px; line-height: 1.7; color: #3a3560; max-width: 56ch; }
  .o-about__text p + p { margin-top: 16px; }
  .o-about__text p.first { color: #3a3560; }
  .o-about__portrait { position: relative; aspect-ratio: 1; max-width: 480px; margin-left: auto; }
  .o-about__portrait img.ph { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
  .o-about__portrait img.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
  .o-about__portrait .sat { position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; background: var(--o-mustard); right: 10%; top: 9%; }

  /* contacto */
  .o-contact { background: var(--o-deep); }
  .o-contact .grid { align-items: start; }
  .o-contact h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.35; font-weight: 600; max-width: 26ch; margin-top: 18px; }
  .o-contact .mail { display: inline-flex; margin-top: 28px; font-size: 18px; color: var(--o-mustard); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
  .o-form { background: var(--o-cream); color: #211a45; border-radius: 24px; padding: clamp(24px, 3vw, 40px); }
  .o-form h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
  .o-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .o-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
  .o-form input, .o-form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 16px; color: #211a45; background: #fff; border: 1px solid #d6d0c2; border-radius: 10px; padding: 12px 14px; }
  .o-form textarea { min-height: 120px; resize: vertical; }
  .o-form input:focus, .o-form textarea:focus { outline: 2px solid var(--o-violet); outline-offset: 1px; }
  .o-form button { margin-top: 6px; background: #211a45; color: var(--o-cream); border: 0; border-radius: 999px; padding: 14px 28px; font: inherit; font-weight: 600; cursor: pointer; }
  .o-form button:hover { background: var(--o-violet); }
  .o-form .hp { position: absolute; left: -9999px; }

  /* footer */
  .o-foot { padding-block: 0 36px; background: var(--o-deep); }
  .o-foot__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--o-line); border-bottom: 1px solid var(--o-line); padding-block: 48px; }
  .o-foot__top img { height: 56px; width: auto; display: block; }
  .o-foot nav { display: flex; gap: 48px; flex-wrap: wrap; }
  .o-foot h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-green); margin-bottom: 12px; font-weight: 600; }
  .o-foot nav a { display: block; color: var(--p-muted); text-decoration: none; font-size: 15px; padding: 3px 0; }
  .o-foot nav a:hover { color: var(--p-ink); }
  .o-foot__legal { margin-top: 0; padding-top: 24px; color: var(--o-grey); font-size: 14px; text-align: center; font-weight: 300; }

  .btn--primary { background: var(--o-mustard); color: #211a45; }
  .btn--secondary { color: var(--p-ink); border-color: rgba(244,241,234,.35); }

  /* reveal */
  .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .is-in .rv, .rv.is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

  @media (max-width: 1023px) {
    .o-hero__photo img { width: 100%; opacity: .45; }
    .o-hero__photo::after { background: linear-gradient(180deg, rgba(33,26,69,.6) 0%, #211a45 85%); }
    .o-hero__rings { display: none; }
    .o-itin { grid-template-columns: 1fr 1fr; }
    .o-itin::before { display: none; }
    .o-treepanel { margin-top: 40px; min-height: 600px; }
    .o-treepanel .o-dgp { --p-h: 520px; }
    .o-socio__pic { margin-bottom: 40px; aspect-ratio: 4 / 3; }
    .o-about__portrait { margin: 48px auto 0; max-width: 360px; }
    .o-contact .o-form { margin-top: 40px; }
  }
  @media (max-width: 639px) {
    .o-pass { grid-template-columns: 1fr; margin: 16px; }
    .o-pass__stub { border-left: 0; border-top: 2px dashed #c9c3b4; flex-direction: row; padding: 16px 24px; }
    .o-pass__stub::before, .o-pass__stub::after { display: none; }
    .o-pass__stub img { width: 64px; }
    .o-pass dl { grid-template-columns: 1fr 1fr; }
    .o-pass__route b { font-size: 20px; }
    .o-vuelo__band { min-height: 0; }
    .o-itin { grid-template-columns: 1fr; }
    .o-form .row { grid-template-columns: 1fr; gap: 0; }
    .o-acc details > div { padding-left: 0; padding-right: 0; }
    .nav__logo img { height: 34px; }
    .o-hero__trail { display: none; }
  }

  .o-h2--wide { max-width: none; font-size: clamp(28px, 3vw, 42px); }
  .o-acc { margin-top: 48px; }
  #servicios .o-treepanel { margin-top: 48px; }
  .o-contact h2.o-contact__h { max-width: none; font-size: clamp(22px, 2.15vw, 31px); line-height: 1.4; margin-bottom: 48px; }
  .o-contact__p { color: var(--p-muted); font-size: 18px; line-height: 1.6; text-align: left !important; }
  @media (max-width: 1023px) { .o-h2--wide br, .o-contact__h br { display: none; } }

  .o-social { display: flex; gap: 12px; }
  .o-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--o-line); display: grid; place-items: center; color: var(--o-cream); transition: background .2s, color .2s, border-color .2s; }
  .o-social a:hover { background: var(--o-mustard); color: #211a45; border-color: var(--o-mustard); }
  .o-social svg { width: 18px; height: 18px; }
  .o-contact .o-social { margin-top: 12px; }
  .o-foot__bottom { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 24px; }
  .o-foot__bottom .o-foot__legal { padding-top: 0; }
  .o-foot__legal a { color: var(--p-muted); }
  .o-legal-note { font-size: 13px; color: #5c5876; margin-top: 14px; line-height: 1.5; text-align: left !important; }
  .o-legal-note a, .o-check a { color: #211a45; }
  .o-form .o-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.45; }
  .o-form .o-check input { width: auto; margin-top: 3px; flex: none; }

  /* banner de cookies */
  #o-cookies { position: fixed; z-index: 1000; left: 24px; bottom: 24px; max-width: 460px; background: #f4f1ea; color: #211a45; border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.55); font-size: 15px; line-height: 1.5; }
  #o-cookies .oc-t { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
  #o-cookies .oc-d { color: #3a3560; text-align: left; }
  #o-cookies a { color: #211a45; }
  #o-cookies .oc-opts { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #d6d0c2; }
  #o-cookies .oc-opts[hidden] { display: none; }
  #o-cookies .oc-opts label { display: grid; grid-template-columns: 20px 1fr; gap: 2px 10px; font-weight: 600; }
  #o-cookies .oc-opts span { grid-column: 2; font-weight: 400; font-size: 13px; color: #5c5876; }
  #o-cookies .oc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: flex-end; }
  #o-cookies button { font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 10px 16px; cursor: pointer; border: 1px solid #211a45; }
  #o-cookies .oc-ghost { background: transparent; color: #211a45; }
  #o-cookies .oc-main { background: #211a45; color: #f4f1ea; }
  @media (max-width: 639px) { #o-cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

  /* botón flotante de WhatsApp */
  .o-wa { position: fixed; z-index: 900; right: 24px; bottom: 84px; display: inline-flex; align-items: center; gap: 10px; background: #e6a93c; color: #211a45; border-radius: 999px; padding: 12px 18px 12px 14px; font-weight: 700; text-decoration: none; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); transition: transform .2s; }
  .o-wa:hover { transform: translateY(-2px); }
  .o-wa svg { width: 24px; height: 24px; }
  @media (max-width: 639px) { .o-wa span { display: none; } .o-wa { padding: 14px; right: 16px; bottom: 76px; } }

/* espacio para el distintivo de Netlify */
.o-foot { padding-bottom: 88px !important; }
