/* ===========================
   INNOVA BIENES RAÍCES — CSS
   =========================== */

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

:root {
  --navy:      #0f3348;
  --navy-mid:  #143f5c;
  --navy-light:#1a5478;
  --gold:      #1f6f9c;
  --gold-light:#5aa8d1;
  --white:     #ffffff;
  --gray-light:#f5f6f8;
  --gray:      #e8eaed;
  --text-dark: #1a1a2e;
  --text-mid:  #4a4a6a;
  --text-light:#7a7a9a;
  --green-wa:  #1f9c56;
  --green-wa-dark: #167a43;
  --radius:    14px;
  --shadow:    0 6px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.14);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.text-gold  { color: var(--gold); }
.text-center{ text-align: center; }
.bg-light   { background: var(--gray-light); }
.bg-navy    { background: var(--navy); }

/* ── TYPOGRAPHY ── */
.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--gold-light); }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-dark);
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  margin: 1rem auto 0;
  line-height: 1.75;
}
.section-subtitle.light { color: rgba(255,255,255,0.65); }
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.5rem auto;
  width: 160px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.5;
}
.divider i { color: var(--gold); font-size: 0.7rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--gold);
  color: white;
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,111,156,0.35); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold-light);
  color: var(--gold-light);
}
.btn-outline:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); }

.btn-wa {
  background: var(--green-wa);
  color: white;
}
.btn-wa:hover { background: var(--green-wa-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

.btn-dark {
  background: var(--navy);
  color: white;
}
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  padding: 0.75rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 76px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width 0.25s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: white;
  font-size: 1.5rem;
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1.5rem; gap: 1.2rem; }
  .nav-links.open { display: flex; }
  .hamburger-btn { display: block; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 32%, rgba(15,51,72,0.88) 48%, rgba(15,51,72,0.5) 66%, rgba(15,51,72,0.15) 100%);
}
.navbar .container,
.hero .container { max-width: 100%; width: 100%; margin: 0; padding: 0 3rem; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 560px; }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .highlight { color: var(--gold-light); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-subtitle strong { color: rgba(255,255,255,0.9); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--gold);
  padding: 1.25rem 0;
}
.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.strip-item i { font-size: 1rem; }

/* ── INTRO / PROPUESTA ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.intro-content .section-title,
.intro-content .section-subtitle {
  text-align: left;
}
.intro-content .section-subtitle { margin-left: 0; }
.intro-video-wrap { display: flex; justify-content: center; }
.intro-video {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  box-shadow: var(--shadow-lg);
}
.intro-video iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ── PILLARS / SERVICE TEASERS ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.pillar-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gray);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  text-align: center;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31,111,156,0.4);
  box-shadow: var(--shadow-lg);
}
.pillar-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: white;
}
.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.pillar-link i { transition: transform 0.2s; }
.pillar-card:hover .pillar-link i { transform: translateX(4px); }

/* ── ZONES GRID (like the screenshot) ── */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.zone-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gray);
  transition: transform 0.25s, box-shadow 0.25s;
}
.zone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.zone-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  position: relative;
}
.zone-img-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(31,111,156,0.4);
  font-size: 2.5rem;
  position: relative;
}
.zone-num {
  position: absolute;
  bottom: 12px; left: 12px;
  width: 34px; height: 34px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: white;
}
.zone-body { padding: 1.25rem 1rem 1.5rem; }
.zone-name {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.zone-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}
.zone-list { margin-bottom: 1rem; }
.zone-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.zone-list li i { color: var(--green-wa); margin-top: 3px; font-size: 0.75rem; flex-shrink: 0; }

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  width: 100%;
  height: 460px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(31,111,156,0.3);
  font-size: 5rem;
  border: 1px solid rgba(31,111,156,0.15);
}
.about-badge {
  position: absolute;
  top: 30px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(31,111,156,0.35);
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 900; }
.about-badge span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; }
.about-content .section-title { text-align: left; }
.about-text {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin: 1.25rem 0 2rem;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 10px;
}
.value-item i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.value-item h4 { font-size: 0.88rem; font-weight: 800; color: var(--text-dark); margin-bottom: 2px; }
.value-item p  { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }

/* ── SERVICES PAGE ── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-img-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(31,111,156,0.3);
  font-size: 4.5rem;
  border: 1px solid rgba(31,111,156,0.15);
}
.service-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.service-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(31,111,156,0.15);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.service-content h2 {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.service-content p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-list { margin-bottom: 1.75rem; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray);
}
.service-list li:last-child { border-bottom: none; }
.service-list li i { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(31,111,156,0.12) 0%, transparent 70%);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: white; margin-bottom: 0.75rem; }
.cta-band p  { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-btns   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.88rem; font-weight: 800; color: var(--text-dark); margin-bottom: 2px; }
.contact-item p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ── MAPA + WHATSAPP ── */
.map-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.map-embed {
  width: 100%;
  height: 380px;
  background: var(--gray-light);
}
.map-embed iframe { width: 100%; height: 100%; display: block; }
.map-card-footer {
  padding: 1.75rem 2rem;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.map-card-footer h4 { font-size: 1rem; font-weight: 800; color: white; margin-bottom: 2px; }
.map-card-footer p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.btn-wa-lg { padding: 1.05rem 1.75rem; font-size: 1rem; white-space: nowrap; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(31,111,156,0.1) 0%, transparent 70%);
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb i { font-size: 0.55rem; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--gold); color: white; }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 54px; height: 54px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.55); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .zones-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-overlay { background: linear-gradient(180deg, var(--navy) 0%, rgba(15,51,72,0.9) 60%, rgba(15,51,72,0.75) 100%); }
  .intro-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-content .section-title,
  .intro-content .section-subtitle { text-align: center; }
  .intro-content .section-subtitle { margin: 1rem auto 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .zones-grid   { grid-template-columns: 1fr 1fr; }
  .about-grid   { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
  .service-img-placeholder { display: none; }
  .service-img { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .footer-bottom { text-align: center; justify-content: center; }
  .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .zones-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}
