/* =============================================================
   ANGO DANCE — stylesheet
   1. Fonts   2. Tokens   3. Reset   4. Utilities   5. Typography
   6. Components   7. Sections   8. Effects   9. Responsive
   10. Reduced motion
   ============================================================= */

/* -------------------------------------------------------------
   1. Fonts (self-hosted brand fonts)
   ------------------------------------------------------------- */
@font-face {
  font-family: "Chapaza";
  src: url("assets/fonts/Chapaza.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chapaza";
  src: url("assets/fonts/Chapaza-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Julietta Messie";
  src: url("assets/fonts/Julietta-Messie.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------
   2. Tokens
   ------------------------------------------------------------- */
:root {
  --bg: #F2E7DB;
  --bg-alt: #EDE0CC;
  --paper: #FFFFFF;

  --ink: #2B1B22;
  --ink-soft: #4A3540;
  --ink-mute: #8A7480;

  --plum: #893D62;
  --plum-deep: #5C2843;
  --plum-darker: #35142A;
  --coral: #D06B6D;
  --gold: #C7963C;

  --line: rgba(43, 27, 34, 0.14);
  --line-soft: rgba(43, 27, 34, 0.08);

  --serif: "Chapaza", "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Julietta Messie", "Brush Script MT", cursive;
  --sans: "Gotham", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1240px;
  --radius: 4px;
}

/* -------------------------------------------------------------
   3. Reset
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
input { font: inherit; }
::selection { background: var(--plum); color: var(--bg); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }

/* -------------------------------------------------------------
   4. Utilities
   ------------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 720px) { .container { padding-inline: 2.5rem; } }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--plum); color: var(--bg);
  border-radius: 6px; font-weight: 600; transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.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;
}

[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .3s; }

/* -------------------------------------------------------------
   5. Typography
   ------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--plum);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: var(--plum-deep); letter-spacing: -0.01em;
  margin-top: .6rem;
}
.section-sub {
  margin-top: 1rem; max-width: 56ch; color: var(--ink-soft); font-size: 1.05rem;
}

em.script {
  font-family: var(--script); font-style: normal; color: var(--plum);
  padding-inline: .1em;
}

/* -------------------------------------------------------------
   6. Components
   ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.9rem; font-weight: 600; font-size: .95rem;
  border-radius: 100px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(53, 20, 42, .1);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-primary { background: var(--plum); color: var(--bg); }
.btn-primary:hover { background: var(--plum-deep); box-shadow: 0 20px 40px rgba(53,20,42,.28); }

.btn-ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--plum); box-shadow: none; }
.btn-ghost:hover { background: var(--plum); color: var(--bg); }

.btn-light { background: var(--bg); color: var(--plum-deep); }
.btn-light:hover { background: var(--paper); }

.btn-sm { padding: .68rem 1.3rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------
   7. Sections — layout scaffolding
   ------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .kicker { justify-content: center; }
.section-head.is-center .kicker::before { display: none; }

/* --- Splash --- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease-out), clip-path 1s var(--ease-soft);
  animation: splashSafety .01s 3.6s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-logo { width: 220px; height: auto; opacity: 0; animation: splashFade 1s var(--ease-out) .15s forwards; }
@keyframes splashFade { to { opacity: 1; } }

/* --- Nav --- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 500;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), padding .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .7rem;
}
.nav.is-scrolled { background: rgba(242,231,219,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav-inner { padding-block: .4rem; }
.nav-logo img { height: 200px; width: auto; transition: height .3s; }
.nav.is-scrolled .nav-logo img { height: 130px; }
.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-link {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  padding-block: .3rem;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: var(--plum); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--plum); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Transparent state (only index.html, over its dark photo hero):
   force light text/logo so nothing washes out against the image. */
.nav:not(.is-scrolled) .nav-link { color: var(--bg); }
.nav:not(.is-scrolled) .nav-link::after { background: var(--bg); }
.nav:not(.is-scrolled) .nav-link:hover { color: var(--gold); }
.nav-logo .logo-on-light { display: block; }
.nav-logo .logo-on-dark { display: none; }
.nav:not(.is-scrolled) .nav-logo .logo-on-light { display: none; }
.nav:not(.is-scrolled) .nav-logo .logo-on-dark { display: block; }
.nav-cta-wrap { display: none; align-items: center; gap: 1.2rem; }
.nav-social { display: flex; align-items: center; gap: .85rem; }
.nav-social a { color: var(--ink-soft); display: flex; transition: color .3s, transform .3s; }
.nav-social a:hover { color: var(--plum); transform: translateY(-2px); }
.nav:not(.is-scrolled) .nav-social a { color: var(--bg); }
.nav:not(.is-scrolled) .nav-social a:hover { color: var(--gold); }

.nav-mobile-social { display: flex; gap: 1.4rem; margin-top: .5rem; flex-wrap: wrap; justify-content: center; }
.nav-mobile-social a {
  display: flex; align-items: center; gap: .5rem; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; opacity: .85; color: var(--bg);
}
.nav-mobile-social a:hover { opacity: 1; color: var(--gold); }
.nav-toggle {
  display: grid; place-items: center; width: 42px; height: 42px;
}
.nav-toggle-bars { position: relative; width: 22px; height: 14px; }
.nav-toggle-bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s, background .3s;
}
.nav:not(.is-scrolled) .nav-toggle-bars span { background: var(--bg); }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 490;
  background: var(--plum-deep); color: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile a { font-family: var(--serif); font-size: 1.9rem; }
.nav-mobile .nav-cta {
  margin-top: 1rem; white-space: normal; text-align: center;
  max-width: 84vw; font-family: var(--sans); font-size: .95rem;
}
.nav-mobile-social { display: flex; gap: 1.4rem; margin-top: 1rem; }
.nav-mobile-social a { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }

/* --- Countdown card --- */
.countdown-card {
  background: var(--paper); border-radius: 18px;
  padding: 1.8rem 1.6rem; box-shadow: 0 30px 70px -25px rgba(53,20,42,.35);
  max-width: 420px;
}
.countdown-label { font-weight: 600; font-size: .95rem; color: var(--plum-deep); margin-bottom: .9rem; }
.countdown-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.countdown-form input {
  flex: 1 1 160px; min-width: 0; padding: .8rem 1rem; border: 1.5px solid var(--line);
  border-radius: 8px; background: var(--bg); color: var(--ink);
}
.countdown-display[aria-hidden="true"] { display: none; }
.countdown-form[aria-hidden="true"] { display: none; }
.cd-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1rem; }
.cd-unit { text-align: center; background: var(--bg); border-radius: 10px; padding: .7rem .3rem; }
.cd-unit-value { font-family: var(--serif); font-size: 1.6rem; color: var(--plum); display: block; }
.cd-unit-label { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.countdown-change { font-size: .85rem; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.countdown-message {
  margin-top: 1.6rem; font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; color: var(--plum-deep); text-align: center;
}
.countdown-message:empty { display: none; }

/* --- Timeframe selector --- */
.timeframe-selector {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem;
}
.timeframe-btn {
  display: inline-flex; align-items: center;
  padding: .8rem 1.4rem; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--paper); font-weight: 600; font-size: .88rem; color: var(--ink-soft);
  transition: all .3s var(--ease-out);
}
.timeframe-btn:hover { border-color: var(--plum); color: var(--plum); }
.timeframe-btn.is-active { background: var(--plum); border-color: var(--plum); color: var(--bg); }
.timeframe-reset {
  display: inline-flex; align-items: center;
  font-size: .85rem; color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px;
  padding: .8rem .4rem;
}
.timeframe-note {
  margin-top: 1.2rem; font-size: .9rem; color: var(--plum-deep);
  background: rgba(199,150,60,.14); border-radius: 8px; padding: .7rem 1rem; display: inline-block;
}

/* --- Packages: dark showcase band (matches brand's original catalog look) --- */
.packages-dark { background: var(--plum-deep); }
.packages-dark .kicker { color: var(--gold); }
.packages-dark .kicker::before { background: var(--gold); }
.packages-dark .section-title { color: var(--bg); }
.packages-dark .section-sub { color: rgba(242,231,219,.8); }
.packages-dark .timeframe-note { background: rgba(199,150,60,.22); color: var(--bg); }
.packages-dark .timeframe-reset { color: rgba(242,231,219,.75); }
.packages-dark .timeframe-btn { background: rgba(242,231,219,.08); border-color: rgba(242,231,219,.3); color: var(--bg); }
.packages-dark .timeframe-btn:hover { border-color: var(--gold); color: var(--gold); }
.packages-dark .timeframe-btn.is-active { background: var(--gold); border-color: var(--gold); color: var(--plum-darker); }

.package-feature {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  background: var(--paper); border-radius: 20px; padding: 2.2rem; margin-bottom: 3rem;
  border: 1px solid var(--line-soft);
}
.package-feature-img { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.package-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-soft); }
.package-feature:hover .package-feature-img img { transform: scale(1.06); }

/* --- Package cards --- */
.packages-grid {
  margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.4rem;
}
.package-card {
  position: relative; background: var(--paper); border-radius: 16px; padding: 2rem 1.8rem;
  border: 1px solid var(--line-soft);
  transition: box-shadow .5s var(--ease-soft), border-color .5s, transform .5s var(--ease-soft), outline-color .4s;
  outline: 2px solid transparent; outline-offset: -2px;
}
.package-card.is-featured { border-color: var(--gold); }
.package-card.is-featured::before {
  content: "Más elegido"; position: absolute; top: -12px; left: 1.8rem;
  background: var(--gold); color: var(--plum-darker); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 100px;
}
.package-card.is-recommended { outline-color: var(--plum); transform: translateY(-4px); box-shadow: 0 30px 60px -25px rgba(53,20,42,.3); }
html.has-timeframe-filter .package-card:not(.is-recommended) { opacity: .45; }
.package-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.package-name { font-family: var(--serif); font-size: 1.5rem; color: var(--plum-deep); margin-top: .5rem; }
.package-desc { margin-top: .8rem; color: var(--ink-soft); font-size: .95rem; }
.package-features { margin-top: 1.1rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: .9rem; display: grid; gap: .45rem; }
.package-features li { list-style: none; position: relative; padding-left: 1.3rem; }
.package-features li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.package-cta { margin-top: 1.6rem; }
.package-img { border-radius: 12px; overflow: hidden; margin-bottom: 1.3rem; aspect-ratio: 4/3; }
.package-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-soft); }
.package-card:hover .package-img img { transform: scale(1.08); }

/* --- Manifesto / Mission Vision --- */
.manifesto-grid { display: grid; gap: 3rem; margin-top: 3rem; }
.manifesto-figure { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; }
.manifesto-figure img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ambientZoom 26s ease-in-out infinite;
}
@keyframes ambientZoom {
  0%, 100% { transform: scale(1.04) translate3d(0,0,0); }
  50% { transform: scale(1.12) translate3d(-1%,-1%,0); }
}
.manifesto-block + .manifesto-block { margin-top: 2rem; }
.manifesto-block h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--plum-deep); margin-bottom: .7rem; }
.manifesto-block p { color: var(--ink-soft); }
.values-list { margin-top: 1rem; display: grid; gap: .7rem; }
.values-list li {
  display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--plum-deep);
}
.values-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* --- Team --- */
.team-grid { margin-top: 3rem; display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
.team-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.team-avatar {
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, var(--plum), var(--plum-deep));
  color: var(--bg); font-family: var(--serif); font-size: 2.1rem;
  box-shadow: 0 20px 40px -18px rgba(53,20,42,.5);
  border: 3px solid var(--gold);
}
.team-name { font-family: var(--serif); font-size: 1.4rem; color: var(--plum-deep); }
.team-role { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-top: .2rem; }
.team-bio { margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; }

/* --- Gallery --- */
.gallery-grid {
  margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
}
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; isolation: isolate; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(53,20,42,.55), transparent 55%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1;
  transition: transform 1.1s var(--ease-soft), filter .6s;
}
.gallery-item:hover img { transform: scale(1.14); filter: saturate(1.15) brightness(1.03); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--wide img { aspect-ratio: 16/10; }
.gallery-cta { margin-top: 2.4rem; text-align: center; }

/* --- Testimonials --- */
.testimonials { margin-top: 3rem; position: relative; }
.testi-track {
  display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block: .5rem 1.5rem; overflow-y: visible;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start; flex: 0 0 min(340px, 82vw);
  background: var(--paper); border-radius: 16px; padding: 1.9rem 1.7rem;
  border: 1px solid var(--line-soft);
}
.testi-header { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.testi-avatar-wrap { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.testi-avatar {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.testi-avatar-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--plum), var(--plum-deep));
  color: var(--bg); font-family: var(--serif); font-size: 1.1rem; border: 2px solid var(--gold);
}
.testi-meta { font-weight: 700; color: var(--plum-deep); font-size: .92rem; }
.testi-year { display: block; font-weight: 400; color: var(--ink-mute); font-size: .82rem; }
.testi-quote { font-size: .98rem; color: var(--ink-soft); }
.testi-quote::before { content: "\201C"; font-family: var(--serif); color: var(--gold); font-size: 1.4rem; }
.testi-controls { display: flex; gap: .8rem; margin-top: .5rem; }
.testi-controls button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; transition: all .3s;
}
.testi-controls button:hover { background: var(--plum); border-color: var(--plum); color: var(--bg); }

/* --- CTA / contact section --- */
.cta-section {
  position: relative; background: var(--plum-deep); color: var(--bg); overflow: hidden;
}
.cta-pattern {
  position: absolute; inset: 0; background-image: url("assets/img/pattern-ango.webp");
  background-size: 480px; opacity: .16; mix-blend-mode: soft-light;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-section .kicker { color: var(--gold); }
.cta-section .kicker::before { background: var(--gold); }
.cta-section .section-title { color: var(--bg); }
.cta-section .section-sub { color: rgba(242,231,219,.78); margin-inline: auto; }
.cta-actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-social { margin-top: 2.6rem; display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; }
.cta-social a { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.cta-social a:hover { opacity: 1; color: var(--gold); }
.cta-phone { margin-top: 1rem; font-size: .95rem; opacity: .8; }

/* --- Footer --- */
.footer { background: var(--plum-darker); color: rgba(242,231,219,.75); padding-block: 3rem 1.8rem; }
.footer-inner { display: flex; flex-direction: column; gap: 2.2rem; }
.footer-logo img { height: 96px; width: auto; }
.footer-tagline { margin-top: .8rem; font-size: .88rem; max-width: 32ch; opacity: .8; }
.footer-links { display: grid; gap: .55rem; font-size: .9rem; min-width: 0; }
.footer-links a, .footer-links span { overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold); }
.footer-col-title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.footer-bottom {
  margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(242,231,219,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .82rem; opacity: .7;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* --- Floating "Síguenos" social widget (separate from WhatsApp) --- */
.social-float {
  position: fixed; left: 1.1rem; bottom: 1.3rem; z-index: 400;
  background: var(--plum-deep);
  border-radius: 28px;
  padding: 1.1rem .65rem .9rem;
  display: flex; flex-direction: column; align-items: center; gap: .95rem;
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}
.social-float-label {
  font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap; margin-bottom: .1rem;
}
.social-float a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--bg);
  background: rgba(242,231,219,.14);
  transition: background .3s var(--ease-out), color .3s, transform .35s var(--ease-bounce);
}
.social-float a:hover { background: var(--gold); color: var(--plum-darker); transform: translateY(-3px) scale(1.08); }

@media (max-width: 539px) {
  .social-float { left: .7rem; bottom: 1rem; padding: .9rem .5rem .7rem; gap: .7rem; }
  .social-float a { width: 32px; height: 32px; }
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition: transform .35s var(--ease-bounce);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* -------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; color: var(--bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ambientZoom 30s ease-in-out infinite;
}
.hero-sparkle { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(53,20,42,.35) 0%, rgba(53,20,42,.35) 40%, rgba(53,20,42,.88) 100%);
}
.hero-content {
  position: relative; z-index: 1; padding-block: 9rem 3rem; width: 100%;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero-kicker { color: var(--gold); }
.hero-kicker::before { display: none; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.05;
  max-width: 18ch; margin-top: .8rem; text-wrap: balance;
  text-shadow: 0 4px 40px rgba(53,20,42,.5);
}
.hero-sub { margin-top: 1.2rem; max-width: 50ch; font-size: 1.08rem; color: rgba(242,231,219,.9); margin-inline: auto; }
.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 1;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,231,219,.7);
  display: none; align-items: center; flex-direction: column; gap: .5rem;
}
.hero-scroll-cue::after {
  content: ""; width: 1px; height: 34px; background: rgba(242,231,219,.6);
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue { 0%,100% { transform: scaleY(1); opacity: .6; } 50% { transform: scaleY(.4); opacity: 1; } }

.hero-countdown { position: relative; z-index: 1; margin-top: 2.6rem; }

/* -------------------------------------------------------------
   9b. Multi-page additions — page hero, services, contact, legal
   ------------------------------------------------------------- */
.nav-link.is-active { color: var(--plum); }
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.page-hero {
  position: relative; padding-block: 9rem 4.5rem; background: var(--plum-deep); color: var(--bg); overflow: hidden;
}
.page-hero .cta-pattern { opacity: .12; }
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero .kicker { color: var(--gold); }
.page-hero .kicker::before { background: var(--gold); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: .6rem; }
.page-hero p { margin-top: 1rem; color: rgba(242,231,219,.85); max-width: 56ch; }
.breadcrumb { font-size: .82rem; opacity: .75; margin-bottom: .6rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* --- Service categories (servicios.html) --- */
.service-cats { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.service-cat {
  background: var(--paper); border-radius: 16px; padding: 2rem 1.8rem; border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.service-cat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(53,20,42,.3); }
.service-cat { padding: 0; overflow: hidden; }
.service-cat-body { padding: 1.6rem 1.6rem 1.8rem; }
.service-cat-img { aspect-ratio: 4/3; overflow: hidden; }
.service-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-soft); }
.service-cat:hover .service-cat-img img { transform: scale(1.1); }
.service-cat-num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); }
.service-cat h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--plum-deep); margin-top: .5rem; }
.service-cat p { margin-top: .7rem; color: var(--ink-soft); font-size: .95rem; }
.service-cat-link { margin-top: 1rem; display: inline-block; font-weight: 600; font-size: .88rem; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

/* --- Value pillars (Inicio) --- */
.pillars { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.pillar h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--plum-deep); }
.pillar p { margin-top: .5rem; color: var(--ink-soft); font-size: .92rem; }
.pillar-num { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; }

/* --- Contact page --- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; }
.contact-info-list { display: grid; gap: 1.6rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); color: var(--plum);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-info-item h4 { font-size: .9rem; font-weight: 700; color: var(--plum-deep); }
.contact-info-item p, .contact-info-item a { color: var(--ink-soft); font-size: .95rem; }
.contact-info-item a:hover { color: var(--plum); }
.contact-map { margin-top: 2rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 16/10; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form { background: var(--paper); border-radius: 16px; padding: 2rem; border: 1px solid var(--line-soft); }
.field { position: relative; margin-bottom: 1.3rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--plum-deep); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); font-family: var(--sans);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { margin-top: .8rem; font-size: .8rem; color: var(--ink-mute); }
.form-success { margin-top: 1rem; padding: .9rem 1rem; border-radius: 8px; background: rgba(199,150,60,.16); color: var(--plum-deep); font-size: .9rem; }

.hours-table { margin-top: .5rem; display: grid; gap: .35rem; font-size: .92rem; color: var(--ink-soft); }
.hours-table div { display: flex; justify-content: space-between; gap: 1rem; max-width: 320px; }
.hours-table strong { color: var(--plum-deep); }

/* --- Legal pages --- */
.legal-content { max-width: 760px; margin-inline: auto; padding-block: 4rem 6rem; }
.legal-content h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--plum-deep); margin-top: 2.4rem; margin-bottom: .8rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: .96rem; margin-bottom: .9rem; }
.legal-content ul, .legal-content ol { padding-left: 1.4rem; }
.legal-updated { font-size: .85rem; color: var(--ink-mute); margin-bottom: 2rem; }
.legal-disclaimer {
  margin-top: 2.5rem; padding: 1.2rem 1.4rem; border-radius: 10px; background: var(--bg-alt);
  border-left: 3px solid var(--gold); font-size: .88rem; color: var(--ink-soft);
}

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 600;
  max-width: 560px; margin-inline: auto; background: var(--plum-deep); color: var(--bg);
  border-radius: 14px; padding: 1.3rem 1.4rem; box-shadow: 0 30px 70px -20px rgba(0,0,0,.4);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  transform: translateY(140%); transition: transform .6s var(--ease-soft);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: .85rem; color: rgba(242,231,219,.9); flex: 1 1 240px; }
.cookie-banner a { text-decoration: underline; color: var(--gold); }
.cookie-banner-actions { display: flex; gap: .6rem; }

/* --- Footer legal row --- */
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 2rem; min-width: 0; }
.footer-inner { min-width: 0; }
.footer-inner > * { min-width: 0; }


/* -------------------------------------------------------------
   9. Responsive
   ------------------------------------------------------------- */
@media (min-width: 540px) {
  .cd-units { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .manifesto-figure { order: 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll-cue { display: flex; }
  .service-cats { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta-wrap { display: flex; }
  .nav-toggle { display: none; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item--wide { grid-column: span 2; grid-row: span 1; }
  .service-cats { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
  .package-feature { grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 1280px) {
  .packages-grid { grid-template-columns: repeat(3, 1fr); }
}

/* -------------------------------------------------------------
   10. Reduced motion — only truly intrusive effects
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .manifesto-figure img { animation: none; }
  .hero-scroll-cue::after { animation: none; }
  .splash { transition-duration: .3s; }
}
