/* ============================================================
   Cooperativa Palo Santo Ltda. — Design System
   Paleta: verde forestal + blanco, acento dorado sutil
   ============================================================ */

:root {
  /* Color tokens */
  --green-950: #042d02;
  --green-900: #064504;
  --green-800: #095e07;
  --green-700: #0b7309;
  --green-600: #138e0e;
  --green-500: #3dae37;
  --green-400: #6bc964;
  --green-200: #b7e3b3;
  --green-100: #daf1d8;
  --green-50:  #f0f9ef;

  --gold: #f5b00b;
  --gold-dark: #d99a05;

  --white: #ffffff;
  --offwhite: #f7faf5;
  --ink: #13200f;
  --ink-soft: #48593f;
  --ink-faint: #6b7c60;

  /* Typography */
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(19, 142, 14, 0.06), 0 2px 8px rgba(19, 142, 14, 0.06);
  --shadow-md: 0 4px 12px rgba(19, 142, 14, 0.08), 0 12px 32px rgba(19, 142, 14, 0.10);
  --shadow-lg: 0 8px 24px rgba(19, 142, 14, 0.12), 0 24px 60px rgba(19, 142, 14, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--gold {
  background: var(--gold);
  color: #2b1c00;
  box-shadow: 0 4px 14px rgba(245, 176, 11, 0.35);
}
.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 176, 11, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--green-100);
  box-shadow: 0 2px 20px rgba(19, 142, 14, 0.07);
  background: rgba(255, 255, 255, 0.92);
}
.nav__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 44px; height: 44px; border-radius: 10px; }
.nav__name { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--green-800); }
.nav__name small { font-size: 0.72rem; color: var(--ink-faint); font-weight: 600; letter-spacing: 0.04em; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--green-700); background: var(--green-50); }
.nav__link.is-active { color: var(--green-700); }

.nav__cta {
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cta:hover { background: var(--green-600); transform: translateY(-1px); }
.nav__cta:active { transform: translateY(0); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(95, 181, 76, 0.28), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(245, 176, 11, 0.12), transparent 55%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 45%, var(--green-700) 100%);
  color: var(--white);
  padding: 168px 0 96px;
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  max-width: 20ch;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media {
  display: flex;
  justify-content: center;
}
.hero__media img {
  width: min(100%, 460px);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--green-50); }
.section--green {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(95, 181, 76, 0.22), transparent 55%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  color: var(--white);
}

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.section__title--light { color: var(--white); }
.section__sub { font-size: 1.06rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Nosotros ---------- */
.nosotros {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.nosotros__text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; }
.nosotros__text .lead { font-size: 1.22rem; color: var(--ink); line-height: 1.5; }
.nosotros__text strong { color: var(--green-700); font-weight: 700; }
.nosotros__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fact {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fact__num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
}
.fact__label { font-size: 0.9rem; color: var(--ink-faint); font-weight: 500; }

/* ---------- Cooperativismo ---------- */
.coop {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.coop__text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; }
.coop__text .lead { font-size: 1.18rem; color: var(--ink); line-height: 1.5; }
.coop__text strong { color: var(--green-700); }
.coop__text em { font-style: italic; color: var(--green-700); }

.principles {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.principles__title {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--green-800);
}
.principles__grid { display: flex; flex-direction: column; }
.principle {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--green-100);
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.principle:first-child { border-top: none; }
.principle span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  min-width: 26px;
  flex-shrink: 0;
}

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
}
.service--featured {
  background: linear-gradient(160deg, var(--green-700), var(--green-800));
  border-color: transparent;
  color: var(--white);
}
.service--featured .service__title { color: var(--white); }
.service--featured .service__desc { color: rgba(255, 255, 255, 0.82); }
.service--featured .service__range { color: var(--gold); }
.service--featured .service__icon { color: var(--gold); background: rgba(255, 255, 255, 0.1); }

.service__img {
  margin: -32px -28px 0;
  overflow: hidden;
}
.service__img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.service__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
}

.service__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 6px;
}
.service__icon svg { width: 26px; height: 26px; }
.service__title { font-size: 1.18rem; font-weight: 700; color: var(--green-800); }
.service__range {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.01em;
}
.service__desc { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Asociate ---------- */
.services__cta {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}
.asociate { max-width: 900px; }
.asociate__lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
  margin-bottom: 44px;
}
.asociate__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 48px;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.step__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 36px;
  line-height: 1;
}
.step h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 5px; }
.step p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.74); line-height: 1.5; }

.asociate__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.asociate__note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.68); }

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  gap: 22px;
}
.contact--2col { grid-template-columns: 1fr 1fr; }
.contact__card {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact__label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
}
.contact__name { font-size: 1.12rem; color: var(--green-800); margin-bottom: 4px; }
.contact__link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}
.contact__link:hover { color: var(--green-600); }
.contact__address { font-size: 0.95rem; color: var(--ink-soft); }
.contact__hours { font-size: 0.88rem; color: var(--ink-faint); }
.contact__wa {
  margin-top: 8px;
  align-self: flex-start;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.contact__wa:hover { background: var(--green-700); color: var(--white); }

/* ---------- Sede ---------- */
.sede {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}
.sede__photo {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sede__photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.sede__photo figcaption {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.sede__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.sede__address {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.sede__address strong {
  color: var(--green-700);
  font-weight: 700;
}
.sede__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--green-100);
}
.sede__map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 48px; height: 48px; border-radius: 10px; }
.footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}
.footer__brand p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer__legal { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); line-height: 1.6; }
.footer__copy { margin-top: 14px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }
.footer__credit {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__credit a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__credit a:hover { color: var(--gold-dark); }

/* ---------- Section images ---------- */
.section__img {
  margin-top: 48px;
  max-width: 560px;
  margin-inline: auto;
}
.section__img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.coop__image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 400px;
  box-shadow: var(--shadow-md);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(19, 142, 14, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--green-50);
  border: none;
  border-radius: 10px;
  font-size: 1.3rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.modal__close:hover { background: var(--green-100); color: var(--green-800); }
.modal__title {
  font-size: 1.5rem;
  color: var(--green-800);
  margin-bottom: 6px;
}
.modal__sub {
  font-size: 0.95rem;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.modal__form { display: flex; flex-direction: column; gap: 18px; }
.modal__field { display: flex; flex-direction: column; gap: 6px; }
.modal__field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.modal__field input,
.modal__field select,
.modal__field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--green-100);
  border-radius: var(--radius-sm);
  background: var(--offwhite);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  outline: none;
}
.modal__field input:focus,
.modal__field select:focus,
.modal__field textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(61, 154, 44, 0.15);
}
.modal__field input::placeholder,
.modal__field textarea::placeholder {
  color: var(--ink-faint);
}
.modal__field textarea { resize: vertical; min-height: 80px; }
.btn--full { width: 100%; }
.modal__note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp svg { width: 34px; height: 34px; }
.whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
.whatsapp__tooltip {
  position: absolute;
  right: 72px;
  bottom: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.whatsapp:hover .whatsapp__tooltip { opacity: 1; transform: translateX(0); }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero { padding: 140px 0 72px; }
  .hero__title { max-width: 100%; margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__media { order: -1; }
  .hero__media img { width: min(100%, 300px); }

  .nosotros, .coop { grid-template-columns: 1fr; gap: 40px; }
  .services, .contact, .sede { grid-template-columns: 1fr 1fr; }
  .asociate__steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { padding: 13px 16px; text-align: left; }
  .nav__cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .services, .contact, .sede, .nosotros__facts { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero__sub { font-size: 1.02rem; }
  .section__head { margin-bottom: 40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}
