/* ============================================
   FUENTES ESPECIALES (USO BAJO DEMANDA)
   ============================================ */

/* Fuente Especial 1: Aquatico (para títulos destacados y logo) */
@font-face {
    font-family: 'FuenteEspecial1';
    src: url('../assets/fonts/Aquatico-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Fuente Especial 2: Rosellinda Alyamore (para frases elegantes) */
@font-face {
    font-family: 'FuenteEspecial2';
    src: url('../assets/fonts/Rosellinda-Alyamore.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Clases para usar las fuentes especiales fácilmente */
.font-especial-1 {
    font-family: 'FuenteEspecial1', 'Georgia', serif;
	display: inline-block;
    transform: scaleY(0.8);  /* Aplasta horizontalmente (85% del ancho original) */
    transform-origin: left center;  /* Punto de anclaje para el aplastamiento */
}

.font-especial-2 {
    font-family: 'FuenteEspecial2', 'Verdana', sans-serif;
	font-size: 1.2em;
	font-weight: normal;  /* ← Agrega esta línea para quitar lo grueso */
    font-style: normal;   /* ← Opcional: asegura que no haya cursiva */
	position: relative;
    top: 4px;  /* Positivo = hacia abajo */
    display: inline-block;
}

/* En tu style.css */
.ampersand {
    font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
    font-size: 0.90em;           /* Mismo tamaño que el contexto */
    font-weight: 500;         /* Medium weight */
    display: inline-block;
    margin: 0 5px;
    position: relative;
    top: -3px;                /* Ajuste fino de alineación */
    color: inherit;
}

/* Contenedor unificado para todo el sitio */
.container,
.top-bar .container,
.navbar .container,
.hero-video .container,
.hero-overlay-content .container,
section .container {
    max-width: 1200px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- VARIABLES & RESET (Corporative Colors) ----- */
:root {
  --primary-dark: #082B4D;
  --primary-teal: #33A2B1;
  --gradient-bg: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
  --gradient-light: linear-gradient(120deg, rgba(51,162,177,0.08) 0%, rgba(8,43,77,0.05) 100%);
  --gray-light: #f8fafc;
  --gray-mid: #eef2f6;
  --text-dark: #1e2a3e;
  --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.08);
  
  /* FUENTES NUEVAS */
  --font-primary: 'Cambria', 'Georgia', 'Times New Roman', serif;
  --font-secondary: 'Montserrat', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Fuente secundaria (Montserrat) para texto general */
  font-family: var(--font-secondary);
  font-weight: 500; /* Medium weight */
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container, .container-fluid {
    overflow-x: hidden;
}

/* Fuente principal (Cambria) para títulos */
h1, h2, h3, h4, h5, h6, 
.playfair, 
.section-title,
.navbar-brand,
.hero h1,
.service-card h4,
.faq-question {
  font-family: var(--font-primary);
  font-weight: 700;
}

/* Ajuste específico para subtítulos y textos destacados */
.lead, 
.badge-clean,
.btn-custom,
.btn-outline-custom {
  font-family: var(--font-secondary);
  font-weight: 600;
}

/* Texto normal con Montserrat Medium */
p, li, .small, .card-text, .faq-answer {
  font-family: var(--font-secondary);
  font-weight: 500;
}

.text-teal { 
  color: var(--primary-teal); 
}

.text-darkblue { 
  color: var(--primary-dark); 
}

.bg-gradient-primary { 
  background: var(--gradient-bg); 
}

/* Botones personalizados */
.btn-custom {
  background: var(--gradient-bg);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -10px rgba(51,162,177,0.4);
  background: linear-gradient(135deg, #0a3a62, #2a8c9c);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary-teal);
  background: transparent;
  color: var(--primary-dark);
  border-radius: 40px;
  padding: 10px 28px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline-custom:hover {
  background: var(--primary-teal);
  color: white;
  border-color: var(--primary-teal);
  transform: translateY(-2px);
}

/* ============================================
   TOP BAR - Contact Bar Superior
   ============================================ */

.top-bar {
  background: linear-gradient(135deg, #082B4D 0%, #0a3a62 100%);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  border-bottom: 2px solid rgba(51, 162, 177, 0.3);
}

/* Ajuste para que el navbar no quede debajo de la top bar */
.navbar {
  margin-top: 50px; /* Altura de la top bar */
}

@media (max-width: 768px) {
  .navbar {
    margin-top: 85px; /* Altura mayor en móvil */
  }
}

/* Logo de navegación */
.navbar-logo {
  height: 70px;        /* Altura del logo */
  width: auto;         /* Mantiene proporción */
  max-width: 200px;    /* Ancho máximo */
  display: block;
  transition: all 0.3s ease;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .navbar-logo {
    height: 40px;      /* Logo más pequeño en móviles */
  }
}

/* Si el logo necesita ser redondo o con bordes */
.navbar-logo-rounded {
  border-radius: 8px;
}

/* Si el logo tiene fondo blanco y necesitas padding */
.navbar-logo-with-bg {
  background-color: white;
  padding: 5px 10px;
  border-radius: 8px;
}

/* Quitar el background-clip del texto original */
.navbar-brand {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--primary-dark) !important;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Asegurar que el hover no afecte la imagen */
.navbar-brand:hover {
  opacity: 0.9;
  transform: none;
}

.top-bar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.top-bar-link:hover {
  color: #33A2B1;
  transform: translateY(-1px);
}

.top-bar-link.no-hover {
  cursor: default;
}

.top-bar-link.no-hover:hover {
  color: #ffffff;
  transform: none;
}

.top-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #33A2B1;
}

.top-bar-text {
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Separador visual entre elementos */
.top-bar-item:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.3);
  margin-left: 1.5rem;
  font-weight: 300;
}

/* Responsive: en móviles, los elementos se apilan */
@media (max-width: 768px) {
  .top-bar {
    padding: 10px 0;
  }
  
  .top-bar-list {
    flex-direction: column;
    gap: 8px;
  }
  
  .top-bar-item:not(:last-child)::after {
    display: none;
  }
  
  .top-bar-link {
    font-size: 0.75rem;
  }
  
  .top-bar-text {
    font-size: 0.75rem;
  }
}

/* Versión alternativa con degrade más oscuro */
.top-bar-dark {
  background: linear-gradient(135deg, #041829 0%, #082B4D 100%);
}

/* Opción con solo color sólido (alternativa) */
.top-bar-solid {
  background: #082B4D;
}

/* Navbar */
.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.7rem;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 500;
  color: var(--primary-dark) !important;
  margin: 0 0.3rem;
  transition: 0.2s;
}

.nav-link:hover {
  color: var(--primary-teal) !important;
  transform: translateY(-1px);
}

/*Hero Section */
.hero {
  background: linear-gradient(105deg, #ffffff 50%, var(--gray-light) 100%);
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 130%;
  background: radial-gradient(circle, rgba(51,162,177,0.03) 0%, rgba(8,43,77,0.02) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-icon {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* ============================================
   HERO SECTION WITH VIDEO CAROUSEL
   ============================================ */

.hero-video {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 110px; /* Ajusta según altura top-bar + navbar */
}

/* Carrusel de videos */
#heroCarousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Overlay oscuro para legibilidad del texto */
.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

/* Contenido superpuesto */
.hero-overlay-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 80px 0;
  color: white;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-icon {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* Botones del hero */
.btn-hero {
  background: var(--gradient-bg);
  padding: 14px 35px;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 12px 32px;
}

.btn-hero-outline:hover {
  background: white;
  color: var(--primary-dark);
  border-color: white;
}

/* Features */
.hero-features span {
  color: white;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Redes Sociales */
.hero-social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-label {
  font-weight: 500;
  color: white;
  margin-right: 0.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-teal);
  color: white;
  transform: translateY(-3px);
}

/* Tarjeta de estadísticas */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-item {
  text-align: center;
  margin-bottom: 20px;
}

.stats-item:last-child {
  margin-bottom: 0;
}

.stats-item i {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.stats-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.stats-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Captions del carrusel (texto sobre cada video) */
.carousel-caption {
  bottom: 20%;
  text-align: left;
  left: 5%;
  right: auto;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 25px;
  border-radius: 12px;
  max-width: 350px;
}

.hero-slide-tag {
  display: inline-block;
  background: var(--primary-teal);
  color: white;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.carousel-caption h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: white;
}

.carousel-caption p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
  z-index: 10;
}

.carousel-indicators {
  z-index: 10;
  bottom: 20px;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-overlay-content {
    padding: 60px 0;
  }
  
  .hero-video {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .btn-hear,
  .btn-hero-outline {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero-features {
    gap: 0.8rem;
    font-size: 0.85rem;
  }
  
  .carousel-caption {
    display: none; /* Ocultar captions en móvil para no saturar */
  }
  
  .hero-video {
    margin-top: 140px;
  }
}

/* ============================================
   DYNAMIC HERO SLIDE CONTENT
   ============================================ */

/* Contenedor de contenido dinámico */
.hero-slide-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide-content.active {
  display: block;
  opacity: 1;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Títulos con acento */
.hero-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-title-accent {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-teal);
  margin-top: 8px;
}

/* Service Features Badges */
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.feature-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-badge i {
  color: var(--primary-teal);
  margin-right: 6px;
  font-size: 0.75rem;
}

.feature-badge:hover {
  background: rgba(51, 162, 177, 0.3);
  border-color: var(--primary-teal);
  transform: translateY(-2px);
}

/* Stats Card dinámico */
.hero-stats-card {
  background: rgba(8, 43, 77, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 30px 25px;
  border: 1px solid rgba(51, 162, 177, 0.4);
  transition: all 0.5s ease;
}

.stats-item {
  text-align: center;
  margin-bottom: 25px;
}

.stats-item:last-child {
  margin-bottom: 0;
}

.stats-item i {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.stats-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.stats-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Carousel indicators personalizados */
.carousel-indicators {
  z-index: 15;
  bottom: 30px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 6px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: var(--primary-teal);
  transform: scale(1.2);
  width: 14px;
  height: 14px;
}

/* Controles de navegación mejorados */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: var(--primary-teal);
  transform: translateY(-50%) scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-title-accent {
    font-size: 1rem;
  }
  
  .service-features {
    gap: 8px;
  }
  
  .feature-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .service-features {
    display: none; /* Ocultar en móvil para no saturar */
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 35px;
    height: 35px;
  }
}

/* ============================================
   VIDEO PROGRESS BAR (10 segundos)
   ============================================ */

.video-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 20;
}

.video-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-teal), var(--primary-dark));
  transition: width linear;
}

/* Cuando el slide está activo, la barra se anima */
.carousel-item.active ~ .video-progress-bar .video-progress-fill {
  animation: progressFill 10s linear forwards;
}

@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 28px;
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  height: 100%;
  border: 1px solid rgba(51,162,177,0.15);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(51,162,177,0.3);
}

.service-icon {
  font-size: 2.7rem;
  background: var(--gradient-light);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-teal);
  margin-bottom: 1.3rem;
}

/* Badges */
.badge-clean {
  background: rgba(51,162,177,0.12);
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-block;
}

/* Section Titles */

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--gradient-bg);
  border-radius: 3px;
}

/* En tu style.css - Agrega esto */
section {
    scroll-margin-top: 120px;  /* Ajusta según la altura de top-bar + navbar */
}

/* Si quieres más control, específico para cada sección */
#home, #services, #about, #blog, #faq, #contact {
    scroll-margin-top: 120px;
}

/* FAQ Styles */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 1rem 0;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #4a5568;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 12px;
}

/* ============================================
   ESTILOS UNIFICADOS PARA FORMULARIO
   ============================================ */

/* Estilo base para todos los campos del formulario */
#contactForm .form-control,
#contactForm .custom-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

/* Efecto focus (cuando se selecciona el campo) */
#contactForm .form-control:focus,
#contactForm .custom-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(51, 162, 177, 0.2);
}

/* Efecto hover */
#contactForm .form-control:hover,
#contactForm .custom-select:hover {
    border-color: var(--primary-teal);
}

/* Estilo específico para el select (custom-select) */
#contactForm .custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2333A2B1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
}

/* Placeholder styles */
#contactForm .form-control::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* Textarea específico */
#contactForm textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Título del formulario */
#quote h3 {
    font-family: 'FuenteEspecial1', 'Georgia', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

#quote h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-bg);
    border-radius: 3px;
}

/* Espaciado entre campos */
#contactForm .mb-3 {
    margin-bottom: 1.2rem !important;
}

/* Mensaje de error/validación (opcional) */
#contactForm .error {
    border-color: #dc3545 !important;
}

#contactForm .error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    #contactForm .form-control,
    #contactForm .custom-select {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    #quote h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   ESTILOS PARA RESPUESTAS DEL FORMULARIO
   ============================================ */

#formResponse {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    text-align: center;
}

#formResponse.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#formResponse.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Estado de carga del botón */
.btn-custom.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-custom.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #cbd5e1;
}

footer a {
  transition: 0.2s;
}

footer a:hover {
  color: var(--primary-teal) !important;
}

/* WhatsApp Float Button - Versión corregida */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
  /* Eliminar subrayado por completo */
  text-decoration: none !important;
  border: none;
  outline: none;
}

.whatsapp-float:link,
.whatsapp-float:visited,
.whatsapp-float:hover,
.whatsapp-float:active,
.whatsapp-float:focus {
  text-decoration: none !important;
  color: white !important;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20b359;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-decoration: none !important;
}

.whatsapp-float i {
  pointer-events: none; /* Mejora la experiencia de clic */
  font-size: 2.2rem;
}

/* Animación suave al cargar */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}

/* Map Iframe */
.map-iframe {
  width: 100%;
  height: 300px;
  border-radius: 24px;
  border: none;
  box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { 
    font-size: 2.3rem; 
  }
  .section-title { 
    font-size: 1.9rem; 
  }
  .hero { 
    padding: 100px 0 60px; 
  }
  .hero-icon {
    font-size: 2.5rem;
  }
}

/* Utility Classes */
img {
  max-width: 100%;
  height: auto;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.rounded-4 {
  border-radius: 1rem;
}

/* ============================================
   BOTÓN VOLVER ARRIBA (SCROLL TO TOP)
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;              /* Cambia a right: 30px; si lo quieres a la derecha */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-bg);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(51, 162, 177, 0.4);
    background: linear-gradient(135deg, #0a3a62, #2a8c9c);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Si lo quieres a la derecha (junto al WhatsApp) */
.scroll-to-top-right {
    right: 30px;
    left: auto;
    bottom: 100px;  /* Para que no choque con el botón de WhatsApp */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
}
/* ============================================
   CORRECCIÓN DE ANCHO - TOP BAR & NAVBAR
   ============================================ */

/* Asegurar que top-bar y navbar tengan el mismo ancho que el hero */
.top-bar .container,
.navbar .container {
    max-width: 1200px;  /* Mismo ancho que el contenido del hero */
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* Para que el hero también tenga contenido centrado */
.hero-video .container {
    max-width: 1200px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* Ajuste para que el overlay content respete el ancho */
.hero-overlay-content .container {
    max-width: 1200px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE - MÓVILES
   ============================================ */

/* Tablets (768px - 992px) */
@media (max-width: 992px) {
    .top-bar .container,
    .navbar .container,
    .hero-video .container,
    .hero-overlay-content .container {
        max-width: 960px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Móviles (hasta 768px) */
@media (max-width: 768px) {
    .top-bar .container,
    .navbar .container,
    .hero-video .container,
    .hero-overlay-content .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ajuste de la top bar en móviles */
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-list {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .top-bar-item:not(:last-child)::after {
        display: none;
    }
    
    .top-bar-link {
        font-size: 0.75rem;
    }
    
    .top-bar-text {
        font-size: 0.75rem;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .top-bar .container,
    .navbar .container,
    .hero-video .container,
    .hero-overlay-content .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .top-bar-text {
        font-size: 0.7rem;
    }
}

/* Ajuste para tablets */
@media (max-width: 992px) {
    .hero-overlay-content {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .hero-overlay-content {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Botones en móviles */
    .btn-hero,
    .btn-hero-outline {
        padding: 10px 18px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }
    
    /* Features en móviles */
    .hero-features {
        flex-direction: column;
        gap: 8px !important;
        margin-top: 15px;
    }
    
    .hero-features span {
        font-size: 0.8rem;
    }
    
    /* Redes sociales */
    .hero-social-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-title-accent {
        font-size: 0.9rem;
    }
    
    .btn-hero,
    .btn-hero-outline {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* ============================================
   NAVBAR - RESPONSIVE
   ============================================ */

/* Botón hamburguesa */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Menú desplegable en móviles */
@media (max-width: 768px) {
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        gap: 5px;
    }
    
    .nav-item {
        text-align: center;
    }
    
    .nav-link {
        padding: 10px 15px;
        display: block;
    }
    
    .btn-custom {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   ESTILOS PARA CÓDIGOS QR
   ============================================ */

/* Estilo para QR en Hero Section */
.qr-code-item {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 12px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.qr-code-img {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.qr-code-item:hover {
    transform: scale(1.1);
    background: rgba(51, 162, 177, 0.3);
}

.qr-code-item:hover .qr-code-img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Estilo para QR en Footer */
.qr-footer-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.qr-footer-img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: white;
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.qr-footer-item:hover {
    transform: translateY(-5px);
}

.qr-footer-item:hover .qr-footer-img {
    box-shadow: 0 8px 20px rgba(51, 162, 177, 0.4);
    transform: scale(1.02);
}

/* ============================================
   QR CODES - RESPONSIVE (MÁS GRANDES Y ESCANEABLES)
   ============================================ */

/* Móviles (hasta 768px) */
@media (max-width: 768px) {
    /* QR en Hero Section */
    .qr-code-img {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* QR en Footer */
    .qr-footer-img {
        width: 90px !important;
        height: 90px !important;
        padding: 10px !important;
        border-radius: 16px !important;
    }
    
    /* Texto debajo del QR */
    .qr-footer-item p {
        font-size: 0.85rem !important;
        margin-top: 8px !important;
    }
    
    /* Espaciado entre QR */
    .d-flex.gap-4 {
        gap: 1.5rem !important;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    /* QR en Hero Section */
    .qr-code-img {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* QR en Footer */
    .qr-footer-img {
        width: 80px !important;
        height: 80px !important;
        padding: 10px !important;
    }
    
    /* Texto debajo del QR */
    .qr-footer-item p {
        font-size: 0.8rem !important;
    }
    
    /* Espaciado entre QR */
    .d-flex.gap-4 {
        gap: 1.2rem !important;
    }
}

/* Móviles muy pequeños (hasta 380px) */
@media (max-width: 380px) {
    .qr-footer-img {
        width: 70px !important;
        height: 70px !important;
        padding: 8px !important;
    }
    
    .d-flex.gap-4 {
        gap: 1rem !important;
    }
}
