/* ═══════════════════════════════════════════════════
   AVPHI — Estilos Principales
   Paleta: Azul Marino + Dorado
═══════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────── */
:root {
  --navy:       #0A1628;
  --navy-mid:   #122040;
  --navy-light: #1E3A6E;
  --navy-card:  #0f2040;
  --gold:       #C9A84C;
  --gold-light: #E8C668;
  --gold-dark:  #9C7A28;
  --white:      #FFFFFF;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-400:   #9CA3AF;
  --gray-600:   #4B5563;
  --green:      #25D366;
  --font:       'Poppins', sans-serif;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  24px;
  --shadow:     0 4px 24px rgba(10, 22, 40, 0.12);
  --shadow-lg:  0 12px 48px rgba(10, 22, 40, 0.20);
  --transition: 0.3s ease;
  --nav-h:      72px;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-gold { color: var(--gold); }

/* ── Section Common ───────────────────────────── */
.section { padding: 5rem 0; }

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

.section-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-dark);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-wa {
  background: var(--green);
  color: var(--white);
}
.btn-wa:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

.btn-wa-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 1.5rem;
}
.btn-wa-lg:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; padding: 0.9rem; }

.btn-video {
  background: var(--navy);
  color: var(--white);
}
.btn-video:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.22);
}

/* ── Reveal Animation ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.logo-fallback {
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width var(--transition);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, #1a3a70 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, #0d2650 0%, transparent 60%),
    var(--navy);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-number sup { font-size: 0.9rem; }

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  display: block;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════ */
.services { background: var(--gray-50); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-card--featured {
  background: var(--navy);
  border-color: transparent;
}

.service-card--featured::before { background: var(--gold); transform: scaleX(1); }
.service-card--featured h3,
.service-card--featured .service-lead,
.service-card--featured .service-list li { color: var(--white); }
.service-card--featured .service-list i { color: var(--gold); }
.service-card--featured .service-cta { color: var(--gold); }

.service-badge-top {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.service-lead {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.service-list { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.5rem; }

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.service-list i {
  color: var(--gold-dark);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: gap var(--transition);
}

.service-cta:hover { gap: 0.7rem; }

/* ════════════════════════════════════════════════
   PROPERTIES
════════════════════════════════════════════════ */
.properties { background: var(--white); }

.property-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.property-card.hidden { display: none; }

/* Property image / gallery wrapper */
.property-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--navy-mid);
}

.prop-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.4);
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
}

.prop-placeholder i { font-size: 3rem; }
.prop-placeholder p { font-size: 0.9rem; text-align: center; line-height: 1.4; }

/* Video-preview en tarjetas sin fotos */
.prop-video-preview {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--navy);
}
.prop-vthumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.prop-vplay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(10, 22, 40, 0.52);
  color: #fff;
  transition: background 0.22s;
}
.prop-vplay i {
  font-size: 3.8rem;
  color: var(--gold);
  transition: transform 0.22s, color 0.22s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.prop-vplay span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.prop-video-preview:hover .prop-vplay { background: rgba(10, 22, 40, 0.28); }
.prop-video-preview:hover .prop-vplay i { transform: scale(1.12); color: var(--gold-light); }

/* Video pill badge (top-right of image area) */
.prop-video-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(10, 22, 40, 0.72);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  z-index: 3;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s, transform 0.25s;
}

.prop-video-pill i { color: var(--gold); font-size: 0.78rem; }

.prop-video-pill:hover {
  background: rgba(201, 168, 76, 0.85);
  color: var(--navy);
  transform: scale(1.05);
}

.prop-video-pill:hover i { color: var(--navy); }

.prop-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.04em;
}

.prop-badge--gold { background: var(--gold); color: var(--navy); }
.prop-badge--navy { background: var(--navy); color: var(--white); }

.prop-price {
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  background: rgba(10, 22, 40, 0.85);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* Gallery */
.gallery-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: zoom-in;
}

.gallery-img.active { opacity: 1; }

.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 22, 40, 0.65);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition);
}

.gal-btn:hover { background: var(--navy); }
.gal-prev { left: 0.5rem; }
.gal-next { right: 0.5rem; }

.gal-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}

.gal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background var(--transition);
  cursor: pointer;
}

.gal-dot.active { background: var(--gold); width: 18px; border-radius: 3px; }

/* Property body */
.property-body { padding: 1.5rem; }

.prop-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.prop-location {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.prop-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.prop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.spec {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gray-100);
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
}

.spec i { color: var(--gold-dark); font-size: 0.7rem; }

.prop-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════ */
.about { background: var(--gray-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-avatar {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(201, 168, 76, 0.4);
  box-shadow: var(--shadow-lg);
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cred-item i {
  color: var(--gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.about-content .section-title { margin-bottom: 1rem; }

.about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

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

.hi-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hi-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.hi-text p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.55;
}

/* ════════════════════════════════════════════════
   MARCO NORMATIVO
════════════════════════════════════════════════ */
.normativo {
  background: var(--navy);
}

.normativo .section-badge {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--gold);
}

.normativo .section-title { color: var(--white); }
.normativo .section-subtitle { color: rgba(255,255,255,0.65); }

.normativo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.law-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.law-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.law-num {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.15);
  line-height: 1;
}

.law-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.law-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.law-type {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.law-card > p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.law-list { display: flex; flex-direction: column; gap: 0.5rem; }

.law-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
}

.law-list i {
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════ */
.contact { background: var(--gray-50); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

a.cinfo-item:hover { opacity: 0.8; }

.cinfo-icon {
  width: 42px;
  height: 42px;
  background: rgba(10, 22, 40, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
}

.cinfo-icon--wa { background: rgba(37, 211, 102, 0.12); color: var(--green); }

.cinfo-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.cinfo-item span, .cinfo-item a {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.req { color: var(--gold-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30, 58, 110, 0.08);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53e3e;
}

.field-error {
  font-size: 0.78rem;
  color: #e53e3e;
  display: none;
}

.field-error.show { display: block; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.75rem;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show { display: block; }

.success-icon {
  font-size: 3.5rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 4rem 0 0;
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer-company {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.footer-nit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col ul li,
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--gold); }

.footer-col p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.footer-col p i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-laws {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-laws span {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

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

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.admin-access {
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.admin-access:hover { color: var(--gold); }

/* ════════════════════════════════════════════════
   FLOATING ELEMENTS
════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.wa-float:hover .wa-tooltip { opacity: 1; }

.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 900;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover { transform: translateY(-3px); background: var(--navy-light); }

/* ════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(4px);
}

.lb-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh;
}

.lb-img {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lb-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
}

.lb-close:hover { background: rgba(255,255,255,0.2); }

.lb-prev, .lb-next {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.lb-prev:hover, .lb-next:hover { background: rgba(201, 168, 76, 0.4); }

.lb-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

/* ════════════════════════════════════════════════
   VIDEO MODAL
════════════════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.vm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.93);
  backdrop-filter: blur(7px);
}

.vm-wrap {
  position: relative;
  z-index: 1;
  width: min(92vw, 960px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  background: #000;
}

.vm-wrap video {
  display: block;
  width: 100%;
  max-height: 82vh;
  background: #000;
  outline: none;
}

.vm-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s;
  z-index: 2;
}

.vm-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ════════════════════════════════════════════════
   ALIADOS ESTRATÉGICOS
════════════════════════════════════════════════ */
.aliados { background: var(--gray-50); }

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

.ally-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.ally-header {
  background: var(--navy);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ally-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.ally-avatar--logo {
  background: var(--white);
  padding: 0.5rem;
}

.ally-avatar--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.ally-name {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.ally-title {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ally-company {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin-top: 0.2rem;
  line-height: 1.45;
}

.ally-body {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ally-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ally-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.ally-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ally-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.87rem;
  color: var(--navy);
  line-height: 1.55;
}

.ally-list li i {
  color: var(--gold-dark);
  font-size: 0.72rem;
  margin-top: 0.28rem;
  flex-shrink: 0;
}

.ally-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ally-skill {
  background: rgba(10, 22, 40, 0.06);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  border: 1px solid var(--gray-200);
}

.ally-contact {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ally-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.ally-contact-item i {
  color: var(--navy-light);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Enlace alianza estratégica en Nosotros */
.link-alianza {
  color: var(--gold-dark);
  font-weight: 600;
  border-bottom: 1.5px dashed var(--gold);
  transition: color var(--transition), border-color var(--transition);
}

.link-alianza:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-col { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 3.5rem 0; }

  /* Navbar mobile */
  .navbar { background: var(--navy); }
  .nav-toggle { display: flex; margin-left: auto; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
  }

  .nav-menu.open { max-height: 480px; }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link::after { display: none; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-divider { height: 30px; }

  .about-avatar { height: 220px; font-size: 4rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

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

  .wa-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; font-size: 1.5rem; }
  .scroll-top { bottom: 5rem; right: 1.25rem; }

  .lb-prev, .lb-next { width: 38px; height: 38px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .normativo-grid { grid-template-columns: 1fr; }
  .aliados-grid { grid-template-columns: 1fr; }
  .prop-actions { flex-direction: column; }
  .prop-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Sección Promociones ─────────────────────────── */
.promo { background: var(--gray-50); }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.promo-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  border: 2px dashed var(--gray-200);
  text-align: center;
  color: var(--gray-500);
}
.promo-empty i { font-size: 3rem; color: var(--gold); opacity: 0.7; }
.promo-empty p { font-size: 1rem; line-height: 1.6; margin: 0; }

.promo-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.promo-card-header {
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.promo-card-header i { font-size: 1.4rem; color: var(--gold); }
.promo-card-header h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.promo-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.promo-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-desc { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; margin: 0; }
.promo-price { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.promo-price span { font-size: 0.85rem; font-weight: 400; color: var(--gray-500); text-decoration: line-through; margin-left: 0.4rem; }
