/* ============================================================
   PRÁCTICA VIBRACIONAL — Montse Terradas
   Premium Editorial Stylesheet · roda.es-inspired
   ============================================================ */

/* --- 1. CUSTOM PROPERTIES ---------------------------------- */
:root {
  /* Colors */
  --cream:        #F7F5F2;
  --cream-dark:   #EDE9E3;
  --sage:         #5B7065;
  --sage-light:   #8A9F92;
  --sage-pale:    #EDF2EF;
  --forest:       #3D4F44;
  --charcoal:     #2A2A2A;
  --ink:          #1A1A1A;
  --white:        #FAFAF9;
  --gold:         #C4A86B;
  --gold-soft:    #D4C09B;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Lato', 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   6rem;
  --space-2xl:  10rem;
  --space-3xl:  14rem;

  /* Widths */
  --container-narrow: 680px;
  --container-text:   800px;
  --container-wide:   1200px;
  --container-full:   1440px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast:   0.3s;
  --t-medium: 0.5s;
  --t-slow:   0.8s;
  --t-glacial: 1.6s;

  /* Nav */
  --nav-height: 80px;
}

/* --- 2. RESET & BASE --------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection {
  background: var(--sage);
  color: var(--white);
}

/* --- 3. TYPOGRAPHY ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest);
}

/* Display — hero headlines */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* Heading 1 — page titles */
.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

/* Heading 2 — section titles */
.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* Heading 3 — subsection */
.t-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

/* Body large — intro paragraphs */
.t-body-lg {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.8;
  font-weight: 300;
}

/* Label — caps text */
.t-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Quote — manifesto / Montse voice */
.t-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--forest);
}

/* Serif body — for Montse's own words */
.t-serif-body {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 400;
  line-height: 1.85;
}

/* Serif lead — intro paragraphs after hero (larger than body) */
.t-serif-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--sage);
}

/* --- 4. NAVIGATION ----------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-medium) var(--ease-out-expo),
              box-shadow var(--t-medium) var(--ease-out-expo),
              backdrop-filter var(--t-medium) var(--ease-out-expo);
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(61, 79, 68, 0.08);
}

.nav__inner {
  width: 100%;
  max-width: var(--container-full);
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.nav__logo img {
  height: 38px;
  width: auto;
  transition: opacity var(--t-fast) ease, filter var(--t-medium) ease;
}

/* Make logo white when nav is transparent (over hero images) */
.nav--transparent .nav__logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav--solid .nav__logo img {
  filter: none;
  opacity: 1;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
  white-space: nowrap;
}

.nav--transparent .nav__logo-text {
  color: var(--white);
}

.nav--solid .nav__logo-text {
  color: var(--forest);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--t-fast) ease;
}

.nav--transparent .nav__link {
  color: rgba(255, 255, 255, 0.85);
}

.nav--transparent .nav__link:hover {
  color: var(--white);
}

.nav--solid .nav__link {
  color: var(--sage);
}

.nav--solid .nav__link:hover {
  color: var(--forest);
}

/* Non-dropdown nav link underlines */
.nav__links > li:not(.nav__item--dropdown) > .nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--t-medium) var(--ease-out-expo);
}

.nav__links > li:not(.nav__item--dropdown) > .nav__link:hover::after {
  width: 100%;
}

/* Dropdown */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-fast) ease, transform var(--t-fast) ease;
  list-style: none;
}

.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--charcoal);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.nav__dropdown-link:hover {
  background: var(--sage-pale);
  color: var(--forest);
}

/* Dropdown chevron */
.nav__item--dropdown > .nav__link::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
  transition: transform var(--t-fast) ease;
}

.nav__item--dropdown:hover > .nav__link::after,
.nav__item--dropdown.open > .nav__link::after {
  transform: rotate(-135deg);
}

.nav__item--dropdown.open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Language selector */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 1.5rem;
}

.nav__lang-link {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  transition: all var(--t-fast) ease;
}

.nav--transparent .nav__lang-link {
  color: rgba(255,255,255,0.5);
}

.nav--transparent .nav__lang-link:hover,
.nav--transparent .nav__lang-link--active {
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.1);
}

.nav--solid .nav__lang-link {
  color: var(--sage-light);
}

.nav--solid .nav__lang-link:hover,
.nav--solid .nav__lang-link--active {
  color: var(--forest);
  background: var(--sage-pale);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--white);
  transition: all var(--t-fast) ease;
  transform-origin: center;
}

.nav--solid .nav__hamburger span { background: var(--forest); }

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(6.5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-6.5px); }

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 42, 42, 0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity var(--t-medium) var(--ease-out-expo);
}

.nav__mobile-menu.open {
  display: flex;
  opacity: 1;
}

.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-medium) ease, transform var(--t-medium) var(--ease-out-expo);
}

.nav__mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

/* stagger mobile links */
.nav__mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.nav__mobile-menu a:nth-child(2) { transition-delay: 0.15s; }
.nav__mobile-menu a:nth-child(3) { transition-delay: 0.2s; }
.nav__mobile-menu a:nth-child(4) { transition-delay: 0.25s; }
.nav__mobile-menu a:nth-child(5) { transition-delay: 0.3s; }
.nav__mobile-menu a:nth-child(6) { transition-delay: 0.35s; }

/* --- 5. HERO SYSTEM ---------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--short {
  height: 70vh;
  min-height: 450px;
}

.hero--medium {
  height: 85vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  /* Cinematic photo treatment — brighter to show landscapes */
  filter: brightness(0.92) contrast(1.06) saturate(0.85);
}

/* Ken Burns zoom effect */
.hero__bg--kenburns img {
  animation: kenburns 25s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.02); }
}

/* Parallax offset applied via JS */
.hero__bg--parallax img {
  will-change: transform;
  height: 101%;
  margin-top: -0.5%;
}

/* Gradient overlays */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__overlay--dark {
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.25) 0%,
    rgba(26, 26, 26, 0.18) 35%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

.hero__overlay--vignette {
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(26, 26, 26, 0.35) 100%
  );
}

.hero__overlay--sage {
  background: linear-gradient(
    to bottom,
    rgba(61, 79, 68, 0.2) 0%,
    rgba(61, 79, 68, 0.05) 50%,
    rgba(61, 79, 68, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: var(--space-md);
  max-width: 900px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1.4s var(--ease-out-expo) 0.3s forwards;
  text-shadow:
    0 1px 3px rgba(0,0,0,0.4),
    0 4px 12px rgba(0,0,0,0.15);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroReveal 1.4s var(--ease-out-expo) 0.6s forwards;
}

.hero__cta {
  opacity: 0;
  animation: heroReveal 1.4s var(--ease-out-expo) 0.9s forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: heroReveal 1.4s var(--ease-out-expo) 1.5s forwards;
}

.hero__scroll-line {
  width: 2px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.2));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50%      { transform: scaleY(0.5); opacity: 0.4; }
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* --- 6. SECTIONS & LAYOUT ---------------------------------- */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--cream   { background: var(--cream); }
.section--white   { background: var(--white); }
.section--sage    { background: var(--sage-pale); }
.section--dark    { background: var(--ink); color: var(--cream); }
.section--forest  { background: var(--forest); color: var(--cream); }

/* Texture backgrounds for visual richness */
.section--texture-ondas {
  position: relative;
}
.section--texture-ondas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/textura-ondas-concentricas.png') center/cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.section--texture-causticas {
  position: relative;
}
.section--texture-causticas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/textura-causticas-agua.png') center/cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* Subtle texture divider strip between sections */
.texture-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}
.texture-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/textura-ondas-concentricas.png') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.texture-divider--cream { background: var(--cream); }
.texture-divider--sage  { background: var(--sage-pale); }

/* Gradient bridge between adjacent sections */
.section--sage-to-cream::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--sage-pale), var(--cream));
  pointer-events: none;
}

.section--spacious { padding: 7rem 0; }

/* Mobile-friendly spacious sections */
@media (max-width: 768px) {
  .section--spacious { padding: 4rem 0; }
}
.section--compact  { padding: var(--space-lg) 0; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow { max-width: var(--container-narrow); }
.container--text   { max-width: var(--container-text); }
.container--wide   { max-width: var(--container-wide); }
.container--full   { max-width: var(--container-full); }

/* Two-column blocks (roda.es style) */
.block-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.block-duo--reverse {
  direction: rtl;
}

.block-duo--reverse > * {
  direction: ltr;
}

.block-duo--offset {
  grid-template-columns: 5fr 4fr;
}

.block-duo--offset-reverse {
  grid-template-columns: 4fr 5fr;
}

.block-duo__image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.block-duo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--t-slow) var(--ease-out-expo), transform var(--t-slow) var(--ease-out-expo);
  filter: grayscale(100%) brightness(0.95) contrast(1.04);
}

/* B&W stays permanent — no hover color change */

/* Aspect ratio containers */
.aspect-portrait  { aspect-ratio: 3/4; }
.aspect-4-5       { aspect-ratio: 4/5; }
.aspect-square    { aspect-ratio: 1/1; }
.aspect-landscape { aspect-ratio: 4/3; }
.aspect-wide      { aspect-ratio: 16/9; }
.aspect-cinema    { aspect-ratio: 21/9; }

/* --- 7. COMPONENTS ----------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid;
  border-radius: 0;
  transition: all var(--t-fast) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  background: var(--white);
  color: var(--forest);
}

.btn--sage {
  border-color: var(--sage);
  color: var(--sage);
  background: transparent;
}

.btn--sage:hover {
  background: var(--sage);
  color: var(--white);
}

.btn--forest {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.btn--forest:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.btn--charcoal {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}

.btn--charcoal:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn--ghost {
  border: none;
  padding: 0.5rem 0;
  letter-spacing: 0.15em;
  color: var(--sage);
  position: relative;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-medium) var(--ease-out-expo);
}

.btn--ghost:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Arrow icon for ghost buttons */
.btn__arrow {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease-out-expo);
}

.btn--ghost:hover .btn__arrow {
  transform: translateX(4px);
}

/* Cards */
.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.card__image {
  overflow: hidden;
  position: relative;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--t-slow) var(--ease-out-expo), transform var(--t-slow) var(--ease-out-expo);
  filter: grayscale(100%) brightness(0.94) contrast(1.05);
}

.card:hover .card__image img {
  filter: grayscale(0%) brightness(0.94) contrast(1.05) saturate(0.88);
  transform: scale(1.02);
}

.card__body {
  padding: var(--space-md) var(--space-sm) var(--space-sm);
}

.card__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  font-weight: 300;
}

.card__meta {
  font-size: 0.8rem;
  color: var(--sage);
  margin-top: 1rem;
  font-weight: 300;
}

/* Cards grid */
.cards-grid {
  display: grid;
  gap: var(--space-md);
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Decorative separator */
.separator {
  width: 60px;
  height: 1px;
  background: var(--sage-light);
  margin: var(--space-lg) auto;
}

.separator--left {
  margin-left: 0;
}

.separator--gold {
  background: var(--gold-soft);
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
  display: block;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--forest);
  letter-spacing: 0.01em;
}

.section--dark .section-header__title,
.section--forest .section-header__title {
  color: var(--cream);
}

.section--dark .section-header__label,
.section--forest .section-header__label {
  color: var(--sage-light);
}

/* Instrument icons */
.instrument-icon {
  width: 64px;
  height: 64px;
  opacity: 0.75;
  transition: opacity var(--t-fast) ease;
}

.instrument-icon:hover {
  opacity: 1;
}

/* Audio player */
.audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  background: var(--sage-pale);
  border-radius: 2px;
  max-width: 400px;
}

.audio-player__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast) ease;
}

.audio-player__btn:hover {
  background: var(--sage);
}

.audio-player__info {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--forest);
}

/* Photo treatments — B&W cinematic */
.photo-bw {
  filter: grayscale(1) contrast(1.15) brightness(0.95);
  transition: filter var(--t-slow) ease;
}

.photo-bw:hover {
  filter: grayscale(0.6) contrast(1.1) brightness(0.95);
}

/* Cinematic desaturated warm */
.photo-cinematic {
  filter: saturate(0.6) contrast(1.12) brightness(0.9) sepia(0.08);
}

/* High contrast editorial */
.photo-editorial {
  filter: saturate(0.75) contrast(1.2) brightness(0.88);
}

/* Multi-audio player grid */
.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.audio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: rgba(61, 79, 68, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(61, 79, 68, 0.08);
  transition: all var(--t-fast) ease;
}

.audio-card:hover {
  background: rgba(61, 79, 68, 0.07);
  border-color: rgba(61, 79, 68, 0.15);
}

.audio-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--t-fast) ease;
}

.audio-card__icon:hover {
  background: var(--forest);
  transform: scale(1.08);
}

.audio-card__icon.playing {
  background: var(--forest);
  box-shadow: 0 0 0 4px rgba(61, 79, 68, 0.15);
}

.audio-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--forest);
  text-align: center;
}

.audio-card__duration {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-light);
}

/* Progress bar for audio */
.audio-card__progress {
  width: 100%;
  height: 2px;
  background: rgba(61, 79, 68, 0.1);
  border-radius: 1px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.audio-card__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--sage);
  border-radius: 1px;
  transition: width 0.3s linear;
}

/* Terapia instrument thumbnail navigation */
.terapia-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  max-width: 900px;
  margin: 0 auto var(--space-xl);
}

.terapia-nav__item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1;
  transition: all var(--t-fast) ease;
  text-decoration: none;
}

.terapia-nav__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 60%);
  z-index: 1;
}

.terapia-nav__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.terapia-nav__item.active {
  box-shadow: 0 0 0 2px var(--sage);
}

.terapia-nav__item img,
.terapia-nav__item .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terapia-nav__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  text-align: center;
}

/* Terapia detail sections */
.terapia-detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--t-slow) var(--ease-out-expo),
              opacity var(--t-medium) ease;
}

.terapia-detail.open {
  max-height: 1200px;
  opacity: 1;
}

/* Lotus decorative vertical element */
.lotus-vertical {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.lotus-vertical__line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--sage-light), transparent);
}

.lotus-vertical__icon {
  width: 60px;
  height: auto;
  opacity: 0.35;
}

/* Testimonials */
.testimonial {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--forest);
  margin-bottom: 1.5rem;
}

.testimonial__author {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
}

/* Testimonial carousel dots */
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--space-md);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-light);
  opacity: 0.4;
  transition: all var(--t-fast) ease;
  cursor: pointer;
}

.carousel-dot.active {
  opacity: 1;
  background: var(--forest);
}

/* Testimonials on dark background */
.testimonials-section .testimonial__text {
  color: var(--cream);
  font-style: italic;
}

.testimonials-section .testimonial__author {
  color: rgba(247,245,242,0.6);
}

.testimonials-section .carousel-dot {
  background: rgba(247,245,242,0.3);
}

.testimonials-section .carousel-dot.active {
  background: var(--cream);
  opacity: 1;
}

/* Sobre mi lotus watermark */
.sobre-mi-lotus {
  position: absolute;
  left: -260px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: auto;
  opacity: 0.12;
  filter: brightness(0.7) sepia(0.3);
  pointer-events: none;
}

@media (max-width: 1200px) {
  .sobre-mi-lotus {
    display: none;
  }
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid var(--sage-light);
  border-right: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--t-fast) ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--sage-light);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--forest);
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: var(--forest);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid var(--forest);
  transition: all var(--t-fast) ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--sage);
  border-color: var(--sage);
}

/* Signup form with options */
.signup-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.signup-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.signup-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(91, 112, 101, 0.2);
  transition: border-color var(--t-fast) ease,
              background var(--t-fast) ease;
}

.signup-option:hover {
  border-color: var(--sage);
  background: rgba(91, 112, 101, 0.05);
}

.signup-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--sage-light);
  border-radius: 3px;
  margin-top: 2px;
  cursor: pointer;
  transition: all var(--t-fast) ease;
  position: relative;
}

.signup-option input[type="checkbox"]:checked {
  background: var(--forest);
  border-color: var(--forest);
}

.signup-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.signup-option__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.signup-option__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--sage);
  margin-top: 0.15rem;
  font-weight: 300;
}

.signup-form__email {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(91, 112, 101, 0.25);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--t-fast) ease;
}

.signup-form__email:focus {
  outline: none;
  border-color: var(--sage);
}

.signup-form__email::placeholder {
  color: var(--sage-light);
}

/* Dark variant (on forest backgrounds) */
.signup-form--dark .signup-option {
  border-color: rgba(247, 245, 242, 0.2);
  color: var(--cream);
}

.signup-form--dark .signup-option:hover {
  border-color: rgba(247, 245, 242, 0.5);
  background: rgba(247, 245, 242, 0.05);
}

.signup-form--dark .signup-option__text {
  color: var(--cream);
}

.signup-form--dark .signup-option__text small {
  color: rgba(247, 245, 242, 0.6);
}

.signup-form--dark .signup-option input[type="checkbox"] {
  border-color: rgba(247, 245, 242, 0.4);
}

.signup-form--dark .signup-option input[type="checkbox"]:checked {
  background: var(--cream);
  border-color: var(--cream);
}

.signup-form--dark .signup-option input[type="checkbox"]:checked::after {
  border-color: var(--forest);
}

.signup-form--dark .signup-form__email {
  background: rgba(247, 245, 242, 0.1);
  border-color: rgba(247, 245, 242, 0.25);
  color: var(--cream);
}

.signup-form--dark .signup-form__email::placeholder {
  color: rgba(247, 245, 242, 0.4);
}

.signup-form--dark .signup-form__email:focus {
  border-color: rgba(247, 245, 242, 0.6);
}

/* Signup success overlay */
.signup-success-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(91, 112, 101, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  z-index: 10;
  opacity: 0;
  animation: overlayFadeIn 0.6s ease forwards;
  padding: 2rem;
  text-align: center;
}

.signup-success-overlay__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: overlayPulse 1.8s ease infinite;
}

.signup-success-overlay__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.signup-success-overlay__text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(247, 245, 242, 0.8);
  line-height: 1.6;
  max-width: 340px;
}

@keyframes overlayFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes overlayPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.1); opacity: 0.85; }
}

/* --- 8. PHOTO TREATMENTS ----------------------------------- */

/* Full-width image band (between sections) */
.image-band {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 350px;
  overflow: hidden;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  filter: brightness(0.88) contrast(1.06) saturate(0.85);
}

.image-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247, 245, 242, 0.15) 0%,
    transparent 30%,
    transparent 70%,
    rgba(247, 245, 242, 0.15) 100%
  );
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out-expo);
  filter: brightness(0.92) contrast(1.05) saturate(0.85);
}

.gallery-grid__item:hover img {
  transform: scale(1.06);
  filter: brightness(1) contrast(1.05) saturate(0.95);
}

.gallery-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61, 79, 68, 0.1);
  transition: opacity var(--t-fast) ease;
}

.gallery-grid__item:hover::after {
  opacity: 0;
}

/* Masonry-style gallery */
.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}

.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.gallery-masonry__item img {
  width: 100%;
  display: block;
  transition: transform var(--t-slow) var(--ease-out-expo);
  filter: brightness(0.93) contrast(1.04) saturate(0.88);
}

.gallery-masonry__item:hover img {
  transform: scale(1.04);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-medium) ease, visibility var(--t-medium) ease;
  cursor: pointer;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0.6;
  transition: opacity var(--t-fast) ease;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  padding: 1rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--t-fast) ease;
  z-index: 10001;
  line-height: 1;
}

.lightbox__nav:hover { opacity: 1; }

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox img {
  cursor: default;
}

@media (max-width: 768px) {
  .lightbox__nav { font-size: 2rem; padding: 0.75rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .lightbox__close { top: 1rem; right: 1rem; }
}

/* --- 9. SCROLL ANIMATIONS ---------------------------------- */
/* Content is ALWAYS visible by default.
   JS adds .reveal-ready to <body> to enable animations.
   If JS fails, everything stays visible. */

.reveal-ready [data-reveal] {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out-expo),
              transform var(--t-slow) var(--ease-out-expo);
}

.reveal-ready [data-reveal="up"] {
  transform: translateY(30px);
}

.reveal-ready [data-reveal="down"] {
  transform: translateY(-30px);
}

.reveal-ready [data-reveal="left"] {
  transform: translateX(-30px);
}

.reveal-ready [data-reveal="right"] {
  transform: translateX(30px);
}

.reveal-ready [data-reveal="fade"] {
  transform: none;
}

.reveal-ready [data-reveal="scale"] {
  transform: scale(0.95);
}

/* Revealed state */
[data-reveal].revealed {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* Stagger delays */
.reveal-ready [data-delay="1"] { transition-delay: 0.1s; }
.reveal-ready [data-delay="2"] { transition-delay: 0.2s; }
.reveal-ready [data-delay="3"] { transition-delay: 0.3s; }
.reveal-ready [data-delay="4"] { transition-delay: 0.4s; }
.reveal-ready [data-delay="5"] { transition-delay: 0.5s; }

/* Image reveal with clip */
.reveal-ready [data-reveal="clip"] {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--t-slow) var(--ease-out-expo);
}

[data-reveal="clip"].revealed {
  clip-path: inset(0 0 0 0);
}

/* --- 10. FOOTER -------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(247, 245, 242, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.footer__brand-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.5rem;
}

.footer__heading {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.5rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(247, 245, 242, 0.6);
  transition: color var(--t-fast) ease;
}

.footer__links a:hover {
  color: var(--cream);
}

.footer__contact-item {
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer__contact-item a {
  color: rgba(247, 245, 242, 0.6);
}

.footer__contact-item a:hover {
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
}

.footer__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(247, 245, 242, 0.4);
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(247, 245, 242, 0.3);
}

.footer__whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 4px;
  color: rgba(247, 245, 242, 0.9);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all var(--t-fast) ease;
  text-decoration: none;
}

.footer__whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.footer__whatsapp-btn svg {
  width: 16px;
  height: 16px;
  fill: rgba(37, 211, 102, 0.8);
}

/* --- 11. WHATSAPP FLOATING BUTTON -------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* --- 12. FORM STYLES --------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
}

.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(61, 79, 68, 0.15);
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(91, 112, 101, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(91, 112, 101, 0.25);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--t-fast) ease;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--forest);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Quote band */
.quote-band {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.quote-band__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto;
}

/* Mi Camino vertical logo */
.mi-camino-logo {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}

.mi-camino-logo__img {
  flex: 0 0 auto;
  width: 80px;
  height: auto;
}

/* Mi Camino — new layout with lotus alongside */
.mi-camino-layout {
  display: flex;
  align-items: stretch;
  gap: var(--space-xl);
}

.mi-camino-layout__lotus {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.mi-camino-layout__lotus img {
  width: 100px;
  height: auto;
  opacity: 0.15;
  filter: brightness(0.7) sepia(0.3);
  position: sticky;
  top: 120px;
  transition: opacity var(--t-medium) ease;
}

.mi-camino-layout__content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .mi-camino-layout__lotus {
    display: none;
  }
}

.mi-camino-logo__img:hover {
  opacity: 0.7;
}

/* Audio card with session photo */
.audio-card--with-photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: none;
  border: none;
  min-height: 320px;
  border: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.audio-card--with-photo .audio-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.audio-card--with-photo .audio-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.08) saturate(0.75);
  transition: filter var(--t-medium) ease;
}

.audio-card--with-photo:hover .audio-card__bg img {
  filter: brightness(0.55) contrast(1.05) saturate(0.85);
}

.audio-card--with-photo .audio-card__icon,
.audio-card--with-photo .audio-card__title,
.audio-card--with-photo .audio-card__duration,
.audio-card--with-photo .audio-card__progress {
  position: relative;
  z-index: 1;
}

.audio-card--with-photo .audio-card__title {
  color: var(--cream);
}

.audio-card--with-photo .audio-card__duration {
  color: rgba(247,245,242,0.6);
}

.audio-card--with-photo .audio-card__icon {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.audio-card--with-photo .audio-card__icon:hover {
  background: rgba(255,255,255,0.25);
}

.audio-card--with-photo .audio-card__progress {
  background: rgba(255,255,255,0.15);
}

.audio-card--with-photo .audio-card__progress-bar {
  background: rgba(255,255,255,0.6);
}

/* --- 13. UTILITIES ----------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }

.mt-xs  { margin-top: var(--space-xs); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }

.mb-xs  { margin-bottom: var(--space-xs); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }

.color-cream   { color: var(--cream); }
.color-sage    { color: var(--sage); }
.color-forest  { color: var(--forest); }
.color-white   { color: var(--white); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  border: 0;
}

/* Horizontal rule — editorial thin line */
.rule {
  border: none;
  height: 1px;
  background: rgba(91, 112, 101, 0.12);
  margin: var(--space-xl) 0;
}

/* Fade-in page load */
.page-enter {
  animation: pageEnter 0.8s var(--ease-out-expo) forwards;
}

@keyframes pageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Smooth focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* Better link transitions */
a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.8rem 1.5rem;
  background: var(--forest);
  color: var(--white);
  font-size: 0.85rem;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top var(--t-fast) ease;
}

.skip-link:focus {
  top: 0;
}

/* Testimonial carousel transitions */
.testimonial-carousel {
  position: relative;
  min-height: 180px;
}

.testimonial-carousel .testimonial {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.testimonial-carousel .testimonial.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Smooth image loading — fade in when loaded */
img[loading="lazy"] {
  transition: opacity var(--t-medium) ease;
}

img {
  opacity: 1;
}

/* --- 14. RESPONSIVE ---------------------------------------- */
@media (max-width: 1024px) {
  .block-duo,
  .block-duo--offset,
  .block-duo--offset-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .block-duo--reverse { direction: ltr; }

  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 4-column instrument grid to 2 */
  .cards-grid[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .gallery-masonry {
    columns: 2;
  }

  .terapia-nav {
    gap: var(--space-xs);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  .nav__links { display: none; }
  .nav__inner .nav__lang { display: none; }
  .nav__hamburger { display: flex; }

  /* Language selector visible inside mobile menu */
  .nav__mobile-menu .nav__lang {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav__mobile-menu .nav__lang-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
  }
  .nav__mobile-menu .nav__lang-link:hover,
  .nav__mobile-menu .nav__lang-link--active {
    color: #fff;
    background: rgba(255,255,255,0.12);
  }

  .container { padding: 0 1.5rem; }
  .nav__inner { padding: 0 1.5rem; }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero__content {
    padding: var(--space-sm) 1.25rem;
  }

  .cards-grid--3,
  .cards-grid--2 {
    grid-template-columns: 1fr;
  }

  /* 4-column instrument cards → 2 on tablets, 2 on phones */
  .cards-grid[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-masonry {
    columns: 1;
  }

  /* Contact page inline grid */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    border-right: 1px solid var(--sage-light);
  }

  .image-band {
    height: 40vh !important;
    min-height: 250px;
  }

  .audio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Audio cards — reduce height on mobile */
  .audio-card--with-photo {
    min-height: 240px;
  }

  .terapia-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonial carousel — taller for long quotes on narrow screens */
  .testimonial-carousel {
    min-height: 260px;
  }

  .testimonial__text {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    line-height: 1.65;
  }

  /* Quote band — more compact on mobile */
  .quote-band {
    padding: var(--space-lg) 1.5rem;
  }

  /* Block-duo text padding — reduce on mobile (skip images) */
  .block-duo > [data-reveal]:not(.block-duo__image) {
    padding: var(--space-md) 0 !important;
  }

  /* WhatsApp button — slightly smaller on mobile */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  /* Better touch targets for nav links */
  .nav__mobile-menu a {
    font-size: 1.6rem;
    padding: 0.4rem 0;
  }

  /* Buttons — full width on mobile for easier tapping */
  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.72rem;
  }

  /* Hero scroll indicator — smaller on mobile */
  .hero__scroll-line {
    height: 40px;
  }

  .hero__scroll {
    bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero--short { height: 60vh; min-height: 350px; }

  .container { padding: 0 1.25rem; }
  .nav__inner { padding: 0 1.25rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Instrument cards single column on very small screens */
  .cards-grid[style*="repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  /* Card titles — ensure readable */
  .card__title {
    font-size: 1.4rem;
  }

  /* Section header — tighter spacing */
  .section-header {
    margin-bottom: var(--space-lg);
  }

  /* Signup options — tighter */
  .signup-option {
    padding: 0.6rem 0.65rem;
  }

  /* Footer — even more compact */
  .footer {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .footer__brand-name {
    font-size: 1.3rem;
  }

  /* Audio cards — even shorter */
  .audio-card--with-photo {
    min-height: 200px;
  }

  /* Testimonial carousel for very narrow */
  .testimonial-carousel {
    min-height: 300px;
  }
}

/* --- 15. PLACEHOLDER IMAGE SYSTEM -------------------------- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(91, 112, 101, 0.06) 12px,
      rgba(91, 112, 101, 0.06) 13px
    ),
    linear-gradient(135deg, var(--sage-pale) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  text-align: center;
  max-width: 90%;
}

.placeholder__label-id {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.7;
}

.placeholder__label-desc {
  font-family: var(--font-mono), monospace;
  font-size: 0.45rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--sage-light);
  opacity: 0.5;
  max-width: 280px;
  word-break: break-word;
}

/* --- 16. RECUERDOS — B&W SESSION GALLERY ------------------- */
.recuerdos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.recuerdos__item {
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-medium) var(--ease-out-expo);
  position: relative;
  aspect-ratio: 4/3;
}

.recuerdos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.08) brightness(0.92);
  transition: all var(--t-medium) var(--ease-out-expo);
}

.recuerdos__item:hover {
  z-index: 10;
  transform: scale(1.03);
  box-shadow: 0 16px 50px rgba(0,0,0,0.2);
}

.recuerdos__item:hover img {
  filter: grayscale(0) contrast(1.05) brightness(0.98);
}

@media (max-width: 768px) {
  .recuerdos {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    max-width: 400px;
  }
}

/* --- 17. GALERÍA — PHOTO GRID ------------------------------ */

/* --- 17a. Index teaser (3 photos, color, simple hover) --- */
.galeria-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.galeria-teaser__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}

.galeria-teaser__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out-expo);
}

.galeria-teaser__item:hover img {
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .galeria-teaser {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* --- 17b. Full gallery page (overlay hover, color) --- */
.galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.galeria__item {
  position: relative;
  overflow: visible;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: transform var(--t-medium) var(--ease-out-expo),
              box-shadow var(--t-medium) var(--ease-out-expo);
}

.galeria__item:hover {
  z-index: 10;
}

.galeria__item:hover img {
  transform: scale(1.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
              0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .galeria {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .galeria {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .galeria__item:hover img {
    transform: scale(1.2);
  }
}

/* --- 18. UX IMPROVEMENTS ----------------------------------- */

/* Better focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__bg--kenburns img { animation: none !important; }
  .hero__bg--parallax img { transform: none !important; }
}

/* Touch devices — reduce hover scale effects */
@media (hover: none) {
  .galeria__item:hover img {
    transform: none;
    box-shadow: none;
  }
  .galeria__item:hover {
    z-index: auto;
  }
  .galeria-teaser__item:hover img {
    transform: none;
  }
}

/* Signup form responsive */
@media (max-width: 768px) {
  .signup-form {
    max-width: 100%;
  }
  .signup-option {
    padding: 0.65rem 0.75rem;
  }
  .signup-option__text {
    font-size: 0.95rem;
  }
  .signup-option__text small {
    font-size: 0.75rem;
  }
}

/* Contact grid responsive */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Smooth scroll indicator animation */
.hero__scroll-line {
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.1); }
}

/* Better button interaction feedback */
.btn {
  transition: all var(--t-fast) var(--ease-out-expo);
}

.btn:active {
  transform: scale(0.97);
}

/* Form input hover states */
.form-input:hover {
  border-color: var(--sage);
}

.signup-form__email:hover {
  border-color: var(--sage);
}

/* Improved selection on dark backgrounds */
.section--forest ::selection,
.section--sage ::selection {
  background: var(--cream);
  color: var(--forest);
}
