/* ============================================================
   SOLBLANCA ESTATES — Main Stylesheet
   Mediterraan Luxe met Nederlandstalige Warmte
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ===== Custom Properties ===== */
:root {
  --navy-900: #071D3A;
  --navy-800: #0C2B56;
  --navy-700: #103472;
  --navy-600: #1A4A8A;
  --navy-400: #4080C8;
  --navy-50: #EDF4FD;
  --navy-100: #D6E5F8;

  --gold-700: #8A6520;
  --gold-600: #A67C30;
  --gold-500: #C49540;
  --gold-400: #D4AE5C;
  --gold-200: #F0D8A0;
  --gold-100: #FAF0CC;

  --sand-50: #FDFAF5;
  --sand-100: #F5EDE0;
  --sand-200: #E8D5BB;
  --sand-300: #D2B690;

  --white: #FFFFFF;
  --text-dark: #0D1B2E;
  --text-body: #354A6A;
  --text-muted: #7088A8;
  --text-light: #A8BCCC;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --container-max: 1280px;
  --container-sm: 760px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 4px rgba(7, 29, 58, 0.05);
  --shadow-sm: 0 2px 12px rgba(7, 29, 58, 0.07);
  --shadow-md: 0 6px 28px rgba(7, 29, 58, 0.09);
  --shadow-lg: 0 12px 48px rgba(7, 29, 58, 0.13);
  --shadow-xl: 0 20px 72px rgba(7, 29, 58, 0.17);
  --shadow-card: 0 2px 16px rgba(7, 29, 58, 0.06), 0 1px 3px rgba(7, 29, 58, 0.04);
  --shadow-card-hover: 0 16px 56px rgba(7, 29, 58, 0.14), 0 4px 12px rgba(7, 29, 58, 0.07);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --dur: 0.28s;
  --dur-slow: 0.5s;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== Layout ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section--sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--lg { padding: clamp(6rem, 11vw, 10rem) 0; }
.section--sand { background: var(--sand-50); }
.section--navy { background: var(--navy-900); color: var(--white); }

/* ===== Typography ===== */
h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.15; }
h3 { font-family: var(--font-sans); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; line-height: 1.3; }
h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
p { line-height: 1.7; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-500);
  margin-bottom: 0.875rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.section-header { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-header--center .section-desc { margin: 0 auto; }
.section--navy .section-title { color: var(--white); }
.section--navy .section-label { color: var(--gold-400); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--navy-700);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(16, 52, 114, 0.35);
}
.btn--primary:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16, 52, 114, 0.45); }
.btn--primary:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold-500);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 149, 64, 0.4);
}
.btn--gold:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196, 149, 64, 0.5); }

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

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

.btn--ghost {
  background: transparent;
  color: var(--navy-700);
  padding-left: 0;
  padding-right: 0;
  font-size: 0.9375rem;
}
.btn--ghost::after { content: ' →'; transition: transform var(--dur) var(--ease); display: inline-block; }
.btn--ghost:hover { color: var(--gold-600); }
.btn--ghost:hover::after { transform: translateX(5px); }

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1.125rem 2.5rem; font-size: 1.0625rem; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
  padding: 1.375rem 0;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
  padding: 0.875rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color var(--dur) var(--ease);
}
.nav__logo-tagline {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur) var(--ease);
  margin-top: 0.2rem;
}
.nav.scrolled .nav__logo-name { color: var(--navy-900); }
.nav.scrolled .nav__logo-tagline { color: var(--text-muted); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}
.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius-full);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.nav__link.active { color: var(--white); background: rgba(255,255,255,0.16); }
.nav.scrolled .nav__link { color: var(--text-body); }
.nav.scrolled .nav__link:hover { color: var(--navy-700); background: var(--sand-100); }
.nav.scrolled .nav__link.active { color: var(--navy-700); background: var(--navy-50); }

.nav__cta { flex-shrink: 0; }
.nav__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.nav__cta-btn:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); }
.nav.scrolled .nav__cta-btn {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(16, 52, 114, 0.3);
}
.nav.scrolled .nav__cta-btn:hover { background: var(--navy-800); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  border: none;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.nav.scrolled .nav__toggle { background: var(--sand-100); }
.nav.scrolled .nav__toggle span { background: var(--navy-800); }
.nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1920&h=1080&fit=crop&auto=format&q=85');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,29,58,0.88) 0%, rgba(7,29,58,0.42) 45%, rgba(7,29,58,0.18) 100%);
}
.hero.loaded .hero__bg { transform: scale(1); }
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.hero__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(196,149,64,0.15);
  border: 1px solid rgba(196,149,64,0.35);
  border-radius: var(--radius-full);
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.hero__tag-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero__title em { font-style: italic; color: var(--gold-400); }
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero__stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; }

/* ===== USP Bar ===== */
.usp-bar {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.usp-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.usp-item { display: flex; align-items: flex-start; gap: 1rem; }
.usp-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(196,149,64,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.usp-item__title { font-size: 0.9375rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.usp-item__desc { font-size: 0.8125rem; color: rgba(255,255,255,0.48); line-height: 1.5; }

/* ===== Search Section ===== */
.search-section { padding: clamp(5rem, 8vw, 7.5rem) 0; background: var(--sand-50); }
.search-section__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.search-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 4.5vw, 3.75rem);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--sand-200);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.search-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.search-card__badge {
  display: inline-flex;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.375rem;
}
.search-card__badge--new { background: var(--gold-100); color: var(--gold-700); }
.search-card__badge--sale { background: var(--navy-50); color: var(--navy-700); }
.search-card__title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.625rem; line-height: 1.15; }
.search-card__desc { color: var(--text-muted); margin-bottom: 1.75rem; font-size: 0.9375rem; }
.search-form { display: flex; flex-direction: column; gap: 1.25rem; }
.search-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.form-select {
  width: 100%;
  padding: 0.9375rem 2.75rem 0.9375rem 1.125rem;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: var(--sand-50);
  appearance: none;
  -webkit-appearance: none;
  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='%237088A8' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  cursor: pointer;
}
.form-select:focus {
  outline: none;
  border-color: var(--navy-400);
  box-shadow: 0 0 0 4px rgba(64,128,200,0.10);
  background-color: var(--white);
}

/* ===== Property Cards ===== */
.properties-section { padding: clamp(5rem, 9vw, 8rem) 0; }
.properties-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem); }
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--sand-100);
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.filter-btn:hover { color: var(--navy-700); background: var(--sand-200); }
.filter-btn.active { color: var(--navy-700); background: var(--white); border-color: var(--navy-600); box-shadow: var(--shadow-xs); }

.properties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.property-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(232, 213, 187, 0.6);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur) var(--ease);
}
.property-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.property-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.property-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.property-card:hover .property-card__img { transform: scale(1.06); }
.property-card__badges { position: absolute; top: 0.875rem; left: 0.875rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.badge {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.badge--new { background: var(--gold-500); color: var(--white); }
.badge--sale { background: var(--navy-700); color: var(--white); }
.badge--option { background: rgba(255,255,255,0.92); color: var(--text-dark); }
.property-card__fav {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.88);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  backdrop-filter: blur(4px);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: none;
}
.property-card__fav:hover { background: var(--white); transform: scale(1.1); }

.property-card__body { padding: 1.75rem; }
.property-card__location { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.625rem; }
.property-card__title { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; color: var(--text-dark); line-height: 1.25; margin-bottom: 1rem; }
.property-card__price { font-family: var(--font-display); font-size: 1.5625rem; font-weight: 700; color: var(--navy-700); margin-bottom: 1rem; }
.property-card__price small { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; color: var(--text-muted); display: block; margin-top: 0.15rem; }
.property-card__specs { display: flex; gap: 1.125rem; padding-top: 1rem; border-top: 1px solid var(--sand-100); flex-wrap: wrap; }
.property-card__spec { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; color: var(--text-muted); }

.properties-footer { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ===== Regions Section ===== */
.regions-section { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--sand-50); }
.regions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.region-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 520px;
  display: flex;
  align-items: flex-end;
}
.region-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}
.region-card:hover .region-card__bg { transform: scale(1.05); }
.region-card--marbella .region-card__bg { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=900&h=600&fit=crop&auto=format&q=80'); }
.region-card--altea .region-card__bg { background-image: url('https://images.unsplash.com/photo-1543374239-9e2ec0e2c7df?w=900&h=600&fit=crop&auto=format&q=80'); }
.region-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,29,58,0.90) 0%, rgba(7,29,58,0.42) 50%, transparent 100%);
}
.region-card__content { position: relative; z-index: 1; padding: clamp(1.75rem, 3vw, 2.5rem); width: 100%; }
.region-card__tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-400); margin-bottom: 0.625rem; display: block; }
.region-card__title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--white); line-height: 1.08; margin-bottom: 0.875rem; }
.region-card__desc { font-size: 0.9375rem; color: rgba(255,255,255,0.72); line-height: 1.6; margin-bottom: 1.5rem; max-width: 38ch; }
.region-card__stats { display: flex; gap: 2rem; margin-bottom: 1.75rem; }
.region-stat {}
.region-stat-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); line-height: 1; }
.region-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ===== Why Us ===== */
.why-us { padding: clamp(5rem, 9vw, 8rem) 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.why-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5/6; }
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.625rem;
  box-shadow: var(--shadow-xl);
}
.why-badge__value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--navy-700); line-height: 1; }
.why-badge__label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }
.why-points { display: flex; flex-direction: column; gap: 2rem; }
.why-point { display: flex; gap: 1.25rem; }
.why-point__icon {
  width: 52px;
  height: 52px;
  background: var(--sand-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}
.why-point__title { font-size: 1.0625rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.3rem; }
.why-point__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }

/* ===== Services ===== */
.services { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--sand-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 2.75rem);
  border: 1px solid var(--sand-200);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.service-card__icon {
  width: 60px;
  height: 60px;
  background: var(--sand-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  margin-bottom: 1.5rem;
}
.service-card__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.75rem; line-height: 1.2; }
.service-card__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.service-card__list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.service-card__list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--text-body); line-height: 1.5; }
.service-card__list li::before { content: '✓'; color: var(--gold-500); font-weight: 700; flex-shrink: 0; }

/* ===== Contact CTA ===== */
.contact-cta { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--navy-900); position: relative; overflow: hidden; }
.contact-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,149,64,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.contact-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact-cta__title { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 1rem; }
.contact-cta__title em { font-style: italic; color: var(--gold-400); }
.contact-cta__desc { color: rgba(255,255,255,0.6); font-size: 1.0625rem; max-width: 52ch; line-height: 1.7; }
.contact-cta__buttons { display: flex; flex-direction: column; gap: 0.875rem; min-width: 220px; }
.contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.375rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  color: var(--white);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.contact-btn:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.22); transform: translateX(4px); }
.contact-btn__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-btn__icon--phone { background: rgba(65,185,130,0.2); }
.contact-btn__icon--wa { background: rgba(37,211,102,0.2); }
.contact-btn__icon--mail { background: rgba(64,128,200,0.2); }
.contact-btn__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); display: block; margin-bottom: 0.125rem; }
.contact-btn__value { font-weight: 600; font-size: 0.9375rem; color: var(--white); }

/* ===== Page Hero ===== */
.page-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-900) 50%, var(--navy-700) 100%);
  opacity: 0.6;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}
.page-hero--sand::after { background: linear-gradient(to bottom, transparent, var(--sand-50)); }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-400); margin-bottom: 1rem; display: block; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; color: var(--white); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.page-hero__desc { font-size: 1.125rem; color: rgba(255,255,255,0.68); max-width: 58ch; line-height: 1.7; }

/* ===== Content Layout ===== */
.content-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.content-body h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; color: var(--text-dark); margin-bottom: 0.875rem; margin-top: 2.5rem; line-height: 1.15; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.625rem; margin-top: 1.75rem; }
.content-body p { color: var(--text-body); line-height: 1.78; margin-bottom: 1.25rem; font-size: 0.9375rem; }
.content-body ul { margin-bottom: 1.5rem; }
.content-body ul li { position: relative; padding-left: 1.5rem; color: var(--text-body); line-height: 1.7; margin-bottom: 0.5rem; font-size: 0.9375rem; }
.content-body ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; }

.content-sidebar { position: sticky; top: 6rem; }
.sidebar-card { background: var(--sand-50); border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--sand-200); margin-bottom: 1.5rem; }
.sidebar-card__title { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1.25rem; }
.sidebar-contact-item { display: flex; align-items: center; gap: 0.875rem; padding: 0.75rem 0; border-bottom: 1px solid var(--sand-200); }
.sidebar-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-contact-icon { font-size: 1.125rem; flex-shrink: 0; width: 24px; text-align: center; }
.sidebar-contact-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.1rem; }
.sidebar-contact-value { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }

/* ===== Steps ===== */
.steps-list { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; }
.step-item__num {
  width: 44px;
  height: 44px;
  background: var(--navy-700);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-item__title { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.3rem; }
.step-item__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ===== Team ===== */
.team-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.team-visual { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; }
.team-visual img { width: 100%; height: 100%; object-fit: cover; }
.languages-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.language-tag { padding: 0.375rem 1rem; background: var(--sand-100); border-radius: var(--radius-full); font-size: 0.8125rem; font-weight: 500; color: var(--text-body); }
.regions-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.region-item { padding: 1.375rem; background: var(--sand-50); border-radius: var(--radius-lg); border: 1px solid var(--sand-200); }
.region-item__name { font-weight: 600; color: var(--text-dark); margin-bottom: 0.375rem; font-size: 0.9375rem; }
.region-item__areas { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.faq-list { display: flex; flex-direction: column; border: 1.5px solid var(--sand-200); border-radius: var(--radius-xl); overflow: hidden; }
.faq-item { border-bottom: 1.5px solid var(--sand-200); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  gap: 1.5rem;
  cursor: pointer;
  border: none;
}
.faq-question:hover { background: var(--sand-50); }
.faq-item.active .faq-question { background: var(--sand-50); color: var(--navy-700); }
.faq-toggle {
  width: 32px;
  height: 32px;
  background: var(--sand-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
  user-select: none;
}
.faq-item.active .faq-toggle { background: var(--navy-700); color: var(--white); transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease-out); }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 2rem 1.75rem; font-size: 0.9375rem; color: var(--text-body); line-height: 1.78; }

/* ===== Golden Visa Benefits ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.benefit-card { padding: 1.75rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--sand-200); text-align: center; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-card__icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.benefit-card__title { font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; font-size: 0.9375rem; }
.benefit-card__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== Info Boxes ===== */
.info-box {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.info-box__title { font-weight: 600; color: var(--navy-700); margin-bottom: 0.5rem; font-size: 0.9375rem; }
.info-box p { font-size: 0.9rem; color: var(--text-body); margin: 0; }

.highlight-box {
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== Tax Table ===== */
.tax-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.tax-table th { background: var(--navy-700); color: var(--white); padding: 0.875rem 1.25rem; text-align: left; font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tax-table td { padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--sand-200); color: var(--text-body); }
.tax-table tr:last-child td { border-bottom: none; }
.tax-table tr:nth-child(even) td { background: var(--sand-50); }
.tax-table td:last-child { font-weight: 600; color: var(--text-dark); }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: var(--white); padding: clamp(4rem, 7vw, 6rem) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.75fr 1fr 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: 3rem; }
.footer__logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.footer__tagline { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-400); display: block; margin-bottom: 1.25rem; }
.footer__about { font-size: 0.875rem; color: rgba(255,255,255,0.48); line-height: 1.7; margin-bottom: 1.75rem; }
.footer__social { display: flex; gap: 0.625rem; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.07); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background var(--dur) var(--ease); }
.social-link:hover { background: rgba(255,255,255,0.14); }
.footer__col-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); margin-bottom: 1.375rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__link { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--dur) var(--ease); }
.footer__link:hover { color: var(--white); }
.footer__contact-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; align-items: flex-start; }
.footer__contact-icon { font-size: 0.9rem; margin-top: 0.1em; opacity: 0.45; flex-shrink: 0; }
.footer__contact-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.35); display: block; margin-bottom: 0.1rem; }
.footer__contact-value { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.75rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__copyright { font-size: 0.8rem; color: rgba(255,255,255,0.28); }
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-link { font-size: 0.8rem; color: rgba(255,255,255,0.32); transition: color var(--dur) var(--ease); }
.footer__bottom-link:hover { color: rgba(255,255,255,0.65); }

/* ===== WhatsApp Float ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  text-decoration: none;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 32px rgba(37,211,102,0.52); }

/* ===== Animations ===== */
.animate { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.animate.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-900);
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    z-index: -1;
  }
  .nav__links.open .nav__link { font-size: 1.375rem; color: rgba(255,255,255,0.88); padding: 0.875rem 2rem; }
  .nav__links.open .nav__link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { aspect-ratio: 16/9; }
  .team-intro { grid-template-columns: 1fr; }
  .contact-cta__inner { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
}

@media (max-width: 768px) {
  .search-section__grid { grid-template-columns: 1fr; }
  .regions-grid { grid-template-columns: 1fr; }
  .region-card { height: 400px; }
  .services-grid { grid-template-columns: 1fr; }
  .search-form__row { grid-template-columns: 1fr; }
  .usp-bar__grid { grid-template-columns: 1fr; }
  .regions-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-cta__buttons { min-width: unset; }
  .faq-question { padding: 1.25rem 1.5rem; }
  .faq-answer-inner { padding: 0 1.5rem 1.5rem; }
  .tax-table { font-size: 0.8125rem; }
}

@media (max-width: 480px) {
  .properties-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom-links { flex-wrap: wrap; gap: 1rem; }
}
