/* =========================================================
   AAVED — Asociación de Agricultores Vereda El Deseo
   Paleta: verde tierra + blanco + negro + amarillo arroz
   ========================================================= */

:root {
  /* Verdes */
  --green-900: #14361f;
  --green-800: #1f5132;
  --green-700: #2a6a44;
  --green-500: #4a9264;
  --green-300: #a8d1b8;
  --green-50:  #eef5f0;

  /* Acento amarillo arroz */
  --yellow-500: #f5c542;
  --yellow-300: #fce28a;
  --yellow-700: #c79a1a;

  /* Acento azul complementario */
  --blue-500: #2b6cb0;

  /* Neutros */
  --black: #111111;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #777777;
  --gray-300: #d9d9d9;
  --gray-100: #f4f4f1;
  --white: #ffffff;
  --off-white: #fafaf7;

  /* Sistema */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(20, 54, 31, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 54, 31, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 54, 31, 0.18);

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

strong { font-weight: 600; }

/* ===== Highlights ===== */
.hl {
  color: var(--green-700);
  position: relative;
  display: inline-block;
}
.hl::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.3em;
  background: var(--yellow-300);
  z-index: -1;
  border-radius: 3px;
  transform: skewX(-4deg);
}
.hl--white { color: var(--white); }
.hl--white::after { background: rgba(245, 197, 66, 0.4); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0.7rem var(--gutter);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), padding .3s var(--ease);
}
.nav.is-scrolled {
  border-color: var(--gray-100);
  background: rgba(255,255,255,0.97);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 48px;
  width: auto;
  transition: height .3s var(--ease);
}
.nav.is-scrolled .nav__logo-img { height: 40px; }

.nav__links {
  display: flex; gap: 1.8rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--gray-900);
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--green-700); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.nav__toggle span {
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--solid {
  background: var(--green-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--solid:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--yellow {
  background: var(--yellow-500);
  color: var(--green-900);
  box-shadow: 0 8px 24px rgba(245, 197, 66, 0.3);
}
.btn--yellow:hover {
  background: var(--yellow-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(199, 154, 26, 0.4);
}
.btn--wsp {
  background: #25D366;
  color: var(--white);
}
.btn--wsp svg { width: 20px; height: 20px; }
.btn--wsp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem var(--gutter) 5rem;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroSlow 20s ease-in-out infinite alternate;
}
@keyframes heroSlow {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(245, 197, 66, 0.12), transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(74, 146, 100, 0.5), transparent 60%),
    linear-gradient(135deg, rgba(20, 54, 31, 0.85) 0%, rgba(31, 81, 50, 0.75) 50%, rgba(20, 54, 31, 0.88) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.hero__tag .dot {
  width: 8px; height: 8px;
  background: var(--yellow-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(245, 197, 66, 0.05); }
}

.hero__title {
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero__title .hl { color: var(--white); }
.hero__title .hl::after { background: var(--yellow-500); opacity: 0.95; }

.hero__sub {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  line-height: 1.55;
}

.hero__cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__stats {
  display: flex;
  gap: clamp(2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}
.stat__plus {
  display: inline;
  color: var(--yellow-500);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-left: 2px;
}
.stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.6rem;
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--yellow-500), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Secciones generales ===== */
.section {
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  scroll-margin-top: 80px;
}
.section-bg {
  padding: 0;
  scroll-margin-top: 80px;
}
.section__head {
  max-width: 800px;
  margin-bottom: 4rem;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green-700);
  margin-bottom: 1.2rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--green-700);
}
.eyebrow--light {
  color: var(--yellow-500);
  border-color: var(--yellow-500);
}
.section h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
}
.section__intro {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 60ch;
}

/* ===== NOSOTROS ===== */
.nosotros {
  background: var(--off-white);
}
.nosotros__wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.nosotros__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.nosotros__text .lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--green-900);
  font-weight: 400;
  margin: 0 0 1.4rem;
}
.nosotros__text p {
  margin: 0 0 1.1rem;
  color: var(--gray-700);
}
.nosotros__values {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.nosotros__values li {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--gray-300);
  font-size: 1rem;
  color: var(--gray-900);
}
.nosotros__values li span {
  color: var(--green-700);
  font-weight: 700;
}

.nosotros__cards {
  display: grid;
  gap: 1.4rem;
}
.m-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.m-card--mission {
  background: var(--green-900);
  color: var(--white);
}
.m-card--mission strong { color: var(--yellow-500); }
.m-card--vision {
  background: var(--white);
  color: var(--green-900);
  border: 1px solid var(--green-300);
}
.m-card--vision strong { color: var(--green-700); }
.m-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.m-card--mission .m-card__tag {
  background: var(--yellow-500);
  color: var(--green-900);
}
.m-card--vision .m-card__tag {
  background: var(--green-700);
  color: var(--white);
}
.m-card p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
}
.m-card--mission p { color: rgba(255,255,255,0.88); }
.m-card--vision p { color: var(--gray-700); }

/* ===== SERVICIOS / ACTIVIDADES ===== */
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.serv {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.serv::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--yellow-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.serv:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.serv:hover::before { transform: scaleX(1); }

.serv__icon {
  width: 52px; height: 52px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.serv__icon svg { width: 26px; height: 26px; }
.serv:hover .serv__icon {
  background: var(--green-700);
  color: var(--white);
}
.serv h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--green-900);
}
.serv p {
  color: var(--gray-700);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}

/* ===== PRODUCTO: Arroz el Cacereño ===== */
.producto {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}
.producto::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.15), transparent 60%);
  pointer-events: none;
}
.producto__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.producto__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  transform: rotate(-1.5deg);
  transition: transform .6s var(--ease);
}
.producto__media:hover { transform: rotate(0deg) scale(1.02); }
.producto__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.producto__badge {
  position: absolute;
  top: 1.4rem; left: 1.4rem;
  background: var(--yellow-500);
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.producto__text h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin: 0.8rem 0 1.5rem;
}
.producto__text .lead {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
}
.producto__feats {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  gap: 1rem;
}
.producto__feats li {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--yellow-500);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}
.producto__feats li strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--yellow-500);
  margin-bottom: 0.2rem;
}
.producto__feats li span {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
}

/* ===== GALERÍA ===== */

/* Estado de carga (mientras Cloudinary responde) */
.gallery-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 3rem 1rem;
  margin-bottom: 1.5rem;
  background: var(--green-50);
  border-radius: var(--radius);
  color: var(--green-800);
  font-size: 0.95rem;
  font-weight: 500;
}
.gallery-status__spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--green-300);
  border-top-color: var(--green-700);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: var(--gray-100);
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* Variar ratios para grid orgánico */
.gallery__item:nth-child(7n+3) { aspect-ratio: 1/1; }
.gallery__item:nth-child(7n+5) { aspect-ratio: 3/4; }
.gallery__item:nth-child(7n+6) { aspect-ratio: 4/3; }

.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(0.92);
}
.gallery__item.gallery__item--user::after {
  content: "Tuya";
  position: absolute;
  top: 12px; left: 12px;
  background: var(--yellow-500);
  color: var(--green-900);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.gallery__remove {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
  z-index: 2;
}
.gallery__item:hover .gallery__remove { opacity: 1; transform: scale(1); }
.gallery__remove:hover { background: rgba(0,0,0,0.85); }

/* ===== ALIADOS ===== */
.aliados {
  background: var(--off-white);
  padding: 4rem var(--gutter);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.aliados__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.aliados__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin: 0 0 2rem;
}
.aliados__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}
.aliado {
  height: 60px;
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.aliado:hover { opacity: 1; transform: translateY(-2px); }
.aliado img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* ===== CONTACTO ===== */
.contacto {
  background: var(--green-900);
  color: var(--white);
}
.contacto__wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.contacto .eyebrow {
  color: var(--yellow-500);
  border-color: var(--yellow-500);
}
.contacto h2 { color: var(--white); }
.contacto h2 .hl { color: var(--yellow-500); }
.contacto h2 .hl::after { background: rgba(245, 197, 66, 0.25); }

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.contacto__info { display: grid; gap: 1rem; }
.info {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.info__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow-500);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.info p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.3;
}
.info a { transition: color .2s var(--ease); }
.info a:hover { color: var(--yellow-500); }

.contacto__cta {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.contacto__cta h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.contacto__cta p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.8rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem var(--gutter);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__logo {
  height: 50px;
  width: auto;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
}
.footer__brand span {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== WhatsApp flotante ===== */
.wsp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 40;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: wspPulse 2.6s ease-in-out infinite;
}
.wsp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  animation-play-state: paused;
}
.wsp-float svg { width: 28px; height: 28px; }
@keyframes wspPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 92%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox__close {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  transition: background .2s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav__links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 1.4rem;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-md);
    pointer-events: none;
    visibility: hidden;
  }
  .nav__links.is-open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav__toggle { display: flex; }

  .nosotros__grid,
  .contacto__grid,
  .producto__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .producto__media {
    max-width: 480px;
    margin: 0 auto;
    transform: rotate(0);
  }

  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }
  .hero__stats { gap: 1.8rem 3rem; }

  .footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
  .nav__logo-img { height: 44px; }
  .nav.is-scrolled .nav__logo-img { height: 38px; }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.7rem;
  }
  .contacto__cta { padding: 1.8rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__img { animation: none; }
}
