/* ============================================================
   PAMPA PAISAJES — Sistema de diseño
   Paleta: verde profundo, arena, tierra, madera, blanco cálido, negro suave
   ============================================================ */
:root {
  /* Colores */
  --c-bg: #f6f1e7;            /* blanco cálido / arena claro */
  --c-cream: #ece4d2;
  --c-sand: #d4c5a0;
  --c-earth: #8b6f47;
  --c-wood: #6b4f31;
  --c-green-deep: #2c3e2d;
  --c-green: #4a6a47;
  --c-green-soft: #8aa088;
  --c-ink: #1a1f1a;
  --c-ink-soft: #3a3f38;
  --c-line: rgba(26, 31, 26, 0.12);
  --c-white: #ffffff;

  /* Tipografía */
  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espaciado / radios */
  --r-soft: 4px;
  --r-card: 12px;
  --gutter: clamp(1.2rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 10vw, 8rem);

  /* Tiempos */
  --t-fast: 200ms;
  --t-base: 400ms;
  --t-slow: 800ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; background: none; border: 0; color: inherit; }
ul { list-style: none; }
em { font-style: italic; }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  background: transparent;
  transition: background var(--t-base) var(--ease), backdrop-filter var(--t-base), padding var(--t-base);
}
.nav.is-scrolled {
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--c-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__logo {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--c-white);
  transition: color var(--t-base);
}
.nav.is-scrolled .nav__logo { color: var(--c-green-deep); }
.nav__logo-sub {
  font-style: italic;
  opacity: 0.85;
  margin-left: 0.2em;
  font-weight: 300;
}
.nav__menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav__menu a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--c-white);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--t-base), opacity var(--t-base);
}
.nav.is-scrolled .nav__menu a { color: var(--c-ink); }
.nav__menu a:hover { opacity: 0.7; }
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--t-base) var(--ease);
}
.nav__menu a:hover::after { width: 100%; }
.nav__cta {
  border: 1px solid currentColor;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px;
  transition: all var(--t-base) var(--ease) !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  background: var(--c-white);
  color: var(--c-green-deep) !important;
}
.nav.is-scrolled .nav__cta:hover {
  background: var(--c-green-deep);
  color: var(--c-white) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 2;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--c-white);
  transition: all var(--t-base) var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--c-ink); }
.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); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--c-white);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.82) saturate(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.12) 50%, rgba(0,0,0,0.52) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  animation: fadeUp 1.2s var(--ease) 0.2s both;
}
.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
  max-width: 18ch;
}
.hero__title em { font-style: italic; font-weight: 400; opacity: 0.92; }
.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  max-width: 48ch;
  opacity: 0.9;
  margin-bottom: 2.4rem;
}
.hero__buttons { 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: 0.8rem; opacity: 0.65;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 50px; background: currentColor;
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50%       { transform: scaleY(1);   opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  font-weight: 500;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-green-deep);
  color: var(--c-white);
  border-color: var(--c-green-deep);
}
.btn--primary:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }

/* ============================================================
   CINEMATIC SECTION
   ============================================================ */
.cinematic {
  position: relative;
  background: var(--c-ink);
}
.cinematic__bg {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.cinematic__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: contents;          /* Pide al GPU que mantenga el video listo */
  transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.cinematic__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.65) 100%);
  transition: background var(--t-slow) var(--ease);
  pointer-events: none;
}
.cinematic__scenes {
  position: relative;
  margin-top: -100vh;
}
.scene {
  position: relative;           /* necesario para .hero__scroll-hint absolute */
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  max-width: 800px;
  margin: 0 auto;
  color: var(--c-white);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.scene.is-active {
  opacity: 1;
  transform: translateY(0);
}
.scene__num {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1.6rem;
}
.scene__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.scene__text {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 46ch;
  opacity: 0.9;
}

/* Filtros para video de fondo según escena (0=hero, 1-6=recorrido) */
.cinematic[data-scene="0"] .cinematic__video { filter: brightness(0.75) saturate(1.05); transform: scale(1); }
.cinematic[data-scene="1"] .cinematic__video { filter: brightness(0.85) saturate(1); transform: scale(1); }
.cinematic[data-scene="2"] .cinematic__video { filter: brightness(0.8) saturate(1.15) hue-rotate(-5deg); transform: scale(1.04); }
.cinematic[data-scene="3"] .cinematic__video { filter: brightness(0.7) saturate(0.85) hue-rotate(10deg); transform: scale(1.08); }
.cinematic[data-scene="4"] .cinematic__video { filter: brightness(0.8) saturate(0.95) sepia(0.18); transform: scale(1.04) translateX(-2%); }
.cinematic[data-scene="5"] .cinematic__video { filter: brightness(0.9) saturate(1.2) contrast(1.05); transform: scale(1.1); }
.cinematic[data-scene="6"] .cinematic__video { filter: brightness(0.8) saturate(1) sepia(0.1); transform: scale(1.04) translateX(2%); }

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
section.services,
section.projects,
section.about,
section.contact {
  padding: var(--section-pad) 0;
  background: var(--c-bg);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  font-family: var(--f-sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  margin-bottom: 1.2rem;
  color: var(--c-green-deep);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  max-width: 56ch;
  margin: 0 auto;
}
.section-header--light .section-eyebrow { color: var(--c-sand); }
.section-header--light .section-title,
.section-header--light .section-lead { color: var(--c-white); }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.service-card {
  padding: 2.5rem 1.8rem;
  background: var(--c-cream);
  border-radius: var(--r-card);
  border: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}
.service-card:hover {
  background: var(--c-white);
  border-color: var(--c-line);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(44, 62, 45, 0.18);
}
.service-card__icon {
  color: var(--c-green-deep);
  width: 48px;
  height: 48px;
  margin-bottom: 1.6rem;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
  color: var(--c-green-deep);
}
.service-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--c-ink-soft);
}

/* ============================================================
   PROYECTOS
   ============================================================ */
.projects { background: var(--c-cream); }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: var(--c-ink-soft);
}
.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter var(--t-slow) var(--ease);
  filter: brightness(0.92);
}
.project-card:hover .project-card__img {
  transform: scale(1.06);
  filter: brightness(0.7);
}
.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
  color: var(--c-white);
  transition: background var(--t-base);
}
.project-card:hover .project-card__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
}
.project-card__location {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.6rem;
}
.project-card__title {
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
  font-weight: 400;
}
.project-card__desc {
  font-size: 0.9rem;
  opacity: 0.85;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease);
}
.project-card:hover .project-card__desc {
  max-height: 100px;
}
.project-card__count {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--c-white);
}

/* ============================================================
   APPROACH (pilares)
   ============================================================ */
.approach {
  position: relative;
  padding: var(--section-pad) 0;
  color: var(--c-white);
  overflow: hidden;
}
.approach__bg { position: absolute; inset: 0; z-index: 0; }
.approach__bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45) saturate(0.85);
}
.approach__tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,31,26,0.7) 0%, rgba(44,62,45,0.85) 100%);
}
.approach .container { position: relative; z-index: 1; }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.pillar {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.pillar span {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  opacity: 0.6;
  margin-bottom: 0.9rem;
}
.pillar h4 {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
  color: var(--c-sand);
}
.pillar p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.65;
}

/* ============================================================
   ABOUT VALENTINA
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__media-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(44, 62, 45, 0.4);
}
.about__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.05);
}
.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.95) saturate(1.08);
  transition: transform 0.6s var(--ease);
}
.about__media-frame:hover .about__photo {
  transform: scale(1.03);
}
.about__text .section-title { text-align: left; }
.about__quote {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--c-green);
  padding: 1.4rem 0 1.4rem 1.4rem;
  margin: 1.6rem 0;
  border-left: 2px solid var(--c-sand);
}
.about__text p {
  font-size: 1.02rem;
  color: var(--c-ink-soft);
  margin-bottom: 1.1rem;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { background: var(--c-cream); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__text .section-title { text-align: left; }
.contact__lead {
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  margin: 1rem 0 2rem;
  max-width: 46ch;
}
.contact__channels { display: flex; flex-direction: column; gap: 1rem; }
.channel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--c-bg);
  border-radius: var(--r-card);
  border: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}
.channel:hover {
  background: var(--c-white);
  border-color: var(--c-line);
  transform: translateX(4px);
}
.channel__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-green-deep);
  color: var(--c-white);
  border-radius: 50%;
}
.channel__icon svg { width: 18px; height: 18px; }
.channel strong { display: block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-green); margin-bottom: 0.2rem; }
.channel em { font-style: normal; font-size: 1rem; color: var(--c-ink); }

.contact__form {
  background: var(--c-bg);
  padding: 2.5rem;
  border-radius: var(--r-card);
  border: 1px solid var(--c-line);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-soft);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(74, 106, 71, 0.12);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  text-align: center;
  color: var(--c-green);
  min-height: 1.5em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-green-deep);
  color: var(--c-cream);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.footer__logo {
  font-family: var(--f-serif);
  font-size: 2rem;
  color: var(--c-white);
  margin-bottom: 0.6rem;
}
.footer__logo em { color: var(--c-sand); font-weight: 300; }
.footer__tag { font-size: 0.95rem; opacity: 0.75; max-width: 30ch; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.footer__cols h5 {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-sand);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer__cols p { font-size: 0.92rem; opacity: 0.85; margin-bottom: 0.3rem; }
.footer__cols a { transition: opacity var(--t-base); }
.footer__cols a:hover { opacity: 0.7; }
.footer__copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.5;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 8px 18px rgba(0,0,0,0.15);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base);
  animation: pulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.7), 0 12px 22px rgba(0,0,0,0.18);
}
.wa-float svg { width: 28px; height: 28px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.45); }
  50% { box-shadow: 0 12px 28px -8px rgba(37,211,102,0.55), 0 0 0 14px rgba(37,211,102,0); }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 12, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-soft);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.lightbox__caption {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-white);
  font-size: 0.92rem;
  opacity: 0.75;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: var(--c-white);
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: 1.6rem; right: 1.6rem; }
.lightbox__prev { left: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.6rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   REVEAL (animaciones de entrada)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PLANTAS NATIVAS — Carrusel
   ============================================================ */
section.plants {
  background: var(--c-green-deep);
  padding: var(--section-pad) 0;
  overflow: hidden;
}
section.plants .section-header { color: var(--c-white); }
section.plants .section-eyebrow { color: var(--c-sand); }
section.plants .section-lead { color: rgba(255,255,255,0.7); }
section.plants .section-title { color: var(--c-white); }
section.plants .section-title::after { background: var(--c-sand); }

.plants-carousel-wrap {
  position: relative;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0;
}
.plants-carousel-viewport {
  flex: 1;
  overflow: hidden;
  padding: 1rem 0 1.5rem;
  cursor: grab;
}
.plants-carousel-viewport:active { cursor: grabbing; }
.plants-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  padding-left: clamp(1.2rem, 4vw, 2.5rem);
}

/* Tarjeta de planta */
.plant-card {
  flex: 0 0 280px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  user-select: none;
}
.plant-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.4);
}
.plant-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.plant-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.5s var(--ease);
  display: block;
}
.plant-card:hover .plant-card__img-wrap img {
  transform: scale(1.06);
}
.plant-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
}
.plant-card__name {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-white);
  margin-bottom: 0.1rem;
}
.plant-card__sci {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--c-sand);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.plant-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* Flechas de navegación */
.plants-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
  margin: 0 clamp(0.5rem, 1.5vw, 1.2rem);
}
.plants-arrow:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.08);
}
.plants-arrow svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--c-green-deep);
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a { color: var(--c-white) !important; font-size: 1.4rem; }
  .nav__menu .nav__cta { padding: 0.8rem 1.6rem !important; }

  .about__inner,
  .contact__inner,
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__copy { margin-top: 2rem; }

  .plant-card { flex: 0 0 220px; }
  .plants-arrow { display: none; }

  /* En mobile el scroll cinematográfico se simplifica: cada escena es un bloque */
  .cinematic__bg {
    position: relative;
    height: 60vh;
  }
  .cinematic__scenes { margin-top: 0; }
  .scene {
    height: auto;
    padding: 4rem var(--gutter);
    opacity: 1;
    transform: none;
    background: var(--c-ink);
    color: var(--c-white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 600px) {
  .hero__title { font-size: 2.2rem; }
  .hero__buttons { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .service-card { padding: 2rem 1.4rem; }
  .contact__form { padding: 1.8rem; }
  .wa-float { width: 52px; height: 52px; bottom: 1.2rem; right: 1.2rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero__video, .approach__bg video, .cinematic__video {
    animation: none !important;
    transform: none !important;
  }
}
