/* ==========================================================================
   Grúas Nueva Santa Rita - CSS Master Stylesheet
   Modern, Ultra-responsive, High Aesthetics, Mobile App Bar, Dark/Light Themes
   ========================================================================== */

:root {
  /* Paleta Base Moderna de Rescate y Seguridad */
  --color-primary: #FB8500;
  --color-primary-hover: #E07500;
  --color-primary-glow: rgba(251, 133, 0, 0.4);
  --color-accent: #FFB703;
  --color-navy-dark: #021C2B;
  --color-navy: #023047;
  --color-navy-light: #0B4463;
  --color-cyan: #219EBC;
  --color-cyan-soft: #8ECAE6;
  
  --color-success: #2EC4B6;
  --color-emergency: #E63946;
  --color-emergency-glow: rgba(230, 57, 70, 0.45);
  
  /* Sistema de Colores Tema Oscuro por Defecto */
  --bg-body: #050d14;
  --bg-surface: #0a1722;
  --bg-card: #0f2130;
  --bg-card-hover: #162d40;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-glow: rgba(251, 133, 0, 0.35);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-inverse: #021c2b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-primary: 0 10px 30px var(--color-primary-glow);
  --shadow-emergency: 0 10px 30px var(--color-emergency-glow);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tema Claro */
html.theme-light {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #cbd5e1;
  --border-color-glow: rgba(251, 133, 0, 0.4);
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-inverse: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

html.theme-light .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #cbd5e1;
}

html.theme-light .emergency-bar {
  background: #7f1d1d;
  border-bottom: 1px solid #991b1b;
}

html.theme-light .emergency-status {
  color: #ffffff;
}

html.theme-light .emergency-banner-box {
  background: #023047;
  color: #ffffff;
}

html.theme-light .emergency-banner-box h2 {
  color: #ffffff;
}

html.theme-light .emergency-banner-box p {
  color: #cbd5e1;
}

html.theme-light .site-footer {
  background: #0f172a;
  color: #f1f5f9;
}

html.theme-light .site-footer .footer-desc,
html.theme-light .site-footer .footer-links a,
html.theme-light .site-footer .footer-contact-item {
  color: #cbd5e1;
}

html.theme-light .primary-nav {
  background: #ffffff;
}

html.theme-light .nav-link {
  color: #0f172a;
}

html.theme-light .nav-link:hover,
html.theme-light .nav-link.active {
  color: #d97706;
  background: #fef3c7;
}

/* Modo Alto Contraste (WCAG AAA) */
html.high-contrast {
  --bg-body: #000000 !important;
  --bg-surface: #000000 !important;
  --bg-card: #121212 !important;
  --bg-card-hover: #1f1f1f !important;
  --border-color: #ffffff !important;
  --text-main: #ffffff !important;
  --text-muted: #ffff33 !important;
  --color-primary: #ffff00 !important;
  --color-emergency: #ff0000 !important;
}

html.high-contrast * {
  border-color: #ffffff !important;
}

html.high-contrast a,
html.high-contrast button {
  outline: 2px solid transparent !important;
}

html.high-contrast .btn-primary {
  background: #ffff00 !important;
  color: #000000 !important;
  font-weight: 900 !important;
}

html.high-contrast .btn-emergency {
  background: #ff0000 !important;
  color: #ffffff !important;
}

html.high-contrast .btn-whatsapp {
  background: #00ff66 !important;
  color: #000000 !important;
  font-weight: 900 !important;
}

html.high-contrast .nav-link.active {
  background: #ffff00 !important;
  color: #000000 !important;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 74px; /* Espacio para barra de navegación móvil nativa */
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #021C2B;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--color-primary-glow);
  color: #021C2B;
}

.btn-emergency {
  background: linear-gradient(135deg, var(--color-emergency), #b91c1c);
  color: #ffffff;
  box-shadow: var(--shadow-emergency);
  animation: pulse-red 2.5s infinite;
}

.btn-emergency:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-primary);
}

.btn-secondary-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.btn-secondary-sm:hover {
  background: var(--color-primary);
  color: #021C2B;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Barra Superior de Emergencia */
.emergency-bar {
  background: linear-gradient(90deg, #160808, #2a0808, #160808);
  border-bottom: 1px solid rgba(230, 57, 70, 0.4);
  font-size: 0.85rem;
  padding: 6px 0;
}

.emergency-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.emergency-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fca5a5;
  font-size: 0.85rem;
  white-space: normal;
  line-height: 1.25;
}

.live-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: blink 1.2s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.quick-call {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-emergency);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.quick-call:hover {
  background: #dc2626;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 23, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  line-height: 1;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s;
}

.primary-nav {
  position: fixed;
  top: 69px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 20px;
  display: none;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.primary-nav.is-open {
  display: flex;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: rgba(251, 133, 0, 0.1);
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.util-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.util-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.icon-sun { display: none; }
.icon-moon { display: block; }

html.theme-light .icon-sun { display: block; }
html.theme-light .icon-moon { display: none; }

.lang-switch-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}

.lang-switch-btn:hover {
  border-color: var(--color-primary);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.scroll-to-top-btn {
  position: fixed;
  bottom: 84px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #021C2B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(251, 133, 0, 0.4);
  cursor: pointer;
  z-index: 980;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.scroll-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top-btn:hover {
  background: #ffffff;
  color: #021C2B;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

@media (min-width: 992px) {
  .scroll-to-top-btn {
    bottom: 30px;
    left: 30px;
  }
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
    gap: 16px;
    flex-wrap: nowrap;
  }
  .nav-list {
    flex-direction: row;
    gap: 2px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .nav-link {
    font-size: 0.9rem;
    padding: 6px 10px;
    white-space: nowrap;
  }
  .header-utils {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0;
    border-top: none;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(251, 133, 0, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(33, 158, 188, 0.1) 0%, transparent 40%);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 133, 0, 0.15);
  border: 1px solid rgba(251, 133, 0, 0.4);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--color-primary);
  background: linear-gradient(90deg, #FB8500, #FFB703);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 35px;
}

@media (min-width: 576px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.trust-badges-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 576px) {
  .trust-badges-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.trust-item .trust-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.trust-item .trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Card Visual Hero */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-img-wrap img {
  transform: scale(1.03);
}

.card-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(2, 48, 71, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 133, 0, 0.4);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-floating-badge strong {
  color: #fff;
  font-size: 0.95rem;
}

.card-floating-badge span {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sección de Servicios */
.section-pad {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(251, 133, 0, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

/* Sección de Cobertura y Mapa */
.coverage-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .coverage-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.loc-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.loc-pill.highlight-loc {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(251, 133, 0, 0.12);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-overlay-info {
  background: var(--bg-card);
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Ficha Google y Testimonios */
.reviews-section {
  position: relative;
}

.g-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.g-score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #FB8500;
  line-height: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.stars {
  color: #FB8500;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Banner CTA Global */
.emergency-banner-section {
  padding: 50px 0;
}

.emergency-banner-box {
  background: linear-gradient(135deg, #023047 0%, #0a1722 100%);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
  .emergency-banner-box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.badge-pulse {
  background: var(--color-emergency);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.emergency-banner-box h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.emergency-banner-box p {
  color: var(--text-muted);
  max-width: 500px;
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 576px) {
  .banner-actions {
    flex-direction: row;
    width: auto;
  }
}

/* Footer */
.site-footer {
  background: #020b12;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 60px 0 20px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  }
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-desc {
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #ffffff;
  flex-wrap: nowrap;
}

.google-badge strong {
  color: var(--color-accent);
  font-size: 0.95rem;
}

.star-row {
  display: inline-flex;
  gap: 2px;
}

.footer-heading {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: #ffffff;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links li {
  margin-bottom: 10px;
  color: #cbd5e1;
}

.footer-links a {
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact-item {
  color: #cbd5e1;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact-item strong {
  color: #ffffff;
}

.footer-buttons .btn-secondary-sm {
  background: rgba(251, 133, 0, 0.15);
  border: 1px solid var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 16px;
}

.footer-buttons .btn-secondary-sm:hover {
  background: var(--color-primary);
  color: #021C2B;
}

.phone-link {
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-heading);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.dev-credit a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Barra Inferior Nativa Móvil */
.mobile-action-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 23, 34, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

@media (min-width: 992px) {
  .mobile-action-bar {
    display: none;
  }
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  flex: 1;
  text-align: center;
}

.action-btn:hover, .action-btn:active {
  color: var(--color-primary);
}

.action-btn-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  margin-top: -18px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Floating WhatsApp Desktop */
.desktop-floating-wa {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 990;
  align-items: center;
  gap: 12px;
}

@media (min-width: 992px) {
  .desktop-floating-wa {
    display: flex;
  }
}

.wa-tooltip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-normal);
}

.desktop-floating-wa:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition-fast);
}

.desktop-floating-wa:hover .wa-circle {
  transform: scale(1.08);
}
