/* ============================================================
   Fundación Amor en Acción Ahora — estilos
   Paleta tomada del logo
   ============================================================ */

:root {
  --rojo: #A62E2E;        /* rojo vino del logo */
  --rojo-oscuro: #7E2222; /* hover / acentos profundos */
  --rosa: #E4B4B4;        /* rosa suave del corazón */
  --rosa-claro: #F6E4E4;  /* fondos cálidos */
  --tinta: #23191A;       /* texto principal */
  --gris: #574b4b;        /* texto secundario (más oscuro = más definido) */
  --crema: #FBF8F7;       /* fondo general */
  --crema-2: #F4EEEC;     /* secciones alternas */
  --wa: #25D366;          /* verde WhatsApp */
  --wa-oscuro: #1da851;
  --blanco: #ffffff;
  --sombra: 0 14px 40px rgba(126, 34, 34, 0.10);
  --sombra-sm: 0 6px 20px rgba(126, 34, 34, 0.08);
  --radio: 18px;
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  font-weight: 600;
  color: var(--tinta);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: var(--max); margin: 0 auto; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
/* brillo que barre al pasar el cursor */
.btn::before {
  content: "";
  position: absolute; top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-22deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }
/* el ícono se mueve un poquito */
.btn svg { transition: transform .2s ease; position: relative; }
.btn:hover svg { transform: translateX(3px) scale(1.06); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.35); }
.btn-wa:hover { background: var(--wa-oscuro); }
.btn-wa-sm { background: var(--wa); color: #fff; padding: 10px 18px; font-size: 15px; }
.btn-wa-sm:hover { background: var(--wa-oscuro); }
.btn-lg { padding: 18px 38px; font-size: 18px; }

.btn-primary { background: var(--rojo); color: #fff; box-shadow: var(--sombra-sm); }
.btn-primary:hover { background: var(--rojo-oscuro); }

.btn-ghost { background: transparent; color: var(--rojo); border-color: var(--rosa); }
.btn-ghost:hover { background: var(--rosa-claro); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 247, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(166,46,46,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--rojo); font-weight: 700; }
.brand-text strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.12rem; font-weight: 600; color: var(--tinta); }

.nav-list { list-style: none; display: flex; align-items: center; gap: 26px; }
.nav-list a { font-weight: 600; font-size: 15.5px; color: var(--tinta); transition: color .2s; }
.nav-list a:hover { color: var(--rojo); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--rojo); border-radius: 3px; transition: .3s; }

/* ---------- Héroe ---------- */
.hero { padding: 70px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px;
  font-weight: 800; color: var(--rojo); margin-bottom: 14px;
}
.eyebrow-light { color: var(--rosa); }

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.01em; }
.hero h1 .hl { color: var(--rojo); font-style: italic; }
.lead { font-size: 1.18rem; color: var(--gris); margin: 22px 0 30px; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-highlight {
  display: inline-block; margin: 4px 0 26px;
  background: var(--rosa-claro); border-left: 4px solid var(--rojo);
  padding: 12px 18px; border-radius: 10px; font-size: 1rem; color: var(--tinta);
}
.hero-highlight strong { color: var(--rojo); }
.hero-note { margin-top: 20px; font-size: 14.5px; color: var(--gris); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-logo { width: 88%; max-width: 420px; position: relative; z-index: 2; filter: drop-shadow(0 18px 30px rgba(126,34,34,.12)); }
.hero-blob {
  position: absolute; inset: 0; margin: auto;
  width: 82%; padding-bottom: 82%; height: 0; border-radius: 46% 54% 55% 45% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 40% 35%, var(--rosa-claro), var(--rosa));
  opacity: .55; z-index: 1; filter: blur(6px);
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0deg);} 50%{ transform: translateY(-14px) rotate(4deg);} }

/* ---------- Secciones ---------- */
.section { padding: 78px 0; }
.section-alt { background: var(--crema-2); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.section-lead { font-size: 1.12rem; color: var(--gris); margin-top: 14px; }
.section-head { margin-bottom: 46px; }
.section-head.center, .narrow.center { margin-left: auto; margin-right: auto; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--blanco); border-radius: var(--radio); padding: 30px 24px;
  box-shadow: var(--sombra-sm); border: 1px solid rgba(166,46,46,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.card-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 28px; background: var(--rosa-claro); margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--gris); font-size: .98rem; }
.help-card .card-link { display: inline-block; margin-top: 16px; color: var(--rojo); font-weight: 700; transition: color .2s ease, transform .2s ease; }
.help-card .card-link:hover { color: var(--rojo-oscuro); transform: translateX(4px); }

/* ---------- Qué hacemos: tarjetas ilustradas ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--blanco); border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra-sm); border: 1px solid rgba(166,46,46,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--sombra); }
.feature-media { height: 122px; display: grid; place-items: center; position: relative; overflow: hidden; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.28), transparent 62%); }
.fico { width: 54px; height: 54px; color: #fff; position: relative; z-index: 1; transition: transform .3s ease; }
.feature:hover .fico { transform: scale(1.14) translateY(-3px); }
.m1 { background: linear-gradient(135deg, #E4B4B4, #A62E2E); }
.m2 { background: linear-gradient(135deg, #C85C54, #7E2222); }
.m3 { background: linear-gradient(135deg, #A62E2E, #5E1A1A); }
.m4 { background: linear-gradient(135deg, #D08A84, #A62E2E); }
.feature-txt { padding: 22px 22px 26px; }
.feature-txt h3 { font-size: 1.13rem; margin-bottom: 8px; }
.feature-txt p { color: var(--gris); font-size: .96rem; }

/* ---------- Cómo ayudar: tarjetas con medallón ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.help {
  background: var(--blanco); border-radius: var(--radio); padding: 34px 26px; text-align: center;
  box-shadow: var(--sombra-sm); border: 1px solid rgba(166,46,46,.06);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.help:hover { transform: translateY(-8px); box-shadow: var(--sombra); }
.help-medal {
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rosa-claro), #fff);
  border: 1px solid rgba(166,46,46,.12); margin-bottom: 18px; transition: transform .3s ease;
}
.help:hover .help-medal { transform: scale(1.07) rotate(-4deg); }
.hico { width: 42px; height: 42px; color: var(--rojo); }
.help h3 { font-size: 1.2rem; margin-bottom: 10px; }
.help p { color: var(--gris); font-size: .96rem; margin-bottom: 22px; flex: 1; }
.help-btn { align-self: stretch; justify-content: center; }

/* ---------- Comedor (proyecto insignia) ---------- */
.comedor {
  background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.comedor-hearts { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.comedor-hearts svg { position: absolute; fill: rgba(255,255,255,.07); animation: floatHeart 9s ease-in-out infinite; }
.comedor-hearts svg:nth-child(1) { left: 5%;  top: 22%; width: 48px; animation-delay: 0s; }
.comedor-hearts svg:nth-child(2) { left: 82%; top: 10%; width: 72px; animation-delay: 1.4s; }
.comedor-hearts svg:nth-child(3) { left: 88%; top: 62%; width: 40px; animation-delay: 2.8s; }
.comedor-hearts svg:nth-child(4) { left: 14%; top: 68%; width: 58px; animation-delay: 2s; }
.comedor-hearts svg:nth-child(5) { left: 46%; top: 84%; width: 34px; animation-delay: 4s; }
@keyframes floatHeart { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-24px) rotate(9deg); } }
.comedor-grid, .comedor .impacto { position: relative; z-index: 1; }
.impacto { margin-top: 46px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
.impacto-title { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; color: var(--rosa); margin-bottom: 26px; }
.impacto-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impacto-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.impacto-item svg { width: 46px; height: 46px; color: #fff; }
.impacto-item span { font-weight: 600; font-size: 1rem; color: rgba(255,255,255,.95); max-width: 22ch; }
.comedor-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.comedor h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.comedor p { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.comedor strong { color: #fff; }
.comedor .btn-primary { background: #fff; color: var(--rojo); margin-top: 8px; }
.comedor .btn-primary:hover { background: var(--rosa-claro); }
.comedor-list { list-style: none; display: grid; gap: 14px; }
.comedor-list li {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  padding: 16px 20px; border-radius: 14px; font-weight: 600; display: flex; align-items: center; gap: 14px;
}
.comedor-list li span { font-size: 22px; }

/* ---------- Misión / Visión ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  background: var(--blanco); border-radius: var(--radio); padding: 36px 32px;
  box-shadow: var(--sombra-sm); border-left: 5px solid var(--rojo);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.mv-card h3 { font-size: 1.4rem; color: var(--rojo); margin-bottom: 12px; }
.mv-card h3::after {
  content: ""; display: block; height: 3px; width: 0; margin-top: 10px;
  background: var(--rosa); border-radius: 3px; transition: width .7s ease .1s;
}
.mv-card.visible h3::after { width: 54px; }
.mv-card p { color: var(--gris); }

/* ---------- CTA final ---------- */
.cta-final { background: var(--rosa-claro); }
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.cta-final .btn { margin-top: 28px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--tinta); color: #e9dede; padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.footer-logo { height: 96px; width: auto; }
.footer-tag { margin-top: 14px; color: #c9b9b9; font-style: italic; font-family: 'Fraunces', serif; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a, .site-footer ul li { color: #c9b9b9; font-size: .96rem; transition: color .2s; }
.site-footer ul a:hover { color: var(--rosa); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom p { color: #a99a9a; font-size: .88rem; text-align: center; }

/* ---------- Contacto ---------- */
.contact-info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-top: 40px;
}
.contact-item {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: #fff; border-radius: 14px; padding: 16px 22px;
  box-shadow: var(--sombra-sm); border: 1px solid rgba(166,46,46,.06);
  transition: transform .2s ease, box-shadow .2s ease; cursor: pointer;
  font-size: .95rem; max-width: 100%;
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.contact-item strong { color: var(--rojo); }
.contact-ic {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px; background: var(--rosa-claro);
}
.map-wrap {
  margin-top: 40px; border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); line-height: 0;
}
.map-wrap iframe { display: block; filter: saturate(.92); border: 0; width: 100%; height: 340px; }
.map-facade {
  width: 100%; height: 220px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 60%),
    linear-gradient(135deg, var(--rosa) 0%, var(--rosa-claro) 100%);
  color: var(--tinta); font-family: inherit; transition: filter .2s ease;
}
.map-facade:hover { filter: brightness(1.03); }
.map-facade-ic { font-size: 40px; animation: mapBounce 2s ease-in-out infinite; }
@keyframes mapBounce { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }
.map-facade-txt { text-align: left; line-height: 1.4; }
.map-facade-txt strong { display: block; font-size: 1.05rem; color: var(--rojo-oscuro); }
.map-facade-txt span { font-size: .9rem; color: var(--gris); }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37,211,102,.5);
  animation: pulse 2.4s infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Entrada del héroe ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .eyebrow    { animation: fadeUp .6s .05s both; }
.hero h1          { animation: fadeUp .7s .15s both; }
.hero .lead       { animation: fadeUp .6s .28s both; }
.hero-highlight   { animation: fadeUp .6s .40s both; }
.hero-cta         { animation: fadeUp .6s .52s both; }
.hero-note        { animation: fadeUp .6s .62s both; }
.hero-visual      { animation: fadeUp .9s .20s both; }

/* ---------- WhatsApp que "saluda" + burbuja ---------- */
.wa-float svg { animation: waSwing 3s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes waSwing {
  0%, 55%, 100% { transform: rotate(0); }
  60% { transform: rotate(-13deg); }
  68% { transform: rotate(11deg); }
  76% { transform: rotate(-8deg); }
  84% { transform: rotate(5deg); }
  92% { transform: rotate(-2deg); }
}
.wa-float::after {
  content: "¡Escríbenos!";
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--tinta); font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: 12px; box-shadow: var(--sombra-sm);
  white-space: nowrap; opacity: 0; transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.wa-float:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Respeta a quien prefiere menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Sellos de confianza (héroe) ---------- */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--tinta); }
.trust-check { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--rojo); color: #fff; font-size: 12px; font-weight: 800; }

/* ---------- Galería "Nuestra labor" ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 148px; gap: 14px; }
.gtile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; }
.gtile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), transparent 60%); }
.gtile svg { width: 40px; height: 40px; opacity: .95; position: relative; z-index: 1; transition: transform .3s ease; }
.gtile:hover svg { transform: scale(1.15); }
.gtile figcaption { font-weight: 700; font-size: .95rem; opacity: .96; position: relative; z-index: 1; }
.gtile.a { grid-column: span 3; grid-row: span 2; background: linear-gradient(135deg, #E4B4B4, #A62E2E); }
.gtile.b { grid-column: span 3; background: linear-gradient(135deg, #C85C54, #7E2222); }
.gtile.c { grid-column: span 3; background: linear-gradient(135deg, #A62E2E, #5E1A1A); }
.gtile.d { grid-column: span 2; background: linear-gradient(135deg, #D08A84, #A62E2E); }
.gtile.e { grid-column: span 4; background: linear-gradient(135deg, #B84A44, #7E2222); }
.gallery-note { text-align: center; margin-top: 22px; color: var(--gris); font-size: .95rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--blanco); border: 1px solid rgba(166,46,46,.1); border-radius: 14px; box-shadow: var(--sombra-sm); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--tinta); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--rojo); font-weight: 400; line-height: 1; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rojo); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--gris); }

/* ---------- Barra de progreso de scroll ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rosa), var(--rojo)); z-index: 300; }

/* ---------- Foco accesible (teclado) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--rojo); outline-offset: 3px; border-radius: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-logo { max-width: 320px; }
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .impacto-row { grid-template-columns: 1fr; gap: 26px; }
  .comedor-grid, .mv-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .brand-mark { height: 40px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text small { font-size: 9px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 132px; }
  .gtile.a, .gtile.b, .gtile.c, .gtile.d, .gtile.e { grid-column: span 1; grid-row: span 1; }
  .gtile.a { grid-column: span 2; }
  .trust { justify-content: center; }
  .nav-list {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--crema); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 5%; box-shadow: var(--sombra);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-list.open { max-height: 400px; padding: 14px 5%; }
  .nav-list li { border-bottom: 1px solid rgba(166,46,46,.06); }
  .nav-list li:last-child { border: none; padding-top: 8px; }
  .nav-list a { display: block; padding: 12px 4px; }
  .btn-wa-sm { display: inline-block; text-align: center; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .cards, .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding: 40px 0 60px; }
  .wa-float::after { display: none; }
  .contact-item { width: 100%; }
}
