/* =========================================================
   La Casona de Jaraíz · Complejo Rural — hoja de estilos
   ========================================================= */
:root {
  --teal: #2B707D;
  --teal-dark: #1E5560;
  --teal-light: #4E97A4;
  --forest: #0B2621;
  --forest-2: #123A33;
  --sand: #C9A46A;
  --sand-dark: #A9844B;
  --cream: #F8F4EC;
  --stone: #EFE7DA;
  --bg: #FBF8F2;
  --surface: #FFFFFF;
  --surface-2: #F3EDE2;
  --text: #2A2F2D;
  --muted: #5E6662;
  --border: #E3DACB;
  --heading: #0B2621;
  --link: #2B707D;
  --shadow-sm: 0 2px 10px rgba(11, 38, 33, .06);
  --shadow: 0 14px 40px rgba(11, 38, 33, .12);
  --shadow-lg: 0 24px 60px rgba(11, 38, 33, .18);
  --radius: 18px;
  --radius-sm: 12px;
  --grad-brand: linear-gradient(135deg, #2B707D 0%, #1E5560 55%, #0B2621 100%);
  --grad-gold: linear-gradient(90deg, #C9A46A, #2B707D);
  --font-display: "Cormorant Garamond", "Baskervville", Georgia, serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0D1614;
  --surface: #14201D;
  --surface-2: #1A2925;
  --cream: #121D1A;
  --stone: #1A2925;
  --text: #E8E3D8;
  --muted: #A9B3AE;
  --border: #2A3B36;
  --heading: #F3EEE4;
  --link: #7CC0CB;
  --teal-light: #7CC0CB;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
  --shadow: 0 14px 40px rgba(0, 0, 0, .4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* Alto contraste (accesibilidad) */
html.a11y-contrast {
  --text: #000;
  --muted: #1a1a1a;
  --heading: #000;
  --link: #003D47;
  --border: #000;
  --bg: #fff;
  --surface: #fff;
  --surface-2: #fff;
}
html.a11y-contrast[data-theme="dark"] {
  --text: #fff;
  --muted: #f0f0f0;
  --heading: #fff;
  --link: #9FF3FF;
  --border: #fff;
  --bg: #000;
  --surface: #000;
  --surface-2: #000;
}
html.a11y-underline a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}

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

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--sand-dark); }
html[data-theme="dark"] a:hover { color: var(--sand); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.25rem; }
strong { font-weight: 800; }

:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--forest);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 40px); margin-inline: auto; }
main { display: block; }
main:focus { outline: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .92em 1.6em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  text-align: center;
  line-height: 1.2;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(43, 112, 125, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(43, 112, 125, .45); }
.btn-gold { background: linear-gradient(135deg, #D7B57C, #B48C50); color: #1b1408; box-shadow: 0 10px 24px rgba(169, 132, 75, .35); }
.btn-gold:hover { color: #1b1408; }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
html[data-theme="dark"] .btn-outline { border-color: var(--teal-light); color: var(--teal-light); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.topbar {
  background: var(--forest);
  color: #DCE7E3;
  font-size: .86rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--sand); }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social svg { width: 16px; height: 16px; }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand-mark { width: 54px; height: 54px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.42rem; letter-spacing: .02em; white-space: nowrap; }
.brand-sub { font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--teal); font-weight: 800; margin-top: 3px; }
html[data-theme="dark"] .brand-sub { color: var(--teal-light); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 11px; border-radius: 10px; white-space: nowrap;
  color: var(--text); font-weight: 700; font-size: .95rem;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  position: relative;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); border-radius: 2px;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal); }
html[data-theme="dark"] .main-nav a:hover, html[data-theme="dark"] .main-nav a[aria-current="page"] { color: var(--teal-light); }
.main-nav .has-sub { position: relative; }
.main-nav .sub-toggle svg { width: 14px; height: 14px; transition: transform .25s; }
.main-nav .submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  display: block; padding: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.main-nav .submenu a { display: flex; width: 100%; }
.main-nav .submenu a::after { display: none; }
.main-nav .has-sub:hover .submenu, .main-nav .has-sub:focus-within .submenu, .main-nav .has-sub.open .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface-2); color: var(--heading);
  border: 1px solid var(--border); cursor: pointer;
  transition: transform .25s var(--ease), background .25s;
}
.icon-btn:hover { transform: rotate(-12deg) scale(1.05); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-cta { padding: .75em 1.25em; font-size: .92rem; }
.menu-toggle { display: none; }

@media (max-width: 1300px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .menu-toggle { display: inline-grid; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: var(--surface); box-shadow: var(--shadow-lg);
    padding: 90px 22px 30px; transform: translateX(105%);
    transition: transform .35s var(--ease), visibility .35s; z-index: 950; overflow-y: auto; visibility: hidden;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .main-nav .sub-toggle { width: 100%; padding: 13px 14px; font-size: 1.05rem; justify-content: space-between; }
  .main-nav a::after { display: none; }
  .main-nav .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; background: transparent;
  }
  .main-nav .has-sub.open .submenu { display: block; }
  .main-nav .mobile-cta { display: block; margin-top: 18px; }
  .nav-close { position: absolute; top: 22px; right: 18px; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(5, 15, 13, .5); z-index: 940;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (min-width: 1301px) {
  .nav-close, .main-nav .mobile-cta, .nav-backdrop { display: none !important; }
}
@media (max-width: 640px) {
  .topbar-social, .topbar-email { display: none !important; }
  .brand-name { font-size: 1.18rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-sub { font-size: .6rem; letter-spacing: .24em; }
  :root { --header-h: 72px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h) - 38px); min-height: calc(100svh - var(--header-h) - 38px);
  display: grid; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 18, 15, .25) 0%, rgba(5, 18, 15, .15) 40%, rgba(5, 18, 15, .78) 100%),
    linear-gradient(90deg, rgba(5, 18, 15, .65) 0%, rgba(5, 18, 15, 0) 65%);
}
.hero-content { padding: 90px 0 120px; max-width: 760px; }
.hero .eyebrow { color: #F1D9AE; }
.hero .eyebrow::before { background: #F1D9AE; }
.hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: italic; color: #F1D9AE; font-weight: 500; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; color: #F2F0EA; margin-bottom: 2em; }
.hero-dots { position: absolute; bottom: 34px; right: 40px; display: flex; gap: 10px; z-index: 2; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 99px; border: 2px solid #fff; background: transparent;
  cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s;
}
.hero-dots button[aria-current="true"] { background: #fff; width: 34px; }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .85;
}
.scroll-hint span { width: 2px; height: 38px; background: linear-gradient(#fff, transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.fade-up { opacity: 0; transform: translateY(26px); animation: fadeUp 1s var(--ease) forwards; }
.fade-up.d1 { animation-delay: .15s; }
.fade-up.d2 { animation-delay: .3s; }
.fade-up.d3 { animation-delay: .45s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Page hero (interiores) */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  min-height: 46vh; display: grid; align-items: end;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 18, 15, .2), rgba(5, 18, 15, .82)); }
.page-hero .container { padding: 110px 0 56px; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { color: #EDEBE4; max-width: 680px; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 14px; color: #E9DCC4; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #fff; }
.page-hero.simple { min-height: 0; background: var(--grad-brand); }
.page-hero.simple::after { display: none; }

/* ---------- Secciones ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--cream); }
html[data-theme="dark"] .section-alt { background: var(--surface); }
.section-dark { background: var(--forest); color: #DDE6E2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
html[data-theme="dark"] .eyebrow { color: var(--sand); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sand); border-radius: 2px; }
.section-title { position: relative; padding-bottom: 18px; }
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 84px; height: 3px;
  border-radius: 3px; background: var(--grad-gold);
}
.center .section-title::after { left: 50%; transform: translateX(-50%); }
.lead { font-size: 1.14rem; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media .frame { position: absolute; inset: 26px -26px -26px 26px; border: 2px solid var(--sand); border-radius: var(--radius); z-index: 0; }
.split-media img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-media .badge-float {
  position: absolute; z-index: 2; left: -22px; bottom: 34px;
  background: var(--surface); color: var(--heading); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.badge-float strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--teal); white-space: nowrap; }
html[data-theme="dark"] .badge-float strong { color: var(--sand); }
.badge-float span { font-size: .88rem; line-height: 1.3; }
.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-duo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.media-duo img:nth-child(2) { margin-top: 48px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media .frame { inset: 16px -12px -12px 16px; }
  .split-media .badge-float { left: 12px; bottom: 12px; }
  .split-media img { aspect-ratio: 4/3; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--teal); }
html[data-theme="dark"] .check-list svg { color: var(--sand); }

/* Trust strip */
.trust-strip { background: linear-gradient(120deg, var(--forest) 0%, var(--forest-2) 100%); color: #E2EAE6; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.trust-item { padding: 30px 22px; display: flex; gap: 14px; align-items: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 34px; height: 34px; color: var(--sand); flex: none; }
.trust-item strong { display: block; color: #fff; font-size: 1rem; line-height: 1.25; }
.trust-item span { font-size: .85rem; opacity: .85; line-height: 1.3; display: block; }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* Tarjetas alojamiento */
.stay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.stay-card {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid var(--border);
}
.stay-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.stay-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.stay-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.stay-card:hover .stay-media img { transform: scale(1.06); }
.stay-tag {
  position: absolute; top: 18px; left: 18px; background: rgba(11, 38, 33, .78); color: #fff;
  padding: 6px 14px; border-radius: 99px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.stay-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.stay-body p { color: var(--muted); }
.stay-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.stay-feats li { background: var(--surface-2); border: 1px solid var(--border); padding: 5px 12px; border-radius: 99px; font-size: .84rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.stay-feats svg { width: 15px; height: 15px; color: var(--teal); }
html[data-theme="dark"] .stay-feats svg { color: var(--sand); }
.stay-body .btn-row { margin-top: auto; }
@media (max-width: 860px) { .stay-grid { grid-template-columns: 1fr; } }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(43, 112, 125, .28);
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.gold { background: linear-gradient(135deg, #D7B57C, #A9844B); }
.service h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.service p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Galería preview / mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.mosaic a { position: relative; border-radius: 16px; overflow: hidden; display: block; }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(4) { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.mosaic a:hover img { transform: scale(1.07); filter: brightness(.85); }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .mosaic a:nth-child(4) { grid-row: span 1; } }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.gallery-filters button {
  padding: 10px 20px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 800; cursor: pointer; font-family: inherit; font-size: .92rem;
  transition: background .25s, color .25s, border-color .25s;
}
.gallery-filters button[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.gallery-grid { columns: 3 280px; column-gap: 16px; }
.gallery-grid figure { margin: 0 0 16px; break-inside: avoid; border-radius: 16px; overflow: hidden; position: relative; }
.gallery-grid figure[hidden] { display: none; }
.gallery-grid button { all: unset; cursor: zoom-in; display: block; position: relative; width: 100%; }
.gallery-grid button:focus-visible { outline: 3px solid var(--sand); outline-offset: -3px; }
.gallery-grid img { width: 100%; transition: transform .7s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: .88rem; font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .3s;
}
.gallery-grid figure:hover figcaption, .gallery-grid figure:focus-within figcaption { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1500; background: rgba(4, 12, 10, .94);
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figure { margin: 0; text-align: center; color: #e6e6e6; }
.lightbox figcaption { margin-top: 12px; font-size: .95rem; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background .25s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 70px 10px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }

/* Entorno */
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.place {
  background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.place:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.place img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.place-body { padding: 24px; }
.place-body p { color: var(--muted); margin: 0; font-size: .97rem; }
.place-body h3 { margin-bottom: .3em; }
.place-icon-head { aspect-ratio: 16/10; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.place-icon-head svg { width: 64px; height: 64px; opacity: .9; }
@media (max-width: 960px) { .place-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .place-grid { grid-template-columns: 1fr; } }

.feature-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 28px;
  padding: clamp(40px, 6vw, 80px); background-size: cover; background-position: center;
}
.feature-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 38, 33, .92) 0%, rgba(11, 38, 33, .55) 60%, rgba(11, 38, 33, .2) 100%); }
.feature-band h2, .feature-band h3 { color: #fff; }
.feature-band p { color: #E6ECE9; max-width: 560px; }
.feature-band .eyebrow { color: #F1D9AE; }

/* Info boxes */
.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.info-card.accent { border-left: 5px solid var(--sand); }
.info-card h3 { font-size: 1.5rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--forest); color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.compare tbody th { font-weight: 800; width: 30%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* CTA */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background-size: cover; background-position: center; color: #fff; padding: clamp(80px, 11vw, 140px) 0;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 38, 33, .82), rgba(11, 38, 33, .9)); }
.cta h2 { color: #fff; }
.cta p { color: #E6ECE9; max-width: 640px; margin-inline: auto; font-size: 1.12rem; }
.cta .btn-row { justify-content: center; margin-top: 30px; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 800; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s; }
.faq-item summary .plus svg { width: 16px; height: 16px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq-item .faq-a p:last-child { margin: 0; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } .budget-card { order: -1; } }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .icon-badge { width: 48px; height: 48px; margin: 0; border-radius: 14px; flex: none; }
.contact-card .icon-badge svg { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin: 0 0 2px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 800; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 6px; color: var(--heading); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-weight: 500;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43, 112, 125, .18); }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.form-error { color: #B3261E; font-weight: 800; font-size: .9rem; min-height: 1.2em; }
html[data-theme="dark"] .form-error { color: #FFB4AB; }

/* Tarjeta de presupuesto por email */
.budget-card { position: relative; overflow: hidden; }
.budget-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-gold); }
.budget-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.budget-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.budget-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.budget-list .icon-badge { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex: none; }
.budget-list .icon-badge svg { width: 22px; height: 22px; }
.budget-list strong { display: block; color: var(--heading); line-height: 1.3; }
.budget-list span:not(.icon-badge) { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.btn.copied { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Mapa con consentimiento */
.map-box {
  position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); aspect-ratio: 16/9; min-height: 340px; background: var(--surface-2);
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background: linear-gradient(135deg, rgba(43, 112, 125, .1), rgba(201, 164, 106, .15)), var(--surface-2);
}
.map-placeholder svg { width: 54px; height: 54px; color: var(--teal); margin: 0 auto 10px; }
.map-placeholder p { max-width: 440px; color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .map-box { aspect-ratio: auto; min-height: 420px; } .map-box iframe { min-height: 420px; } }

/* Legal */
.legal { padding: 70px 0 100px; }
.legal h2 { font-size: 1.8rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.35rem; margin-top: 1.3em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .94rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); }
.legal .data-box { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--teal); border-radius: 12px; padding: 18px 22px; margin: 1.2em 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0F302A 0%, #0B2621 45%, #061714 100%);
  color: #BFCBC6; padding: 80px 0 0; font-size: .95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 18px; }
.footer-brand:hover { color: #fff; }
.footer-brand .brand-sub { color: var(--sand); }
.site-footer h2 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); font-weight: 800; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #E4ECE8; }
.site-footer a:hover { color: var(--sand); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 4px; color: var(--sand); flex: none; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s;
}
.social a:hover { background: var(--teal); transform: translateY(-3px); color: #fff; }
.social svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; font-size: .86rem; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.link-btn { background: none; border: 0; padding: 0; color: #E4ECE8; font: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--sand); }
.kit-digital { margin-top: 26px; background: #fff; border-radius: 10px; padding: 8px 12px; display: inline-block; }
.kit-digital img { height: 46px; width: auto; }
.reg-badge svg { width: 16px; height: 16px; flex: none; }
.reg-badge { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; background: rgba(201, 164, 106, .12); border: 1px solid rgba(201, 164, 106, .35); color: #F1D9AE; padding: 6px 12px; border-radius: 99px; font-size: .82rem; font-weight: 800; }

/* ---------- Flotantes ---------- */

.a11y-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(11, 38, 33, .35); transition: transform .3s var(--ease), bottom .35s var(--ease);
}
.a11y-fab:hover { transform: scale(1.07); }
.a11y-fab svg { width: 30px; height: 30px; }
.a11y-panel {
  position: fixed; left: 22px; bottom: 92px; z-index: 1001; width: min(340px, calc(100vw - 44px));
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 22px; display: none; max-height: calc(100vh - 130px); overflow-y: auto;
  transition: bottom .35s var(--ease);
}
.a11y-panel.open { display: block; animation: fadeUp .3s var(--ease); }
.a11y-panel h2 { font-size: 1.5rem; margin-bottom: 14px; }
.a11y-panel h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 800; margin: 18px 0 10px; }
html[data-theme="dark"] .a11y-panel h3 { color: var(--sand); }
.a11y-row { display: flex; gap: 8px; align-items: center; }
.a11y-row .size-value { flex: 1; text-align: center; font-weight: 800; }
.a11y-btn {
  border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); border-radius: 12px;
  padding: 10px 12px; cursor: pointer; font: inherit; font-weight: 800; font-size: .9rem; width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; transition: border-color .2s, background .2s;
}
.a11y-btn[aria-pressed="true"] { border-color: var(--teal); background: rgba(43, 112, 125, .14); }
.a11y-btn[aria-pressed="true"]::after { content: "✓"; color: var(--teal); }
.a11y-row .a11y-btn { width: 48px; justify-content: center; font-size: 1.1rem; }
.a11y-list { display: grid; gap: 8px; }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lang-grid .a11y-btn { justify-content: center; }
.lang-note { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.a11y-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; }

body.cookie-visible .a11y-fab { bottom: var(--cookie-offset, 190px); }
body.cookie-visible .a11y-panel { bottom: calc(var(--cookie-offset, 190px) + 70px); max-height: calc(100vh - var(--cookie-offset, 190px) - 90px); }

/* Cookies */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200;
  max-width: 1100px; margin-inline: auto; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 22px 24px; display: none; gap: 20px; align-items: center;
}
.cookie-banner.show { display: flex; animation: fadeUp .45s var(--ease); }
.cookie-banner p { margin: 0; font-size: .93rem; color: var(--muted); }
.cookie-banner strong { color: var(--heading); display: block; font-size: 1.05rem; margin-bottom: 4px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.cookie-actions .btn { padding: .75em 1.2em; font-size: .9rem; }
@media (max-width: 820px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

.modal { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(4, 12, 10, .6); }
.modal.open { display: flex; }
.modal-card { background: var(--surface); color: var(--text); border-radius: 22px; max-width: 560px; width: 100%; padding: 30px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; position: relative; }
.modal-card h2 { font-size: 1.9rem; }
.cookie-cat { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.cookie-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-cat h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin: 0; }
.cookie-cat p { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #9AA5A1; transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--sand); outline-offset: 2px; }

.translating-overlay {
  position: fixed; inset: 0; z-index: 3000; background: rgba(11, 38, 33, .92); color: #fff;
  display: none; place-items: center; font-family: var(--font-display); font-size: 2rem;
}
.translating-overlay.show { display: grid; }
.translating-overlay .spinner { width: 46px; height: 46px; border: 4px solid rgba(255, 255, 255, .25); border-top-color: var(--sand); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ocultar UI nativa de Google Translate */
.goog-te-banner-frame, .skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
html.a11y-reduce-motion .reveal, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .fade-up { opacity: 1; transform: none; } }

/* Utilidades */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.pill { display: inline-block; background: rgba(201, 164, 106, .18); color: var(--sand-dark); border-radius: 99px; padding: 4px 12px; font-weight: 800; font-size: .82rem; }
html[data-theme="dark"] .pill { color: var(--sand); }

@media print {
  .site-header, .site-footer, .a11y-fab, .cookie-banner, .a11y-panel { display: none !important; }
}
