:root {
  --bg-dark: #384355;
  --bg-darker: #2d3644;
  --bg-light: #f4f6f9;
  --bg-white: #ffffff;
  --accent: #ea5224;
  --accent-hover: #d1441c;
  --text-main: #1a202c;
  --text-muted: #4a5568;
  --text-light: #e2e8f0;
  --text-white: #ffffff;
  --border-color: #e2e8f0;
  --border-dark: #2d3748;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

html {
  /* Incrementar el tamaño base de la fuente a 18px (aumenta todos los textos un ~12.5%) */
  font-size: 112.5%; 
  scroll-behavior: smooth;
  scroll-padding-top: 160px; /* Offset para que el header pegajoso no tape los títulos */
}

svg.lucide.lucide-map-pin {
    width: 70px;
}



/* Skeleton Loader Styles - Improved Precision */
.skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  z-index: 10000;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.skeleton-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.skeleton-top-bar {
  width: 100%;
  height: 42px;
  background: rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 78%;
  margin: 0 auto 5rem auto;
}

.skeleton-logo {
  width: 170px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.skeleton-nav {
  display: flex;
  gap: 1.5rem;
}

.skeleton-nav::after {
  content: "";
  width: 320px;
  height: 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-action {
  width: 180px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
}

.skeleton-content-wrapper {
  display: flex;
  width: 75%;
  margin: 0 auto;
  gap: 4rem;
}

.skeleton-hero-main {
  flex: 1.3;
}

.skeleton-badge {
  width: 250px;
  height: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  margin-bottom: 2rem;
}

.skeleton-title {
  width: 100%;
  height: 120px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 2rem;
  border-radius: 12px;
}

.skeleton-desc {
  width: 90%;
  height: 100px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 3rem;
  border-radius: 8px;
}

.skeleton-features {
  display: flex;
  gap: 1rem;
}

.skeleton-feature {
  width: 120px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-form-side {
  flex: 0.7;
  height: 520px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

/* Redefined Shimmer Animation */
.skeleton-loader [class^="skeleton-"] {
  position: relative;
  overflow: hidden;
}

.skeleton-loader [class^="skeleton-"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.02) 20%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.02) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1024px) {
  .skeleton-content-wrapper { flex-direction: column; width: 90%; gap: 2rem; }
  .skeleton-nav, .skeleton-action { display: none; }
  .skeleton-header { width: 90%; margin-bottom: 3rem; }
  .skeleton-form-side { height: 400px; order: -1; } /* Hero form first on mobile */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
  font-size: 1.05rem; /* Hacer el texto general un poco más grande */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 75%;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 900px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.25rem;
}

.text-accent {
  color: var(--accent);
}

.text-center, .text-center p, .text-center h1, .text-center h2, .text-center h3, .text-center h4 {
  text-align: center;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  text-align: justify;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 30px;
}

/* Header & Top Bar */
.header {
  background-color: var(--bg-dark);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar {
  background-color: var(--bg-darker);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1440px;
}

.top-bar-contact {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.top-bar-ticker {
  display: flex;
  align-items: center;
  gap: 8px; /* Reducido levemente para ahorrar espacio */
  color: var(--text-white);
  font-size: 0.95rem; /* Ajuste mágico: grande pero que sí cabe en el renglón */
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap; /* Evita roturas de línea */
  flex: 1; /* Toma todo el espacio sobrante posible hacia la derecha */
  min-width: 0; /* Permite truncar en flexbox */
}

.ticker-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.ticker-prefix {
  color: var(--accent);
  font-weight: 800;
  margin-right: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-text-wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 26px;
  white-space: nowrap;
  flex: 1; /* Permite truncar */
}

#ticker-text {
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Pone "..." si el texto es excesivamente largo para la resolución */
}

.ticker-text-hide {
  opacity: 0;
  transform: translateY(-15px);
}

.ticker-text-enter {
  opacity: 0;
  transform: translateY(15px);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.top-bar-item i {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.top-bar-item a {
  transition: color 0.2s;
}

.top-bar-item a:hover {
  color: var(--accent);
}

.header-container {
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 78%; /* Un punto medio perfecto para que no se vea separado ni amontonado */
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px; /* Reducido de 120px para dar más espacio horizontal */
  width: auto;
  max-width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle i {
  width: 32px;
  height: 32px;
}

.nav-mobile-header {
  display: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem; /* Ajustado de 1.5rem */
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.85rem; /* Un poco más pequeña para que quepa */
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-mobile-phone {
  display: none; /* Oculto en escritorio */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alineado a la izquierda para mejor flujo */
  gap: 2px;
}

.phone-label {
  font-size: 0.45rem; /* Más pequeño y sutil */
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.phone-number {
  font-size: 2.2rem; /* CONSIDERABLE reducción desde 2.2rem */
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition: color 0.2s;
  white-space: nowrap;
}

.phone-number i {
  color: var(--accent);
  width: 18px; /* Ícono más acorde al nuevo tamaño de letra */
  height: 18px;
}

.phone-number:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 220px 0 80px;
  background-color: var(--bg-darker);
  color: var(--text-white);
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #041022;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(4, 16, 34, 0.4), rgba(4, 16, 34, 0.7));
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 82, 36, 0.1);
  color: var(--accent);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.badge-center {
  margin: 0 auto 1.5rem;
}

/* Animación del H1 Titular Principal */
.hero-title-animated-container {
  min-height: 140px; /* Evita que el texto empuje la pagina al saltar de línea */
  display: flex;
  align-items: center;
}

.hero-animated-wrapper {
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

#hero-animated-text {
  display: inline-block;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-text-hide {
  opacity: 0;
  transform: translateY(-20px) scale(0.98);
}

.hero-text-enter {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
}

.hero-desc {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-features {
  display: flex;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-item i {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

/* Hero Form */
.hero-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
}

.hero-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-form p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #f9fafb;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  background-color: var(--bg-white);
}

.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.country-code {
  position: absolute;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  pointer-events: none;
}

.us-flag {
  border-radius: 2px;
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.phone-input-wrapper input {
  padding-left: 3.8rem;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

/* =========================================
   HERO MARKETING & LEAD GEN STYLES
   ========================================= */
.badge-urgent {
  background: rgba(255, 60, 60, 0.15) !important;
  color: #ff5c5c !important;
  border: 1px solid rgba(255, 60, 60, 0.3);
  overflow: hidden; /* Importante para el ticker */
  height: 32px; /* Altura fija para el control del scroll */
  display: inline-flex;
  align-items: center;
}

.badge-ticker {
  height: 20px;
  overflow: hidden;
  margin-left: 8px;
}

.badge-ticker-track {
  display: flex;
  flex-direction: column;
  animation: badge-rotate 12s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
}

.badge-ticker-track span {
  height: 20px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

@keyframes badge-rotate {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-20px); }
  50%, 70% { transform: translateY(-40px); }
  75%, 95% { transform: translateY(-60px); }
  100% { transform: translateY(-80px); }
}

.hero-title-marketing {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (max-width: 768px) {
  .hero-title-marketing {
    font-size: 2.5rem;
  }
}

.hero-desc-marketing {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 95%;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.hero-features-marketing {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.feature-item-marketing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.feature-item-marketing i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.form-marketing-shadow {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
  border: 2px solid var(--accent);
  position: relative;
  z-index: 10;
}

.form-header-marketing h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-header-marketing p {
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.btn-marketing-cta {
  font-size: 1.1rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--accent), #ff7647);
  box-shadow: 0 8px 20px rgba(234, 82, 36, 0.4);
  text-transform: uppercase;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-marketing-cta:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 25px rgba(234, 82, 36, 0.5) !important;
}

.form-trust-signals {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.icon-small {
  width: 14px;
  height: 14px;
}

/* --- BOTÓN MÓVIL OPTIMIZADO --- */
.btn-mobile-phone {
  display: none;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 20px;
  margin-bottom: 25px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(234, 82, 36, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.mobile-phone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.phone-main {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.phone-sub {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.btn-bg-icon {
  display: none; /* Opcional: ocultar si estorba */
}

@media (max-width: 991px) {
  .compact-hero {
    padding-top: 140px !important;
  }
  .btn-mobile-phone {
    order: -2;
    display: flex !important;
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(234, 82, 36, 0.45);
    animation: pulse-phone 2s infinite;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
  }
}

@keyframes pulse-phone {
  0% { box-shadow: 0 0 0 0 rgba(234, 82, 36, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(234, 82, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 82, 36, 0); }
}

/* =========================================
   ESTRUCTURA COMPACT HERO
   ========================================= */
.compact-hero {
  padding: 180px 0 60px; /* Padding ajustado para ser más corto */
  background-color: var(--bg-darker);
}

.hero-content-compact {
  width: 100%;
}

.hero-container-compact {
  display: grid;
  grid-template-columns: 1.2fr 420px; /* Formato 2 columnas apretado */
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-container-compact {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }
}

.hero-title-compact {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-wrap: balance;
}

@media (max-width: 768px) {
  .hero-title-compact {
    font-size: 2.2rem;
  }
}

.hero-desc-compact {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 90%;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero-desc-compact {
    max-width: 100%;
  }
}

.hero-features-compact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feat-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.feat-compact strong {
  font-weight: 700;
  color: #fff;
}

.feat-compact i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Stats Section (Theme Aesthetic) */
.stats-cards-section {
  padding: 5rem 0;
  background-color: var(--bg-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background-color: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem  2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-md);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(234, 82, 36, 0.15); /* Orange glow */
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Errores Section */
.errors-section {
  padding: 4rem 0 4rem 0;
  background-color: var(--bg-light);
}

.section-header h2 {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 850px;
  line-height: 1.6;
  margin: 0 auto;
}

.errors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.error-card {
  padding: 2.5rem;
  border: none;
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--bg-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.error-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.error-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

p {
    font-size: 1.2rem;
}

.error-card p {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.icon-box {
  width: 56px;
  height: 56px;
  background: rgba(234, 82, 36, 0.08);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.icon-box i {
  width: 26px;
  height: 26px;
}

.error-card:hover .icon-box {
  background: var(--accent);
  color: var(--text-white);
  transform: scale(1.1) rotate(5deg);
}

.error-watermark {
  position: absolute;
  top: -20px;
  right: -20px;
  color: var(--accent); /* solid orange */
  opacity: 0.08; /* Stronger initial opacity */
  pointer-events: none;
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.error-watermark svg, .error-watermark i {
  width: 160px !important;
  height: 160px !important;
  stroke-width: 1.5px;
}

.error-card:hover .error-watermark {
  transform: scale(1.15) rotate(-8deg);
  opacity: 0.2; /* Even stronger on hover */
}

.cta-banner {
  background-color: #041022;
  border-radius: 12px;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-top: 6.5rem;
  position: relative;
  z-index: 10;
}

.cta-banner p {
  color: #a0aec0;
  font-size: 1.2rem;
  margin-bottom: 0;
  max-width: 65%;
  line-height: 1.5;
}

.cta-banner p strong {
  color: #ffffff;
  font-weight: 700;
}

.btn-cta {
  color: #ffffff !important;
  background-color: var(--accent);
  border-radius: 30px;
  padding: 1rem 2.5rem;
  font-weight: 800;
  white-space: nowrap;
  font-size: 1.05rem;
}

.btn-cta:hover {
  background-color: #fca5a5;
  color: #041022 !important;
  transform: translateY(-2px);
}

/* El Método Premium Section */
.metodo-section {
  padding: 3rem 0 5rem 0;
  background-color: var(--bg-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: rgba(234, 82, 36, 0.2);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  width: 100%;
}

.timeline-content {
  width: 45%;
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.timeline-spacer {
  width: 45%;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--bg-light);
}

.timeline-icon i {
  width: 28px;
  height: 28px;
}

.huge-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.timeline-content h3 {
  position: relative;
  z-index: 1;
  color: var(--bg-dark);
}

.timeline-content p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.footer-bottom p {
    color: #fff;
    font-size: 1.0rem;
    text-align: center;
}

/* Solo Ganamos Section */
.ganamos-section {
  padding-top: 0rem;
  padding-bottom: 5.5rem;
  background: var(--bg-light);
}

.ganamos-card {
  background-color: #041022; /* Dark Navy Blue to match the new design */
  border-radius: 20px;
  padding: 4.5rem;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.badge-dark {
  background: rgba(234, 82, 36, 0.1);
  color: var(--accent);
  display: inline-flex;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
}

.watermark-icon {
  position: absolute;
  top: -25%;
  right: -5%;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.watermark-icon svg {
  width: 450px;
  height: 450px;
  stroke-width: 1.5px;
}

.ganamos-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ganamos-text {
  flex: 0 0 52%;
}

.ganamos-text h2 {
  font-size: 3.25rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.text-underline-accent {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

.ganamos-text p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 90%;
}

.ganamos-list-divider {
  width: 1px;
  height: 180px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 0 2rem;
}

.ganamos-list {
  flex: 0 0 35%;
}

.ganamos-list ul {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.ganamos-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}

.ganamos-list li:last-child {
  margin-bottom: 0;
}

.ganamos-list i {
  color: var(--accent);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0 7rem;
  background: var(--bg-light);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header h4 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--bg-dark);
}

.faq-header i {
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.active .faq-header i {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-body p {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Floating Particles Background */
/*
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(234, 82, 36, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(234, 82, 36, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(234, 82, 36, 0.05) 0%, transparent 60%);
  animation: particles-float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}*/

@keyframes particles-float {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 1;
  }
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Fade-in animation for footer columns */
.footer-grid > * {
  opacity: 0;
  transform: translateY(30px);
  animation: footer-fade-in 0.8s ease-out forwards;
}

.footer-grid > *:nth-child(1) {
  animation-delay: 0.1s;
}

.footer-grid > *:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-grid > *:nth-child(3) {
  animation-delay: 0.3s;
}

.footer-grid > *:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes footer-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 300px;
  font-size: 0.9rem;
  color: #fff;
}

/* Logo pulse animation in footer */
.footer-brand .logo-img {
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 0px rgba(234, 82, 36, 0));
}

.footer-brand .logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(234, 82, 36, 0.4));
}

.footer-links h4,
.footer-contact h4 {
  color: var(--text-white);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(8px);
}

/* =========================================
   NEW: VISUAL DAMAGES GALLERY CAROUSEL
   ========================================= */
/* =========================================
   PREMIUM DAMAGES GALLERY (REDISEÑO)
   ========================================= */
.damages-gallery-section {
  padding: 100px 0 140px;
  background: 
    linear-gradient(rgba(12, 18, 30, 0.9), rgba(12, 18, 30, 0.95)), 
    url('images/danos.webp') center/cover no-repeat fixed; /* Imagen con paralaje sutil */
  position: relative;
  overflow: hidden;
}

/* Fondo decorativo con luces sutiles */
.damages-gallery-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 82, 36, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.damages-gallery-section .section-title {
  color: #fff;
  font-size: 3.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
  font-weight: 900;
  text-transform: uppercase;
}

.damages-gallery-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: none;
}

.gallery-carousel-wrapper {
  position: relative;
  padding: 20px 0;
  perspective: 2000px; /* Crucial para el efecto 3D */
}

.gallery-track {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  cursor: grab;
}

.gallery-item {
  flex: 0 0 420px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-card {
  position: relative;
  height: 550px;
  border-radius: 30px;
  overflow: hidden;
  background: #000; /* Fondo negro puro para evitar fugas */
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  isolation: isolate; /* Fuerza el contexto de apilamiento para el recorte */
  backface-visibility: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
  filter: brightness(0.8) contrast(1.1);
}

/* Efecto Glassmorphism en el overlay */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  background: linear-gradient(
    to top,
    rgba(12, 18, 30, 0.95) 0%,
    rgba(12, 18, 30, 0.8) 50%,
    transparent 100%
  );
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-tag {
  display: inline-block;
  background: rgba(234, 82, 36, 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(234, 82, 36, 0.3);
}

.gallery-overlay h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.gallery-overlay p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* --- HOVER EFFECTS (PREMIUM) --- */
.gallery-card:hover {
  transform: translateY(-15px) rotateX(8deg) rotateY(-5deg) scale(1.02);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(234, 82, 36, 0.2);
}

.gallery-card:hover img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1) contrast(1.2);
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
  background: linear-gradient(
    to top,
    rgba(12, 18, 30, 0.98) 0%,
    rgba(234, 82, 36, 0.4) 30%,
    transparent 100%
  );
  backdrop-filter: blur(15px);
}

.gallery-card:hover h3 {
  color: #fff;
}

.gallery-card:hover p {
  color: #fff;
  opacity: 1;
}

/* Resplandor dinámico en hover */
.gallery-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-card:hover::after {
  opacity: 1;
}

/* --- CONTROLES DE NAVEGACIÓN --- */
.gallery-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.gallery-nav-btn {
  width: 70px;
  height: 70px;
  border-radius: 20px; /* Cuadrado redondeado moderno */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(234, 82, 36, 0.3);
}

.gallery-nav-btn i {
  font-size: 1.5rem;
}

.gallery-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.gallery-progress-bar {
  position: absolute;
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 15px var(--accent);
}

@media (max-width: 768px) {
  .damages-gallery-section .section-title { font-size: 2.5rem; }
  .gallery-item { flex: 0 0 85vw; }
  .gallery-card { height: 480px; }
  .gallery-nav-container { transform: scale(0.8); }
}

/* Badge Modern (Shared/New) */
.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(234, 82, 36, 0.1);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  border: 1px solid rgba(234, 82, 36, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.opacity-80 { opacity: 0.8; }

/* Animated underline effect */
.footer-links li {
  position: relative;
  overflow: hidden;
}

.footer-links li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.4s ease;
}

.footer-links li:hover::after {
  width: 100%;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.footer-contact li:hover {
  background: rgba(234, 82, 36, 0.1);
  transform: translateX(5px);
}

.footer-contact i {
  color: var(--accent);
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}

.footer-contact li:hover i {
  transform: scale(1.2) rotate(10deg);
  color: #ff7647;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

/* Animated gradient border */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #ff7647 25%,
    var(--accent) 50%,
    #ff7647 75%,
    var(--accent) 100%
  );
  background-size: 200% 100%;
  animation: border-gradient-flow 3s linear infinite;
  box-shadow: 0 0 20px rgba(234, 82, 36, 0.5);
}

@keyframes border-gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Footer Wave Animation */
.footer-wave-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 40px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(234, 82, 36, 0.03) 50%,
    rgba(234, 82, 36, 0.08) 100%
  );
  border-radius: 100% 100% 0 0;
  animation: wave-move 8s ease-in-out infinite;
}

.wave-1 {
  animation-delay: 0s;
  opacity: 0.3;
}

.wave-2 {
  animation-delay: -2.6s;
  opacity: 0.2;
  height: 30px;
}

.wave-3 {
  animation-delay: -5.3s;
  opacity: 0.15;
  height: 20px;
}

@keyframes wave-move {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-25%) translateY(-10px);
  }
}

.footer-bottom p {
  position: relative;
  z-index: 1;
}

/* Footer Bottom Glow Effect */
.footer-bottom::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent) 50%, 
    transparent 100%
  );
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.3;
    width: 200px;
  }
  50% {
    opacity: 1;
    width: 400px;
  }
}

/* Expert Team Section - Redesign 2: Grand Showcase */
.team-grand-showcase {
  padding: 100px 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.showcase-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  border: 1px solid #edf2f7;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

.showcase-title {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 25px;
  color: #1a202c;
  letter-spacing: -2px;
  font-weight: 900;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #ff7e5f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.showcase-intro {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-visual-wrapper {
  position: relative;
  margin-bottom: 60px;
}

.image-canvas {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.1);
  background: #f0f4f8;
}

.image-full-span {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  transition: transform 1s ease;
}

.image-canvas:hover .image-full-span {
  transform: scale(1.03);
}

.experience-floating-tag {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  padding: 20px 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 5;
}

.tag-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.tag-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
}

.canvas-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.deco-1 {
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: var(--accent);
  opacity: 0.05;
  border-radius: 50%;
}

.showcase-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  border: 1px solid #f0f0f0;
}

.feature-item-minimal {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 25px;
  border-right: 1px solid #eee;
}

.feature-item-minimal.no-border {
  border-right: none;
}

.f-icon-circle {
  width: 44px;
  height: 44px;
  background: rgba(234, 82, 36, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-icon-circle svg { width: 20px; height: 20px; stroke-width: 2.5px; }

.f-text strong {
  display: block;
  font-size: 1rem;
  color: var(--bg-dark);
}

.f-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-cta-showcase {
  width: 100%;
  padding: 15px;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .showcase-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .feature-item-minimal {
    border-right: none;
  }
  .showcase-title { font-size: 3rem; }
  .image-full-span { aspect-ratio: 16 / 9; }
}

@media (max-width: 768px) {
  .team-grand-showcase { padding: 60px 0; }
  .showcase-features-bar {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .showcase-title { font-size: 2.2rem; }
  .image-full-span { 
    aspect-ratio: auto; 
    height: auto;
    max-height: 350px;
    object-fit: contain;
    background: transparent;
  }
  .image-canvas {
    box-shadow: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .experience-floating-tag {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-top: 20px;
    background: var(--bg-dark);
    border: 1.5px solid var(--accent);
    padding: 15px 25px;
    border-radius: 12px;
    width: fit-content;
    transform: none;
    gap: 15px;
  }
  .tag-number { font-size: 2.2rem; }
  .tag-label { 
    font-size: 0.8rem; 
    line-height: 1.2;
    color: #fff;
  }
}
.ml-2 {
  margin-left: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-xl {
  margin-top: 3rem;
}
.small-text {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
  .top-bar-contact .top-bar-item:nth-child(2) {
    display: none; /* Ocultar la dirección larga si hay poco espacio para que el carrusel respire */
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    padding-top: 1rem;
    gap: 0.5rem;
  }
  .hero {
    padding: 120px 0 40px;
  }
  .hero-main {
    padding: 0 5px; /* Pequeño extra para que el contenido no roce */
  }
  .errors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .container, .hero, .header-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 768px) {
  .top-bar-container {
    justify-content: center;
    padding: 4px 10px;
  }
  .top-bar-ticker {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .ticker-text-wrapper {
    flex-basis: 100%;
    justify-content: center;
    margin-top: 2px;
  }
  .top-bar-contact {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 2rem;
    z-index: 10001;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    display: flex; /* Override display: none if any */
    gap: 1.5rem;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }

  .nav-mobile-header .logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--accent);
  }

  .menu-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
  .header-container {
    max-width: 100% !important;
    padding: 10px 25px !important;
  }
  .logo-img {
    height: 75px; /* Evita que el logo sea hiper-gigante en móviles */
    max-width: 80vw;
  }
  .hero-form-wrapper {
    order: -1; /* Obliga a que la caja del formulario salte de primero en teléfonos */
  }
  h1 {
    font-size: 2.5rem;
  }
  .hero-features {
    flex-direction: row;
    gap: 0.75rem;
  }
  .errors-grid {
    grid-template-columns: 1fr;
  }
  .timeline-line {
    left: 30px;
  }
  .timeline-item {
    justify-content: flex-start;
  }
  .timeline-icon {
    position: absolute;
    left: 0;
  }
  .timeline-content {
    margin-left: 80px;
    width: calc(100% - 80px);
  }
  .timeline-spacer {
    display: none;
  }
  .ganamos-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .ganamos-list-divider {
    display: none;
  }
  .ganamos-card {
    padding: 2.5rem;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  .cta-banner p {
    max-width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
  }

  .hero-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }

  .top-bar-container {
    padding: 10px 25px !important;
  }
}

/* Skeleton Loader */
.skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-darker);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.skeleton-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.skeleton-logo {
  width: 150px;
  height: 40px;
  background-color: var(--bg-dark);
  border-radius: 4px;
  animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-nav {
  width: 300px;
  height: 20px;
  background-color: var(--bg-dark);
  border-radius: 4px;
  animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.skeleton-title {
  width: 60%;
  height: 60px;
  background-color: var(--bg-dark);
  border-radius: 8px;
  margin-bottom: 2rem;
  animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-subtitle {
  width: 40%;
  height: 20px;
  background-color: var(--bg-dark);
  border-radius: 4px;
  margin-bottom: 3rem;
  animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-cards {
  display: flex;
  gap: 1.5rem;
}

.skeleton-card {
  width: 120px;
  height: 20px;
  background-color: var(--bg-dark);
  border-radius: 4px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.success-icon-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.success-icon {
  width: 40px;
  height: 40px;
  color: #22c55e;
}

.modal-content h3 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Testimonials Slider - High-End 3D Perspective */
.testimonials-slider-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  perspective: 2000px; /* Crucial for 3D */
}
.testimonials-repeated {
  padding-top: 80px;
}
.testimonials-repeated .slider-header {
  margin-bottom: 30px;
}
.testimonials-repeated .testimonials-container {
  height: 550px;
}

@media (max-width: 768px) {
  .testimonials-repeated .testimonials-container {
    height: 450px;
  }
  .testimonials-repeated .slider-header {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .testimonials-repeated .testimonials-container {
    height: 380px;
  }
  .testimonials-repeated .slider-header {
    margin-bottom: 15px;
  }
}

.slider-header {
  margin-bottom: 60px;
  text-align: center;
}

.sub-header {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.slider-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.slider-title .accent-text {
  color: var(--accent);
}

.slider-description {
  max-width: 600px;
  margin: 0 auto;
  color: #a0aec0;
  font-size: 1.1rem;
}

/* 3D Track System */
.testimonials-container {
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
}

.testimonial-track {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-slide {
  position: absolute;
  width: 700px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  background: #111827;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

/* Individual Slide States controlled by GSAP */
.active-v-glow {
  border: 1.5px solid rgba(234, 82, 36, 0.4);
  box-shadow: 0 0 70px rgba(234, 82, 36, 0.25);
  z-index: 10;
}

.video-area {
  position: relative;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
  pointer-events: auto !important;
}

/* Centered Play Button */
.main-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(50px); /* Floating in 3D */
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 5;
  box-shadow: 0 0 25px rgba(234, 82, 36, 0.6);
}

/* Floating Badge */
.settlement-badge-v2 {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(15px);
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 6;
  border: 1px solid rgba(234, 82, 36, 0.3);
  transform: translateZ(40px);
  pointer-events: none; /* Asegura que el cuadro no bloquee clicks en el video */
  text-align: center; /* Centra todo el contenido de la etiqueta */
}

.settlement-badge-v2 .label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}

.settlement-badge-v2 .value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.video-info-overlay {
  position: absolute;
  bottom: 25px;
  left: 25px;
  z-index: 6;
  transform: translateZ(30px);
  pointer-events: none; /* No bloquear click de video */
}

/* Nombres editables estéticos encima de cada slide */
.client-info-overlay {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(15px);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(234, 82, 36, 0.3);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.client-info-overlay .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.client-info-overlay .details h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.client-info-overlay .details p {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0;
  font-weight: 700;
}

/* Franja inferior con el tipo de daño en rojo */
.damage-type-banner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* Letra blanca como solicitó el usuario */
  font-weight: 900; /* Letra extra gruesa (black) */
  font-size: 1.6rem; /* Bajado a 1.6rem */
  letter-spacing: 2.5px; /* Más espaciado para verse premium */
  text-transform: uppercase;
  background: #111827;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Sombra oscura para dar relieve */
}

/* Floating Navigation Bar (Mas arriba) */
.carousel-nav-floater {
  position: absolute;
  bottom: -25px; /* Tweak up para estar encima del carrusel */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 30;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.nav-btn-v3 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn-v3:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(234, 82, 36, 0.3);
}

@media (max-width: 768px) {
  .carousel-nav-floater {
      bottom: -35px;
  }
  .slider-header {
    margin-bottom: 30px;
  }
  .testimonials-container {
    height: 500px;
  }
  .testimonial-slide {
    width: 85vw; /* Adjust to screen width */
    height: 420px;
  }
  .video-area {
    height: 340px;
  }
  .damage-type-banner {
    height: 80px;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
  }
  .video-info-overlay {
    bottom: 15px;
    left: 15px;
    transform: translateZ(30px) scale(0.85);
    transform-origin: bottom left;
  }
  .settlement-badge-v2 {
    top: 15px;
    right: 15px;
    transform: translateZ(40px) scale(0.85);
    transform-origin: top right;
  }
}

@media (max-width: 480px) {
  .slider-title {
      font-size: 2.5rem;
  }
  .slider-header {
    margin-bottom: 20px;
  }
  .testimonials-container {
    height: 400px;
  }
  .testimonial-slide {
    width: 92vw;
    height: 350px;
  }
  .video-area {
    height: 280px;
  }
  .damage-type-banner {
    height: 70px;
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  .video-info-overlay {
    bottom: 10px;
    left: 10px;
    transform: translateZ(30px) scale(0.75);
  }
  .settlement-badge-v2 {
    top: 10px;
    right: 10px;
    transform: translateZ(40px) scale(0.75);
  }
  .client-info-overlay {
    padding: 8px 12px;
  }
  .client-info-overlay .avatar {
    width: 32px;
    height: 32px;
  }
  .client-info-overlay .details h4 {
    font-size: 0.95rem;
  }
  .client-info-overlay .details p {
    font-size: 0.75rem;
  }
  .carousel-nav-floater {
    bottom: -15px;
    padding: 8px 16px;
  }
  .nav-btn-v3 {
    width: 40px;
    height: 40px;
  }
}

/* Base font-size responsive adjustments */
@media (max-width: 768px) {
  html {
    font-size: 100%; /* Restaurar 16px en móviles para evitar romper la interfaz */
  }
  .live-notifications-container {
    display: none !important;
  }
}

/* Live Notifications */
.live-notifications-container {
  position: fixed;
  top: 140px; /* Bajado un poco más para evitar que choque con el header */
  left: 20px;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none; /* No bloquear interacción con el resto de la página */
}

.live-notification {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(17, 24, 39, 0.85); /* Azul oscuro con transparencia */
  backdrop-filter: blur(15px);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(234, 82, 36, 0.4);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transform: translateX(-150%); /* Oculto a la izquierda inicialmente */
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  max-width: 380px;
}

.live-notification.show {
  transform: translateX(0); /* Entra hacia la derecha */
  opacity: 1;
}

.live-notification .notif-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.live-notification .notif-icon i {
  width: 22px;
  height: 22px;
}

.live-notification .notif-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.live-notification .notif-content h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.live-notification .notif-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #d1d5db; /* Gris claro */
  line-height: 1.4;
  margin-top: 2px;
}

.live-notification .notif-content .highlight {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .live-notifications-container {
    top: auto;
    bottom: 20px;
    left: 10px;
    right: 10px;
    align-items: flex-start;
  }
  
  .live-notification {
    max-width: 100%;
    transform: translateY(150%);
  }
  
  .live-notification.show {
    transform: translateY(0);
  }

  /* --- General Mobile Cramping Fixes --- */
  .container {
    max-width: 95%; /* daños bordes */
    padding: 0 15px;
  }

  section {
    padding: 3rem 0; /* Reducir espacios exagerados entre secciones en móvil */
  }

  /* Header Mobile Adjustments */
  .header-container {
    max-width: 100% !important; /* Aprovechar todo el ancho en el header */
    padding: 10px 15px;
  }

  .logo-img {
    height: 60px !important; /* Logo más pequeño para que no coma pantalla */
  }

  .phone-number {
    font-size: 1.4rem !important; /* El número de teléfono gigante no cabe en móvil */
  }

  .call-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  /* Typography Adjustments */
  h1 {
    font-size: 2.2rem !important;
  }

  h2 {
    font-size: 2.2rem !important;
  }

  p {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  /* Phone button inside form mobile only */
  .btn-mobile-phone {
    order: -2; /* Estar por encima incluso del contenedor del formulario que tiene -1 */
    display: flex !important;
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(234, 82, 36, 0.45);
    animation: pulse-phone 2s infinite;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    position: relative;
    overflow: hidden;
  }

  .btn-bg-icon {
    position: absolute;
    right: -15px;
    bottom: -20px;
    opacity: 0.1; /* Mucho más transparente, casi como un fantasma en el fondo */
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 1;
  }

  .btn-bg-icon i,
  .btn-bg-icon svg {
    width: 120px; /* Más grande */
    height: 120px;
    color: #fff;
  }

  .mobile-phone-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4px;
  }

  .phone-main {
    font-size: 2.5rem;
    font-weight: 950;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
  }

  .phone-sub {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.95;
    text-transform: uppercase;
  }

  .hero-form-wrapper {
    margin-top: 0 !important;
  }

  .hero {
    padding-top: 160px !important;
  }

  .hero-container {
    padding-top: 0 !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  @keyframes pulse-phone {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
  }
}

/* =========================================
   COVERAGE AREA SECTION
   ========================================= */
.coverage-section {
  padding: 6rem 0;
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 15, 30, 0.88) 0%, rgba(5, 10, 25, 0.92) 100%),
    url('images/florida_bg.png') center/cover no-repeat;
  overflow: hidden;
}

/* Borde superior degradado */
.coverage-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Orbe decorativo izquierda */
.coverage-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(234, 82, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.coverage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

.coverage-text {
  max-width: 850px;
}

.coverage-text h2 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  margin-top: 1rem;
}

.coverage-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
}

.coverage-cities {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .coverage-cities {
    grid-template-columns: 1fr;
  }
}

.coverage-cities li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  color: #ffffff;
}

.coverage-cities li i {
  width: 20px;
  height: 20px;
}

.coverage-map-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .coverage-map-wrapper {
    height: 450px;
  }
}

.map-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(234, 82, 36, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

#florida-map {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius);
}

.map-floating-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

/* =========================================
   ANIMATED MAP PINS
   ========================================= */
.map-pin-css {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease-in-out, z-index 0s;
}

/* Leaflet version - mismo diseño, clavado a coordenadas reales */
.leaflet-map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  transform: translate(-50%, -50%);
  position: absolute;
}

.leaflet-map-pin:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

.leaflet-map-pin:hover .pin-dot {
  background-color: #ffffff;
  border-color: var(--accent);
}

.leaflet-map-pin:hover .pin-label {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Evitar que Leaflet resetee z-index en los markers */
.leaflet-marker-icon {
  overflow: visible !important;
}

.map-pin-css:hover {
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 10;
}

.map-pin-css:hover .pin-dot {
  background-color: #ffffff;
  border-color: var(--accent);
}

.map-pin-css:hover .pin-label {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.pin-dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  border: 2px solid #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.pin-pulse {
  position: absolute;
  top: 5px; /* Ajustado visualmente respecto al dot */
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  z-index: 1;
  animation: map-pulse 2s infinite;
}

.pin-label {
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes map-pulse {
  0% {
    width: 12px;
    height: 12px;
    opacity: 0.8;
  }
  100% {
    width: 35px;
    height: 35px;
    opacity: 0;
  }
}

/* Footer License Stylings */
.footer-license {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  gap: 15px;
}

.footer-seals-flex {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 1024px) {
  .footer-license {
    align-items: flex-start;
  }
  .footer-seals-flex {
    justify-content: flex-start;
  }
}

.license-seal-container {
  width: 120px;
  height: 120px;
  background-color: #ffffff;
  border-radius: 20px; /* Cambiado de 50% a rectangulo redondeado para que los logos horizontales se vean mejor */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  border: 3px solid var(--accent);
  transition: transform 0.3s ease;
}

.license-seal-container:hover {
  transform: translateY(-5px);
}

.marcas-container {
  width: 180px; /* Mucho más ancho */
  height: 80px;  /* Altura reducida para que sea rectangular */
  border-radius: 12px;
}

.license-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Esto asegura que el logo use todo el espacio sin deformarse */
  filter: contrast(1.05);
}

.license-number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- AGGRESSIVE MOBILE LAYOUT FIX --- */
@media (max-width: 900px) {
  .hero, 
  .hero-main, 
  .hero-content-compact,
  .hero-container, 
  .container, 
  .header-container,
  .top-bar-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }
}
