/* ==========================================================================
   VARIABLES GLOBALES & PALETA DE COLORES
   ========================================================================== */
:root {
  /* Colores Principales */
  --primary: #054895;
  --primary-dark: #022b5c;
  --primary-light: #0158a9;
  
  /* Colores Secundarios y Acentos */
  --secondary: #267436;
  --secondary-hover: #1c5828;
  --accent: #1884e6;
  --accent-soft: #eaf3fd;
  
  /* Neutrales y Fondos */
  --bg-main: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  
  /* Tipografía & Textos */
  --text-dark: #0f172a;
  --text-medium: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;
  
  /* Bordes & Sombras */
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  /* Sombras Multinivel Avanzadas */
  --shadow-sm: 0 4px 10px rgba(5, 72, 149, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(5, 72, 149, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(5, 72, 149, 0.18);
  --shadow-glow: 0 0 20px rgba(24, 132, 230, 0.35);
  
  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Container Responsivo */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   TIPOGRAFÍA Y ENCABEZADOS
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* ==========================================================================
   SISTEMA DE BOTONES (ANIMADOS Y DISTINTIVOS)
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
}

/* Efecto de Brillo Diagonal en Hover (Shimmer Sweep) */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--text-white);
  box-shadow: 0 6px 18px rgba(1, 88, 169, 0.3);
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(1, 88, 169, 0.45);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(1, 88, 169, 0.25);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary);
  border: 2px solid var(--accent-soft);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--accent-soft);
  border-color: rgba(24, 132, 230, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-call-header {
  background: linear-gradient(135deg, var(--secondary), #2ea043);
  color: var(--text-white);
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(38, 116, 54, 0.3);
}

.btn-call-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(38, 116, 54, 0.45);
}

/* Animación del Icono Telefónico */
.btn:hover .phone-icon-anim,
.phone-number-btn:hover .phone-icon-anim,
.footer-phone-btn:hover .phone-icon-anim {
  animation: phoneRing 0.5s ease-in-out infinite alternate;
}

@keyframes phoneRing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  *background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  width: 100px;
  height: 100px;
  *border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  *box-shadow: 0 4px 10px rgba(5, 72, 149, 0.2);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.brand-slogan {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.5px;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-medium);
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  color: var(--primary);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle:hover {
  border-color: rgba(5, 72, 149, 0.25);
  background: #eef6ff;
}

.lang-current {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 130px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.8rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  border: none;
  background: #fff;
  color: var(--text-dark);
  text-align: left;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   SECCIÓN 1: HERO
   ========================================================================== */
.hero-section {
  padding: 4rem 0 5rem 0;
  background: linear-gradient(180deg, #f0f6fc 0%, #ffffff 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(1, 88, 169, 0.12);
}

.badge-tag.green {
  background-color: #e8f5e9;
  color: var(--secondary);
  border-color: rgba(38, 116, 54, 0.18);
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.highlight-text {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
}

/* Visual Hero */
.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
  max-width: 280px;
}

.floating-card .card-icon {
  font-size: 2rem;
  background-color: #fff8e1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.floating-card strong {
  color: var(--primary);
  font-size: 1rem;
}

.floating-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   SECCIÓN 2: SERVICIOS
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 88, 169, 0.25);
}

.card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-media img {
  transform: scale(1.06);
}

.service-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(5, 72, 149, 0.88);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-soft);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-body h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.card-body p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ==========================================================================
   SECCIÓN 3: TESTIMONIOS
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-alt);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info strong {
  display: block;
  color: var(--primary);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   SECCIÓN 4: CONTACTO Y FORMULARIO RECONSTRUIDO
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f4f7fb 0%, #e2eeea 100%);
}

.contact-card-wrapper {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

/* Panel Izquierdo */
.contact-info {
  padding: 3.5rem;
  background: linear-gradient(145deg, #ffffff 0%, #f0f6ff 100%);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 2.1rem;
  margin: 1rem 0;
  color: var(--primary-dark);
}

.contact-info p {
  color: var(--text-medium);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Módulo Destacado de Llamada Directa */
.direct-call-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 30px rgba(5, 72, 149, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.direct-call-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.call-title {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.phone-number-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, var(--secondary), #2ea043);
  color: white;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 800;
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: 0 8px 20px rgba(38, 116, 54, 0.35);
  transition: var(--transition);
}

.phone-number-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(38, 116, 54, 0.5);
}

.phone-number-btn:active {
  transform: translateY(1px);
}

.call-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  opacity: 0.9;
  margin-top: 0.85rem;
}

.online-indicator {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #4ade80;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-point {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-circle {
  font-size: 1.4rem;
  background-color: var(--accent-soft);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(24, 132, 230, 0.15);
}

.highlight-point strong {
  color: var(--primary);
}

.highlight-point p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Panel Derecho: Formulario Moderno */
.contact-form-container {
  padding: 3.5rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header-badge {
  margin-bottom: 2rem;
}

.form-header-badge h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-header-badge p {
  font-size: 0.95rem;
  color: var(--text-medium);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.form-group label svg {
  color: var(--accent);
}

.input-wrapper {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.98rem;
  background-color: #f8fafc;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(24, 132, 230, 0.15);
}

/* Animación del Botón de Envío */
.btn-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-animated:hover .btn-arrow {
  transform: translateX(6px);
}

/* ==========================================================================
   FOOTER MEJORADO Y PROFUNDO
   ========================================================================== */
.footer {
  background: linear-gradient(135deg, #02234a 0%, #054895 60%, #011d3f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer-top-accent {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 50%, var(--primary-light) 100%);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3.5rem;
  padding: 5rem 1.5rem 3.5rem 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.logo-icon.white-bg {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-name.white {
  color: #ffffff;
}

.brand-slogan.opacity-8 {
  color: rgba(255, 255, 255, 0.85);
}

.brand-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.trust-badge-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow {
  color: var(--accent);
  font-weight: 800;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover .link-arrow {
  transform: translateX(3px);
}

/* Tarjeta Cristalina de Contacto en Footer */
.footer-card-call {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.call-hint {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}

.footer-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--secondary), #2ea043);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.footer-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.service-availability {
  display: block;
  font-size: 0.78rem;
  color: #4ade80;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.slogan-tag {
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   BOTÓN FLOTANTE RÁPIDO (STICKY CALL)
   ========================================================================== */
.floating-call-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: linear-gradient(135deg, var(--secondary), #2ea043);
  color: white;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(38, 116, 54, 0.45);
  transition: var(--transition);
}

.floating-call-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 14px 35px rgba(38, 116, 54, 0.6);
}

.floating-label {
  font-weight: 800;
  font-size: 0.95rem;
}

/* Animación de Pulso */
.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  border: 2px solid var(--secondary);
  animation: pulse-ring 2s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.98);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ==========================================================================
   ANIMACIONES SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons, .hero-features {
    justify-content: center;
  }

  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

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

@media (max-width: 768px) {
  .btn-call-header {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    border-bottom: 3px solid var(--primary);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .floating-card {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .contact-info, .contact-form-container {
    padding: 2.25rem 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .floating-label {
    display: none;
  }

  .floating-call-btn {
    padding: 1rem;
    border-radius: 50%;
  }

  .phone-number-btn {
    font-size: 1.2rem;
  }
}