/* ==========================================================================
   MAYORAZGO CÓRDOBA S.A. | PROPUESTA WEB 2026
   Identidad Institucional Fiel: Blanco, Rojo Mayorazgo (#CC1A24) y Carbón
   Tipografía Armónica y Proporcional, Header Sin Quiebres, Acordeón Colapsado
   ========================================================================== */

:root {
  /* Paleta Institucional Real Hugo / Mayorazgo */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  
  --brand-red: #cc1a24;
  --brand-red-hover: #a8121b;
  --brand-red-light: rgba(204, 26, 36, 0.08);
  --brand-red-glow: rgba(204, 26, 36, 0.22);
  --brand-green: #25d366;
  --brand-green-hover: #20ba59;

  --text-main: #111827;
  --text-muted: #4b5563;
  --text-dim: #6b7280;

  --border-subtle: #e5e7eb;
  --border-hover: #cbd5e1;
  --border-active: var(--brand-red);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
  
  --container-max: 1240px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* Fondo Fijo Atenuado */
.fixed-bg-watermark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('assets/images/hero-monitoring-center.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVEGACIÓN (SIMETRÍA Y UNA SOLA LÍNEA SIN QUIEBRES)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: var(--text-main);
  white-space: nowrap;
  line-height: 1.15;
}

.brand-title span {
  color: var(--brand-red);
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--brand-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  white-space: nowrap;
  transition: var(--transition);
}

.btn-header-phone:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background: var(--brand-red-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-red);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 12px var(--brand-red-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(204, 26, 36, 0.3);
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.drawer-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-nav a:hover {
  color: var(--brand-red);
}

/* ==========================================================================
   HERO SECTION (PROPORCIONADA, ELEGANTE Y ARMÓNICA)
   ========================================================================== */
.hero-section {
  padding: 50px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--brand-red-light);
  border: 1px solid rgba(204, 26, 36, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-red);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* Título de Hero equilibrado (no gigante) */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-title .text-highlight {
  color: var(--brand-red);
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 26px;
  max-width: 530px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-whatsapp-hero:hover {
  background: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green);
  transform: translateY(-1px);
}

/* Trust Strip Armónica */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 3px;
}

.trust-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ==========================================================================
   CARRUSEL OPERATIVO (5 SEGUNDOS)
   ========================================================================== */
.carousel-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 400px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.02);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.3) 70%, transparent 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.caption-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.caption-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--brand-red);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: #ffffff;
  color: var(--brand-red);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 6;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--brand-red);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   ACORDEÓN DE SERVICIOS (TODOS REPLEGADOS AL INICIO)
   ========================================================================== */
.section {
  padding: 64px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.accordion-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-card);
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--bg-subtle);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-red);
}

.accordion-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  padding: 0 24px;
}

.accordion-item.active .accordion-body {
  max-height: 480px;
  padding: 0 24px 24px;
}

.accordion-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.accordion-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.accordion-features {
  list-style: none;
  margin-bottom: 20px;
}

.accordion-features li {
  font-size: 0.86rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.accordion-features li svg {
  color: var(--brand-red);
  flex-shrink: 0;
}

.accordion-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow-sm);
}

.accordion-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   COBERTURA TERRITORIAL (ARMONIOSA)
   ========================================================================== */
.geo-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.geo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.geo-content .section-badge { text-align: left; }
.geo-content .section-title { text-align: left; margin-bottom: 14px; }

.geo-lead {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.zones-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zone-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.zone-pill:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-1px);
}

.zone-pill svg { color: var(--brand-red); }

.geo-visual-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.geo-stat-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.geo-stat-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

.geo-stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
}

.geo-stat-highlight { color: var(--brand-red); }

/* ==========================================================================
   COTIZADOR EXPRESS
   ========================================================================== */
.quote-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.quote-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-red);
}

.quote-header {
  text-align: center;
  margin-bottom: 28px;
}

.quote-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.quote-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.objective-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.chip-label { cursor: pointer; }
.chip-label input { display: none; }

.chip-box {
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 11px 8px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.chip-label input:checked + .chip-box {
  border-color: var(--brand-red);
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.form-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-red);
  background: #ffffff;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-guarantee {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================== */
.site-footer {
  background: #111827;
  color: #ffffff;
  padding: 56px 0 26px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand .brand-logo-img {
  background: #ffffff;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.footer-about {
  font-size: 0.86rem;
  color: #9ca3af;
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 300px;
}

.footer-legal-badge {
  font-size: 0.74rem;
  color: #6b7280;
  line-height: 1.4;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.84rem;
  color: #9ca3af;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-links a.highlight-career {
  color: #f87171;
  font-weight: 600;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #9ca3af;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   WHATSAPP FLOTANTE (SVG OFICIAL)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-green);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background: var(--brand-green-hover);
  transform: translateY(-3px) scale(1.02);
}

.whatsapp-svg-official {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (PERFECCIÓN EN MOBILE Y TABLET)
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.82rem;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .carousel-slides {
    height: 320px;
  }

  .accordion-content-grid {
    grid-template-columns: 1fr;
  }

  .geo-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .main-nav {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
  }

  .header-inner {
    height: 66px;
    padding: 0 16px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .btn-header-phone {
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  .btn-header-phone span {
    display: none;
  }

  .hero-section {
    padding: 36px 0 28px;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .carousel-slides {
    height: 260px;
  }

  .objective-chips {
    grid-template-columns: 1fr 1fr;
  }

  .form-inputs-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-num {
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-box {
    padding: 26px 16px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 12px;
    border-radius: 50%;
  }
}
