:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #102c3b;
  background: #f5f4ee;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #062f4a;
  --ink-deep: #03283f;
  --paper: #f5f4ee;
  --paper-bright: #fbfaf6;
  --blue: #2d65e5;
  --accent: #0a4363;
  --accent-light: #c2d8e4;
  --line: rgba(6, 47, 74, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
a { color: inherit; }
img { max-width: 100%; }
::selection { color: white; background: var(--blue); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }

.site-shell { overflow: hidden; background: var(--paper); }
.site-header {
  position: absolute; z-index: 20; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 80px, 1280px); height: 104px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.22); color: white;
}
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { width: 152px; height: auto; display: block; }
.brand span { border-left: 1px solid rgba(255,255,255,.4); padding-left: 18px; font: 600 13px/1 Arial, Helvetica, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { color: rgba(255,255,255,.76); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; }
.site-header .corporate-link { display: flex; align-items: center; gap: 8px; color: white; }
.corporate-link svg, .button svg, .card-link svg, .text-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.hero-section { position: relative; min-height: 850px; color: white; background: var(--ink); display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; padding: 150px max(40px, calc((100vw - 1280px)/2)) 92px; }
.hero-section::before { content: ''; position: absolute; width: 610px; height: 610px; right: -180px; top: -210px; border-radius: 50%; background: #0a4363; filter: blur(2px); opacity: .6; }
.hero-section::after { content: ''; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, rgba(1,29,46,.46)); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.hero-content { position: relative; z-index: 2; max-width: 710px; }
.eyebrow { margin: 0 0 28px; display: flex; align-items: center; gap: 11px; font: 600 12px/1 Arial, Helvetica, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; display: inline-block; background: var(--accent-light); }
.hero-content h1 { margin: 0; max-width: 710px; font: 500 clamp(3.7rem, 5.8vw, 5.7rem)/.98 Arial, Helvetica, sans-serif; letter-spacing: -.065em; }
.hero-content h1 em { color: var(--accent-light); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
.hero-lead { max-width: 595px; margin: 32px 0 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 28px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 24px; border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 14px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: white; color: var(--ink-deep); }
.button--primary:hover { background: white; }
.button--quiet { padding: 0; min-height: auto; color: white; border-bottom: 1px solid rgba(255,255,255,.42); }
.hero-art { position: relative; z-index: 2; height: 570px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(194,216,228,.28); border-radius: 50%; }
.orbit--outer { width: 520px; height: 520px; }
.orbit--inner { width: 370px; height: 370px; border-style: dashed; animation: spin 35s linear infinite; }
.book-stack { position: relative; width: 300px; height: 390px; transform: rotate(7deg); filter: drop-shadow(24px 34px 25px rgba(0,0,0,.28)); }
.book { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 30px; border-radius: 2px 8px 8px 2px; box-shadow: inset 8px 0 14px rgba(0,0,0,.18); }
.book::after { content: ''; position: absolute; top: 0; bottom: 0; left: 14px; width: 1px; background: rgba(255,255,255,.22); }
.book--back { background: #e9e6dc; color: var(--ink); transform: translate(-60px, 20px) rotate(-12deg); }
.book--middle { background: var(--blue); color: white; transform: translate(-30px, 8px) rotate(-5deg); }
.book--back span, .book--middle span { writing-mode: vertical-rl; margin-left: auto; font: 600 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .2em; }
.book--front { background: var(--accent); color: white; }
.book-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 700 12px/1 Arial, Helvetica, sans-serif; }
.book--front strong { margin-top: auto; font: 700 27px/1.08 Arial, Helvetica, sans-serif; letter-spacing: -.05em; }
.book--front small { margin-top: 15px; padding-top: 14px; border-top: 1px solid rgba(3,40,63,.28); font: 600 8px/1 Arial, Helvetica, sans-serif; letter-spacing: .14em; }
.floating-note { position: absolute; padding: 12px 16px; background: rgba(3,40,63,.86); border: 1px solid rgba(194,216,228,.35); color: var(--accent-light); font: 600 9px/1 Arial, Helvetica, sans-serif; letter-spacing: .22em; }
.floating-note--top { top: 115px; right: 1%; }
.floating-note--bottom { bottom: 93px; left: 3%; }
.hero-footnote { position: absolute; z-index: 3; left: max(40px, calc((100vw - 1280px)/2)); bottom: 42px; display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-line { width: 54px; height: 1px; background: var(--accent-light); }

.destinations-section { padding: 120px max(40px, calc((100vw - 1280px)/2)) 130px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.eyebrow--dark { color: var(--blue); }
.eyebrow--dark span { background: var(--accent); }
.section-heading h2, .purpose-copy h2, .closing-section h2 { color: var(--ink); font: 500 clamp(2.6rem, 4.2vw, 4.4rem)/1.04 Arial, Helvetica, sans-serif; letter-spacing: -.055em; margin: 0; }
.section-intro { max-width: 480px; color: #526773; font-size: 17px; line-height: 1.7; margin: 0 0 5px; }
.destination-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.destination-card { min-height: 430px; padding: 34px 38px 36px; color: var(--ink); background: var(--paper-bright); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; transition: background .25s ease, color .25s ease, transform .25s ease; }
.destination-card:hover { color: white; background: var(--accent); transform: translateY(-2px); }
.destination-card--featured { color: white; background: var(--ink); }
.destination-card--featured:hover { background: var(--accent); }
.destination-card--soon { grid-column: 1 / -1; min-height: 350px; background: #edf2f5; }
.destination-card--soon .card-copy { margin-top: 40px; }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.card-number { font: 600 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .18em; opacity: .65; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; opacity: .75; }
.card-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.card-copy { margin-top: 65px; max-width: 465px; }
.card-label { font: 600 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .17em; text-transform: uppercase; color: var(--blue); }
.destination-card--featured .card-label, .destination-card:hover .card-label { color: var(--accent-light); }
.card-copy h3 { font: 600 30px/1.15 Arial, Helvetica, sans-serif; letter-spacing: -.035em; margin: 16px 0; }
.card-copy > p:last-child { color: #637681; line-height: 1.65; margin: 0; }
.destination-card--featured .card-copy > p:last-child, .destination-card:hover .card-copy > p:last-child { color: rgba(255,255,255,.68); }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 26px; border-top: 1px solid currentColor; font-weight: 600; font-size: 13px; }

.purpose-section { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 720px; background: var(--ink); color: white; }
.purpose-visual { position: relative; min-height: 640px; overflow: hidden; }
.purpose-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,40,63,.05), rgba(3,40,63,.3)); }
.purpose-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; transform: scale(1.4); }
.image-caption { position: absolute; z-index: 2; bottom: 30px; left: 34px; font: 500 9px/1 Arial, Helvetica, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.purpose-copy { padding: 105px clamp(45px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.purpose-copy h2 { color: white; }
.purpose-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.66); line-height: 1.72; font-size: 17px; margin: 32px 0 0; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 38px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.principles div { display: flex; flex-direction: column; gap: 10px; }
.principles strong { color: var(--accent-light); font-size: 11px; letter-spacing: .12em; }
.principles span { font: 500 14px/1 Arial, Helvetica, sans-serif; }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 15px; color: white; text-decoration: none; font-weight: 600; font-size: 14px; }
.text-link:hover { color: var(--accent-light); }

.closing-section { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background: var(--accent); }
.closing-section::before, .closing-section::after { content: ''; position: absolute; pointer-events: none; border: 1px solid rgba(3,40,63,.15); border-radius: 50%; }
.closing-section::before { width: 370px; height: 370px; left: -180px; top: -80px; }
.closing-section::after { width: 520px; height: 520px; right: -270px; bottom: -310px; }
.closing-section .eyebrow { position: relative; z-index: 1; color: white; }
.closing-section .eyebrow span { background: var(--accent-light); }
.closing-section h2 { position: relative; z-index: 1; font-size: clamp(3rem, 5.4vw, 5.4rem); }
.closing-section h2 { color: white; }
.button--dark { position: relative; z-index: 1; margin-top: 40px; color: white; background: var(--ink); }
.button--dark:hover { color: var(--ink); background: white; }

footer { color: white; background: var(--ink-deep); display: grid; grid-template-columns: 1.1fr .9fr .65fr; gap: 55px 70px; padding: 72px max(40px, calc((100vw - 1280px)/2)) 32px; }
.footer-brand img { width: 170px; height: auto; display: block; }
.footer-brand p { max-width: 350px; color: rgba(255,255,255,.55); line-height: 1.6; font-size: 13px; margin: 22px 0 0; }
.footer-column h2 { margin: 0 0 22px; color: var(--accent-light); font: 600 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.footer-column address { color: rgba(255,255,255,.58); font-size: 13px; font-style: normal; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 14px; align-items: start; }
.footer-column a, .footer-links a { color: rgba(255,255,255,.76); font-size: 13px; text-decoration: none; }
.footer-column a:hover, .footer-links a:hover { color: var(--accent-light); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 27px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-open { color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.6; margin: 0; }
.footer-open a { color: var(--accent-light); text-decoration: none; }
.copyright { color: rgba(255,255,255,.38); font-size: 11px; white-space: nowrap; margin: 0; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .site-header { width: calc(100% - 40px); height: 88px; }
  .site-header nav a:not(.corporate-link) { display: none; }
  .hero-section { min-height: auto; grid-template-columns: 1fr; padding: 150px 30px 90px; }
  .hero-content { max-width: 760px; }
  .hero-art { height: 500px; margin-top: 10px; }
  .hero-footnote { display: none; }
  .destinations-section { padding: 90px 30px; }
  .purpose-section { grid-template-columns: 1fr; }
  .purpose-visual { min-height: 500px; }
  .purpose-copy { padding: 80px 45px; }
}

@media (max-width: 700px) {
  .site-header { width: calc(100% - 32px); }
  .brand { gap: 10px; }
  .brand img { width: 120px; }
  .brand span { font-size: 9px; padding-left: 10px; }
  .site-header .corporate-link { font-size: 0; gap: 0; }
  .site-header .corporate-link::before { content: 'Corporativo'; font-size: 12px; }
  .site-header .corporate-link svg { display: none; }
  .hero-section { padding: 130px 20px 70px; }
  .hero-content h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-art { height: 410px; transform: scale(.84); margin: -15px -40px -20px; }
  .orbit--outer { width: 440px; height: 440px; }
  .book-stack { width: 240px; height: 320px; }
  .book--front strong { font-size: 22px; }
  .floating-note--top { top: 75px; right: 0; }
  .floating-note--bottom { bottom: 52px; left: 0; }
  .destinations-section { padding: 75px 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; margin-bottom: 45px; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination-card--soon { grid-column: auto; }
  .destination-card { min-height: 370px; padding: 28px; }
  .card-copy { margin-top: 50px; }
  .purpose-visual { min-height: 360px; }
  .purpose-visual img { transform: scale(1.65); object-position: 74% center; }
  .purpose-copy { padding: 70px 24px; }
  .principles { gap: 8px; }
  .principles span { font-size: 12px; }
  .closing-section { min-height: 500px; padding: 60px 20px; }
  footer { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 30px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .footer-bottom { grid-column: 1; align-items: flex-start; flex-direction: column; gap: 14px; }
  .copyright { white-space: normal; }
}

@media (max-width: 390px) {
  .brand span { display: none; }
  .hero-art { transform: scale(.74); margin-left: -60px; margin-right: -60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Página de privacidad */
.legal-page { background: var(--paper); }
.legal-page .site-header { position: relative; left: auto; transform: none; margin: 0 auto; }
.legal-header { background: var(--ink); }
.legal-page .brand img { width: 152px; height: auto; }
.legal-back { display: inline-flex; align-items: center; gap: 10px; }
.legal-page .site-header nav .legal-back,
.contact-page .site-header nav .legal-back { display: inline-flex; }
.legal-back svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transform: rotate(180deg); }
.legal-hero { color: white; background: var(--ink); padding: 105px max(40px, calc((100vw - 1060px)/2)) 95px; }
.legal-hero h1 { max-width: 820px; margin: 0; font: 500 clamp(3.2rem, 6vw, 5.4rem)/1 Arial, Helvetica, sans-serif; letter-spacing: -.06em; }
.legal-hero h1 em { color: var(--accent-light); font-family: Georgia, serif; font-weight: 400; }
.legal-hero p:last-child { max-width: 670px; margin: 30px 0 0; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.7; }
.legal-content { width: min(100% - 80px, 1060px); margin: 0 auto; padding: 95px 0 120px; display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 90px; }
.legal-index { align-self: start; position: sticky; top: 30px; padding-top: 5px; }
.legal-index p { margin: 0 0 22px; color: var(--blue); font: 600 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.legal-index nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.legal-index a { padding: 14px 0; color: #526773; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.legal-index a:hover { color: var(--blue); }
.legal-article { max-width: 720px; }
.legal-updated { margin: 0 0 50px; color: #6d7d85; font-size: 13px; }
.legal-article section { scroll-margin-top: 28px; margin-bottom: 52px; }
.legal-article h2 { margin: 0 0 20px; color: var(--ink); font: 600 27px/1.2 Arial, Helvetica, sans-serif; letter-spacing: -.025em; }
.legal-article p, .legal-article li { color: #4f6570; font-size: 16px; line-height: 1.75; }
.legal-article p { margin: 0 0 16px; }
.legal-article ul { margin: 18px 0 0; padding-left: 22px; }
.legal-article li + li { margin-top: 10px; }
.legal-article a { color: var(--blue); text-underline-offset: 3px; }
.legal-note { padding: 24px 26px; border-left: 3px solid var(--accent); background: #edf1fc; }
.legal-contact { padding: 32px; color: white; background: var(--ink); }
.legal-contact h2, .legal-contact p { color: white; }
.legal-contact p { opacity: .72; }
.legal-contact a { color: var(--accent-light); }

@media (max-width: 760px) {
  .legal-page .site-header { width: calc(100% - 32px); }
  .legal-page .brand span { display: none; }
  .legal-hero { padding: 78px 20px 70px; }
  .legal-content { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 50px; padding: 70px 0 85px; }
  .legal-index { position: static; }
  .legal-index nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .legal-index a:nth-child(odd) { padding-right: 10px; }
  .legal-article section { margin-bottom: 45px; }
  .legal-contact { padding: 25px; }
}

/* Página de contacto */
.contact-page { background: var(--paper); }
.contact-page .site-header { position: relative; left: auto; transform: none; margin: 0 auto; }
.contact-page .brand img { width: 152px; height: auto; }
.contact-main { color: white; background: var(--ink); }
.contact-layout { min-height: 690px; width: min(100% - 80px, 1280px); margin: 0 auto; padding: 105px 0 110px; display: grid; grid-template-columns: .88fr 1.12fr; gap: 110px; align-items: start; }
.contact-intro h1 { margin: 0; font: 500 clamp(3.5rem, 6vw, 5.6rem)/.98 Arial, Helvetica, sans-serif; letter-spacing: -.065em; }
.contact-intro h1 em { color: var(--accent-light); font-family: Georgia, serif; font-weight: 400; }
.contact-intro > p:not(.eyebrow) { max-width: 540px; margin: 30px 0 0; color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.7; }
.contact-cards { border-top: 1px solid rgba(255,255,255,.2); }
.contact-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 25px; align-items: center; min-height: 140px; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; transition: padding .2s ease, background .2s ease; }
.contact-row:hover { padding: 0 18px; background: rgba(255,255,255,.04); }
.contact-row-number { color: var(--accent-light); font: 600 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .18em; }
.contact-row-copy small { color: rgba(255,255,255,.48); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contact-row-copy strong { display: block; margin-top: 10px; color: white; font: 500 clamp(1.15rem, 2vw, 1.55rem)/1.25 Arial, Helvetica, sans-serif; }
.contact-row svg { width: 21px; fill: none; stroke: var(--accent-light); stroke-width: 1.7; }
.contact-note { width: min(100% - 80px, 1280px); margin: 0 auto; padding: 90px 0 105px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-note h2 { margin: 0; color: var(--ink); font: 500 clamp(2.4rem, 4vw, 4rem)/1.05 Arial, Helvetica, sans-serif; letter-spacing: -.05em; }
.contact-note-copy { color: #526773; font-size: 16px; line-height: 1.75; }
.contact-note-copy p { margin: 0 0 20px; }
.contact-note-copy a { color: var(--blue); text-underline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-actions .button--dark { margin-top: 0; }
.contact-actions .button--outline { color: var(--ink); border-color: var(--ink); }
.contact-actions .button--outline:hover { color: white; background: var(--ink); }

@media (max-width: 850px) {
  .contact-page .site-header { width: calc(100% - 32px); }
  .contact-page .brand span { display: none; }
  .contact-layout { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 70px; padding: 80px 0; }
  .contact-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; }
  .contact-note { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 35px; padding: 75px 0 85px; }
}

@media (max-width: 430px) {
  .legal-page .legal-back,
  .contact-page .legal-back { font-size: 0; }
  .legal-page .legal-back::after,
  .contact-page .legal-back::after { content: 'Inicio'; font-size: 12px; }
  .contact-row { min-height: 125px; }
  .contact-row-copy strong { font-size: 16px; overflow-wrap: anywhere; }
}
