/* ============================================================
   ORIA TOSCANA — Shared Components
   oriatoscana.com · 2026
   ============================================================ */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-sans);
  background: var(--ink);
  color: var(--text);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--ff-sans); border: none; background: none; }
input, textarea, select {
  font-family: var(--ff-sans);
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  outline: none;
  width: 100%;
  transition: border-color var(--t-base) var(--ease);
}
input:focus, textarea:focus { border-color: var(--gold); }

/* ─── Typography ────────────────────────────────────────────── */
.serif { font-family: var(--ff-serif); }
.label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold);
}
.label--muted { color: var(--text-muted); }

.display {
  font-family: var(--ff-serif);
  font-weight: 300;
  line-height: var(--lh-tight);
}

.gold-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: var(--sp-4) 0;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ─── Layout Helpers ────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--sm { max-width: var(--container-sm); }
.container--xs { max-width: var(--container-xs); }

.section {
  padding: var(--sp-32) 0;
}
.section--sm { padding: var(--sp-20) 0; }
.section--lg { padding: var(--sp-40) 0; }

.section--light {
  background: var(--cream);
  color: var(--l-ink);
}
.section--light .label { color: var(--l-gold); }
.section--light .gold-rule { background: var(--l-gold); }
.section--light p { color: var(--l-text-muted); }

.section--parchment { background: var(--parchment); color: var(--l-ink); }
.section--parchment .label { color: var(--l-gold); }
.section--parchment .gold-rule { background: var(--l-gold); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-8); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

/* ─── Section Headers ───────────────────────────────────────── */
.sec-header {
  margin-bottom: var(--sp-12);
}
.sec-header--center { text-align: center; }
.sec-header--center .gold-rule { margin-left: auto; margin-right: auto; }
.sec-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: var(--lh-tight);
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.sec-title--dark { color: var(--l-ink); }
.sec-lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
  color: var(--text-muted);
  max-width: 600px;
}
.sec-lead--dark { color: var(--l-text-muted); }
.sec-header--center .sec-lead { margin: 0 auto; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-mid);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--outline-dark {
  background: transparent;
  color: var(--l-ink);
  border: 1px solid var(--l-border);
}
.btn--outline-dark:hover { border-color: var(--l-gold); color: var(--l-gold); }

.btn--ghost {
  color: var(--gold);
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover { opacity: 0.75; }
.btn--ghost::after { content: ' →'; }

.btn--lg { padding: var(--sp-4) var(--sp-10); font-size: var(--fs-sm); }
.btn--sm { padding: var(--sp-2) var(--sp-5); }

/* ─── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 72px;
  transition: background var(--t-slow) var(--ease), backdrop-filter var(--t-slow) var(--ease);
}
.nav.scrolled {
  background: rgba(26, 18, 8, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav__logo img {
  height: 38px;
  width: auto;
  filter: brightness(1.1);
}
.nav__logo-text {
  display: none; /* wordmark handled by logo img */
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}
.nav__link {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast);
  position: relative;
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__lang {
  display: flex;
  gap: var(--sp-2);
  list-style: none;
  margin-left: var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 1px solid var(--border);
}
.nav__lang a {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color var(--t-fast);
  padding: var(--sp-1) var(--sp-2);
}
.nav__lang a:hover, .nav__lang a.active { color: var(--gold); }
.nav__cta {
  margin-left: var(--sp-6);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text);
  transition: all var(--t-base);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: calc(var(--z-nav) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}
.nav__mobile.open { display: flex; opacity: 1; pointer-events: all; }
.nav__mobile .nav__link { font-size: var(--fs-2xl); letter-spacing: 0.1em; }
.nav__mobile .nav__link::after { display: none; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video, .hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,18,8,0.92) 0%,
    rgba(26,18,8,0.45) 40%,
    rgba(26,18,8,0.15) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) var(--sp-20);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.hero__line {
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: var(--lh-tight);
  color: var(--cream);
  max-width: 800px;
  margin-bottom: var(--sp-6);
}
.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 540px;
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-10);
}
.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0.4;
  writing-mode: vertical-rl;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text);
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: var(--text);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ─── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--ink-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.card:hover { border-color: var(--border-mid); box-shadow: var(--shadow-gold); }
.card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card__body { padding: var(--sp-6) var(--sp-8); }
.card__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.card__text {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
}

/* Plan cards */
.plan-card {
  background: var(--ink-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-10);
  display: flex;
  flex-direction: column;
  transition: all var(--t-slow) var(--ease);
  position: relative;
  overflow: hidden;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t-slow);
}
.plan-card:hover { border-color: var(--border-mid); box-shadow: var(--shadow-gold); }
.plan-card:hover::before { opacity: 1; }
.plan-card--featured {
  background: linear-gradient(145deg, var(--ink-mid), var(--ink-light));
  border-color: var(--gold-dim);
}
.plan-card--featured::before { opacity: 0.6; }
.plan-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-faint);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-4);
  margin-bottom: var(--sp-6);
  width: fit-content;
}
.plan-card__name {
  font-family: var(--ff-serif);
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.plan-card__tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}
.plan-card__price {
  font-family: var(--ff-serif);
  font-size: var(--fs-4xl);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.plan-card__price-note {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-8);
}
.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
  flex: 1;
}
.plan-card__feature {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
.plan-card__feature::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}
.plan-card__cta { margin-top: auto; }

/* ─── Stats strip ───────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat {
  background: var(--ink-light);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.stat__value {
  font-family: var(--ff-serif);
  font-size: var(--fs-4xl);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Quote ─────────────────────────────────────────────────── */
.blockquote {
  position: relative;
  padding: var(--sp-8) var(--sp-10);
  border-left: 2px solid var(--gold);
}
.blockquote::before {
  content: '"';
  font-family: var(--ff-serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -1rem;
  left: var(--sp-4);
  line-height: 1;
  pointer-events: none;
}
.blockquote__text {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: var(--lh-snug);
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.blockquote__author {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Image + Text split ────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.split__media { position: relative; }
.split__media-badge {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: rgba(26,18,8,0.85);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-5);
  backdrop-filter: blur(8px);
}
.split__content { display: flex; flex-direction: column; }

/* ─── Accordion / FAQ ───────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item--light { border-bottom-color: var(--l-border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
  cursor: pointer;
  font-size: var(--fs-md);
  color: var(--text);
  gap: var(--sp-4);
  transition: color var(--t-fast);
}
.faq-q--dark { color: var(--l-ink); }
.faq-q:hover { color: var(--gold); }
.faq-q--dark:hover { color: var(--l-gold); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow) var(--ease-out);
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a__inner {
  padding-bottom: var(--sp-5);
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--text-muted);
}
.faq-a__inner--dark { color: var(--l-text-muted); }

/* ─── Form ──────────────────────────────────────────────────── */
.form-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-label--dark { color: var(--l-text-muted); }
.hs-form-wrapper {
  /* HubSpot form overrides */
}
.hs-form-wrapper .hs-form fieldset { max-width: none !important; }
.hs-form-wrapper .hs-input {
  width: 100% !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--border-mid) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text) !important;
  font-family: var(--ff-sans) !important;
  font-size: var(--fs-base) !important;
  padding: var(--sp-3) var(--sp-4) !important;
}
.hs-form-wrapper .hs-input:focus {
  border-color: var(--gold) !important;
  outline: none !important;
}
.hs-form-wrapper .hs-button {
  background: var(--gold) !important;
  color: var(--ink) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--ff-sans) !important;
  font-size: var(--fs-xs) !important;
  font-weight: 600 !important;
  letter-spacing: var(--ls-wider) !important;
  text-transform: uppercase !important;
  padding: var(--sp-3) var(--sp-8) !important;
  cursor: pointer !important;
  transition: background var(--t-base) !important;
}
.hs-form-wrapper .hs-button:hover { background: var(--gold-light) !important; }
.hs-form-wrapper label { color: var(--text-muted); font-size: var(--fs-xs); letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── WhatsApp Floating Button ──────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-wa);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}
.wa-float__bubble {
  background: var(--ink-light);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  max-width: 220px;
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: var(--lh-snug);
  box-shadow: var(--shadow-md);
  display: none;
  cursor: default;
}
.wa-float__bubble strong {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-1);
}
.wa-float__btn {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  padding: var(--sp-3) var(--sp-5);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
}
.wa-float__btn:hover {
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}
.wa-float__icon { width: 22px; height: 22px; }
.wa-float:hover .wa-float__bubble { display: block; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: var(--sp-20) 0 var(--sp-10);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}
.footer__brand {}
.footer__logo { height: 36px; width: auto; margin-bottom: var(--sp-4); }
.footer__tagline {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: var(--lh-snug);
  max-width: 300px;
  margin-bottom: var(--sp-6);
}
.footer__wa {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: #25D366;
  transition: opacity var(--t-fast);
}
.footer__wa:hover { opacity: 0.75; }
.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__links a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer__copy {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.footer__legal {
  display: flex;
  gap: var(--sp-6);
}
.footer__legal a {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  transition: color var(--t-fast);
}
.footer__legal a:hover { color: var(--text-muted); }

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin-bottom: var(--sp-6);
}
.breadcrumb a { transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb__sep { opacity: 0.3; }

/* ─── Divider ───────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-12) 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider__ornament {
  color: var(--gold);
  opacity: 0.4;
  font-size: var(--fs-sm);
}

/* ─── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: calc(72px + var(--sp-24)) var(--gutter) var(--sp-20);
  background: linear-gradient(180deg, var(--ink-mid) 0%, var(--ink) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(181,134,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__content {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.page-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-5);
}
.page-hero__lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 640px;
  line-height: var(--lh-loose);
}

/* ─── Animations ────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-xl) var(--ease), transform var(--t-xl) var(--ease);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal-delay="3"] { transition-delay: 300ms; }
[data-reveal-delay="4"] { transition-delay: 400ms; }
[data-reveal-delay="5"] { transition-delay: 500ms; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { gap: var(--sp-10); }
}

@media (max-width: 768px) {
  .nav__links, .nav__lang, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  /* Menú móvil overlay cuando el hamburguesa togglea .open */
  .nav__links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: calc(var(--z-nav) - 1);
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    padding: var(--sp-10);
    margin: 0;
    list-style: none;
  }
  .nav__links.open li { list-style: none; }
  .nav__links.open .nav__link {
    font-size: var(--fs-2xl);
    font-family: var(--ff-serif);
    font-weight: 300;
    color: var(--cream);
    letter-spacing: 0.05em;
    text-decoration: none;
  }
  .nav__links.open .nav__link::after { display: none; }
  .nav__links.open .nav__link.active { color: var(--gold); }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--sp-20) 0; }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .wa-float { bottom: 16px; right: 16px; }
}
