/* ============================================================
   FESPE — Fundación de Economía Social
   Tipografía: Fraunces (display) + Hanken Grotesk (cuerpo)
   Firma visual: franja tejida tricolor (terracota/verde/morado),
   guiño textil andino acorde a la economía popular y solidaria.
   ============================================================ */

:root {
  --terracota: #E85D26;
  --terracota-oscuro: #C74812;
  --verde: #2E8B57;
  --morado: #6B3FA0;
  --papel: #FAF6F0;
  --crema: #F2EBE1;
  --tinta: #251C15;
  --tinta-suave: #6E6157;
  --borde: #E5DCD2;
  --terracota-rgb: 232, 93, 38;
  --verde-rgb: 46, 139, 87;
  --morado-rgb: 107, 63, 160;
  --franja: repeating-linear-gradient(
    90deg,
    var(--terracota) 0 18px,
    var(--verde) 18px 30px,
    var(--morado) 30px 38px,
    var(--verde) 38px 50px
  );
  --fuente-display: 'Fraunces', Georgia, serif;
  --fuente-cuerpo: 'Hanken Grotesk', 'Segoe UI', sans-serif;
}

html { color-scheme: light; scroll-behavior: smooth; }

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

body {
  font-family: var(--fuente-cuerpo);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tinta);
  background-color: var(--papel);
  -webkit-font-smoothing: antialiased;
}

button, a, input, textarea, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }

section[id] { scroll-margin-top: 84px; }

.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 9999;
  background: var(--terracota); color: #fff;
  padding: 12px 24px; font-size: 1rem; text-decoration: none;
}
.skip-link:focus { top: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1240px) { .container { padding: 0; } }

/* ---------- Botones ---------- */

.btn {
  display: inline-block;
  padding: 15px 40px;
  font-family: var(--fuente-cuerpo);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.btn-primary { background: var(--terracota); color: #fff; }
.btn-primary:hover { background: var(--terracota-oscuro); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* ---------- Navbar ---------- */

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.navbar::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--franja);
}
.navbar.scrolled { background-color: #fff; box-shadow: 0 2px 20px rgba(37, 28, 21, 0.08); }

.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
@media (min-width: 768px) { .navbar-inner { padding: 0 40px; } }
@media (min-width: 1240px) { .navbar-inner { padding: 0; } }

.navbar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; z-index: 1001; }
/* ponytail: el logo remoto es un JPEG con fondo negro; recortado en círculo funciona como insignia sobre claro y oscuro */
.navbar-logo img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.navbar-logo-text {
  font-family: var(--fuente-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.06em;
  transition: color 0.4s ease;
}
.navbar.scrolled .navbar-logo-text { color: var(--tinta); }

.nav-links { display: none; list-style: none; gap: 30px; align-items: center; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.92); text-decoration: none;
  letter-spacing: 0.04em; position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--terracota);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--tinta); }
.navbar.scrolled .nav-links a:hover { color: var(--terracota); }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.navbar.scrolled .hamburger span { background: var(--tinta); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(37, 28, 21, 0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  overscroll-behavior: contain;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--fuente-display);
  font-size: 1.5rem; color: #fff; text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--terracota); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 120%;
  background: url('assets/images/hero.jpg') center/cover no-repeat;
  z-index: 0; will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 18, 8, 0.78) 0%, rgba(30, 18, 8, 0.45) 55%, rgba(30, 18, 8, 0.25) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  margin: 0 auto; padding: 0 20px;
}
@media (min-width: 768px) { .hero-content { padding: 0 40px; } }
@media (min-width: 1240px) { .hero-content { padding: 0; } }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 14px;
  position: relative;
  animation: fadeInUp 0.8s ease forwards; opacity: 0;
}
.hero-eyebrow::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 64px; height: 4px;
  background: var(--franja);
}
.hero-content h1 {
  font-family: var(--fuente-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin-top: 24px;
  text-wrap: balance;
  animation: fadeInUp 0.8s ease 0.15s forwards; opacity: 0;
}
.hero-content h1 em {
  font-style: italic;
  color: #FFB48A;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 28px;
  max-width: 560px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s forwards; opacity: 0;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease 0.45s forwards; opacity: 0;
}
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--terracota-rgb), 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(var(--terracota-rgb), 0.18); }
}
#hero-cta.animated { animation: pulse-cta 2s infinite; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Secciones: cabeceras ---------- */

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracota);
  padding-top: 12px;
  position: relative;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 52px; height: 4px;
  background: var(--franja);
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-title {
  font-family: var(--fuente-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--tinta);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--tinta-suave);
  margin-top: 16px;
  line-height: 1.8;
}
.section-note {
  font-size: 0.85rem;
  color: var(--tinta-suave);
  margin-top: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--terracota);
}

/* ---------- Valores ---------- */

.valor-section { padding: 104px 0; background: var(--papel); }

.valor-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .valor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .valor-grid { grid-template-columns: repeat(4, 1fr); } }

.valor-card {
  position: relative;
  background: #fff;
  padding: 36px 28px;
  border-radius: 10px;
  border: 1px solid var(--borde);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.valor-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--franja);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.valor-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(37, 28, 21, 0.08); }
.valor-card:hover::before { transform: scaleX(1); }

.valor-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(var(--terracota-rgb), 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.valor-card .icon-wrap .material-icons { font-size: 28px; color: var(--terracota); }
.valor-card h3 {
  font-family: var(--fuente-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--tinta);
}
.valor-card p { font-size: 0.95rem; color: var(--tinta-suave); line-height: 1.7; }

.counters {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  margin-top: 72px; padding-top: 56px;
  border-top: 1px solid var(--borde);
}
@media (min-width: 768px) { .counters { grid-template-columns: repeat(4, 1fr); } }
.counter-item { text-align: center; }
.counter-number {
  font-family: var(--fuente-display);
  font-weight: 500;
  font-size: 3rem;
  color: var(--terracota);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.counter-label {
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--tinta-suave);
  margin-top: 6px;
}

/* ---------- Misión ---------- */

.mision-section { padding: 104px 0; background: var(--crema); }

.mision-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 768px) { .mision-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

.mision-image-wrap {
  position: relative;
  border-radius: 10px;
}
.mision-image-wrap::before {
  content: ''; position: absolute;
  top: 16px; left: -16px; right: 16px; bottom: -16px;
  border: 2px solid var(--terracota);
  border-radius: 10px;
  z-index: 0;
}
.mision-image-wrap img {
  position: relative; z-index: 1;
  width: 100%; height: 420px; object-fit: cover;
  border-radius: 10px;
}

.mision-text h2 {
  font-family: var(--fuente-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  color: var(--tinta);
  line-height: 1.15;
  margin-bottom: 24px;
  text-wrap: balance;
}
.mision-text p { font-size: 1.02rem; color: var(--tinta-suave); margin-bottom: 16px; line-height: 1.8; }

.mision-block { margin-bottom: 26px; }
.mision-block:last-child { margin-bottom: 0; }
.mision-block h3 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fuente-display);
  font-weight: 600; font-size: 1.25rem;
  color: var(--tinta);
  margin-bottom: 8px;
}
.mision-block h3 .material-icons { font-size: 22px; color: var(--terracota); }

/* ---------- Franja de valores ---------- */

.valores-strip {
  background: var(--tinta);
  padding: 56px 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-image: var(--franja) 1;
}
.valores-strip-label {
  text-align: center;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}
.valores-list {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  column-gap: 18px; row-gap: 14px;
}
.valores-list li {
  font-family: var(--fuente-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: #fff;
  display: flex; align-items: center; gap: 18px;
}
.valores-list li + li::before {
  content: '';
  width: 22px; height: 3px;
  background: var(--franja);
  flex-shrink: 0;
}

/* ---------- Servicios ---------- */

.servicios-section { padding: 104px 0; background: var(--papel); }

.servicios-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .servicios-grid { grid-template-columns: repeat(3, 1fr); } }

.servicio-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--borde);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.servicio-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--franja);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.servicio-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(37, 28, 21, 0.08); }
.servicio-card:hover::after { transform: scaleX(1); }

.servicio-card-img { overflow: hidden; height: 220px; }
.servicio-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.servicio-card:hover .servicio-card-img img { transform: scale(1.05); }

.servicio-card-body { padding: 28px 26px 32px; }
.servicio-card-body h3 {
  font-family: var(--fuente-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--tinta);
  margin-bottom: 12px;
}
.servicio-card-body p { font-size: 0.95rem; color: var(--tinta-suave); line-height: 1.7; margin-bottom: 20px; }

.servicio-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 700;
  color: var(--terracota); text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s ease, gap 0.3s ease;
}
.servicio-cta:hover { color: var(--terracota-oscuro); gap: 12px; }
.servicio-cta .material-icons { font-size: 18px; }

/* ---------- Capacitaciones ---------- */

.capacitaciones-section { padding: 104px 0; background: var(--crema); }

.capacitaciones-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 900px) { .capacitaciones-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }

.capacitaciones-cta { margin-top: 28px; }

.capacitaciones-list {
  list-style: none;
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 560px) { .capacitaciones-list { grid-template-columns: repeat(2, 1fr); } }

.capacitaciones-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 10px;
  padding: 18px 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.capacitaciones-list li:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(37, 28, 21, 0.07); }
.capacitaciones-list .material-icons { font-size: 22px; color: var(--terracota); margin-top: 2px; flex-shrink: 0; }
.capacitaciones-list strong {
  display: block;
  font-family: var(--fuente-display);
  font-weight: 600; font-size: 1.02rem;
  color: var(--tinta);
  margin-bottom: 2px;
}
.capacitaciones-list span:not(.material-icons) { font-size: 0.87rem; color: var(--tinta-suave); line-height: 1.55; }

/* ---------- Galería ---------- */

.galeria-section { padding: 104px 0; background: var(--papel); }

.galeria-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) {
  .galeria-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
}
@media (min-width: 1024px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
  .galeria-item:nth-child(1) { grid-row: span 2; }
  .galeria-item:nth-child(5) { grid-row: span 2; }
}

.galeria-item {
  position: relative;
  border-radius: 10px; overflow: hidden;
  min-height: 260px;
}
.galeria-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 5px; background: var(--franja);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.galeria-item:hover::after { transform: translateY(0); }
.galeria-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.galeria-item:hover img { transform: scale(1.06); }

/* ---------- Testimonios ---------- */

.testimonios-section { padding: 104px 0; background: var(--crema); }

.testimonios-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .testimonios-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonio-card {
  position: relative;
  background: #fff;
  padding: 40px 30px 32px;
  border-radius: 10px;
  border: 1px solid var(--borde);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonio-card::before {
  content: '“';
  position: absolute; top: 14px; left: 26px;
  font-family: var(--fuente-display);
  font-style: italic;
  font-size: 4rem;
  color: rgba(var(--terracota-rgb), 0.18);
  line-height: 1;
}
.testimonio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(37, 28, 21, 0.06); }

.testimonio-text {
  position: relative;
  font-size: 0.97rem; color: var(--tinta-suave);
  line-height: 1.8; font-style: italic;
  margin: 16px 0 20px;
}
.testimonio-stars { display: flex; gap: 2px; margin-bottom: 18px; }
.testimonio-stars .material-icons { font-size: 17px; color: #E8A020; }

.testimonio-author { display: flex; align-items: center; gap: 14px; }
.testimonio-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  outline: 2px solid var(--terracota); outline-offset: 2px;
}
.testimonio-name { font-family: var(--fuente-display); font-weight: 600; font-size: 1rem; color: var(--tinta); }
.testimonio-role { font-size: 0.85rem; color: var(--tinta-suave); }

/* ---------- Banda CTA ---------- */

.cta-band {
  background: var(--tinta);
  padding: 88px 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-image: var(--franja) 1;
}
.cta-band-inner { text-align: center; }
.cta-band h2 {
  font-family: var(--fuente-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1.15;
  max-width: 20ch;
  margin: 0 auto;
  text-wrap: balance;
}
.cta-band h2 em { font-style: italic; color: #FFB48A; }
.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-top: 18px;
}
.cta-band-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-top: 36px;
}

/* ---------- FAQ ---------- */

.faq-section { padding: 104px 0; background: var(--papel); }

.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--borde); }
.faq-question {
  width: 100%; background: none; border: none;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--fuente-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--tinta);
  text-align: left;
  transition: color 0.3s ease;
}
.faq-question:hover { color: var(--terracota); }
.faq-question .material-icons {
  font-size: 24px; flex-shrink: 0; margin-left: 16px;
  transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .material-icons { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 24px; font-size: 0.97rem; color: var(--tinta-suave); line-height: 1.8; }

/* ---------- Contacto ---------- */

.contacto-section { padding: 104px 0; background: var(--crema); }

.contacto-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .contacto-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

.contacto-form .form-group { margin-bottom: 22px; }
.contacto-form label {
  display: block;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--tinta);
  margin-bottom: 8px;
}
.contacto-form input, .contacto-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--fuente-cuerpo);
  font-size: 0.97rem;
  color: var(--tinta);
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contacto-form input:focus, .contacto-form textarea:focus {
  border-color: var(--terracota);
  box-shadow: 0 0 0 3px rgba(var(--terracota-rgb), 0.12);
}
.contacto-form textarea { height: 140px; resize: vertical; }
.form-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-status { display: none; padding: 14px 16px; border-radius: 6px; font-size: 0.95rem; margin-top: 16px; }
.form-status.success {
  display: block;
  background: rgba(var(--verde-rgb), 0.1);
  border: 1px solid var(--verde);
  color: var(--verde);
}
.form-status.error {
  display: block;
  background: rgba(var(--terracota-rgb), 0.08);
  border: 1px solid var(--terracota);
  color: var(--terracota-oscuro);
}

.contacto-info { display: flex; flex-direction: column; gap: 26px; }
.contacto-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contacto-info-item .icon-circle {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(var(--terracota-rgb), 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contacto-info-item .material-icons { font-size: 22px; color: var(--terracota); }
.contacto-info-item .fab { font-size: 20px; color: var(--terracota); }
.contacto-info-item h3 {
  font-family: var(--fuente-display);
  font-weight: 600; font-size: 1.05rem;
  color: var(--tinta); margin-bottom: 2px;
}
.contacto-info-item p, .contacto-info-item a {
  font-size: 0.95rem; color: var(--tinta-suave);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contacto-info-item a:hover { color: var(--terracota); }
.contacto-map { margin-top: 8px; }

/* ---------- Footer ---------- */

.footer {
  background: #1D150F;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  border-top: 5px solid transparent;
  border-image: var(--franja) 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand img { height: 60px; width: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }

.footer h4 {
  font-family: var(--fuente-display);
  font-weight: 600; font-size: 1.05rem;
  color: #fff; margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--terracota); }

.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px; font-size: 0.9rem;
}
.footer-contact-item .material-icons, .footer-contact-item .fab {
  font-size: 18px; color: var(--terracota); margin-top: 2px;
}
.footer-contact-item a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.3s ease; }
.footer-contact-item a:hover { color: var(--terracota); }

.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6); text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.footer-social a:hover { background: var(--terracota); border-color: var(--terracota); color: #fff; }

.footer-bottom {
  padding: 24px 0; text-align: center;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.4);
}
.footer-credit { margin-top: 8px; }

/* ---------- WhatsApp flotante ---------- */

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; text-decoration: none;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  animation: pulse-wa 2s infinite;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.6); }
}

/* ---------- Animaciones de scroll ---------- */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .hero-eyebrow, .hero-content h1, .hero-sub, .hero-actions { opacity: 1; transform: none; animation: none; }
}
