/* ============================================================
   Hogar La Presencia de Jehová
   Paleta cálida (crema, café espresso, dorado, salvia)
   Tipografía: Cormorant Garamond (display) + Nunito (texto)
   ============================================================ */

:root {
  --cream: #f8f4ea;
  --cream-2: #f2ebda;
  --ivory: #fffdf8;
  --espresso: #3a2e25;
  --espresso-soft: #5a4a3d;
  --brown: #6e5643;
  --brown-deep: #4f3b2c;
  --gold: #c4a059;
  --gold-deep: #a9803f;
  --sage: #9db08c;
  --sage-deep: #7a8f66;
  --line: rgba(110, 86, 67, 0.16);
  --shadow: 0 18px 50px -24px rgba(79, 59, 44, 0.45);
  --shadow-sm: 0 8px 24px -16px rgba(79, 59, 44, 0.5);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.container.narrow { max-width: 820px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brown-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 200;
}
.skip-link:focus { left: 12px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ===== Typography helpers ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--brown-deep); margin: 0; }
em { font-style: italic; color: var(--gold-deep); }

.section-kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage-deep);
  margin: 0 0 0.9rem;
}
.section-kicker.light { color: rgba(255,255,255,0.85); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-lead { font-size: 1.12rem; color: var(--espresso-soft); margin: 1rem 0 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--brown-deep);
  border-color: var(--gold);
}
.btn-ghost:hover { background: rgba(196, 160, 89, 0.14); transform: translateY(-2px); }
.btn-block { width: 100%; text-align: center; }
.btn-icon { display: inline-flex; align-items: center; gap: 0.55em; }
.btn-light { background: #fff; color: var(--brown-deep); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #0b3d24; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: #1fbe5b; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-facebook { background: #1877f2; color: #fff; box-shadow: var(--shadow-sm); }
.btn-facebook:hover { background: #0f66d9; transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 234, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--brown-deep); letter-spacing: 0.02em; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.nav-menu a { text-decoration: none; font-weight: 600; color: var(--espresso-soft); font-size: 1rem; transition: color 0.15s ease; }
.nav-menu a:hover { color: var(--brown-deep); }
.nav-menu .nav-cta {
  background: var(--brown-deep);
  color: #fff;
  padding: 0.55em 1.2em;
  border-radius: 999px;
}
.nav-menu .nav-cta:hover { background: var(--brown); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--brown-deep); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s 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;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(196,160,89,0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(157,176,140,0.14), transparent 55%),
    var(--cream);
  padding: clamp(2.5rem, 6vw, 5rem) 0 2rem;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold-deep);
  background: rgba(196,160,89,0.14);
  padding: 0.4em 1em;
  border-radius: 999px;
  margin: 0 0 1.2rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.hero .lead {
  font-size: 1.2rem;
  color: var(--espresso-soft);
  max-width: 34em;
  margin: 0 0 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.hero-assurances {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-weight: 600;
  color: var(--espresso-soft);
  font-size: 0.98rem;
}
.hero-assurances li { display: flex; align-items: center; gap: 0.55rem; }
.hero-assurances .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(157,176,140,0.22); }

.hero-emblem { display: flex; justify-content: center; }
.emblem-halo {
  position: relative;
  width: min(430px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--ivory) 0%, var(--cream-2) 70%, transparent 72%);
  box-shadow: 0 30px 70px -34px rgba(79,59,44,0.5);
  animation: floaty 7s ease-in-out infinite;
}
.emblem-halo::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(196,160,89,0.4);
}
.emblem-halo img { width: 88%; height: auto; }

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

.olive-divider { display: flex; justify-content: center; margin-top: clamp(1.5rem, 4vw, 3rem); }

/* ===== Welcome ===== */
.welcome { padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center; }
.welcome .section-lead { font-size: 1.18rem; margin-top: 1.3rem; }

/* ===== Misión / Visión ===== */
.mv { padding: 0 0 clamp(3.5rem, 8vw, 6rem); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.mv-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.mv-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
}
.mv-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(157,176,140,0.16);
  color: var(--sage-deep);
  margin-bottom: 1.2rem;
}
.mv-card h3 { font-size: 1.9rem; margin-bottom: 0.7rem; }
.mv-card p { margin: 0; color: var(--espresso-soft); }

/* ===== Servicios ===== */
.services {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(157,176,140,0.12), transparent 60%),
    var(--cream-2);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.7rem);
}
.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(196,160,89,0.18), rgba(157,176,140,0.18));
  color: var(--brown);
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--espresso-soft); font-size: 1rem; }

/* ===== Valores ===== */
.values { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.values-copy .btn { margin-top: 1.6rem; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.values-list li {
  display: flex;
  gap: 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.values-list .check {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 800;
}
.values-list strong { color: var(--brown-deep); }
.values-list div { color: var(--espresso-soft); }

/* ===== Ambiente ===== */
.ambience {
  padding: clamp(4rem, 9vw, 7rem) 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(60,46,36,0.82), rgba(60,46,36,0.9)),
    radial-gradient(700px 400px at 50% 0%, var(--brown), var(--brown-deep));
}
.ambience-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.35;
  font-style: italic;
  margin: 0 auto;
  max-width: 20em;
  color: #fdf8ee;
}
.ambience-caption { margin-top: 1.5rem; color: rgba(255,255,255,0.8); font-weight: 600; letter-spacing: 0.03em; }

/* ===== Contacto ===== */
.contact { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-info li { display: flex; align-items: center; gap: 0.9rem; font-weight: 600; color: var(--espresso-soft); }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--brown-deep); text-decoration: underline; }
.ci-icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(196,160,89,0.16);
  color: var(--gold-deep);
}

.contact-form {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--brown-deep); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8em 1em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--espresso);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196,160,89,0.18);
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--espresso-soft); margin: 0.9rem 0 0; text-align: center; }
.form-status {
  margin: 0.8rem 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--sage-deep);
  background: rgba(157, 176, 140, 0.16);
  border: 1px solid rgba(157, 176, 140, 0.4);
  border-radius: 12px;
  padding: 0.7em 1em;
}
.form-status.is-error {
  color: #9a3b2f;
  background: rgba(154, 59, 47, 0.1);
  border-color: rgba(154, 59, 47, 0.35);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,0.82);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { background: rgba(255,255,255,0.94); border-radius: 50%; padding: 4px; }
.footer-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0; }
.footer-tag { margin: 0.15rem 0 0; font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { text-decoration: none; font-weight: 600; color: rgba(255,255,255,0.82); transition: color 0.15s ease; }
.footer-nav a:hover { color: #fff; }
.footer-copy { text-align: center; margin: 1.5rem 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ===== Galería / Carrusel ===== */
.gallery { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--cream-2); }
.carousel { position: relative; max-width: 960px; margin: 0 auto; }
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: clamp(340px, 60vh, 580px);
  background: #2c231c;
}
.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Fondo difuminado con la misma foto para rellenar los lados sin recortar */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: blur(26px) brightness(0.85) saturate(1.1);
  opacity: 0.6;
}
/* La foto real: se muestra completa, sin recortes, en su orientación */
.slide-photo {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.55);
}
.slide.is-placeholder .slide-bg { display: none; }
.slide-ph {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--sage-deep);
  background:
    repeating-linear-gradient(45deg, rgba(157,176,140,0.08) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, rgba(196,160,89,0.12), rgba(157,176,140,0.14));
}
.slide-ph span { font-weight: 600; font-size: 0.95rem; }
.slide-ph code {
  display: inline-block;
  margin-top: 0.3rem;
  background: rgba(255,255,255,0.7);
  padding: 0.15em 0.5em;
  border-radius: 6px;
  font-size: 0.85em;
  color: var(--brown-deep);
}
.slide.is-placeholder img { display: none; }
.slide.is-placeholder .slide-ph { display: grid; }
.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 1.4rem 1.2rem 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(58,46,37,0.72));
}
.slide.is-placeholder .slide-caption { color: var(--brown-deep); background: none; text-shadow: none; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--brown-deep);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.4rem; }
.carousel-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(110,86,67,0.28);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel-dots button.active { background: var(--gold-deep); transform: scale(1.25); }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--sage-deep), var(--brown));
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.cta-band p { margin: 0.5rem 0 0; color: rgba(255,255,255,0.9); font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ===== Contacto extra ===== */
.contact-map-btn { margin-top: 1.6rem; }

/* ===== Botón flotante de llamada ===== */
.fab-stack {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.fab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.8em 1.25em;
  border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(58,46,37,0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fab:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(58,46,37,0.7); }
.fab svg { flex: none; }
.fab-wa { background: #25d366; color: #08361f; }
.fab-call { background: linear-gradient(135deg, var(--brown), var(--brown-deep)); }

/* ===== Credenciales / Licencias ===== */
.credentials { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.cred-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.cred-item {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.cred-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196,160,89,0.18), rgba(157,176,140,0.2));
  color: var(--gold-deep);
}
.cred-item strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--brown-deep); margin-bottom: 0.4rem; line-height: 1.2; }
.cred-item span { color: var(--espresso-soft); font-size: 0.96rem; }

/* ===== Botones de contacto ===== */
.contact-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ===== Enlace social del pie ===== */
.footer-social { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ===== Footer contact list ===== */
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  max-width: 320px;
}
.footer-contact a { text-decoration: none; color: rgba(255,255,255,0.82); transition: color 0.15s ease; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1.2rem;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { border-bottom: none; padding-top: 0.6rem; }
  .nav-menu a { display: block; padding: 0.9rem 0.4rem; font-size: 1.05rem; }
  .nav-menu .nav-cta { text-align: center; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-emblem { order: 1; }
  .hero-actions, .hero-assurances { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }

  .mv-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .cards-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
  .slide-caption { font-size: 1.15rem; }
  .fab span { display: none; }
  .fab { padding: 0.9em; }
}
