:root {
  --ink: #17201e;
  --pine: #23332f;
  --pine-light: #304842;
  --gold: #d4a657;
  --cream: #f6f2ea;
  --paper: #fffdf9;
  --muted: #69736f;
  --line: rgba(23, 32, 30, .16);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); padding: 0 4vw; background: rgba(255,253,249,.95); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; text-transform: uppercase; letter-spacing: .08em; }
.brand-copy strong { font-size: .88rem; font-weight: 600; }
.brand-copy small { color: var(--muted); font-size: .66rem; margin-top: .28rem; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 2.6rem); }
.main-nav a { font-size: .84rem; font-weight: 500; }
.main-nav a:hover { color: #8f6524; }
.header-cta { background: var(--pine); color: white; padding: .82rem 1.35rem; text-transform: uppercase; font-size: .75rem; letter-spacing: .11em; }
.menu-toggle { display: none; border: 0; background: none; padding: .5rem; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: var(--ink); margin: 5px; }

.hero { min-height: 560px; display: grid; grid-template-columns: 58% 42%; background: var(--pine); color: white; }
.hero-image { min-height: 560px; background: linear-gradient(90deg, transparent 70%, rgba(35,51,47,.38)), url("assets/localizacion.jpg") center / cover no-repeat; }
.hero-panel { padding: clamp(3.2rem, 5.5vw, 5.5rem) clamp(2rem, 5vw, 6rem) 2.2rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-panel::before { content: "ARANJUEZ"; position: absolute; right: 2.2rem; top: 2rem; writing-mode: vertical-rl; letter-spacing: .32em; font-size: .67rem; opacity: .55; }
.eyebrow { margin: 0 0 1.35rem; text-transform: uppercase; letter-spacing: .2em; font-size: .71rem; font-weight: 600; color: var(--gold); }
.eyebrow.dark { color: #8f6524; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; margin: 0; }
h1 { font-size: clamp(4rem, 7vw, 7.1rem); letter-spacing: -.045em; }
h1 em { color: var(--gold); font-weight: 400; }
.hero-lead { font-size: 1.1rem; line-height: 1.7; max-width: 34rem; color: rgba(255,255,255,.78); margin: 2rem 0 1.5rem; }
.text-link { display: inline-flex; width: max-content; gap: 1rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: .45rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-note { margin-top: auto; padding-top: 3.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; font-size: .73rem; color: rgba(255,255,255,.65); }
.hero-note span::before { content: "•"; color: var(--gold); margin-right: .55rem; }

.booking-wrap { max-width: 1240px; margin: -72px auto 0; position: relative; z-index: 5; padding: 0 1.5rem; }
.booking-bar { min-height: 122px; display: grid; grid-template-columns: 1.35fr 1fr 1fr .9fr 1.25fr; align-items: stretch; background: #fff; box-shadow: 0 18px 50px rgba(22,32,30,.14); }
.booking-bar > * { border-right: 1px solid var(--line); }
.booking-bar > *:last-child { border-right: 0; }
.booking-intro { display: flex; flex-direction: column; justify-content: center; padding: 1.4rem 1.7rem; }
.booking-intro strong { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; font-weight: 500; }
.mini-label, .booking-bar label span { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .45rem; }
.booking-bar label { padding: 1.4rem 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.booking-bar input, .booking-bar select { width: 100%; border: 0; background: transparent; color: var(--ink); min-height: 2.4rem; outline: 0; }
.booking-bar input:focus, .booking-bar select:focus { box-shadow: inset 0 -2px var(--gold); }
.booking-bar button { border: 0; background: var(--gold); color: var(--ink); font-weight: 600; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.booking-bar button:hover { background: #e2b867; }
.booking-benefits { margin: .9rem 0 0; display: flex; justify-content: flex-end; gap: 1.4rem; color: var(--muted); font-size: .75rem; }

.intro-section { max-width: 1240px; margin: 0 auto; padding: 9rem 1.5rem 6rem; display: grid; grid-template-columns: 1.55fr 1fr; gap: 5rem; }
.intro-heading h2, .section-head h2, .destination-copy h2 { font-size: clamp(3rem, 5vw, 5.4rem); letter-spacing: -.04em; }
.intro-copy { padding-top: 2.2rem; }
.intro-copy p { color: var(--muted); margin: 0 0 1.2rem; }
.dark-link { border-color: var(--line); color: var(--ink); margin-top: 1rem; }

.feature-image { margin: 0 auto 9rem; max-width: 1440px; position: relative; padding: 0 4vw; }
.feature-image img { width: 100%; height: min(66vw, 720px); object-fit: cover; object-position: center; filter: saturate(.85); }
.image-caption { position: absolute; left: 8vw; bottom: 3rem; max-width: 340px; background: rgba(255,253,249,.94); padding: 1.5rem 1.75rem; display: flex; flex-direction: column; }
.image-caption span { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.image-caption small { color: var(--muted); margin-top: .5rem; line-height: 1.5; }

.rooms-section { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem 9rem; text-align: center; }
.section-head { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 5rem; text-align: left; margin-bottom: 3rem; }
.section-head > p { color: var(--muted); margin: 0 0 .4rem; }
.room-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.15rem; text-align: left; }
.room-card { min-height: 300px; position: relative; overflow: hidden; color: white; }
.room-card-large { grid-row: 1 / 3; min-height: 620px; }
.room-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(10,15,14,.82)); }
.room-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.room-card:hover img { transform: scale(1.025); }
.room-card-copy { position: absolute; z-index: 2; inset: auto 1.5rem 1.5rem; display: flex; justify-content: space-between; align-items: end; }
.room-card-copy span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.room-card-copy h3 { font-size: clamp(1.8rem, 3vw, 3rem); margin-top: .25rem; }
.room-link { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: transparent; color: white; font-size: 1.5rem; cursor: pointer; }
.outline-button { display: inline-block; border: 1px solid var(--ink); margin-top: 2.5rem; padding: .85rem 1.5rem; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }
.outline-button:hover { background: var(--ink); color: white; }

.services-section { background: var(--pine); color: white; display: grid; grid-template-columns: 1fr 1fr; }
.services-photo img { width: 100%; height: 100%; min-height: 690px; object-fit: cover; filter: saturate(.8); }
.services-copy { padding: clamp(4rem, 8vw, 8rem); }
.services-copy h2, .contact-section h2 { font-size: clamp(3rem, 5.5vw, 5.7rem); letter-spacing: -.04em; }
.service-list { margin-top: 3.8rem; }
.service-list div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; border-top: 1px solid rgba(255,255,255,.18); padding: 1rem 0; }
.service-list span { color: var(--gold); font-size: .72rem; }
.service-list strong { font-weight: 400; font-size: 1.02rem; }

.destination-section { max-width: 1240px; margin: 0 auto; padding: 9rem 1.5rem; display: grid; grid-template-columns: 1fr .85fr; gap: 6rem; align-items: center; }
.destination-copy > p:not(.eyebrow) { color: var(--muted); max-width: 38rem; margin: 2rem 0; }
.destination-section > img { width: 100%; min-height: 620px; object-fit: cover; }
.distance-row { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.4rem; }
.distance-row div { display: flex; flex-direction: column; }
.distance-row strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.distance-row span { color: var(--muted); font-size: .72rem; }

.guides-section { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem 9rem; }
.guides-head { margin-bottom: 3rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.guide-card { display: grid; grid-template-rows: 270px auto auto 1fr; align-content: start; border-top: 1px solid var(--ink); padding-top: .8rem; }
.guide-card img { width: 100%; height: 270px; object-fit: cover; margin-bottom: 1.2rem; filter: saturate(.82); }
.guide-card > span { color: #8f6524; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; }
.guide-card h3 { font-size: 2rem; line-height: 1.08; margin: .7rem 0 1.4rem; }
.guide-card small { align-self: end; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.guide-card b { float: right; font-weight: 400; }
.guide-card:hover h3 { color: #8f6524; }

.contact-section { background: #b65a33; color: white; padding: 8rem max(4vw, calc((100vw - 1240px) / 2)); }
.contact-section .eyebrow { color: #ffe0a6; }
.contact-grid { border-top: 1px solid rgba(255,255,255,.28); margin-top: 3.8rem; padding-top: 1.7rem; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 3rem; align-items: end; }
.contact-grid address { font-style: normal; }
.contact-grid span:not(.contact-cta span) { display: block; font-size: .67rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.65); margin-bottom: .5rem; }
.contact-cta { border: 1px solid rgba(255,255,255,.7); padding: .95rem 1.25rem; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }

.site-footer { min-height: 180px; background: var(--ink); color: rgba(255,255,255,.58); padding: 3rem 4vw; display: flex; justify-content: space-between; align-items: center; gap: 2rem; font-size: .75rem; }
.footer-brand { color: white; }
.footer-brand .brand-logo { mix-blend-mode: normal; }
.site-footer > div { display: flex; gap: 1.5rem; }
.toast { position: fixed; left: 50%; bottom: -100px; transform: translateX(-50%); z-index: 40; background: var(--ink); color: white; padding: 1rem 1.25rem; box-shadow: 0 8px 30px rgba(0,0,0,.24); transition: bottom .25s ease; }
.toast.visible { bottom: 1.5rem; }

dialog { width: min(560px, calc(100vw - 2rem)); border: 0; padding: 3rem; color: var(--ink); box-shadow: 0 25px 80px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(12,20,18,.72); }
dialog h2 { font-size: 3rem; }
dialog p:not(.eyebrow) { color: var(--muted); }
.dialog-close { position: absolute; right: 1rem; top: 1rem; border: 0; background: none; font-size: 1.8rem; cursor: pointer; }

.article-hero { min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.article-hero-copy { padding: clamp(4rem, 8vw, 8rem); display: flex; flex-direction: column; justify-content: center; }
.article-hero h1 { color: var(--ink); font-size: clamp(3.5rem, 6vw, 6.4rem); }
.article-hero-copy > p:not(.eyebrow) { color: var(--muted); max-width: 38rem; font-size: 1.08rem; }
.article-hero img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.article-body { max-width: 1160px; margin: 0 auto; padding: 7rem 1.5rem; display: grid; grid-template-columns: .65fr 1.35fr; gap: 7rem; }
.article-aside { align-self: start; position: sticky; top: 2rem; border-top: 1px solid var(--ink); padding-top: 1rem; }
.article-aside span { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .7rem; }
.article-aside strong { display: block; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; margin-bottom: 1.2rem; }
.article-content h2 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); margin: 0 0 2rem; }
.article-content h3 { font-size: 2rem; line-height: 1.15; margin: 3.2rem 0 1rem; }
.article-content p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.article-content ul { color: var(--muted); padding-left: 1.2rem; }
.article-content li { margin: .7rem 0; }
.article-cta { background: var(--pine); color: white; margin-top: 4rem; padding: 2.5rem; }
.article-cta h3 { margin-top: 0; }
.article-cta p { color: rgba(255,255,255,.72); }
.article-cta .outline-button { border-color: white; color: white; }
.article-cta .outline-button:hover { background: white; color: var(--ink); }
.related-guides { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem 7rem; }
.related-guides h2 { font-size: 3rem; margin-bottom: 2rem; }

@media (max-width: 980px) {
  .site-header { gap: .8rem; padding-inline: 2vw; }
  .main-nav { gap: .8rem; }
  .main-nav a { font-size: .75rem; }
  .header-cta { padding: .72rem .85rem; }
  .booking-bar label { padding: 1.1rem .8rem; }
  .intro-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-copy { grid-column: auto; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-section, .destination-section { grid-template-columns: 1fr; }
  .services-photo img { min-height: 480px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-cta { width: max-content; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-card:last-child { grid-column: 1 / -1; }
  .article-body { grid-template-columns: 1fr; gap: 3rem; }
  .article-aside { position: static; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 54vw; }
  .hero-panel { min-height: 540px; }
  .booking-wrap { margin-top: 0; padding: 0; }
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .booking-intro, .booking-bar button { grid-column: 1 / -1; min-height: 90px; }
  .booking-benefits { justify-content: center; }
  .article-hero { grid-template-columns: 1fr; }
  .article-hero img { min-height: 65vw; grid-row: 1; }
  .article-hero-copy { padding: 4rem 1.3rem; }
}

@media (max-width: 680px) {
  .site-header { height: 74px; padding: 0 1rem; grid-template-columns: auto auto; justify-content: space-between; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); padding: 1.5rem 4vw; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .brand-logo { width: 52px; height: 52px; }
  .hero-image { min-height: 72vw; }
  .hero-panel { min-height: 520px; padding: 4rem 1.4rem 2.5rem; }
  h1 { font-size: 3.9rem; }
  .hero-note { gap: .7rem; }
  .booking-bar { display: flex; flex-direction: column; }
  .booking-bar > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-bar button { min-height: 76px; }
  .booking-benefits { display: none; }
  .intro-section { padding: 6rem 1.2rem 4rem; display: block; }
  .intro-copy { padding-top: 1.5rem; }
  .feature-image { padding: 0; margin-bottom: 6rem; }
  .feature-image img { height: 115vw; }
  .image-caption { left: 1rem; right: 1rem; bottom: 1rem; }
  .rooms-section { padding: 0 1rem 6rem; }
  .room-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; }
  .room-card, .room-card-large { flex: 0 0 86vw; min-height: 470px; scroll-snap-align: start; }
  .services-photo img { min-height: 80vw; }
  .services-copy { padding: 5rem 1.3rem; }
  .destination-section { padding: 6rem 1.2rem; gap: 3rem; }
  .destination-section > img { min-height: 100vw; }
  .distance-row { grid-template-columns: 1fr; }
  .distance-row div { flex-direction: row; align-items: baseline; gap: .75rem; }
  .guides-section { padding: 0 1rem 6rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card:last-child { grid-column: auto; }
  .contact-section { padding: 6rem 1.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

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