@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/playfair-display-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/playfair-display-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/playfair-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/playfair-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --green-50: #f2f8f4;
  --green-100: #d8ede0;
  --green-200: #b2dec3;
  --green-300: #81caa0;
  --green-400: #4fae7e;
  --green-500: #358b61;
  --green-600: #266848;
  --green-700: #1a4833;
  --green-800: #0f3022;
  --green-900: #081d14;

  --acento-50: #fcf9f3;
  --acento-100: #fae8d7;
  --acento-200: #f6d4b0;
  --acento-300: #f2bd75;
  --acento-400: #deaa60;
  --acento-500: #c99a55;
  --acento-600: #946e38;
  --acento-700: #76592f;


  --white: #ffffff;
  --cream-50: #faf7f2;
  --cream-100: #f3eee5;
  --cream-200: #e6ded0;
  --gray-50: #fbf9f6;
  --gray-100: #f0ece5;
  --gray-200: #ddd6ca;
  --gray-300: #b5aba0;
  --gray-400: #7d7265;
  --gray-500: #554d42;
  --gray-600: #352f28;
  --gray-700: #1e1a16;

  --bg-body: var(--cream-50);
  --bg-surface: #ffffff;
  --bg-surface-elev: #fdfbf7;
  --bg-header-scrolled: rgba(255, 255, 255, 0.96);

  --text-primary: var(--gray-700);
  --text-secondary: var(--gray-500);
  --text-muted: var(--gray-400);
  --text-heading: var(--green-800);

  --font-card-title: 'Playfair Display', 'Georgia', serif;
  --fs-titulo-bloque: 1.4rem;
  --font-card-text: 'Cormorant Garamond', 'Georgia', serif;

  --border-color: var(--cream-200);

  --shadow-sm: 0 2px 10px rgba(26, 72, 51, 0.06);
  --shadow-md: 0 6px 24px rgba(26, 72, 51, 0.10);
  --shadow-lg: 0 12px 42px rgba(26, 72, 51, 0.14);
  --shadow-xl: 0 20px 60px rgba(8, 29, 20, 0.22);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --borde-acento-suave: rgba(201, 154, 85, 0.28);
  --borde-acento: rgba(201, 154, 85, 0.5);
  --borde-acento-fuerte: var(--acento-400);

  --lift-sm: -2px;
  --lift-md: -4px;

  --ring: 0 0 0 3px rgba(201, 154, 85, 0.45);

  --acento: var(--acento-500);
  --bg-accent: var(--green-700);
  --bg-map: var(--acento-50);
  --map-grid: rgba(201, 154, 85, 0.12);
  --bg-button: var(--green-700);
  --bg-button-hover: var(--green-600);
  --bg-icon: var(--green-50);
  --bg-option-hover: var(--acento-50);
  --bg-option-selected: var(--green-50);
  --bg-popover: var(--white);
  --bg-section-alt: var(--cream-100);
  --bg-soft-hover: var(--acento-50);
  --border-accent: var(--green-700);
  --border-card: 1px solid var(--acento-200);
  --borde-tarjeta: 1px solid rgba(15, 48, 34, 0.1);
  --border-hover: var(--acento-300);
  --borde-acento-hover: var(--borde-acento);
  --icon-accent: var(--green-600);
  --icon-control: var(--acento-600);
  --input-bg-focus: var(--white);
  --text-accent: var(--green-700);
  --text-accent-soft: var(--green-800);
  --text-accent-strong: var(--green-800);
  --text-body: var(--gray-600);
  --text-brand: var(--green-700);
  --text-caption: var(--acento-700);
  --text-eyebrow: var(--green-600);
  --text-label: var(--gray-600);
  --text-note: var(--gray-400);
  --text-on-accent: var(--white);
  --text-option: var(--gray-700);
  --text-page: var(--text-secondary);
  --text-strong: var(--green-800);
  --text-subtle: var(--text-secondary);

  --about-feature-border: var(--border-color);
  --about-feature-icon-border: var(--green-200);
  --about-floating-card-bg: rgba(255, 255, 255, 0.95);
  --afc-text-color: var(--acento-600);
  --btn-secondary-bg-hover: var(--acento-100);
  --cal-day-bg-active: var(--acento-400);
  --cal-day-bg-today: var(--green-700);
  --cal-events-placeholder-color: var(--gray-500);
  --contact-info-card-border: 1px solid var(--cream-200);
  --contact-info-icon-border: var(--green-200);
  --contact-info-text-color-hover: var(--acento-600);
  --dp-day-bg-hover: var(--acento-50);
  --dp-day-color: var(--gray-300);
  --dp-nav-bg: var(--cream-50);
  --dp-trigger-border-invalid: #c2412d;
  --event-cta-bg: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  --event-gallery-pending-border: var(--borde-acento);
  --event-gallery-pending-icon-color: var(--acento-700);
  --event-highlight-border: var(--border-color);
  --events-border: var(--cream-200);
  --events-capacity-bg: var(--bg-surface);
  --events-capacity-border-hover: var(--borde-acento);
  --ferias-highlight-icon-bg: linear-gradient(135deg, var(--green-50), var(--acento-50));
  --ferias-highlight-icon-border: var(--acento-200);
  --footer-grid-border-bottom: rgba(255, 255, 255, 0.08);
  --footer-social-bg: rgba(255, 255, 255, 0.06);
  --footer-social-border: rgba(242, 189, 117, 0.2);
  --footer-social-color: var(--acento-200);
  --form-field-error-color: #a3321f;
  --form-group-color-scheme: light;
  --form-help-color: var(--text-muted);
  --form-submit-shadow-hover: 0 10px 26px rgba(26, 72, 51, 0.32);
  --gallery-filter-border: 1px solid var(--border-color);
  --gallery-filter-shadow-active: 0 4px 14px rgba(26, 72, 51, 0.22);
  --lightbox-bg: rgba(8, 29, 20, 0.94);
  --modal-bg: rgba(8, 29, 20, 0.72);
  --nav-dropdown-item-bg-hover: var(--green-50);
  --nav-dropdown-menu-bg-scrolled: rgba(255, 255, 255, 0.98);
  --nav-dropdown-menu-border-scrolled: rgba(222, 170, 96, 0.4);
  --nav-dropdown-menu-shadow-scrolled: 0 16px 40px rgba(15, 48, 34, 0.14);
  --navbar-border-bottom-scrolled: 1px solid rgba(216, 237, 224, 0.7);
  --navbar-shadow-scrolled: 0 6px 24px rgba(15, 48, 34, 0.10);
  --req-color: #c2412d;
  --stat-item-bg-hover: var(--green-50);
  --stats-bar-bg: var(--white);
  --stats-grid-border: var(--border-color);
  --today-dot-bg: var(--green-700);
  --whatsapp-bg: #1f7a45;
  --whatsapp-bg-hover: #23894e;
}

[data-theme="dark"] {
  --bg-body: #081e14;
  --bg-surface: #173526;
  --bg-surface-elev: #234232;
  --bg-header-scrolled: rgba(8, 30, 20, 0.97);

  --text-primary: #fdfbf7;
  --text-secondary: #b5c7bd;
  --text-muted: #7d9689;
  --text-heading: #f7eed7;

  --border-color: rgba(222, 170, 96, 0.34);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 12px 42px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.8);

  --borde-acento-suave: rgba(222, 170, 96, 0.22);
  --borde-acento: rgba(222, 170, 96, 0.42);
  --borde-acento-fuerte: var(--acento-400);
  --ring: 0 0 0 3px rgba(222, 170, 96, 0.5);

  --acento: var(--acento-400);
  --bg-accent: var(--acento-500);
  --bg-map: #0a1d14;
  --map-grid: rgba(222, 170, 96, 0.08);
  --bg-button: #14452f;
  --bg-button-hover: #1d6242;
  --bg-icon: rgba(222, 170, 96, 0.12);
  --bg-option-hover: rgba(222, 170, 96, 0.15);
  --bg-option-selected: rgba(222, 170, 96, 0.25);
  --bg-popover: var(--bg-surface);
  --bg-section-alt: #06180f;
  --bg-soft-hover: rgba(222, 170, 96, 0.12);
  --border-accent: var(--acento-400);
  --border-card: 1px solid rgba(222, 170, 96, 0.35);
  --borde-tarjeta: 1px solid rgba(233, 222, 205, 0.1);
  --border-hover: var(--acento-400);
  --borde-acento-hover: var(--acento-400);
  --icon-accent: var(--acento-300);
  --icon-control: var(--acento-400);
  --input-bg-focus: #0a1b12;
  --text-accent: var(--acento-300);
  --text-accent-soft: var(--acento-200);
  --text-accent-strong: var(--acento-300);
  --text-body: #d6e2db;
  --text-brand: #f7eed7;
  --text-caption: var(--acento-400);
  --text-eyebrow: var(--acento-400);
  --text-label: #dce7e1;
  --text-note: #b5c7bd;
  --text-on-accent: #081d14;
  --text-option: #dce7e1;
  --text-page: #dce7e1;
  --text-strong: #fdfbf7;
  --text-subtle: #a4bab0;

  --about-feature-border: rgba(222, 170, 96, 0.2);
  --about-feature-icon-border: rgba(222, 170, 96, 0.25);
  --about-floating-card-bg: rgba(35, 66, 50, 0.95);
  --afc-text-color: #dce7e1;
  --btn-secondary-bg-hover: rgba(222, 170, 96, 0.18);
  --cal-day-bg-active: var(--acento-500);
  --cal-day-bg-today: var(--green-600);
  --cal-events-placeholder-color: var(--form-help-color);
  --contact-info-card-border: 1px solid rgba(222, 170, 96, 0.25);
  --contact-info-icon-border: rgba(222, 170, 96, 0.3);
  --contact-info-text-color-hover: var(--acento-200);
  --dp-day-bg-hover: rgba(222, 170, 96, 0.16);
  --dp-day-color: #4e6a5c;
  --dp-nav-bg: var(--bg-surface);
  --dp-trigger-border-invalid: #e07a67;
  --event-cta-bg: linear-gradient(135deg, var(--bg-body) 0%, var(--bg-section-alt) 100%);
  --event-gallery-pending-border: rgba(222, 170, 96, 0.3);
  --event-gallery-pending-icon-color: var(--acento-300);
  --event-highlight-border: rgba(222, 170, 96, 0.3);
  --events-border: rgba(222, 170, 96, 0.15);
  --events-capacity-bg: linear-gradient(135deg, var(--bg-surface-elev) 0%, var(--bg-surface) 100%);
  --events-capacity-border-hover: rgba(222, 170, 96, 0.65);
  --ferias-highlight-icon-bg: rgba(222, 170, 96, 0.12);
  --ferias-highlight-icon-border: rgba(222, 170, 96, 0.3);
  --footer-grid-border-bottom: rgba(255, 255, 255, 0.1);
  --footer-social-bg: rgba(255, 255, 255, 0.08);
  --footer-social-border: rgba(222, 170, 96, 0.3);
  --footer-social-color: var(--acento-300);
  --form-field-error-color: #f0a08f;
  --form-group-color-scheme: dark;
  --form-help-color: #a4bab0;
  --form-submit-shadow-hover: 0 10px 26px rgba(0, 0, 0, 0.55);
  --gallery-filter-border: 1px solid var(--borde-acento-suave);
  --gallery-filter-shadow-active: 0 4px 14px rgba(201, 154, 85, 0.3);
  --lightbox-bg: rgba(4, 14, 8, 0.96);
  --modal-bg: rgba(2, 8, 5, 0.82);
  --nav-dropdown-item-bg-hover: rgba(222, 170, 96, 0.16);
  --nav-dropdown-menu-bg-scrolled: var(--bg-surface-elev);
  --nav-dropdown-menu-border-scrolled: rgba(222, 170, 96, 0.35);
  --nav-dropdown-menu-shadow-scrolled: 0 16px 40px rgba(0, 0, 0, 0.65);
  --navbar-border-bottom-scrolled: 1px solid rgba(222, 170, 96, 0.25);
  --navbar-shadow-scrolled: 0 8px 30px rgba(0, 0, 0, 0.6);
  --req-color: #ff8a78;
  --stat-item-bg-hover: rgba(222, 170, 96, 0.06);
  --stats-bar-bg: transparent;
  --stats-grid-border: rgba(222, 170, 96, 0.25);
  --today-dot-bg: var(--green-400);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  color: var(--text-page);
  background: var(--bg-body);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-wrap: break-word;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--green-700);
  line-height: 1.22;
  font-weight: 700;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  box-shadow: var(--ring);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--green-700);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

::selection {
  background: var(--acento-200);
  color: var(--green-900);
}

[data-theme="dark"] ::selection {
  background: var(--acento-500);
  color: var(--green-900);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--acento-400) transparent;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--acento-400);
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-body);
}
::-webkit-scrollbar-thumb:hover { background: var(--acento-500); }

html[data-movimiento="reducido"] {
  scroll-behavior: auto;
}

html[data-movimiento="reducido"] .hero-scroll-line {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-movimiento]) {
    scroll-behavior: auto;
  }

  html:not([data-movimiento]) .hero-scroll-line {
    animation: none;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-padding {
  padding: clamp(72px, 8vw, 110px) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text-eyebrow);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--acento-400), var(--green-400));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 20px;
  color: var(--green-800);
  letter-spacing: -0.018em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-subtle);
  max-width: 620px;
  line-height: 1.8;
}

