/* =================== VARIABLES =================== */
:root {
  --navy-darker: #0A1A33;
  --navy-dark:   #0F2747;
  --navy:        #1B3D6F;
  --navy-light:  #2A5599;
  --gold:        #D4AF37;
  --gold-bright: #F0C43A;
  --gold-soft:   #E8C76B;
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --gray-100:    #EDEFF3;
  --gray-300:    #B8C0CC;
  --gray-500:    #6B7280;
  --gray-700:    #2D3748;
  --text-dark:   #0E1726;
  --shadow-sm:   0 2px 8px rgba(15, 39, 71, 0.08);
  --shadow-md:   0 8px 24px rgba(15, 39, 71, 0.12);
  --shadow-lg:   0 20px 50px rgba(15, 39, 71, 0.18);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.35);
  --transition:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================== RESET =================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }

/* =================== UTILIDADES =================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  padding-left: 50px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--navy-dark);
}
.section-title span { color: var(--gold); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 620px;
  line-height: 1.7;
}
section { padding: 110px 0; position: relative; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =================== NAVEGACIÓN =================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;           /* ← quita el padding */
  height: 70px;         /* ← altura fija de la barra */
  background: rgba(15, 39, 71, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.4s var(--transition);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 26, 51, 0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.nav-container {
  display: flex;
  align-items: center;        /* ← centra todo verticalmente */
  justify-content: space-between;
  gap: 30px;
  height: 100%;
  padding: 0 24px;            /* ← agrega padding lateral */
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 74px;         /* ← ajusta a tu gusto */
  height: 74px;        /* ← ajusta a tu gusto */
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.nav-logo .brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 2px;
}
.nav-logo .brand-tag {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 3px;
  margin-top: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 38px;
  margin: 0;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--transition);
}
.nav-links > li > a:hover { color: var(--gold); }
.nav-links > li > a:hover::after,
.nav-links > li.active > a::after { width: 100%; }
.nav-links > li.active > a { color: var(--gold); }

/* Submenús (dropdown) */
.has-dropdown > a .arrow {
  font-size: 0.7rem;
  transition: transform 0.3s var(--transition);
}
.has-dropdown:hover > a .arrow { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: var(--white);
  border-radius: 8px;
  padding: 12px 0;
  list-style: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--transition);
  border-top: 3px solid var(--gold);
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: var(--gold);
}
.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li { width: 100%; }
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s var(--transition);
  border-left: 3px solid transparent;
}
.dropdown li a i {
  color: var(--gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}
.dropdown li a:hover {
  background: var(--off-white);
  border-left-color: var(--gold);
  color: var(--navy-dark);
  padding-left: 28px;
}

.btn-cta {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.35s var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.menu-toggle {
  display: none;
  background: none;
  color: var(--white);
  font-size: 1.5rem;
}

/* =================== HERO PRINCIPAL =================== */
.hero {
  min-height: 100vh;
  padding: 160px 0 100px;
  background:
    linear-gradient(135deg, rgba(10,26,51,0.92) 0%, rgba(15,39,71,0.85) 100%),
    radial-gradient(ellipse at top right, rgba(212,175,55,0.25), transparent 60%),
    var(--navy-darker);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.hero-content .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero h1 .highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 0;
  width: 100%; height: 8px;
  background: rgba(212, 175, 55, 0.25);
  z-index: -1;
}
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 38px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}
.btn-primary, .btn-outline {
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.35s var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.hero-trust {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.trust-item i { color: var(--gold); font-size: 1.1rem; }

.hero-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(212, 175, 55, 0.3);
  aspect-ratio: 16 / 9;
  background: var(--navy-darker);
  transform: perspective(1000px) rotateY(-3deg);
}
.hero-video iframe { width: 100%; height: 100%; border: 0; }
.hero-video::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold), transparent 50%, var(--gold) 100%);
  z-index: -1;
  border-radius: 14px;
}

/* =================== HERO INTERIOR (subpáginas) =================== */
.page-hero {
  padding: 180px 0 90px;
  background:
    linear-gradient(135deg, rgba(10,26,51,0.93) 0%, rgba(15,39,71,0.88) 100%),
    radial-gradient(ellipse at top right, rgba(212,175,55,0.25), transparent 60%),
    var(--navy-darker);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: var(--gold); transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb i { font-size: 0.65rem; }

/* =================== NOSOTROS =================== */
.about { background: var(--off-white); position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-image { position: relative; border-radius: 8px; overflow: hidden; }
.about-image .bg-shape {
  position: absolute;
  width: 220px; height: 220px;
  background: var(--gold);
  border-radius: 50%;
  bottom: -60px; right: -60px;
  opacity: 0.15;
  z-index: 0;
}
.about-image .main-img {
  position: relative;
  z-index: 2;
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(15,39,71,0.65), rgba(10,26,51,0.85)),
    url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=900&q=80') center/cover;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
  padding: 36px;
  color: var(--white);
  border-top: 4px solid var(--gold);
}
.about-image .quote {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 500;
}
.about-image .quote::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold);
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}
.about-content p { color: var(--gray-500); margin-bottom: 18px; line-height: 1.8; }
.about-features { list-style: none; margin: 28px 0; }
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-weight: 500;
  color: var(--text-dark);
}
.about-features li i {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Estadísticas */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 80px;
  padding: 50px 40px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
}
.stat-item { text-align: center; color: var(--white); position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px; top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* =================== SERVICIOS (cards) =================== */
.services { background: var(--white); position: relative; }
.services-header { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.services-header .section-tag { padding-left: 0; }
.services-header .section-tag::before { display: none; }
.services-header .section-subtitle { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 45px 35px;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.4s var(--transition);
}
.service-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px dashed rgba(212,175,55,0.3);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}
.service-card:hover .service-icon::after { opacity: 1; }
.service-card:hover .service-icon { transform: rotate(-5deg) scale(1.05); }

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.service-card ul { list-style: none; margin-bottom: 26px; }
.service-card ul li {
  padding: 7px 0;
  color: var(--gray-700);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card ul li i { color: var(--gold); font-size: 0.75rem; }

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--navy-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s var(--transition);
}
.service-link:hover { background: var(--gold); color: var(--navy-dark); }
.service-link.wsp { background: #25D366; color: var(--white); }
.service-link.wsp:hover { background: #1ebe5a; }

/* =================== DETALLE DE SERVICIO =================== */
.service-detail {
  padding: 100px 0;
  background: var(--white);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: start;
}
.detail-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy-dark);
  margin-bottom: 22px;
  line-height: 1.2;
}
.detail-content h2 span { color: var(--gold); }
.detail-content > p {
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1rem;
}
.detail-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin: 35px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-content h3 i { color: var(--gold); }
.detail-content ul {
  list-style: none;
  margin-bottom: 24px;
}
.detail-content ul li {
  padding: 10px 0 10px 32px;
  color: var(--gray-700);
  position: relative;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.6;
}
.detail-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 12px;
  background: rgba(212, 175, 55, 0.15);
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
}

.detail-sidebar {
  position: sticky;
  top: 110px;
}
.sidebar-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 35px 30px;
  border-radius: 12px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.sidebar-card::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%);
}
.sidebar-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.sidebar-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin-bottom: 22px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}
.sidebar-card .btn-primary {
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.sidebar-card .btn-primary.wsp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.sidebar-card .btn-primary.wsp:hover {
  background: #1ebe5a;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

.feature-mini-list {
  background: var(--off-white);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
}
.feature-mini-list h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.feature-mini-list ul { list-style: none; }
.feature-mini-list ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.feature-mini-list ul li i { color: var(--gold); }

/* =================== GALERÍA =================== */
.gallery-section {
  padding: 100px 0;
  background: var(--off-white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s var(--transition);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
}
.gallery-item .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 20px;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%);
  background-size: 30px 30px;
}
.gallery-item .placeholder i {
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.5);
  margin-bottom: 12px;
}
.gallery-item .placeholder span {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.gallery-item .placeholder small {
  font-size: 0.75rem;
  margin-top: 6px;
  opacity: 0.7;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,51,0.7), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
  pointer-events: none;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1px;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }

/* =================== CTA BAND =================== */
.cta-band {
  background:
    linear-gradient(135deg, rgba(10,26,51,0.93), rgba(15,39,71,0.93)),
    url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
  color: var(--white);
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.cta-band h2 span { color: var(--gold); }
.cta-band p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.85);
}

/* =================== CONTACTO =================== */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 50px 40px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%);
  border-radius: 50%;
}
.contact-info-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.contact-info-card > p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 35px;
  font-size: 0.95rem;
}
.contact-list { list-style: none; position: relative; z-index: 2; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  align-items: flex-start;
}
.contact-list .icon-box {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.contact-list .info span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-list .info strong {
  font-weight: 500;
  color: var(--white);
  font-size: 0.95rem;
}
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}
.contact-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition);
}
.contact-social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.contact-form > p {
  color: var(--gray-500);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 18px; position: relative; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: 6px;
  background: var(--off-white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.3s var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.4s var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* =================== MAPA =================== */
.map-section {
  padding: 100px 0;
  background: var(--white);
}
.map-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 50px;
  border: 4px solid var(--white);
  outline: 1px solid rgba(212, 175, 55, 0.3);
}
.map-wrapper iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}
.map-pin-card {
  position: absolute;
  top: 30px;
  left: 30px;
  background: var(--white);
  padding: 22px 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 290px;
  border-left: 4px solid var(--gold);
  z-index: 5;
}
.map-pin-card h4 {
  font-family: 'Oswald', sans-serif;
  color: var(--navy-dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.map-pin-card p {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.map-pin-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  transition: gap 0.3s;
}
.map-pin-card a:hover { gap: 14px; color: var(--gold); }

/* =================== FOOTER =================== */
footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img { width: 100px; margin-bottom: 10px; }
.footer-brand h4 {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; }
.footer-col h5 {
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: all 0.3s var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover { color: var(--gold); gap: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 25px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* =================== WHATSAPP FLOTANTE =================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  transition: all 0.4s var(--transition);
  animation: pulse-whatsapp 2.2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(8deg); animation: none; }
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 22px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid, .detail-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-video { transform: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-sidebar { position: relative; top: 0; }
  .map-pin-card { position: relative; top: 0; left: 0; max-width: 100%; margin-bottom: 20px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }

  /* --- NAVBAR --- */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 25px;
    gap: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .dropdown {
    position: static !important;
    transform: none !important;
    left: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    border-top: 0;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    display: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.mobile-open .dropdown { display: block; }
  .dropdown li a { color: rgba(255,255,255,0.8); padding: 10px 16px; }
  .dropdown li a:hover { background: rgba(212, 175, 55, 0.1); color: var(--gold); }
  .menu-toggle { display: block; }
  .nav-logo .brand-tag { display: block; font-size: 0.6rem; }
  .btn-cta { display: none; }

  /* --- HERO centrado en mobile --- */
  .hero { padding: 120px 0 80px; }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content .badge { justify-content: center; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero p.lead { margin-left: auto; margin-right: auto; font-size: 1rem; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; gap: 16px; }
  .trust-item { font-size: 0.85rem; }

  /* --- SECCIONES --- */
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 35px 25px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 20px; right: 20px; font-size: 1.5rem; }
  .contact-info-card, .contact-form { padding: 35px 25px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section-subtitle { max-width: 100%; }
  .about-grid { gap: 30px; }
}

@media (max-width: 480px) {
  /* --- NAVBAR --- */
  .nav-logo img { width: 52px; height: 52px; }
  .nav-logo .brand-name { font-size: 1.1rem; }

  /* --- HERO --- */
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(1.8rem, 10vw, 2.5rem); letter-spacing: -0.5px; }
  .hero p.lead { font-size: 0.95rem; }
  .btn-primary, .btn-outline {
    padding: 14px 22px;
    font-size: 0.82rem;
    width: 100%;
    justify-content: center;
  }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }

  /* --- STATS --- */
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.75rem; }

  /* --- SERVICIOS --- */
  .service-card { padding: 30px 22px; }
  .card-actions { flex-direction: column; gap: 10px; }
  .service-link { justify-content: center; }

  /* --- FOOTER --- */
  .footer-brand img { width: 80px; }
  .footer-bottom { font-size: 0.8rem; padding: 20px 0; }

  /* --- CONTACTO --- */
  .contact-form { padding: 28px 18px; }
  .contact-info-card { padding: 28px 18px; }

  /* --- MAPA --- */
  .map-wrapper iframe { height: 320px; }

  /* --- NOSOTROS --- */
  .about-features li { font-size: 0.9rem; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* --- CTA BAND --- */
  .cta-band .btn-primary { width: 100%; justify-content: center; }

  /* --- WHATSAPP FLOAT --- */
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 16px; right: 16px; }
}
