/* ==========================================================================
   GAVIONES BARRANQUILLA - ESTILOS OFICIALES (CSS3 MODERNO & MOBILE-FIRST)
   Paleta Estricta:
   - Fondo primario / blanco: #ffffff
   - Texto principal / Oscuro profundo: #00171f
   - Azul marino (Header/Footer): #003459
   - Azul medio (Botones secundarios/Subtítulos): #007ea7
   - Azul vibrante (CTAs/Highlights): #00a8e8
   ========================================================================== */

/* --- 1. Variables CSS del Sistema de Diseño --- */
:root {
  --color-bg-primary: #ffffff;
  --color-bg-alt: #f4f8fa;
  --color-bg-subtle: #e9f2f7;
  
  --color-text-main: #00171f;
  --color-text-muted: #3d5666;
  --color-text-light: #6c8293;
  --color-text-inverse: #ffffff;

  --color-navy: #003459;
  --color-navy-dark: #00223b;
  --color-navy-light: #004575;

  --color-blue-medium: #007ea7;
  --color-blue-medium-hover: #006687;

  --color-blue-vibrant: #00a8e8;
  --color-blue-vibrant-hover: #0093cc;
  --color-blue-vibrant-glow: rgba(0, 168, 232, 0.25);

  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba59;
  --color-success: #10b981;
  --color-border: #dbe7ee;
  --color-border-focus: #00a8e8;

  /* Tipografía */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras */
  --shadow-xs: 0 1px 3px rgba(0, 23, 31, 0.06);
  --shadow-sm: 0 3px 8px rgba(0, 23, 31, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 23, 31, 0.10);
  --shadow-lg: 0 16px 36px rgba(0, 23, 31, 0.14);
  --shadow-float: 0 10px 30px rgba(0, 52, 89, 0.22);
  --shadow-wa: 0 8px 25px rgba(37, 211, 102, 0.40);

  /* Bordes y Transiciones */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Alturas de Cabecera */
  --top-bar-height: 40px;
  --header-height: 78px;
}

/* --- 2. Reseteo y Base Semántica --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* --- 3. Utilidades de Contenedores y Estructura --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.bg-light {
  background-color: var(--color-bg-alt);
}

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

.section-header {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.25rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue-medium);
  background-color: var(--color-bg-subtle);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- 4. Top Bar (Punto de fábrica & Llamada) --- */
.top-bar {
  background-color: #00111a;
  color: #ffffff;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--top-bar-height);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar__location,
.top-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar__location {
  color: #ffffff;
  font-weight: 500;
}

.top-bar__location .icon {
  color: var(--color-blue-vibrant);
  flex-shrink: 0;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #00171f;
  background-color: var(--color-blue-vibrant);
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 168, 232, 0.35);
  transition: all var(--transition-fast);
}

.top-bar__link:hover {
  background-color: #ffffff;
  color: var(--color-navy);
  transform: translateY(-1px);
}

/* --- 5. Header Sticky & Navegación (Centrada y Alto Contraste) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #001e33 0%, #002e4d 100%);
  border-bottom: 3px solid var(--color-blue-vibrant);
  box-shadow: 0 6px 24px rgba(0, 15, 25, 0.38), 0 2px 10px rgba(0, 168, 232, 0.25);
  transition: padding var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

/* En Desktop (992px+) centramos la navegación con un grid de 3 columnas balanceadas */
@media (min-width: 992px) {
  .site-header__container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.brand-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.45);
}

.brand-logo__img {
  display: block;
  width: auto;
  height: 44px;
  max-height: 44px;
  object-fit: contain;
}

/* Navegación Primaria y Enlaces Centrados */
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 17, 31, 0.55);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff; /* Alto Contraste: Blanco puro */
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  background-color: var(--color-blue-medium);
  box-shadow: 0 2px 10px rgba(0, 126, 167, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Acciones del Header a la Derecha */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

/* Botón de Llamada Ultra-Visible / Alto Contraste */
.btn--header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff; /* Máximo contraste contra el fondo */
  color: var(--color-navy);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 2px var(--color-blue-vibrant);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn--header-call:hover {
  background-color: var(--color-blue-vibrant);
  color: var(--color-text-main);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.6), 0 0 0 2px #ffffff;
  transform: translateY(-2px);
}

.btn__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: #ffffff;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn--header-call:hover .btn__icon-wrapper {
  background-color: #ffffff;
  color: var(--color-navy);
}

.header-contact__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.header-contact__label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-blue-medium);
  transition: color var(--transition-fast);
}

.btn--header-call:hover .header-contact__label {
  color: var(--color-navy-dark);
}

.header-contact__number {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  transition: color var(--transition-fast);
}

.btn--header-call:hover .header-contact__number {
  color: var(--color-navy-dark);
}

.mobile-nav-cta {
  display: none;
}

/* Botón Hamburguesa Móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 40px;
  padding: 9px 7px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle__bar {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- 6. Botones Genéricos --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  line-height: 1.2;
}

.btn--primary-cta {
  background: linear-gradient(135deg, #00a8e8 0%, #007ea7 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.4);
}

.btn--primary-cta:hover {
  background: linear-gradient(135deg, #10b8f7 0%, #006b8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 168, 232, 0.5);
  color: #ffffff;
}

/* Botones Rectangulares con Verde Sólido Oficial de WhatsApp (#25D366) */
.btn--whatsapp,
.btn[href*="wa.me"],
a.btn[href*="wa.me"] {
  background-color: #25d366 !important;
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn--whatsapp:hover,
.btn[href*="wa.me"]:hover,
a.btn[href*="wa.me"]:hover {
  background-color: #20ba59 !important;
  background: #20ba59 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.btn--secondary-call {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn--secondary-call:hover {
  background-color: #ffffff;
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn--medium-blue {
  background-color: var(--color-blue-medium);
  color: #ffffff;
}

.btn--medium-blue:hover {
  background-color: var(--color-blue-medium-hover);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 126, 167, 0.3);
}

.btn--vibrant {
  background-color: var(--color-blue-vibrant);
  color: var(--color-text-main);
  box-shadow: 0 4px 14px var(--color-blue-vibrant-glow);
}

.btn--vibrant:hover {
  background-color: var(--color-blue-vibrant-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 168, 232, 0.4);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--outline-dark:hover {
  background-color: var(--color-navy);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--white-phone {
  background-color: #ffffff;
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
}

.btn--white-phone:hover {
  background-color: var(--color-blue-vibrant);
  color: var(--color-text-main);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* --- 7. Hero Section --- */
.hero-section {
  position: relative;
  background-color: #f7fafc;
  background-image: url('./img/banner-hero-gaviones.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: var(--color-text-main);
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg, 
    #ffffff 0%, 
    rgba(255, 255, 255, 0.98) 32%, 
    rgba(255, 255, 255, 0.92) 46%, 
    rgba(255, 255, 255, 0.45) 62%, 
    rgba(255, 255, 255, 0.12) 76%, 
    transparent 88%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 630px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #e6f3fa;
  border: 1px solid #bde0f2;
  color: #004d73;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 52, 89, 0.06);
}

.hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-blue-vibrant);
  box-shadow: 0 0 8px var(--color-blue-vibrant);
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #00171f;
  margin-bottom: 0.85rem;
  text-align: left;
  font-weight: 800;
}

.hero-title .highlight {
  color: #003459;
  display: inline;
  background: none;
  -webkit-text-fill-color: initial;
}

.hero-title__sub {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #007ea7;
  margin-top: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: #334e60;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 580px;
  text-align: left;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  list-style: none;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #00223b;
  background: #edf5fa;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid #d0e4f0;
  box-shadow: 0 1px 3px rgba(0, 34, 59, 0.04);
}

.icon--check {
  color: #007ea7;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.btn--hero-navy {
  background-color: #003459;
  color: #ffffff;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #00223b;
  box-shadow: 0 4px 14px rgba(0, 52, 89, 0.25);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn--hero-navy:hover {
  background-color: #00223b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 52, 89, 0.35);
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d8e5ee;
  width: 100%;
  max-width: 580px;
}

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

.trust-stat__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #003459;
  line-height: 1.1;
}

.trust-stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #557285;
  font-weight: 600;
}

.trust-stat-divider {
  width: 1px;
  height: 34px;
  background-color: #d8e5ee;
}

/* --- 8. Producto Central: Gaviones Triple Torsión --- */
.product-section {
  background-color: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #f7fafc;
  border: 1px solid var(--color-border);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card--featured {
  border: 2px solid var(--color-blue-medium);
  position: relative;
}

.product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.product-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-subtle);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.badge--success {
  background-color: #d1fae5;
  color: #065f46;
}

.badge--primary {
  background-color: var(--color-bg-subtle);
  color: var(--color-navy);
}

.product-card__title {
  font-size: 1.45rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.product-card__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.spec-item__bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-bg-subtle);
  color: var(--color-blue-medium);
  font-weight: 800;
  font-size: 0.8125rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-item strong {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  font-size: 0.9375rem;
  display: block;
}

.spec-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-top: 0.15rem;
}

/* Sello de Garantía Tipo INVIAS */
.quality-stamp {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #eaf6fc 0%, #f0f9ff 100%);
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--color-blue-medium);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.quality-stamp__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-blue-medium);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-stamp__body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--color-navy);
}

.quality-stamp__body span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.product-card__footer {
  margin-top: auto;
}

/* Caja de Servicio Complementario con Fotografía de Obra en el Caribe */
.complementary-box {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .complementary-box {
    grid-template-columns: 1.05fr 1.15fr;
    align-items: stretch;
  }
}

.complementary-box__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background-color: #00171f;
}

.complementary-box__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.complementary-box:hover .complementary-box__img {
  transform: scale(1.04);
}

.complementary-box__content {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.complementary-box__badge {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-blue-vibrant);
  color: var(--color-text-main);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.complementary-box__title {
  font-size: 1.55rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.complementary-box__desc {
  color: #d7e7f2;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.complementary-box__desc strong {
  color: #ffffff;
}

.complementary-box__action {
  align-self: flex-start;
}

/* --- 9. Portafolio Adicional (Otras Soluciones) --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card__media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: #f4f8fa;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-card__img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.check-list li {
  font-size: 0.875rem;
  color: var(--color-text-main);
  position: relative;
  padding-left: 1.25rem;
}

.check-list li::before {
  content: '•';
  color: var(--color-blue-medium);
  font-weight: 800;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.link-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #128c7e;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.link-cta:hover {
  color: #25d366;
  transform: translateX(4px);
}

/* Quote Strip */
.quote-strip {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 2px dashed var(--color-blue-medium);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.quote-strip__text h4 {
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.quote-strip__text p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* --- 10. Proyectos y Clientes (Confianza) --- */
.projects-section {
  background-color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.project-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card__visual {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #00171f;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.project-card:hover .project-card__img {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-blue-vibrant);
  color: var(--color-text-main);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.project-card__content {
  padding: 1.75rem;
}

.project-card__title {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.project-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.project-card__meta {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.project-card__meta strong {
  color: var(--color-text-main);
}

.contractor-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue-medium) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

.contractor-cta__title {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.contractor-cta__info p {
  color: #e0eff8;
  font-size: 0.9375rem;
}

/* --- 11. Ubicación y Contacto Local --- */
.location-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.location-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.location-card__heading {
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-bg-subtle);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-bg-subtle);
  color: var(--color-blue-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__details {
  display: flex;
  flex-direction: column;
}

.contact-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.contact-item__value,
.contact-item__link {
  font-size: 0.9375rem;
  color: var(--color-text-main);
  font-style: normal;
  line-height: 1.45;
}

.contact-item__link:hover {
  color: var(--color-blue-medium);
  text-decoration: underline;
}

.location-card__cta {
  margin-top: auto;
}

.location-map-wrap {
  position: relative;
  min-height: 380px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.location-map {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.map-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--color-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- 12. Footer --- */
.site-footer {
  background-color: var(--color-navy);
  color: #c5dbe9;
  padding-top: 4.5rem;
  border-top: 4px solid var(--color-blue-medium);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-title {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b0cbdc;
  margin-bottom: 1.75rem;
}

.footer-phone-highlight {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-blue-vibrant);
}

.footer-phone-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #8faec2;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.footer-phone-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-blue-vibrant);
  transition: color var(--transition-fast);
}

.footer-phone-num:hover {
  color: #ffffff;
}

.footer-heading {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links a {
  font-size: 0.875rem;
  color: #b0cbdc;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

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

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

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

.footer-contact-details a {
  color: var(--color-blue-vibrant);
}

.footer-contact-details a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #8faec2;
}

.footer-bottom strong {
  color: #ffffff;
}

/* --- 13. WhatsApp Flotante con Pulso Dinámico --- */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 999;
  width: 62px;
  height: 62px;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-wa);
  transition: transform var(--transition-bounce), background var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  background-color: var(--color-whatsapp-hover);
}

.whatsapp-float__icon {
  position: relative;
  z-index: 2;
}

.whatsapp-float__pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  opacity: 0.7;
  animation: wa-pulse 2s infinite;
  z-index: 1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-float__tooltip {
  display: none;
  position: absolute;
  right: 74px;
  background-color: var(--color-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  display: block;
}

/* --- 14. Barra Rápida Móvil (Mobile Bottom Bar) --- */
.mobile-cta-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background-color: #ffffff;
  box-shadow: 0 -4px 18px rgba(0, 23, 31, 0.15);
  border-top: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  gap: 0.75rem;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.mobile-cta-btn--call {
  background-color: var(--color-navy);
  color: #ffffff;
}

.mobile-cta-btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
}

/* --- 15. Media Queries & Adaptación Responsive (Breakpoints) --- */

/* Pantallas Medianas (Tablets: 768px+) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .location-layout {
    grid-template-columns: 1fr 1fr;
  }

  .quote-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contractor-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* En desktop el botón flotante de WhatsApp vuelve a la posición inferior estándar */
  .whatsapp-float {
    bottom: 2rem;
    right: 2rem;
  }

  /* Ocultamos la barra móvil inferior en pantallas mayores a 768px */
  .mobile-cta-bar {
    display: none;
  }
}

/* Pantallas Grandes (Desktop: 992px+) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.25rem;
  }


}

/* Comportamiento Menú Móvil en pantallas < 992px */
@media (max-width: 991px) {
  .site-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .desktop-call-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #001f35;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.5rem 2.25rem;
    border-bottom: 4px solid var(--color-blue-vibrant);
    box-shadow: 0 16px 36px rgba(0, 15, 25, 0.6);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-blue-vibrant);
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-top: 0.5rem;
  }

  .mobile-nav-cta .btn--header-call {
    width: 100%;
    justify-content: center;
  }

  /* Adaptación Hero Section en Tablets y Móviles */
  .hero-section {
    padding: 3.5rem 0 4rem 0;
    background-position: center right 25%;
  }

  .hero-section::before {
    background: linear-gradient(
      180deg, 
      rgba(255, 255, 255, 0.97) 0%, 
      rgba(255, 255, 255, 0.94) 65%, 
      rgba(255, 255, 255, 0.88) 100%
    );
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
    margin: 0 auto;
  }

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

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

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

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-strip {
    justify-content: center;
    margin: 0 auto;
  }
}

/* Pantallas Pequeñas (< 576px) */
@media (max-width: 575px) {
  .top-bar__inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar__location {
    display: none; /* En pantallas ultra-pequeñas priorizamos la línea directa */
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-trust-strip {
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
  }

  .trust-stat-divider {
    display: none;
  }
}
