/* =========================================================
   AmirRehmani.com — Global Stylesheet
   Design: Navy + Gold luxury real estate theme
   ========================================================= */

/* ── VARIABLES ── */
:root {
  --navy:       #0a2540;
  --navy-mid:   #163558;
  --navy-deep:  #07192e;
  --gold:       #c9a961;
  --gold-dark:  #a8873a;
  --gold-light: #e0c98a;
  --white:      #ffffff;
  --off-white:  #fafaf7;
  --cream:      #f5f2ea;
  --section-alt:#f0ede6;
  --charcoal:   #1a1a1a;
  --dark-grey:  #333333;
  --mid-grey:   #666666;
  --soft-grey:  #e0ddd6;
  --light-grey: #f4f3f0;
  --green:      #25D366;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-cond:  'Cormorant Garamond', Georgia, serif;

  --transition: 0.3s ease;
  --transition-slow: 0.55s ease;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 4px rgba(10,37,64,.06);
  --shadow-sm: 0 2px 14px rgba(10,37,64,.08);
  --shadow-md: 0 6px 28px rgba(10,37,64,.12);
  --shadow-lg: 0 16px 52px rgba(10,37,64,.17);
  --shadow-xl: 0 28px 72px rgba(10,37,64,.22);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--charcoal); background: var(--off-white); line-height: 1.72; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-serif); color: var(--navy); line-height: 1.18; }
p { color: var(--dark-grey); }
input, select, textarea { font-family: var(--font-sans); }

/* ── LAYOUT ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── TYPOGRAPHY HELPERS ── */
.tagline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}
.section-heading::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--gold);
  margin-top: 16px;
  border-radius: 2px;
}
.section-heading.centered { text-align: center; }
.section-heading.centered::after { margin: 16px auto 0; }
.section-heading.white { color: var(--white); }
.section-heading.white::after { background: var(--gold); }
.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--mid-grey);
  line-height: 1.8;
  max-width: 580px;
}
.section-sub.centered { text-align: center; margin: 0 auto; }
.section-sub.white { color: rgba(255,255,255,.72); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,97,.28); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: transparent; color: var(--navy); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: 10px 22px; font-size: 10.5px; letter-spacing: 1.4px; }
.btn-lg { padding: 17px 42px; font-size: 12.5px; }
.btn-full { width: 100%; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 28px rgba(10,37,64,.12);
}
/* Row 1 — Logo + phone + CTA */
.nav-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 20px;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; }
.logo-light { display: block; }
.logo-dark  { display: none; }
.navbar.scrolled .logo-light { display: none; }
.navbar.scrolled .logo-dark  { display: block; }
.nav-row1-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-phone {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
  color: rgba(255,255,255,.82); white-space: nowrap;
  transition: color var(--transition);
}
.nav-phone svg { color: var(--gold); flex-shrink: 0; }
.nav-phone:hover { color: var(--gold); }
.navbar.scrolled .nav-phone { color: var(--navy); }
.navbar.scrolled .nav-phone:hover { color: var(--gold); }
/* Row 2 — all nav items */
.nav-row2 {
  border-top: 1px solid rgba(255,255,255,.10);
  height: 44px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
}
.navbar.scrolled .nav-row2 { border-top-color: rgba(10,37,64,.08); }
.nav-menu { display: flex; align-items: stretch; gap: 0; list-style: none; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 11px; height: 100%;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  white-space: nowrap; cursor: pointer;
  position: relative;
}
.navbar.scrolled .nav-link { color: var(--navy); }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--gold); }
.nav-link.active::after, .nav-item:hover > .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 11px; right: 11px;
  height: 2px; background: var(--gold); border-radius: 2px 2px 0 0;
}
.nav-chevron { width: 10px; height: 10px; flex-shrink: 0; transition: transform var(--transition); }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Regular dropdown */
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 210px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 200;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 20px;
  font-size: 13px; color: var(--charcoal);
  border-bottom: 1px solid var(--soft-grey);
  transition: all var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--gold); padding-left: 26px; background: var(--off-white); }

/* Mega menu */
.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%; left: 0;
  width: 500px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200; overflow: hidden;
}
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col { flex: 1; padding: 26px 22px; }
.mega-col + .mega-col { border-left: 1px solid var(--soft-grey); }
.mega-col-heading {
  font-size: 9.5px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--soft-grey);
}
.mega-link {
  display: block; padding: 8px 0;
  font-size: 13px; color: var(--dark-grey);
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: all var(--transition);
}
.mega-link:last-child { border-bottom: none; }
.mega-link:hover { color: var(--gold); padding-left: 8px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 7px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.navbar.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mob-nav {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 999;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  overflow-y: auto;
}
.mob-nav.open { opacity: 1; visibility: visible; }
.mob-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0; position: sticky; top: 0;
  background: var(--navy); z-index: 1;
}
.mob-logo img { height: 34px; }
.mob-close { color: var(--white); padding: 6px; }
.mob-nav-body { padding: 4px 0 40px; }
.mob-link {
  display: block;
  font-family: var(--font-serif); font-size: 20px;
  color: rgba(255,255,255,.9);
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition), background var(--transition);
}
.mob-link:hover { color: var(--gold); background: rgba(255,255,255,.03); }
.mob-section { border-bottom: 1px solid rgba(255,255,255,.06); }
.mob-section-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 28px;
  font-family: var(--font-serif); font-size: 20px;
  color: rgba(255,255,255,.9);
  background: none; border: none; cursor: pointer; text-align: left;
  transition: color var(--transition), background var(--transition);
}
.mob-section-btn:hover { color: var(--gold); background: rgba(255,255,255,.03); }
.mob-chevron { width: 16px; height: 16px; transition: transform var(--transition); flex-shrink: 0; }
.mob-section.open .mob-chevron { transform: rotate(180deg); }
.mob-section-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0,0,0,.18);
}
.mob-section.open .mob-section-body { max-height: 600px; }
.mob-section-body a {
  display: block; padding: 10px 28px 10px 42px;
  font-size: 14px; color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color var(--transition);
}
.mob-section-body a:last-child { border-bottom: none; }
.mob-section-body a:hover { color: var(--gold); }
.mob-cta-wrap {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mob-phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: rgba(255,255,255,.65); font-size: 15px; font-weight: 500;
  padding: 13px; border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); transition: all var(--transition);
}
.mob-phone:hover { color: var(--gold); border-color: var(--gold); }
.mob-div { display: none; }

/* ── HERO BASE ── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(7,25,46,.88) 0%, rgba(10,37,64,.5) 55%, rgba(7,25,46,.78) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 160px 0 80px;
}
.page-hero-content h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}
.page-hero-content h1 em {
  font-family: var(--font-cond);
  font-style: italic;
  color: var(--gold);
}
.page-hero-content p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-bottom: 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ── STATS BAR ── */
.stats-bar { background: var(--navy); padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 12px 20px; border-right: 1px solid rgba(255,255,255,.09); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-serif); font-size: 40px; color: var(--gold); font-weight: 700; margin-bottom: 6px; line-height: 1; }
.stat-label { font-size: 11px; color: rgba(255,255,255,.58); letter-spacing: 1.8px; text-transform: uppercase; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--mid-grey); line-height: 1.7; }
.card-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(201,169,97,.12);
  border: 1px solid rgba(201,169,97,.35);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-top: 14px;
}

/* Photo city cards (overlay style) */
.city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.city-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .55s ease;
}
.city-card:hover .city-card-bg { transform: scale(1.06); }
.city-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,.86) 0%, rgba(10,37,64,.08) 60%); }
.city-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; }
.city-card-info h3 { font-size: 21px; color: var(--white); margin-bottom: 3px; }
.city-card-info p { font-size: 12.5px; color: rgba(255,255,255,.65); }
.city-card:hover .card-tag { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Service cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
}
.service-card:hover { border-top-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 64px; height: 64px;
  background: rgba(201,169,97,.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--gold); color: var(--navy); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 13.5px; color: var(--mid-grey); line-height: 1.7; }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 14.5px; font-style: italic; color: var(--dark-grey); line-height: 1.8; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 16px; color: var(--gold); font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.testimonial-loc { font-size: 12px; color: var(--mid-grey); }

/* ── FORMS ── */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.span-2 { grid-column: 1 / -1; }
.form-group label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--soft-grey);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--off-white);
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,169,97,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 11.5px; color: var(--mid-grey); margin-top: 10px; text-align: center; }

/* Inline form (hero area) */
.hero-form {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 680px;
}
.hero-form select,
.hero-form input {
  flex: 1;
  min-width: 160px;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 14px;
  outline: none;
}
.hero-form select option { background: var(--navy); color: var(--white); }
.hero-form ::placeholder { color: rgba(255,255,255,.6); }

/* ── TWO COLUMN IMAGE LAYOUT ── */
.img-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.img-col img { width: 100%; height: 100%; object-fit: cover; }
.img-col-bg { aspect-ratio: 4/5; background-size: cover; background-position: center; }

/* ── PROCESS STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 48px; }
.step { position: relative; text-align: center; }
.step-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: rgba(201,169,97,.18);
  line-height: 1;
  margin-bottom: -18px;
}
.step-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: var(--gold);
  position: relative; z-index: 1;
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--mid-grey); }

/* ── FAQ ACCORDION ── */
.faq-list { margin-top: 36px; }
.faq-item { border-bottom: 1px solid var(--soft-grey); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--navy);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-icon { flex-shrink: 0; color: var(--gold); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 20px; font-size: 14px; color: var(--mid-grey); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ── FEATURE LIST ── */
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-item h4 { font-size: 14px; font-family: var(--font-sans); color: var(--navy); margin-bottom: 2px; }
.feature-item p { font-size: 13px; color: var(--mid-grey); }

/* ── NEIGHBOURHOOD PILLS ── */
.pill-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill {
  padding: 7px 16px;
  background: var(--white);
  border: 1px solid var(--soft-grey);
  border-radius: 24px;
  font-size: 12.5px;
  color: var(--navy);
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}
.pill:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,97,.06); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--navy); padding: 24px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.75); font-size: 13px; }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(145deg, var(--navy-deep), var(--navy)); padding: 96px 0; text-align: center; }
.cta-section::before { content:''; display:block; width:80px; height:3px; background:var(--gold); margin: 0 auto 36px; border-radius:2px; }

/* ── BLOG CARDS ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 9.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.blog-body h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; flex: 1; }
.blog-body p { font-size: 13px; color: var(--mid-grey); line-height: 1.7; margin-bottom: 14px; }
.blog-meta { font-size: 11px; color: var(--mid-grey); display: flex; gap: 10px; }

/* ── FOOTER ── */
.footer { background: var(--navy-deep); color: var(--white); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.8; margin: 18px 0 22px; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { font-size: 13px; color: rgba(255,255,255,.6); transition: color var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: var(--gold); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: var(--font-sans); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: all var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 11.5px; color: rgba(255,255,255,.28); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11.5px; color: rgba(255,255,255,.28); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--navy); }

/* ── FLOATING BUTTONS ── */
.float-btns { position: fixed; bottom: 28px; right: 24px; z-index: 900; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}
.float-btn:hover { transform: translateX(-4px); box-shadow: var(--shadow-xl); }
.float-wa { background: var(--green); color: var(--white); }
.float-call { background: var(--gold); color: var(--navy); }
.back-top {
  position: fixed;
  bottom: 130px;
  right: 26px;
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 899;
}
.back-top.visible { opacity: 1; transform: translateY(0); }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }

/* ── SECTION ACCENTS ── */
.section-light { background: var(--off-white); }
.section-alt { background: var(--section-alt); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section-dark { background: linear-gradient(145deg, var(--navy-deep), var(--navy)); }
.accent-bar { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ── RESPONSIVE ── */

/* ─ 1100px: Switch to hamburger ─ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-row2 { display: none; }
  .nav-phone { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ─ 960px: Tablet landscape ─ */
@media (max-width: 960px) {
  .section-pad { padding: 76px 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.09); }
  .stat-item:nth-child(2n) { border-bottom: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-inner { flex-wrap: wrap; gap: 18px; }
}

/* ─ 768px: Tablet portrait ─ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 60px 0; }
  .section-pad-sm { padding: 44px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-form { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
  .trust-inner { justify-content: center; }
  /* Inline 2-col grids → single column */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  /* Tall inline images → shorter on mobile */
  img[style*="height:480px"], img[style*="height: 480px"] { height: 260px !important; }
  img[style*="height:420px"], img[style*="height: 420px"] { height: 230px !important; }
  /* Page hero content: less top padding on mobile */
  .page-hero-content { padding: 120px 0 56px; }
  /* Float buttons: icon only, circular */
  .float-btn span { display: none; }
  .float-btn { padding: 14px; width: 50px; height: 50px; border-radius: 50%; justify-content: center; }
  .float-btns { bottom: 20px; right: 16px; gap: 10px; }
  .back-top { bottom: 152px; right: 18px; width: 40px; height: 40px; }
  /* Prevent iOS input zoom (font-size must be ≥16px) */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
  /* City cards slightly taller proportion */
  .city-card { aspect-ratio: 16/10; }
}

/* ─ 640px: Phone landscape ─ */
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .form-wrap { padding: 28px 20px; }
  .stat-num { font-size: 34px; }
}

/* ─ 480px: Standard phone ─ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 52px 0; }
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust-item { font-size: 12.5px; }
  .testimonial-card { padding: 24px 18px; }
  .service-card { padding: 28px 20px; }
  .form-wrap { padding: 24px 16px; }
  .stat-num { font-size: 30px; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .nav-row1 { height: 60px; }
  .nav-logo img { height: 36px; }
  /* Inline 2-col grids stay 1-col */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* ─ 390px: iPhone 14/15 Pro ─ */
@media (max-width: 390px) {
  .container { padding: 0 14px; }
  .section-pad { padding: 48px 0; }
  .page-hero-content { padding: 108px 0 48px; }
  .stat-num { font-size: 28px; }
  .btn { padding: 12px 22px; font-size: 10.5px; }
  .btn-lg { padding: 14px 28px; font-size: 11.5px; }
  .btn-sm { padding: 9px 18px; font-size: 10px; }
  .section-heading { font-size: clamp(22px, 7vw, 32px); }
  .form-wrap { padding: 22px 14px; }
}

/* ─ 375px: iPhone SE 2/3 & older iPhones ─ */
@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .nav-row1 { height: 58px; }
  .nav-logo img { height: 34px; }
  .float-btn { width: 46px; height: 46px; padding: 12px; }
  .back-top { width: 38px; height: 38px; }
}

/* ─ 320px: iPhone SE 1st gen ─ */
@media (max-width: 320px) {
  .container { padding: 0 10px; }
  .nav-logo img { height: 30px; }
  .section-heading { font-size: 20px; }
  .stat-num { font-size: 26px; }
  .btn-group .btn { font-size: 10px; letter-spacing: 1px; }
}

/* ─ iOS safe-area (notch / home bar) ─ */
@supports (padding: env(safe-area-inset-bottom)) {
  .float-btns {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .back-top {
    bottom: calc(152px + env(safe-area-inset-bottom));
  }
  .mob-cta-wrap {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* ─ iPhone landscape (very short viewport) ─ */
@media (max-height: 500px) and (orientation: landscape) {
  .mob-nav { align-items: flex-start; }
  .mob-nav-body { padding-bottom: 20px; }
  .mob-header { padding: 12px 20px; }
  .mob-link, .mob-section-btn { font-size: 16px; padding: 10px 20px; }
  .mob-section-body a { padding: 8px 20px 8px 34px; font-size: 13px; }
  .page-hero-content { padding: 80px 0 40px; }
}

/* ─ Print ─ */
@media print {
  .navbar, .mob-nav, .float-btns, .back-top, .trust-bar { display: none !important; }
  .page-hero-content { padding-top: 20px; }
}
