/* ============================================================
   GRUPO GERRO – styles.css
   Paleta: Navy #1B263B  |  Gold #C5A059
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --navy:       #1B263B;
  --navy-dark:  #111a28;
  --navy-mid:   #243044;
  --gold:       #C5A059;
  --gold-light: #d9b97a;
  --gold-pale:  rgba(197,160,89,0.12);
  --white:      #ffffff;
  --off-white:  #F7F5F0;
  --text-muted: #8a99b0;
  --border:     rgba(197,160,89,0.20);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--navy-dark);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.03em;
}
.topbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
}
.topbar a { color: var(--gold); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-links { display: flex; gap: 1.5rem; align-items: center; }
.topbar .tb-links span { color: var(--border); }

/* ── NAVBAR ── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px;
  background: transparent;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }

/* ── Logo navbar ── */
.logo-wrap { gap: 0; }

.logo-navbar {
  height: 58px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(197, 160, 89, 0.25);
  transition: background .2s, box-shadow .2s;
  flex-shrink: 0;
}
.logo-navbar:hover {
  background: #ffffff;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(197, 160, 89, 0.45);
}
.logo-navbar img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* Separador vertical entre logo y texto */
.logo-sep {
  width: 1px;
  height: 32px;
  background: rgba(197, 160, 89, 0.35);
  margin: 0 14px;
  flex-shrink: 0;
}

/* Texto al lado del logo */
.logo-text { line-height: 1.3; }
.logo-text .lg-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.04em;
}
.logo-text .lg-sub {
  font-size: 0.62rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.10em;
  text-transform: uppercase; margin-top: 3px;
  display: block;
}
.logo-text .lg-contact {
  font-size: 0.62rem; font-weight: 400;
  color: rgba(255,255,255,0.40);
  margin-top: 2px; display: block;
  letter-spacing: 0.02em;
}

/* Ocultar el separador y texto en pantallas pequeñas */
@media (max-width: 768px) {
  .logo-sep,
  .logo-text { display: none; }
  .logo-navbar { height: 48px; }
}
.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; }
.nav-links a {
  display: block; padding: 8px 16px;
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  border-radius: 6px; transition: all .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(197,160,89,0.12); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy-dark) !important;
  padding: 8px 20px !important; border-radius: 6px !important; font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px) !important; }
.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; color: white; font-size: 1.4rem; padding: 4px;
}

/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--navy-dark);
}

/* Carrusel de fondo */
.hero-carousel {
  position: absolute; inset: 0; z-index: 0;
}
.hero-carousel .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-carousel .slide.active { opacity: 1; }

/* Overlay oscuro sobre el carrusel */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(17,26,40,0.88) 0%,
    rgba(17,26,40,0.65) 55%,
    rgba(17,26,40,0.40) 100%
  );
}

/* Cuadrícula sutil */
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(197,160,89,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,160,89,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Círculo decorativo animado */
.hero-accent {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(197,160,89,0.18);
  box-shadow: 0 0 120px rgba(197,160,89,0.08);
  z-index: 3;
  animation: orbitSpin 18s linear infinite;
}
.hero-accent::before {
  content: '';
  position: absolute; inset: 30px; border-radius: 50%;
  border: 1px solid rgba(197,160,89,0.10);
  animation: orbitSpin 12s linear infinite reverse;
}
.hero-accent::after {
  content: '';
  position: absolute; inset: 60px; border-radius: 50%;
  border: 1px solid rgba(197,160,89,0.07);
  animation: orbitPulse 4s ease-in-out infinite;
}
/* Punto de luz que orbita */
.hero-accent-dot {
  position: absolute; right: 5%; top: 50%;
  width: 420px; height: 420px; border-radius: 50%;
  z-index: 3;
  transform: translateY(-50%);
}
.hero-accent-dot::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%; margin-left: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 4px rgba(197,160,89,0.5);
  animation: orbitDot 18s linear infinite;
  transform-origin: 4px 214px;
}

@keyframes orbitSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}
@keyframes orbitPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.03); }
}
@keyframes orbitDot {
  from { transform: rotate(0deg)   translateY(-210px); }
  to   { transform: rotate(360deg) translateY(-210px); }
}

/* Indicadores del carrusel */
.hero-indicators {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.hero-indicators button {
  width: 28px; height: 4px; border-radius: 2px; border: none;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: all .3s;
  padding: 0;
}
.hero-indicators button.active {
  background: var(--gold); width: 48px;
}

/* Flechas del carrusel */
.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 1.5rem; z-index: 5;
}
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(197,160,89,0.25);
  color: var(--gold); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(197,160,89,0.2); border-color: var(--gold); }

/* Contenido del hero */
.hero-content {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  width: 100%; position: relative; z-index: 4;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 30px; margin-bottom: 1.5rem;
}
.hero-eyebrow span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 1.2rem;
  max-width: 640px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 4rem;
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.hero-stat { border-left: 2px solid var(--gold); padding-left: 1rem; }
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1;
}
.hero-stat .num span { color: var(--gold); }
.hero-stat .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.04em; }

/* ── BOTONES ── */
.btn-primary {
  background: var(--gold); color: var(--navy-dark); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 8px;
  transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197,160,89,0.3);
}
.btn-outline {
  background: transparent; color: var(--white); text-decoration: none;
  font-weight: 500; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── STRIP DE SERVICIOS ── */
.strip { background: var(--navy); }
.strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.strip-item {
  padding: 1.8rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 14px;
  transition: background .2s;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(197,160,89,0.06); }
.strip-icon {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0;
  background: var(--gold-pale); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.strip-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.strip-item p  { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ── SECCIONES COMUNES ── */
section { padding: 90px 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--navy); line-height: 1.2;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 1rem; color: #556070; margin-top: 0.75rem; max-width: 520px; line-height: 1.7; }
.section-sub.light { color: rgba(255,255,255,0.55); }
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin: 1rem 0 2.5rem;
}

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-card {
  background: var(--navy); border-radius: 16px; padding: 2.5rem;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.about-card-bg {
  position: absolute; bottom: -20px; right: -20px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,0.08) 0%, transparent 70%);
}
.about-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}
.about-img-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform .5s ease;
}
.about-img-placeholder:hover img {
  transform: scale(1.03);
}
.about-badge {
  position: absolute; bottom: -20px; right: 2rem;
  background: var(--gold); color: var(--navy-dark);
  border-radius: 12px; padding: 1rem 1.5rem;
  text-align: center; box-shadow: 0 8px 24px rgba(197,160,89,0.35);
}
.about-badge .big {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; line-height: 1;
}
.about-badge small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; display: block; margin-top: 2px; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 1.5rem; }
.about-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: #444f5e; }
.about-list li::before { content: '◆'; color: var(--gold); font-size: 0.5rem; margin-top: 6px; flex-shrink: 0; }
.gerente-card {
  margin-top: 2rem; padding: 1.2rem 1.5rem;
  background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid rgba(27,38,59,0.1);
}
.gerente-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy-dark);
}
.gerente-info .name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.gerente-info .role { font-size: 0.78rem; color: var(--gold); margin-top: 1px; }

/* ── SERVICIOS ── */
.services { background: var(--navy); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5px; background: rgba(255,255,255,0.04);
  border-radius: 16px; overflow: hidden;
}

/* Tarjeta de servicio con imagen de fondo */
.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  overflow: hidden;
  cursor: default;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s ease;
}
/* Imagen de fondo */
.service-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease, opacity .3s;
  opacity: 0.45;
}
/* Overlay degradado sobre la imagen */
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(17,26,40,0.88) 0%,
    rgba(17,26,40,0.55) 55%,
    rgba(17,26,40,0.25) 100%
  );
  transition: background .35s;
}
.service-card:hover .service-card-bg { transform: scale(1.07); opacity: 0.55; }
.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(17,26,40,0.92) 0%,
    rgba(17,26,40,0.65) 55%,
    rgba(17,26,40,0.35) 100%
  );
}
.service-card-body { position: relative; z-index: 2; }
.sc-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: rgba(197,160,89,0.14); line-height: 1; margin-bottom: 0.5rem;
}
.sc-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.sc-title { font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.sc-desc { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
/* sc-arrow eliminado */

/* ── PROCESO ── */
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.process-item { text-align: center; padding: 2rem 1.5rem; position: relative; }
.process-item::after {
  content: '→';
  position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.2rem; opacity: 0.4;
}
.process-item:last-child::after { display: none; }
.process-step {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.2rem;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold);
  background: var(--gold-pale);
}
.process-item h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.process-item p  { font-size: 0.88rem; color: #5a6475; line-height: 1.65; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative; overflow: hidden; padding: 80px 2rem;
}
.cta-band::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,0.08) 0%, transparent 65%);
}
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--white); margin-bottom: 1rem; line-height: 1.25;
}
.cta-inner p { color: rgba(255,255,255,0.55); margin-bottom: 2rem; font-size: 1rem; line-height: 1.7; }

/* ── CONTACTO ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  background: var(--gold-pale); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.ci-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 3px; }
.ci-value { font-size: 0.92rem; color: var(--navy); line-height: 1.5; }
.ci-value a { color: var(--navy); text-decoration: none; }
.ci-value a:hover { color: var(--gold); }
.contact-form {
  background: var(--white); border-radius: 16px; padding: 2.5rem;
  box-shadow: 0 4px 30px rgba(27,38,59,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.form-group input, .form-group textarea, .form-group select {
  border: 1.5px solid #e0e5ed; border-radius: 8px; padding: 11px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--navy);
  outline: none; transition: border-color .2s; background: #fafbfc;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--navy); color: var(--white);
  border: none; border-radius: 8px; padding: 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all .2s; letter-spacing: 0.02em;
}
.btn-submit:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,38,59,0.2); }

/* ── FOOTER ── */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.55); padding: 60px 2rem 28px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .desc { font-size: 0.88rem; line-height: 1.7; margin-top: 1rem; max-width: 260px; }
.footer-col h5 {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.85rem; }
.footer-contact-item a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 0.78rem;
}

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform .2s, box-shadow .2s;
  animation: waPulse 2.5s infinite;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 6px 36px rgba(37,211,102,0.65); }
}

/* ── ANIMACIONES DE ENTRADA ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: si JS no carga, mostrar el contenido igualmente */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-accent, .hero-accent-dot { display: none; }
}
@media (max-width: 900px) {
  .strip-inner { grid-template-columns: repeat(2,1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-item::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .strip-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-arrows { display: none; }
}

/* ── FORMULARIO – validación y estados ── */
.form-group { position: relative; }

.field-error {
  display: none;
  font-size: 0.75rem;
  color: #e05c5c;
  margin-top: 4px;
  padding-left: 2px;
}
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #e05c5c;
  background: #fff8f8;
}
.form-group.invalid .field-error { display: block; }
.form-group.valid input,
.form-group.valid textarea {
  border-color: #5cb85c;
}

/* Botón – estado de carga */
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Mensaje de éxito */
.form-success {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #166534;
  animation: fadeIn .4s ease;
}
.form-success span { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.form-success strong { display: block; margin-bottom: 2px; }
.form-success p { margin: 0; opacity: 0.8; font-size: 0.84rem; }

/* Mensaje de error global */
.form-error-msg {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff8f8;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #991b1b;
  animation: fadeIn .4s ease;
}
.form-error-msg span { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.form-error-msg strong { display: block; margin-bottom: 2px; }
.form-error-msg p { margin: 0; opacity: 0.8; font-size: 0.84rem; }

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

/* Logo icon con imagen */
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

/* ── Logo footer: filter para invertir a blanco preservando el dorado ── */
.logo-footer {
  margin-bottom: 1rem;
}
.logo-footer img {
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* Convierte el azul a blanco y preserva el dorado lo mejor posible:
     invert() → sepia() → saturate() reconstruye el tono dorado */
  filter: brightness(0) invert(1) sepia(1) saturate(0.6) hue-rotate(5deg);
  opacity: 0.92;
  transition: opacity .2s;
}
.logo-footer img:hover { opacity: 1; }

/* Fallback texto si la imagen falla */
.logo-fallback {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.06em;
}
