/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette — Pierina Makeup */
  --bg:          #faf8f5;
  --bg-2:        #f0ece8;
  --bg-3:        #e8ddd4;
  --dark:        #1c1a19;
  --dark-2:      #3d3532;
  --gold:        #c9a96e;
  --gold-2:      #a67c52;
  --gold-3:      #c4a882;
  --warm-mid:    #d4b896;
  --warm-light:  #ede0d4;
  --muted:       #6b6560;
  --cream:       #f7efe8;

  /* Semantic tokens */
  --text:        var(--dark);
  --text-soft:   var(--dark-2);
  --text-muted:  var(--muted);
  --accent:      var(--gold);
  --accent-hover: var(--gold-2);
  --border:      rgba(28, 26, 25, 0.10);

  /* Typography */
  --serif:  'EB Garamond', Georgia, serif;
  --sans:   'Raleway', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --gutter:  clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 9rem);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);

  /* Nav height */
  --nav-h: 104px;
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-family: var(--serif);
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
figure { margin: 0; }
::selection { background: var(--gold); color: var(--dark); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--dark); color: var(--cream);
  z-index: 9999; border-radius: 4px; font-size: .875rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  display: block;
}
.section-kicker--light { color: var(--gold-3); }

/* =============================================================
   4. Reveal animations (JS adds .is-visible)
   ============================================================= */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out) var(--delay, 0s),
              transform .8s var(--ease-out) var(--delay, 0s);
}
.reveal-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .75s var(--ease-out) var(--delay, 0s),
              transform .75s var(--ease-out) var(--delay, 0s);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .9s var(--ease-out),
              transform .9s var(--ease-out);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: 2px;
  transition: background .3s var(--ease-out),
              color .3s var(--ease-out),
              transform .25s var(--ease-out),
              box-shadow .3s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-2);
  box-shadow: 0 8px 32px rgba(169, 124, 82, .35);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 239, 232, .35);
}
.btn-ghost:hover {
  background: rgba(247, 239, 232, .1);
  border-color: rgba(247, 239, 232, .6);
}

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

.btn-gold {
  background: transparent;
  color: var(--gold-3);
  border: 1px solid rgba(201, 169, 110, .4);
}
.btn-gold:hover {
  background: rgba(201, 169, 110, .12);
  border-color: var(--gold);
}

.btn-large {
  padding: 1.1rem 2.75rem;
  font-size: .95rem;
}

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  overflow: visible;
  transition: background .4s var(--ease-out),
              backdrop-filter .4s,
              box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo-img {
  height: 120px;
  width: auto;
  display: block;
  /* Hero oscuro: invierte el negro a blanco/crema */
  filter: invert(1) brightness(1.8) sepia(.2);
  transition: filter .4s var(--ease-out);
}
/* Nav scrolled (fondo claro): muestra el logo en su color original oscuro */
.nav.is-scrolled .nav-logo-img {
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-link {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247, 239, 232, .85);
  position: relative;
  padding-bottom: 2px;
  transition: color .3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { width: 100%; }
.nav.is-scrolled .nav-link { color: var(--dark-2); }
.nav.is-scrolled .nav-link:hover { color: var(--dark); }

.nav-cta {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dark) !important;
  background: var(--gold);
  padding: .55rem 1.5rem;
  border-radius: 2px;
  transition: background .3s, transform .25s var(--ease-out), box-shadow .3s;
}
.nav-cta:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(169,124,82,.3);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s, background .4s;
}
.nav.is-scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(1.05) contrast(1.02);
}
.hero-bg--no-photo {
  background: linear-gradient(160deg, #2a2220 0%, var(--dark) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(28,26,25,.85) 0%, rgba(28,26,25,.45) 60%, rgba(28,26,25,.2) 100%),
    linear-gradient(to top, rgba(28,26,25,.7) 0%, transparent 50%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-inline: var(--gutter);
  padding-top: calc(var(--nav-h) + 3rem);
  max-width: min(680px, 90vw);
  margin-inline-start: max(var(--gutter), calc(50vw - 560px));
}
.hero-kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.03;
}
.hero-title em { color: var(--gold); }
.hero-sub {
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  color: rgba(247, 239, 232, .75);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .5;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.4); opacity: .4; }
}
.hero-scroll-text {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-3);
}

/* =============================================================
   8. STATS BAR
   ============================================================= */
.stats-bar {
  background: var(--dark-2);
  padding: 3rem var(--gutter);
}
.stats-inner {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247, 239, 232, .55);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(247, 239, 232, .15);
}

/* =============================================================
   9. ABOUT
   ============================================================= */
.about {
  padding-block: var(--section);
  background: var(--bg);
}
.about-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.about-img-frame {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 460px;
}
.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--warm-mid) 100%);
}
.about-img-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  aspect-ratio: 1;
  background: var(--bg-3);
  border-radius: 2px;
  z-index: -1;
}

.about-heading {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.about-body p {
  color: var(--text-soft);
  font-size: .975rem;
  line-height: 1.75;
}

/* =============================================================
   10. QUOTE SECTION
   ============================================================= */
.quote-section {
  background: var(--bg-2);
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: clip;
}
.quote-inner {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.quote-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.45;
  letter-spacing: -.01em;
}

/* =============================================================
   11. SERVICIOS — TABS
   ============================================================= */
.servicios {
  padding-block: var(--section);
  background: var(--bg);
}
.servicios-header {
  max-width: 700px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
  margin-bottom: 3.5rem;
}
.servicios-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1rem;
}
.servicios-sub {
  color: var(--text-muted);
  font-size: .975rem;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3.5rem;
  padding-inline: var(--gutter);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .85rem 2rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .3s, border-color .3s;
}
.tab-btn:hover { color: var(--dark); }
.tab-btn.is-active {
  color: var(--dark);
  border-bottom-color: var(--gold);
}

.tab-panel { display: none; padding-inline: var(--gutter); }
.tab-panel.is-active { display: block; }

.tab-intro {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}
.tab-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: .75rem;
}
.tab-desc {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

.gallery-grid {
  max-width: 1100px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.gallery-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 959px) {
  .gallery-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 539px) {
  .gallery-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
.gallery-grid--3x2 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 539px) {
  .gallery-grid--3x2 { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  aspect-ratio: 3/4;
  overflow: clip;
  border-radius: 2px;
  background: var(--bg-3);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-soft), filter .4s;
}
@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.15);
  }
}

.tab-cta {
  text-align: center;
  padding-block: 1rem;
}

/* =============================================================
   12. NOVIAS
   ============================================================= */
.novias {
  background: var(--dark);
  padding-bottom: var(--section);
}

.novias-hero {
  position: relative;
  min-height: clamp(500px, 75vh, 800px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: clip;
}
.novias-hero-img {
  position: absolute;
  inset: 0;
}
.novias-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.9) contrast(1.05);
}
.novias-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28,26,25,.9) 0%, rgba(28,26,25,.6) 50%, rgba(28,26,25,.25) 100%);
}
.novias-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 6rem) var(--gutter);
  max-width: 560px;
}
.novias-title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.25rem;
  line-height: 1.05;
}
.novias-title em { color: var(--gold); font-style: italic; }
.novias-sub {
  color: rgba(247, 239, 232, .7);
  font-size: .975rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Includes */
.novias-includes {
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
  text-align: center;
}
.novias-includes-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 3rem;
}
.novias-includes-title em { color: var(--gold); font-style: italic; }

.novias-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.novia-card {
  background: rgba(247, 239, 232, .04);
  border: 1px solid rgba(201, 169, 110, .2);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  text-align: left;
  transition: background .35s, border-color .35s, transform .3s var(--ease-out);
}
@media (hover: hover) {
  .novia-card:hover {
    background: rgba(201, 169, 110, .08);
    border-color: rgba(201, 169, 110, .45);
    transform: translateY(-4px);
  }
}
.novia-card-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}
.novia-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: .75rem;
}
.novia-card-text {
  font-size: .9rem;
  color: rgba(247, 239, 232, .6);
  line-height: 1.65;
}

/* Novia gallery */
.novias-gallery {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 3rem;
}
.novia-gallery-item {
  aspect-ratio: 3/4;
  overflow: clip;
  border-radius: 2px;
  background: var(--dark-2);
}
.novia-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-soft), filter .4s;
}
@media (hover: hover) {
  .novia-gallery-item:hover img {
    transform: scale(1.05);
    filter: saturate(1.1);
  }
}
.novias-cta-wrap {
  text-align: center;
  padding-inline: var(--gutter);
}

/* =============================================================
   13. GOLD DIVIDER
   ============================================================= */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: var(--gutter);
  padding-block: 3rem;
  background: var(--bg-2);
  max-width: 700px;
  margin-inline: auto;
}
.gold-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-3), transparent);
}
.gold-divider-ornament {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* =============================================================
   14. CLASES
   ============================================================= */
.clases {
  background: var(--dark);
  padding-block: var(--section);
  position: relative;
  overflow: clip;
}
.clases-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.clases-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: .18;
  filter: saturate(.4);
}
.clases-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--dark) 0%, transparent 30%, transparent 70%, var(--dark) 100%);
}
.clases-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.clases-header {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.clases-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
}
.clases-title em { color: var(--gold); font-style: italic; }
.clases-sub {
  color: rgba(247, 239, 232, .6);
  font-size: .975rem;
  line-height: 1.7;
}

.clases-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.clase-card {
  background: rgba(247, 239, 232, .03);
  border: 1px solid rgba(201, 169, 110, .18);
  border-radius: 4px;
  transition: border-color .35s, transform .3s var(--ease-out);
}
.clase-card--featured {
  border-color: rgba(201, 169, 110, .4);
  background: rgba(201, 169, 110, .05);
}
@media (hover: hover) {
  .clase-card:hover {
    border-color: rgba(201, 169, 110, .5);
    transform: translateY(-4px);
  }
}
.clase-card-inner {
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.clase-card-top { flex-shrink: 0; }

.clase-nombre {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.clase-nombre em { color: var(--gold); font-style: italic; }

.clase-aprende { flex-shrink: 0; }
.clase-aprende-title {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.clase-niveles {
  margin-top: 1rem;
  font-size: .8rem;
  color: rgba(247,239,232,.5);
}
.clase-nivel-tags {
  display: flex;
  gap: .5rem;
  margin-top: .4rem;
  flex-wrap: wrap;
}
.nivel-tag {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border: 1px solid rgba(247,239,232,.2);
  border-radius: 2px;
  color: rgba(247,239,232,.55);
}
.nivel-tag--gold {
  border-color: rgba(201,169,110,.5);
  color: var(--gold);
}

.clase-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, .4);
  padding: .3rem .9rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.clase-badge--featured {
  background: rgba(201, 169, 110, .15);
}
.clase-tagline {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
}
.clase-formats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  flex: 1;
}
.clase-format { }
.clase-format-title {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.clase-format-icon { font-size: .9rem; }
.clase-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.clase-list li {
  font-size: .875rem;
  color: rgba(247, 239, 232, .6);
  padding-left: 1rem;
  position: relative;
}
.clase-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(201, 169, 110, .5);
}
.clase-format-divider {
  width: 1px;
  background: rgba(247, 239, 232, .1);
  align-self: stretch;
  margin-block: .25rem;
}

/* =============================================================
   15. CTA FINAL
   ============================================================= */
.cta-final {
  background: var(--bg-2);
  padding-block: var(--section);
  text-align: center;
}
.cta-final-inner {
  max-width: 700px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.cta-final-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.cta-final-sub {
  color: var(--text-muted);
  font-size: .975rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* =============================================================
   16. FOOTER
   ============================================================= */
.footer {
  background: var(--dark);
  padding-top: 1rem;
}
.footer-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(247, 239, 232, .1);
}
.footer-brand {
  text-align: center;
}
.footer-logo {
  height: 130px;
  width: auto;
  display: block;
  margin: 0 auto 0 auto;
}
.footer-tagline {
  font-size: .85rem;
  color: rgba(247, 239, 232, .45);
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  justify-content: center;
}
.footer-nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247, 239, 232, .5);
  transition: color .25s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-end;
}
.footer-contact-link {
  font-size: .85rem;
  color: rgba(247, 239, 232, .6);
  transition: color .25s;
}
.footer-contact-link:hover { color: var(--gold); }

.footer-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, .35);
  color: rgba(247, 239, 232, .75);
  padding: .5rem 1.1rem;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  transition: background .3s, border-color .3s, color .3s, transform .25s var(--ease-out);
}
.footer-ig-btn:hover {
  background: rgba(201, 169, 110, .12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-location {
  font-size: .8rem;
  color: rgba(247, 239, 232, .3);
}
.footer-bottom {
  text-align: center;
  padding: .85rem var(--gutter);
  font-size: .75rem;
  color: rgba(247, 239, 232, .25);
}

/* =============================================================
   17. WHATSAPP FLOAT
   ============================================================= */
.ig-float {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(188, 24, 136, .4);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
@media (hover: hover) {
  .ig-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 36px rgba(188, 24, 136, .55);
  }
}

.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
@media (hover: hover) {
  .wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 36px rgba(37, 211, 102, .55);
  }
}
.wa-float-tooltip {
  position: absolute;
  right: calc(100% + .75rem);
  background: var(--dark);
  color: var(--cream);
  font-size: .75rem;
  font-weight: 500;
  padding: .35rem .85rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .25s, transform .25s var(--ease-out);
}
@media (hover: hover) {
  .wa-float:hover .wa-float-tooltip {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================================================
   18. RESPONSIVE
   ============================================================= */
@media (max-width: 959px) {
  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 3rem 2.5rem;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    box-shadow: -4px 0 40px rgba(0,0,0,.3);
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-link { color: rgba(247, 239, 232, .8) !important; font-size: .9rem; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-frame { max-width: 100%; aspect-ratio: 4/3; margin-inline: auto; }

  /* Novias hero */
  .novias-hero { grid-template-columns: 1fr; min-height: 70vh; }
  .novias-hero-overlay {
    background: linear-gradient(to top, rgba(28,26,25,.95) 0%, rgba(28,26,25,.55) 60%, rgba(28,26,25,.2) 100%);
  }
  .novias-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    max-width: 100%;
  }

  /* Novias cards */
  .novias-cards { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .novias-gallery { grid-template-columns: repeat(2, 1fr); }

  /* Clases */
  .clases-cards { grid-template-columns: 1fr; }
  .clase-formats { grid-template-columns: 1fr; }
  .clase-format-divider { width: 100%; height: 1px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 539px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .novias-gallery { grid-template-columns: 1fr 1fr; }
  .novias-cards { grid-template-columns: 1fr; }
  .stats-inner { gap: 2rem; }
  .stat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .wa-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

/* =============================================================
   19. Reduced-motion (ONLY intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}
/* NOTE: hover tilts, fades, transitions are NOT gated — see gotcha A.2 */
