/* ============================================================
   IVG THEME — Main Stylesheet
   Colors: Gold #C9A84C | Black #111111 | White #FFFFFF
   ============================================================ */

:root {
  --gold:        #C9A84C;
  --gold-dark:   #A8892E;
  --gold-light:  #E8D08A;
  --black:       #111111;
  --black-soft:  #1E1E1E;
  --gray-dark:   #2C2C2C;
  --gray:        #666666;
  --gray-light:  #F5F5F5;
  --white:       #FFFFFF;
  --font-main:   'Montserrat', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --transition:  0.3s ease;
  --shadow:      0 4px 24px rgba(0,0,0,0.12);
  --radius:      6px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--black);
  margin-bottom: 16px;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 17px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 20px 0;
}

#site-header.scrolled {
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
}

.site-logo span { color: var(--gold); }

.site-logo:hover { opacity: 0.85; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.main-nav a {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.main-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}

.nav-login {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.nav-login:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
  background: rgba(212,175,55,0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Botón X — solo visible en móvil cuando el menú está abierto */
.nav-close {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1002;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.nav-close:hover { border-color: var(--gold); color: var(--gold); }
.nav-close.visible { display: flex; }

@media (min-width: 769px) {
  .nav-close { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* ── Hero Slider ── */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(17,17,17,0.88) 40%, rgba(201,168,76,0.12) 100%);
}

.slider-arrow {
  position: absolute;
  top: calc(50% - 36px);
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  border: 2px solid var(--gold);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: var(--gold);
  color: var(--black);
}

.slider-prev { left: 28px; }
.slider-next { right: 28px; }

.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.slider-dot.active { background: var(--gold); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content .label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-content h1 span { color: var(--gold); }

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(201,168,76,0.3);
}

.stat-item .number {
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-item .desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ── Hero Container ── */
.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* ── Hero Stats Bar (bottom) ── */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(17,17,17,0.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,168,76,0.25);
  padding: 22px 0;
}

.hero-stats-bar .hero-stats {
  position: static;
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex-wrap: wrap;
}

/* ── Slider Progress Bars ── */
.slider-progress {
  position: absolute;
  bottom: 110px;
  right: 48px;
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.progress-bar {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width 0.35s ease, background 0.35s ease;
}

.progress-bar.active {
  width: 64px;
  background: rgba(255,255,255,0.15);
}

.bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 3px;
}

.bar-fill.animating {
  animation: barProgress 5s linear forwards;
}

@keyframes barProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  height: 500px;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--black);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-main);
  font-weight: 800;
}

.about-badge .years {
  font-size: 40px;
  line-height: 1;
  display: block;
}

.about-badge .text { font-size: 12px; }

.about-content .label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 20px;
}

.about-content p { color: var(--gray); margin-bottom: 16px; }

.valores-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 36px;
}

.valor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
}

.valor-item::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
#servicios { background: var(--gray-light); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.servicio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201,168,76,0.2);
}

.servicio-card:hover::before { transform: scaleY(1); }

.card-icon {
  width: 64px;
  height: 64px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.servicio-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.servicio-card p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 24px;
}

.card-link {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-link::after { content: '→'; transition: transform var(--transition); }
.servicio-card:hover .card-link::after { transform: translateX(4px); }

/* ============================================================
   PROPIEDADES
   ============================================================ */
#propiedades { background: var(--white); }

.props-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 40px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.propiedades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.propiedad-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  background: var(--white);
}

.propiedad-card:hover { transform: translateY(-6px); }

.propiedad-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-dark);
}

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

.propiedad-card:hover .propiedad-img img { transform: scale(1.05); }

.prop-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prop-estatus {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 40px;
  text-transform: capitalize;
}

.prop-estatus.disponible { background: #2ECC71; color: var(--white); }
.prop-estatus.reservada  { background: #F39C12; color: var(--white); }
.prop-estatus.vendida    { background: #E74C3C; color: var(--white); }
.prop-estatus.alquilada  { background: #3498DB; color: var(--white); }

.propiedad-info { padding: 24px; }

.prop-precio {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.propiedad-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.prop-ubicacion {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.prop-features {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 16px;
}

.prop-feat {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   POR QUÉ ELEGIRNOS
   ============================================================ */
#por-que {
  background: var(--black);
  color: var(--white);
}

#por-que .section-header h2 { color: var(--white); }
#por-que .section-header p  { color: rgba(255,255,255,0.6); }

.razones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.razon-item {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.razon-item:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
  transform: translateY(-4px);
}

.razon-num {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.razon-item h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 10px;
}

.razon-item p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

/* ============================================================
   EQUIPO
   ============================================================ */
#equipo { background: var(--gray-light); }

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.miembro-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}

.miembro-card:hover { transform: translateY(-6px); }

.miembro-foto {
  height: 450px;
  overflow: hidden;
  background: var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.miembro-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.miembro-info { padding: 24px; }

.miembro-info h3 { font-size: 18px; margin-bottom: 6px; }

.miembro-cargo {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.miembro-bio { color: var(--gray); font-size: 14px; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
#testimonios { background: var(--white); }

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

.testimonio-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.testimonio-card::before {
  content: '"';
  font-family: var(--font-main);
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: 24px;
  line-height: 1;
}

.testimonio-texto {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 14px;
}

.autor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--black);
  font-size: 18px;
  flex-shrink: 0;
}

.autor-info strong {
  display: block;
  font-family: var(--font-main);
  font-size: 15px;
}

.autor-info span {
  font-size: 13px;
  color: var(--gold);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: var(--gold);
  padding: 72px 0;
  text-align: center;
}

#cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--black);
  margin-bottom: 16px;
}

#cta-banner p {
  color: rgba(0,0,0,0.65);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACTO
   ============================================================ */
#contacto { background: var(--black); }

#contacto .section-header h2 { color: var(--white); }
#contacto .section-header p  { color: rgba(255,255,255,0.6); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contacto-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.item-text strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.item-text p, .item-text a {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
}

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

.horario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 8px;
}

.horario-grid span { color: rgba(255,255,255,0.55); font-size: 14px; }
.horario-grid strong { color: rgba(255,255,255,0.85); font-size: 14px; }

.contacto-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 40px;
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea { height: 120px; resize: vertical; }

.form-group select option { background: var(--black-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #0A0A0A;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand .logo span { color: var(--gold); }

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--black);
}

.footer-col h4 {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

.footer-bottom a { color: var(--gold); }

/* ============================================================
   SINGLE SERVICIO
   ============================================================ */
.page-hero {
  min-height: 360px;
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,0.97) 50%, rgba(201,168,76,0.1) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-family: var(--font-main);
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 12px;
}

.page-hero-content .subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
}

.single-content { padding: 72px 0; }

.single-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.content-body h2 { font-size: 26px; margin: 36px 0 14px; }
.content-body h3 { font-size: 20px; margin: 28px 0 10px; color: var(--gold); }
.content-body p  { color: var(--gray); margin-bottom: 16px; }
.content-body ul { padding-left: 20px; color: var(--gray); margin-bottom: 16px; }
.content-body ul li { margin-bottom: 8px; }

.beneficios-list { list-style: none; padding: 0; margin: 24px 0; }

.beneficios-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--gray);
}

.beneficios-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sidebar-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid transparent;
}

.sidebar-card.gold-border { border-color: var(--gold); }

.sidebar-card h3 {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.sidebar-card ul { list-style: none; }
.sidebar-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}

.sidebar-card ul li a { color: var(--gray); font-weight: 600; }
.sidebar-card ul li a:hover { color: var(--gold); }

.contact-sidebar {
  background: var(--black);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-sidebar h3 { color: var(--white); font-size: 18px; margin-bottom: 12px; }
.contact-sidebar p  { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 20px; }
.contact-sidebar .btn { width: 100%; text-align: center; margin-bottom: 12px; }

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: var(--white) !important;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  transition: background var(--transition);
}

.whatsapp-btn:hover { background: #20b558; color: var(--white) !important; }

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  background: #20b558;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 16px; width: 52px; height: 52px; }
}

/* ============================================================
   SERVICIO — FORMULARIO SIDEBAR
   ============================================================ */
.servicio-form-sidebar {
  background: var(--black);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.servicio-form-sidebar h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.servicio-form .form-group { margin-bottom: 16px; }

.form-feedback {
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.form-feedback--ok {
  background: rgba(46,204,113,0.12);
  border: 1px solid #2ECC71;
  color: #2ECC71;
}

.form-feedback--err {
  background: rgba(231,76,60,0.12);
  border: 1px solid #E74C3C;
  color: #E74C3C;
}

/* ============================================================
   ARCHIVE PROPIEDADES
   ============================================================ */
.archive-filters {
  background: var(--gray-light);
  padding: 32px 0;
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

.filter-form select,
.filter-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
}

.filter-form select:focus,
.filter-form input:focus { border-color: var(--gold); }

/* ============================================================
   LIGHTBOX GALERÍA DE PROPIEDADES
   ============================================================ */
.ivg-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.ivg-lightbox.active { display: flex; }

.ivg-lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  text-align: center;
}

.ivg-lb-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.ivg-lb-caption {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-top: 12px;
  font-family: var(--font-body);
}

.ivg-lb-close,
.ivg-lb-prev,
.ivg-lb-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10000;
  line-height: 1;
}

.ivg-lb-close { top: 20px; right: 20px; font-size: 18px; }
.ivg-lb-prev  { top: 50%; left: 16px;  transform: translateY(-50%); }
.ivg-lb-next  { top: 50%; right: 16px; transform: translateY(-50%); }

.ivg-lb-close:hover,
.ivg-lb-prev:hover,
.ivg-lb-next:hover { background: var(--gold); color: var(--black); }

.prop-gallery-item img:hover { opacity: 0.85; cursor: pointer; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .single-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
}

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

  /* ── Menú móvil: panel lateral ── */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #111;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    box-shadow: -6px 0 32px rgba(0,0,0,0.5);
  }
  .main-nav.open { transform: translateX(0); }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .main-nav ul li { width: 100%; text-align: center; }
  .main-nav a { font-size: 17px; display: block; padding: 12px 32px; }
  .main-nav a:not(.nav-cta):hover { color: var(--gold); }
  .main-nav .nav-cta { margin: 10px auto 0; display: inline-block; }

  .main-nav.open ul li {
    opacity: 0;
    transform: translateX(14px);
    animation: navItemIn 0.3s forwards;
  }
  .main-nav.open ul li:nth-child(1) { animation-delay: 0.12s; }
  .main-nav.open ul li:nth-child(2) { animation-delay: 0.18s; }
  .main-nav.open ul li:nth-child(3) { animation-delay: 0.24s; }
  .main-nav.open ul li:nth-child(4) { animation-delay: 0.30s; }
  .main-nav.open ul li:nth-child(5) { animation-delay: 0.36s; }

  @keyframes navItemIn {
    to { opacity: 1; transform: translateX(0); }
  }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
  }
  .nav-overlay.active { display: block; }

  .hamburger { display: flex; }

  .hero-stats-bar .hero-stats { gap: 20px; }
  .hero-stats-bar .stat-item .number { font-size: 22px; }
  .hero-stats-bar .stat-item .desc { font-size: 11px; }
  .site-logo-img { height: 44px; }
  .slider-arrow { display: none; }
  .slider-progress { right: 16px; bottom: 100px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

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

  .valores-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .propiedades-grid { grid-template-columns: 1fr; }
  .servicios-grid   { grid-template-columns: 1fr; }
  .hero-buttons     { flex-direction: column; }
}

/* ============================================================
   ARCHIVE PROPIEDADES — Sidebar Layout
   ============================================================ */

.propiedades-archive { padding: 60px 0 80px; background: var(--gray-light); }

.archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Sidebar ── */
.props-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.sidebar-widget:last-of-type { border-bottom: none; }

.sidebar-widget-title {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 14px;
}

.filter-search-wrap {
  position: relative;
}
.filter-search-wrap input {
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.filter-search-wrap input:focus { border-color: var(--gold); }
.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

.filter-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.filter-radio:hover { background: var(--gray-light); }
.filter-radio.active { background: rgba(201,168,76,0.1); color: var(--gold-dark); font-weight: 600; }
.filter-radio input[type="radio"] { accent-color: var(--gold); }

.sidebar-filter-btn {
  display: block;
  width: calc(100% - 48px);
  margin: 16px 24px;
  text-align: center;
}
.sidebar-clear-btn {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin: 0 24px 16px;
  text-decoration: none;
  transition: color var(--transition);
}
.sidebar-clear-btn:hover { color: var(--black); }

/* ── Main content ── */
.props-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.props-count {
  font-size: 14px;
  color: var(--gray);
  font-weight: 600;
}

.props-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Paginación */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  border: 1px solid #ddd;
  margin: 0 3px;
  text-decoration: none;
  transition: all var(--transition);
}
.page-numbers.current,
.page-numbers:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.page-numbers.dots { border: none; background: none; }
nav.pagination { margin-top: 40px; text-align: center; }

/* ── Responsive sidebar ── */
@media (max-width: 1024px) {
  .archive-layout { grid-template-columns: 240px 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .archive-layout { grid-template-columns: 1fr; }
  .props-sidebar { position: static; }
}
