/* ============================================================
   ASHRAF LUXURY REAL ESTATE – style.css
   Inspired by shahid.ca design language
   ============================================================ */

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

:root {
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Lato', sans-serif;
  --clr-black: #000;
  --clr-white: #fff;
  --clr-off-white: #f5f5f3;
  --clr-grey: #888;
  --clr-grey-light: #e8e8e6;
  --clr-accent: #b8a87a;      /* warm gold */
  --section-pad: 96px;
  --nav-h: 80px;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6, button { font-family: var(--font-primary); }
h1 { font-size: clamp(40px, 7vw, 70px); font-weight: 400; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 4vw, 43px); font-weight: 400; line-height: 1.1; text-transform: uppercase; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 500; text-transform: uppercase; }
p { text-transform: none; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- UTILITY ---------- */
.section-pretitle {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5em;
  color: var(--clr-grey);
}
.section-pretitle.light { color: rgba(255,255,255,0.55); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--clr-black);
  box-shadow: 0 2px 30px rgba(0,0,0,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 5%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--clr-white);
}
.logo-name {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-tagline {
  font-family: var(--font-secondary);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  color: var(--clr-white);
  font-family: var(--font-secondary);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--clr-white);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-white);
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--clr-black);
  padding: 20px 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease;
}
.mobile-menu.open {
  max-height: 400px;
}
.mobile-menu ul {
  list-style: none;
  padding: 0 5%;
}
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu ul li:last-child { border-bottom: none; }
.mobile-link {
  display: block;
  padding: 16px 0;
  color: var(--clr-white);
  font-family: var(--font-secondary);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--clr-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease;
  will-change: transform;
}
#hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 83.33%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
}

.hero-pretitle {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  margin-bottom: 1.5em;
}
.hero-title {
  opacity: 0;
}
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  margin-top: 2.8em;
}
.subtitle-line {
  display: block;
  width: 60px;
  height: 1.5px;
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.hero-buttons {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 2.5em;
  opacity: 0;
}
.btn-link {
  cursor: pointer;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-white);
  padding-bottom: 12px;
  display: inline-block;
}
.btn-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255,255,255,0.25);
  position: relative;
  margin-top: 8px;
}
.btn-bar-fill {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 100%;
  background: var(--clr-white);
  transition: width var(--transition);
}
.btn-link:hover .btn-bar-fill { width: 100%; }

/* Scroll down button */
.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  width: 72px; height: 72px;
  opacity: 0.7;
  transition: opacity var(--transition), transform 0.4s ease;
  animation: bob 2.8s ease-in-out infinite;
}
.scroll-down:hover { opacity: 1; }
.scroll-oval { fill: transparent; stroke: #fff; stroke-width: 1; }
.scroll-text { fill: #fff; font-family: var(--font-secondary); font-weight: 700; letter-spacing: 1px; }

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Hero WOW animations */
.wow-fade-up { animation: fadeUp 0.9s ease forwards; }
.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.75s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered WOW */
.wow-slide-in-left, .wow-slide-in-right, .wow-fade-up.scroll-wow {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.wow-slide-in-left { transform: translateX(-60px); }
.wow-slide-in-right { transform: translateX(60px); }
.wow-slide-in-left.visible, .wow-slide-in-right.visible, .wow-fade-up.scroll-wow.visible {
  opacity: 1;
  transform: translate(0);
}
.wow-fade-up.scroll-wow.visible.delay-1 { transition-delay: 0.15s; }
.wow-fade-up.scroll-wow.visible.delay-2 { transition-delay: 0.3s; }
.wow-fade-up.scroll-wow.visible.delay-3 { transition-delay: 0.45s; }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: var(--section-pad) 0;
  background: var(--clr-white);
}
.about-container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}
.about-image { flex: 0 0 45%; position: relative; }
.img-wrapper {
  position: relative;
  padding-bottom: 120%;
}
.main-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: top;
}
.img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 1.5px solid var(--clr-accent);
  z-index: -1;
}
.about-text { flex: 1; }
.about-text h2 { margin-bottom: 32px; }
.about-body {
  color: #555;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}
.about-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.btn-primary {
  display: inline-block;
  padding: 18px 44px;
  background: var(--clr-black);
  color: var(--clr-white);
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  border: 1.5px solid var(--clr-black);
}
.btn-primary:hover { background: transparent; color: var(--clr-black); }
.btn-secondary {
  display: inline-block;
  padding: 18px 44px;
  background: transparent;
  color: var(--clr-black);
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1.5px solid var(--clr-black);
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover { background: var(--clr-black); color: var(--clr-white); }

/* ============================================================
   STATS
   ============================================================ */
#stats {
  background: var(--clr-black);
  color: var(--clr-white);
  padding: var(--section-pad) 5%;
  overflow: hidden;
}
.stats-container { max-width: 1300px; margin: 0 auto; }
.stats-header { text-align: center; margin-bottom: 64px; }
.stats-header h2 { color: var(--clr-white); }

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-card {
  flex: 1 1 250px;
  max-width: 380px;
  text-align: center;
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.stat-card:last-child { border-right: none; }

.stat-value-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.stat-value {
  font-family: var(--font-primary);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: var(--clr-white);
  margin-bottom: 12px;
}
.stat-plus {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 300;
  color: var(--clr-white);
  margin-bottom: 12px;
  margin-left: 4px;
}
.stat-label {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.stats-cta { text-align: center; margin-top: 72px; }
.btn-primary-light {
  display: inline-block;
  padding: 18px 50px;
  background: transparent;
  color: var(--clr-white);
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: background var(--transition), border-color var(--transition);
}
.btn-primary-light:hover { background: var(--clr-white); color: var(--clr-black); border-color: var(--clr-white); }

/* ============================================================
   LISTINGS
   ============================================================ */
#listings {
  padding: var(--section-pad) 5%;
  background: var(--clr-off-white);
}
.listings-header {
  text-align: center;
  margin-bottom: 64px;
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}
.listing-card {
  background: var(--clr-white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.12); }

.listing-img-wrap {
  position: relative;
  padding-bottom: 70%;
  overflow: hidden;
}
.listing-img {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.7s ease;
}
.listing-img.main-img { opacity: 1; visibility: visible; }
.listing-img.secondary-img { opacity: 0; visibility: hidden; }
.listing-card:hover .main-img { opacity: 0; visibility: hidden; }
.listing-card:hover .secondary-img { opacity: 1; visibility: visible; }
.listing-card:hover .listing-img { transform: scale(1.04); }

.listing-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--clr-black);
  color: var(--clr-white);
  font-family: var(--font-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  z-index: 2;
}
.listing-info { padding: 28px 24px 32px; }
.listing-price {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--clr-black);
}
.listing-address {
  font-size: 13px;
  color: var(--clr-grey);
  margin-bottom: 12px;
  text-transform: none;
  font-family: var(--font-secondary);
}
.listing-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 11px;
  color: var(--clr-grey);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.dot { color: var(--clr-accent); }
.listings-cta { text-align: center; margin-top: 56px; }

/* ============================================================
   VALUATION
   ============================================================ */
#valuation {
  position: relative;
  background-image: url('property3.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--clr-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.valuation-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}
.valuation-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 5%;
}
.valuation-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.valuation-inner h2 { color: var(--clr-white); margin-bottom: 24px; }
.valuation-body {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 15px;
}

/* Form */
.valuation-form, .contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.valuation-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: var(--clr-white);
  padding: 12px 0;
  font-family: var(--font-secondary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.valuation-form input:focus { border-color: var(--clr-white); }
.valuation-form input::placeholder { color: rgba(255,255,255,0.3); }

.btn-submit {
  align-self: center;
  margin-top: 20px;
  padding: 18px 56px;
  background: var(--clr-white);
  color: var(--clr-black);
  border: 1.5px solid var(--clr-white);
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-submit:hover { background: transparent; color: var(--clr-white); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  background: var(--clr-black);
  color: var(--clr-white);
  padding: var(--section-pad) 5%;
}
.testimonials-container { max-width: 900px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-header h2 { color: var(--clr-white); }

.testimonials-slider { overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 24px;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-primary);
  font-size: 80px;
  font-weight: 700;
  line-height: 0.6;
  color: var(--clr-accent);
  margin-bottom: 32px;
}
.testimonial-text {
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 40px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.author-line { width: 40px; height: 1px; background: var(--clr-accent); }
.testimonial-author span {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.testimonial-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--clr-white);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.testimonial-btn:hover { border-color: var(--clr-white); background: rgba(255,255,255,0.08); }
.testimonial-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

.testimonial-dots { display: flex; gap: 10px; }
.dot-btn {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot-btn.active { background: var(--clr-white); transform: scale(1.4); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: var(--section-pad) 5%;
  background: var(--clr-white);
}
.contact-container {
  display: flex;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}
.contact-info { flex: 0 0 42%; }
.contact-info h2 { margin-bottom: 24px; }
.contact-body { color: #666; font-size: 15px; margin-bottom: 40px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--clr-black);
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}
.contact-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--clr-black);
  transition: width var(--transition);
}
.contact-link:hover::after { width: 100%; }
.contact-icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--clr-grey-light);
  color: var(--clr-black);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.social-link:hover { background: var(--clr-black); border-color: var(--clr-black); color: var(--clr-white); }
.social-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Contact Form */
.contact-form-wrap { flex: 1; }
.contact-form .form-group label {
  font-family: var(--font-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-grey);
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--clr-grey-light);
  color: var(--clr-black);
  padding: 12px 0;
  font-family: var(--font-secondary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  resize: none;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--clr-black); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(0,0,0,0.3); }
.contact-form .btn-submit {
  background: var(--clr-black);
  color: var(--clr-white);
  border-color: var(--clr-black);
  align-self: flex-start;
  margin-top: 12px;
}
.contact-form .btn-submit:hover { background: transparent; color: var(--clr-black); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--clr-off-white);
  border-top: 1px solid var(--clr-grey-light);
  padding: 56px 5% 36px;
}
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-name {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-brokerage {
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-grey);
  margin-top: 4px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-grey);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--clr-black);
  transition: width var(--transition);
}
.footer-nav a:hover { color: var(--clr-black); }
.footer-nav a:hover::after { width: 100%; }
.footer-divider { height: 1px; background: var(--clr-grey-light); margin-bottom: 32px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-family: var(--font-secondary);
  font-size: 11px;
  color: var(--clr-grey);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: var(--font-secondary);
  font-size: 11px;
  color: var(--clr-grey);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--clr-black); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--clr-white);
  padding: 56px 64px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalIn 0.4s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--clr-grey);
  transition: color var(--transition);
}
.modal-close:hover { color: var(--clr-black); }
.modal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--clr-black);
  color: var(--clr-white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.modal-box h3 { margin-bottom: 12px; font-size: 22px; }
.modal-box p { color: #666; font-size: 14px; }

/* ============================================================
   GLOBAL NETWORKING HUB
   ============================================================ */
#global-network {
  background: var(--clr-black);
  padding: var(--section-pad) 0 0;
  overflow: hidden;
}

.gn-inner {
  max-width: 100%;
}

/* ---- Header ---- */
.gn-header {
  text-align: center;
  padding: 0 5% 48px;
}

.gn-pretitle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.gn-pretitle-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--clr-accent);
}

.gn-pretitle-label {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-accent);
  white-space: nowrap;
}

.gn-title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--clr-white);
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.gn-subtitle {
  font-family: var(--font-secondary);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* ---- Map ---- */
.gn-map-wrap {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;          /* CLIP arcs — prevents them bleeding above/below */
  isolation: isolate;        /* new stacking context so SVG stays inside */
}

#world-map {
  width: 100%;
  height: 100%;
  background: #111;
  overflow: hidden !important;   /* Leaflet SVG layer must not overflow */
}

/* Fade edges so map bleeds beautifully into the section */
.gn-map-fade-left,
.gn-map-fade-right,
.gn-map-fade-top {
  position: absolute;
  z-index: 500;
  pointer-events: none;
}
.gn-map-fade-left {
  top: 0; left: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--clr-black), transparent);
}
.gn-map-fade-right {
  top: 0; right: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to left, var(--clr-black), transparent);
}
/* Top fade: extra guard so any arc peak is softly hidden at the top edge */
.gn-map-fade-top {
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--clr-black), transparent);
}

/* Override Leaflet defaults to match our theme */
.leaflet-container {
  background: #0e0e0e !important;
  font-family: var(--font-secondary) !important;
  cursor: default !important;   /* no grab cursor */
}

/* Block ALL mouse and touch interaction on the map */
.leaflet-container,
.leaflet-pane,
.leaflet-drag-target {
  pointer-events: none !important;
}

/* But keep markers/tooltips readable */
.leaflet-marker-pane,
.leaflet-tooltip-pane {
  pointer-events: none !important;
}

.leaflet-control-attribution { display: none !important; }
.leaflet-control-zoom { display: none; }

/* Custom tooltip label */
.map-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--clr-accent);
  font-family: var(--font-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 !important;
  pointer-events: none;
}
.map-label::before { display: none !important; }

/* Pulsing dot markers */
.map-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
  box-shadow: 0 0 8px rgba(184, 168, 122, 0.8);
}
.map-dot--hub {
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 0 0 16px rgba(255,255,255,0.9);
}

.map-dot-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--clr-accent);
  opacity: 0;
  animation: dotPulse 2.2s ease-out infinite;
}
.map-dot--hub .map-dot-ring {
  border-color: #fff;
  width: 34px; height: 34px;
  animation-duration: 1.8s;
}

@keyframes dotPulse {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* ---- Stats bar ---- */
.gn-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0;
  margin-top: 0;
}

.gn-stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 40px;
  flex: 1 1 220px;
  transition: background var(--transition);
}
.gn-stat-item:hover {
  background: rgba(184, 168, 122, 0.06);
}

.gn-stat-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(184, 168, 122, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gn-stat-icon svg {
  width: 20px; height: 20px;
  stroke: var(--clr-accent);
  fill: none;
  stroke-width: 1.5;
}

.gn-stat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gn-stat-text strong {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-white);
}
.gn-stat-text span {
  font-family: var(--font-secondary);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
}

.gn-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
  align-self: stretch;
}

/* ============================================================
   LOGO AMP ACCENT
   ============================================================ */
.logo-amp {
  color: var(--clr-accent);
  font-style: normal;
}

/* ============================================================
   TEAM PHOTO ADJUSTMENTS (About section)
   ============================================================ */
.team-img-wrapper {
  padding-bottom: 115% !important; /* taller box to show both men properly */
  background: #fff;                /* match photo's white background */
}

/* Remove the gold accent frame for team photo — white bg makes it look cleaner without */
.team-img-wrapper .img-accent {
  display: none;
}

.team-photo {
  object-fit: contain !important;      /* show full photo without cropping */
  object-position: bottom center !important; /* anchor to bottom to cut excess white top */
  background: #fff;
}

/* Give the about section a clean off-white bg so the white photo blends naturally */
#about {
  background: var(--clr-off-white);
}

/* Slim decorative left border accent instead of the corner frame */
.about-image::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 10%;
  height: 80%;
  width: 3px;
  background: var(--clr-accent);
  border-radius: 2px;
}

/* ============================================================
   ABOUT INLINE STATS ROW
   ============================================================ */
.about-stats-row {
  display: flex;
  gap: 36px;
  margin: 36px 0 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--clr-grey-light);
  padding-top: 32px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-num {
  font-family: var(--font-primary);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--clr-black);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-stat-plus {
  font-size: 0.65em;
  font-weight: 400;
  color: var(--clr-accent);
  vertical-align: super;
  margin-left: 1px;
}

.about-stat-label {
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-grey);
}

/* ============================================================
   EXPERTISE / SERVICES GRID
   ============================================================ */
#expertise {
  padding: var(--section-pad) 5%;
  background: var(--clr-off-white);
}

.expertise-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.expertise-header {
  margin-bottom: 48px;
}

.expertise-pretitle-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.expertise-pretitle-label {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-accent);
  white-space: nowrap;
}

.expertise-pretitle-line {
  display: block;
  flex: 0 0 60px;
  height: 1.5px;
  background: var(--clr-accent);
}

.expertise-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 400;
  text-transform: none;           /* matches reference image — sentence case */
  line-height: 1.15;
  color: var(--clr-black);
  margin-bottom: 18px;
  font-family: var(--font-primary);
  letter-spacing: -0.01em;
}

.expertise-subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  max-width: 500px;
}

/* 3×2 grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

/* Card */
.expertise-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.22);
}

/* Background photo */
.expertise-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.expertise-card:hover .expertise-card-img {
  transform: scale(1.06);
}

/* Dark gradient overlay – stronger at bottom */
.expertise-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  transition: background var(--transition);
}
.expertise-card:hover .expertise-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* Card body – sits at the bottom */
.expertise-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px 22px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  color: var(--clr-white);
}

/* Icon circle */
.expertise-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.expertise-card:hover .expertise-card-icon {
  border-color: var(--clr-accent);
  background: rgba(0, 0, 0, 0.5);
}
.expertise-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-accent);
  fill: none;
  stroke-width: 1.5;
}

/* Text block */
.expertise-card-text {
  flex: 1;
  min-width: 0;
}

.expertise-card-title {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 5px;
  line-height: 1.2;
}

.expertise-card-desc {
  font-family: var(--font-secondary);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
  text-transform: none;
}

/* Arrow chevron */
.expertise-card-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.expertise-card:hover .expertise-card-arrow {
  border-color: var(--clr-accent);
  background: var(--clr-accent);
  transform: translateX(3px);
}
.expertise-card-arrow svg {
  width: 13px;
  height: 13px;
  stroke: var(--clr-white);
  fill: none;
  stroke-width: 2.5;
}

/* ============================================================
   RESPONSIVE  –  1024 px (tablet)
   ============================================================ */
@media (max-width: 1024px) {
  /* About */
  .about-container { gap: 48px; }

  /* Listings */
  .listings-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-container { gap: 48px; }

  /* Expertise grid → 2 cols */
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 260px);
  }

  /* Global network stats → 2 per row */
  .gn-stat-item { flex: 1 1 45%; padding: 24px 28px; }
  .gn-stat-divider:nth-child(4) { display: none; } /* hide middle vertical divider on 2-col layout */
}

/* ============================================================
   RESPONSIVE  –  768 px (mobile landscape / tablet portrait)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  /* ── Navbar ── */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .mobile-menu { display: block; }

  /* ── Hero ── */
  .hero-title { font-size: clamp(36px, 10vw, 60px); }
  .hero-pretitle { font-size: 10px; }
  .hero-buttons { gap: 20px; }

  /* ── About ── */
  .about-container { flex-direction: column; gap: 32px; }
  .about-image {
    flex: unset;
    width: 100%;
    /* hide the left gold bar on mobile – not enough room */
  }
  .about-image::before { display: none; }

  /* Team photo: taller box on mobile so both faces show */
  .team-img-wrapper { padding-bottom: 95% !important; }
  .img-wrapper { padding-bottom: 85%; }

  /* About inline stats: wrap to 2 cols on mobile */
  .about-stats-row {
    gap: 20px;
    flex-wrap: wrap;
  }
  .about-stat { flex: 1 1 40%; }

  /* About buttons: stack vertically */
  .about-buttons { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }

  /* ── Global Network ── */
  #global-network { padding-top: 48px; }

  .gn-header { padding: 0 5% 28px; }
  .gn-pretitle-wrap { gap: 10px; }
  .gn-pretitle-line { width: 24px; }
  .gn-pretitle-label { font-size: 9px; letter-spacing: 0.2em; }

  .gn-title { font-size: clamp(20px, 5.5vw, 30px); line-height: 1.2; }
  .gn-subtitle { font-size: 12px; padding: 0 4%; }

  /* Map: taller on mobile so arcs are visible, not squashed */
  .gn-map-wrap { height: 300px; }
  .gn-map-fade-left,
  .gn-map-fade-right { width: 30px; }
  .gn-map-fade-top { height: 36px; }

  /* Map labels smaller on mobile */
  .map-label { font-size: 7px !important; letter-spacing: 0.12em !important; }

  /* Dot markers smaller on mobile */
  .map-dot { width: 7px; height: 7px; }
  .map-dot--hub { width: 11px; height: 11px; }
  .map-dot-ring { width: 18px; height: 18px; }
  .map-dot--hub .map-dot-ring { width: 26px; height: 26px; }

  /* Stats bar: clean single column */
  .gn-stats { flex-direction: column; }
  .gn-stat-item {
    flex: unset;
    width: 100%;
    padding: 18px 20px;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .gn-stat-item:last-child { border-bottom: none; }
  .gn-stat-divider { display: none; }
  .gn-stat-icon { width: 38px; height: 38px; }
  .gn-stat-icon svg { width: 16px; height: 16px; }
  .gn-stat-text strong { font-size: 10px; }
  .gn-stat-text span { font-size: 10px; }

  /* ── Expertise grid → 1 col ── */
  .expertise-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
  }
  .expertise-title { font-size: clamp(22px, 5vw, 32px); }

  /* ── Listings → 1 col ── */
  .listings-grid { grid-template-columns: 1fr; }
  .listings-header { padding: 0 5%; }

  /* ── Valuation ── */
  #valuation { background-attachment: scroll; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* ── Contact ── */
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }
  .contact-info { flex: unset; width: 100%; }
  .contact-form-wrap { width: 100%; }

  /* ── Footer ── */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-nav { gap: 20px; flex-wrap: wrap; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* ── Modal ── */
  .modal-box { padding: 40px 24px; }

  /* ── Testimonials ── */
  .testimonials-header { padding: 0 5%; }
}

/* ============================================================
   RESPONSIVE  –  480 px (mobile portrait)
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }

  /* Hero */
  .hero-buttons { flex-direction: column; gap: 20px; align-items: flex-start; }
  .scroll-down { display: none; }   /* hide on very small screens */

  /* Nav logo – shorten on tiny screens */
  .logo-tagline { display: none; }

  /* About stats: 1 per row on very small screens */
  .about-stat { flex: 1 1 100%; }

  /* Global network map height */
  .gn-map-wrap { height: 220px; }

  /* Expertise cards shorter */
  .expertise-grid { grid-template-rows: repeat(6, 190px); }

  /* Listing cards */
  .listing-img-wrap { height: 220px; }

  /* Contact social icons compact */
  .contact-social { gap: 10px; }
  .social-link { width: 36px; height: 36px; }

  /* Footer name size */
  .footer-name { font-size: 20px; }
  .footer-nav { gap: 14px; }
  .footer-legal { gap: 16px; }

  /* Valuation form */
  .valuation-inner { padding: 0 4%; }
}
