﻿/* ================================================================
   Maspalomas Living — Global Styles
   Palette: Navy #1B2A4A | Red #C0392B | Gold #E8A020 | Light #F5F7FA
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:     #1B2A4A;
  --navy-dark:#111E35;
  --navy-mid: #243560;
  --red:      #C0392B;
  --red-dark: #A93226;
  --gold:     #E8A020;
  --gold-light:#F5C05A;
  --light:    #F5F7FA;
  --white:    #FFFFFF;
  --gray:     #6B7280;
  --gray-light:#E5E7EB;
  --text:     #1F2937;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --radius:   12px;
  --radius-lg:20px;
  --transition: 0.28s ease;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.25; }
h1 { font-size: clamp(2rem,5vw,3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem,2.5vw,1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: 1rem; }

/* ── Layout helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 { color: var(--navy); margin-bottom: .75rem; }
.section-title p { color: var(--gray); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.section-title .overline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: .6rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,.35); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,42,74,.35); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }

/* ── Badges / Tags ── */
.badge {
  display: inline-flex; align-items: center;
  padding: .25rem .75rem; border-radius: 99px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.badge-red { background: rgba(192,57,43,.12); color: var(--red); }
.badge-navy { background: rgba(27,42,74,.12); color: var(--navy); }
.badge-gold { background: rgba(232,160,32,.15); color: #b07800; }
.badge-green { background: rgba(16,185,129,.12); color: #059669; }

/* ================================================================
   NAVIGATION
   ================================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(27,42,74,.97); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  transition: all var(--transition);
}
#navbar.scrolled { background: var(--navy-dark); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--white);
}
.nav-logo span.brand-red { color: var(--red); }
.nav-logo span.brand-gold { color: var(--gold); }
.nav-logo .logo-badge {
  background: var(--red); color: var(--white);
  padding: .25rem .6rem; border-radius: 6px; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem .85rem; border-radius: 8px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.85); letter-spacing: .02em;
  transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,.1); color: var(--white); }
.nav-link.nav-cta {
  background: var(--red); color: var(--white); margin-left: .5rem;
}
.nav-link.nav-cta:hover { background: var(--red-dark); }
.nav-lang-btn {
  display: flex; align-items: center; gap: .35rem;
  padding: .4rem .9rem; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.3); color: var(--white);
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); margin-left: .75rem;
}
.nav-lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 2.5px; background: var(--white);
  border-radius: 2px; transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--navy-dark); padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: .85rem 1rem; border-radius: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* ================================================================
   HERO SECTIONS
   ================================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, var(--navy) 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600');
  background-size: cover; background-position: center;
  opacity: .12;
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-particles::before, .hero-particles::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,.15), transparent 70%);
}
.hero-particles::before { width: 800px; height: 800px; top: -200px; right: -200px; }
.hero-particles::after  { width: 500px; height: 500px; bottom: -100px; left: -100px; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 99px;
  background: rgba(232,160,32,.15); border: 1px solid rgba(232,160,32,.3);
  color: var(--gold); font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem; flex-wrap: wrap;
}
.hero-stat strong {
  display: block; font-family: var(--font-head); font-size: 2rem;
  font-weight: 800; color: var(--white);
}
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.hero-stat strong em { color: var(--gold); font-style: normal; }

/* ── Hero mini (interior pages) ── */
.hero-mini {
  min-height: 380px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  padding-top: 72px; position: relative; overflow: hidden;
}
.hero-mini::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--red), var(--gold));
}
.hero-mini .container { position: relative; z-index: 2; }
.hero-mini h1 { color: var(--white); font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: .75rem; }
.hero-mini p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem; font-size: .85rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: var(--gold); font-weight: 600; }

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-body { padding: 1.75rem; }
.card-footer { padding: 1rem 1.75rem; background: var(--light); border-top: 1px solid var(--gray-light); }

/* ── Service Cards ── */
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.25rem 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(27,42,74,.2);
}
.service-card h3 { color: var(--navy); margin-bottom: .6rem; }
.service-card p { color: var(--gray); font-size: .95rem; }
.service-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--red); font-weight: 700; font-size: .9rem;
  margin-top: 1rem; font-family: var(--font-head);
  transition: gap var(--transition);
}
.service-link:hover { gap: .6rem; }

/* ── Property Cards ── */
.property-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all var(--transition); border: 1px solid var(--gray-light);
}
.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.property-img {
  position: relative; height: 220px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}
.property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-img img { transform: scale(1.06); }
.property-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: rgba(255,255,255,.4); font-size: 3rem;
}
.property-badges {
  position: absolute; top: .85rem; left: .85rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.property-badges .badge { font-size: .7rem; backdrop-filter: blur(8px); }
.property-price-tag {
  position: absolute; bottom: .85rem; right: .85rem;
  background: var(--red); color: var(--white);
  padding: .4rem .9rem; border-radius: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.property-body { padding: 1.4rem; }
.property-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--navy); margin-bottom: .35rem; line-height: 1.35;
}
.property-location {
  display: flex; align-items: center; gap: .35rem;
  color: var(--gray); font-size: .88rem; margin-bottom: 1rem;
}
.property-features {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding-top: 1rem; border-top: 1px solid var(--gray-light);
}
.property-feature {
  display: flex; align-items: center; gap: .3rem;
  font-size: .85rem; color: var(--gray);
  font-family: var(--font-head); font-weight: 600;
}
.property-actions {
  display: flex; gap: .5rem; margin-top: 1.2rem;
}
.property-actions .btn { flex: 1; justify-content: center; }

/* ================================================================
   FORMS — Multi-step
   ================================================================ */
.form-wizard {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--gray-light);
}
.form-wizard-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  padding: 2.5rem 2.5rem 2rem; color: var(--white);
}
.form-wizard-header h2 { color: var(--white); margin-bottom: .5rem; }
.form-wizard-header p { color: rgba(255,255,255,.75); margin: 0; font-size: .95rem; }
.wizard-steps {
  display: flex; gap: 0; margin-top: 2rem;
  border-radius: 8px; overflow: hidden;
  background: rgba(255,255,255,.1);
}
.wizard-step-indicator {
  flex: 1; padding: .65rem .5rem; text-align: center;
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  color: rgba(255,255,255,.5); letter-spacing: .04em; text-transform: uppercase;
  transition: all var(--transition); border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.wizard-step-indicator:last-child { border-right: none; }
.wizard-step-indicator.active {
  background: var(--red); color: var(--white);
}
.wizard-step-indicator.done {
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.8);
}
.wizard-step-indicator .step-num {
  display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: .15rem;
}
.form-wizard-body { padding: 2.5rem; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-panel-title {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  color: var(--navy); margin-bottom: .4rem;
}
.wizard-panel-sub { color: var(--gray); font-size: .95rem; margin-bottom: 2rem; }

/* Form controls */
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.form-label {
  display: block; margin-bottom: .5rem;
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  color: var(--navy); letter-spacing: .02em;
}
.form-label .required { color: var(--red); }
.form-control {
  width: 100%; padding: .875rem 1.1rem;
  border: 2px solid var(--gray-light); border-radius: 10px;
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: var(--white); transition: all var(--transition);
  outline: none; appearance: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,42,74,.08); }
.form-control.error { border-color: var(--red); }
.form-hint { font-size: .8rem; color: var(--gray); margin-top: .35rem; }
.form-error { font-size: .8rem; color: var(--red); margin-top: .35rem; display: none; }
.form-control.error ~ .form-error { display: block; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* Checkbox / Radio cards */
.options-grid { display: grid; gap: .75rem; }
.options-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.options-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.option-card input[type="radio"],
.option-card input[type="checkbox"] { display: none; }
.option-card label {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.2rem; border: 2px solid var(--gray-light);
  border-radius: 10px; cursor: pointer; transition: all var(--transition);
  font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--text);
}
.option-card label .opt-icon {
  font-size: 1.4rem; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--light); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.option-card input:checked + label {
  border-color: var(--navy); background: rgba(27,42,74,.04);
  color: var(--navy);
}
.option-card input:checked + label .opt-icon {
  background: var(--navy); color: var(--white);
}
.option-card label:hover { border-color: var(--navy); }
.option-card label span.opt-desc { font-size: .8rem; font-weight: 400; color: var(--gray); display: block; }

/* Amenities checkboxes */
.amenities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .6rem;
}
.amenity-item input[type="checkbox"] { display: none; }
.amenity-item label {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border: 2px solid var(--gray-light);
  border-radius: 8px; cursor: pointer; font-size: .85rem;
  font-family: var(--font-head); font-weight: 600;
  transition: all var(--transition);
}
.amenity-item input:checked + label {
  border-color: var(--red); background: rgba(192,57,43,.06); color: var(--red);
}
.amenity-item label:hover { border-color: var(--gray); }

/* Wizard nav */
.wizard-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}
.wizard-progress { display: flex; gap: .4rem; }
.wizard-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-light); transition: all var(--transition);
}
.wizard-dot.active { background: var(--red); width: 24px; border-radius: 4px; }
.wizard-dot.done { background: var(--navy); }

/* ── Lead capture overlay ── */
.lead-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(17,30,53,.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.lead-overlay.open { opacity: 1; pointer-events: all; }
.lead-modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 500px; width: 100%; padding: 2.5rem;
  box-shadow: var(--shadow-lg); transform: scale(.95);
  transition: transform var(--transition);
}
.lead-overlay.open .lead-modal { transform: scale(1); }
.lead-modal h3 { color: var(--navy); margin-bottom: .5rem; }
.lead-modal p { color: var(--gray); font-size: .95rem; margin-bottom: 1.75rem; }
.lead-modal .form-group { margin-bottom: 1rem; }

/* ================================================================
   VALUATION RESULT
   ================================================================ */
.valuation-result {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-radius: var(--radius-lg); padding: 3rem; color: var(--white);
  text-align: center; position: relative; overflow: hidden;
}
.valuation-result::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,160,32,.15), transparent 70%);
}
.valuation-result .vr-label {
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: .5rem;
}
.valuation-result .vr-price {
  font-family: var(--font-head); font-size: clamp(2.5rem,6vw,4rem);
  font-weight: 800; color: var(--gold); line-height: 1.1; margin-bottom: .25rem;
}
.valuation-result .vr-range {
  font-size: .95rem; color: rgba(255,255,255,.65); margin-bottom: 2rem;
}
.vr-breakdown {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
  background: rgba(255,255,255,.06); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 2rem;
}
.vr-item strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--white); }
.vr-item span { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ================================================================
   MORTGAGE CALCULATOR
   ================================================================ */
.calculator-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 2.5rem;
  border: 1px solid var(--gray-light);
}
.calculator-card h3 { color: var(--navy); margin-bottom: 1.75rem; }
.calc-input-group { margin-bottom: 1.5rem; }
.calc-label {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .5rem;
}
.calc-label span { font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: var(--navy); }
.calc-label strong { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--red); }
.calc-slider {
  width: 100%; height: 6px; appearance: none;
  background: var(--gray-light); border-radius: 3px; outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); cursor: pointer;
  box-shadow: 0 2px 8px rgba(27,42,74,.35);
}
.calc-result-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-radius: var(--radius); padding: 2rem; color: var(--white);
  text-align: center; margin-top: 1.5rem;
}
.calc-result-box .cr-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.calc-result-box .cr-amount { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--gold); margin-bottom: .2rem; }
.calc-result-box .cr-detail { font-size: .85rem; color: rgba(255,255,255,.6); }
.calc-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.calc-breakdown-item {
  background: rgba(255,255,255,.08); border-radius: 8px;
  padding: 1rem; text-align: center;
}
.calc-breakdown-item strong { display: block; font-size: 1.2rem; font-weight: 800; color: var(--white); }
.calc-breakdown-item span { font-size: .75rem; color: rgba(255,255,255,.55); }

/* ================================================================
   PORTAL — LISTINGS
   ================================================================ */
.portal-filters {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 1.5rem 2rem;
  border: 1px solid var(--gray-light); margin-bottom: 2.5rem;
}
.portal-filter-row {
  display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap;
}
.portal-filter-row .form-group { margin: 0; flex: 1; min-width: 140px; }
.filter-label { font-family: var(--font-head); font-size: .78rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; display: block; letter-spacing: .04em; text-transform: uppercase; }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 1.75rem; }
.listings-count { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.listings-count span { color: var(--gray); font-weight: 400; font-size: .9rem; }

/* ── Property detail modal ── */
.prop-modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(17,30,53,.88); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.prop-modal-overlay.open { opacity: 1; pointer-events: all; }
.prop-modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 780px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); transform: translateY(20px);
  transition: transform var(--transition);
}
.prop-modal-overlay.open .prop-modal { transform: translateY(0); }
.prop-modal-img { height: 320px; background: linear-gradient(135deg,var(--navy),var(--navy-mid)); position: relative; }
.prop-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.prop-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; font-weight: 700;
  transition: all var(--transition);
}
.prop-modal-close:hover { background: var(--white); transform: scale(1.1); }
.prop-modal-body { padding: 2rem; }
.prop-modal-price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--red); margin-bottom: .25rem; }
.prop-modal-ref { font-size: .8rem; color: var(--gray); margin-bottom: 1.25rem; }
.prop-modal-features { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-light); }

/* ================================================================
   LEGAL SERVICES
   ================================================================ */
.legal-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; gap: 1.25rem;
}
.legal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.legal-icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), #e74c3c);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--white);
}
.legal-card h4 { color: var(--navy); margin-bottom: .4rem; }
.legal-card p { color: var(--gray); font-size: .9rem; margin: 0; }

/* ================================================================
   BLOG
   ================================================================ */
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid var(--gray-light); transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-img { height: 200px; overflow: hidden; background: linear-gradient(135deg,var(--navy),var(--navy-mid)); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 1.5rem; }
.blog-meta {
  display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem;
  font-size: .8rem; color: var(--gray);
}
.blog-meta .cat { color: var(--red); font-weight: 700; font-family: var(--font-head); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.blog-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; line-height: 1.4; }
.blog-excerpt { color: var(--gray); font-size: .9rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read-more { color: var(--red); font-weight: 700; font-size: .85rem; font-family: var(--font-head); display: inline-flex; align-items: center; gap: .35rem; }

/* ================================================================
   CTA / BANNER SECTIONS
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,160,32,.12), transparent 60%);
}
.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 580px; margin: 0 auto 2.5rem; }
.cta-banner .cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-strip {
  background: var(--red); padding: 1.25rem 0;
}
.cta-strip .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.cta-strip p { color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin: 0; }

/* ================================================================
   TRUST / STATS
   ================================================================ */
.stats-strip {
  background: var(--navy); padding: 3rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center;
}
.stat-item strong {
  display: block; font-family: var(--font-head); font-size: 2.5rem;
  font-weight: 800; color: var(--gold); margin-bottom: .3rem;
}
.stat-item span { font-size: .9rem; color: rgba(255,255,255,.65); }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light); position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 1rem; left: 1.5rem;
  font-size: 5rem; line-height: 1; color: var(--gold); opacity: .3;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: .95rem; color: var(--text); margin-bottom: 1.25rem; font-style: italic; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.testimonial-author strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--navy); }
.testimonial-author span { font-size: .8rem; color: var(--gray); }
.stars { color: var(--gold); font-size: .9rem; margin-bottom: .5rem; }

/* ================================================================
   LANGUAGE SWITCHER
   ================================================================ */
.lang-switch-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85);
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition); background: transparent;
  letter-spacing: .05em; text-transform: uppercase;
}
.lang-switch-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-es, .lang-en { transition: opacity var(--transition); }
[data-lang="en"] .lang-es { display: none; }
[data-lang="es"] .lang-en { display: none; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--navy-dark); padding: 4rem 0 2rem;
  border-top: 3px solid var(--red);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  color: var(--white); margin-bottom: .75rem;
}
.footer-brand .brand-name span { color: var(--red); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; margin-bottom: 1.5rem; }
.footer-contact a {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: .6rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }
.footer-col h5 {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  color: var(--white); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.55); font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: .25rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.75rem; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .82rem; margin: 0; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.4); font-size: .82rem; transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }
.social-links { display: flex; gap: .65rem; margin-top: 1.25rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ================================================================
   UTILITY
   ================================================================ */
.text-navy { color: var(--navy); }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }
.bg-light { background: var(--light); }
.bg-navy { background: var(--navy); }
.divider { height: 1px; background: var(--gray-light); margin: 2rem 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.highlight-box {
  background: linear-gradient(135deg, rgba(27,42,74,.06), rgba(27,42,74,.02));
  border: 1px solid rgba(27,42,74,.12); border-left: 4px solid var(--navy);
  border-radius: 8px; padding: 1.25rem 1.5rem;
}
.info-box {
  background: rgba(232,160,32,.08); border: 1px solid rgba(232,160,32,.25);
  border-radius: 10px; padding: 1.25rem 1.5rem; display: flex; gap: .75rem;
}
.info-box .ib-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.info-box .ib-text { font-size: .9rem; color: var(--text); }
.info-box .ib-text strong { color: var(--navy); }

/* Sticky contact floating button */
.float-contact {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: .65rem;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: var(--shadow-md);
  transition: all var(--transition); cursor: pointer; border: none;
}
.float-btn:hover { transform: scale(1.12); }
.float-whatsapp { background: #25D366; color: var(--white); }
.float-phone { background: var(--navy); color: var(--white); }

/* Toast notification */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--navy-dark); color: var(--white); padding: 1rem 2rem;
  border-radius: 50px; font-family: var(--font-head); font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-lg); z-index: 9999; transition: transform .4s ease;
  display: flex; align-items: center; gap: .5rem;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-left: 4px solid #10b981; }
.toast.error { border-left: 4px solid var(--red); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .options-grid.cols-2, .options-grid.cols-3 { grid-template-columns: 1fr; }
  .vr-breakdown { grid-template-columns: 1fr; }
  .calc-breakdown { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-strip .container { justify-content: center; text-align: center; }
  .wizard-steps { flex-direction: column; }
  .wizard-step-indicator { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; padding: .6rem 1rem; display: flex; align-items: center; gap: .75rem; }
  .portal-filter-row { flex-direction: column; }
  .portal-filter-row .form-group { min-width: 100%; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .form-wizard-body, .form-wizard-header { padding: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}
.fade-in-up { animation: fadeInUp .6s ease both; }
.fade-in-up-delay-1 { animation-delay: .1s; }
.fade-in-up-delay-2 { animation-delay: .2s; }
.fade-in-up-delay-3 { animation-delay: .3s; }
.fade-in-up-delay-4 { animation-delay: .4s; }
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }

