/* ============================================================
   FIVE STAR REAL ESTATE GROUP — April Bradshaw Team
   Main Stylesheet
   ============================================================ */

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

/* ============================================================
   CSS VARIABLES (easy to customize colors here)
   ============================================================ */
:root {
  --black:      #0A0A0A;
  --white:      #FFFFFF;
  --gray-50:    #FAFAFA;
  --gray-100:   #F4F4F4;
  --gray-200:   #E8E8E8;
  --gray-400:   #ADADAD;
  --gray-600:   #6B6B6B;
  --gray-800:   #2D2D2D;
  --gold:       #C9A96E;   /* accent — used sparingly */
  --gold-light: #E8D5B0;

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

  --nav-height:      80px;
  --max-width:       1200px;
  --section-pad:     100px;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:      0.2s;
  --t-base:      0.35s;
  --t-slow:      0.6s;

  --shadow-sm:   0 2px 8px  rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.14);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::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(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; transition: color var(--t-fast) var(--ease); }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
input, textarea, select { font-family: var(--font-sans); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 600;
  color: var(--black);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; }

p  { font-size: 1rem; line-height: 1.8; color: var(--gray-600); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section      { padding: var(--section-pad) 0; }
.section-bg   { background: var(--gray-50); }
.section-dark { background: var(--black); }

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title    { color: var(--black); margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  margin-bottom: 52px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-center .section-label    { text-align: center; }

/* Gold accent line under headings */
.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
}
.text-center .accent-line { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-primary:hover {
  background: var(--gray-800);
  border-color: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: transparent;
  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: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Arrow icon inside buttons */
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}

/* Hero pages: transparent nav over dark image */
.navbar.hero-mode {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* After scrolling */
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* ---- Nav text colour logic ---- */
.navbar .logo-name     { color: var(--black); }
.navbar .logo-sub      { color: var(--gold); }
.navbar .nav-link      { color: var(--black); }
.navbar .hamburger span{ background: var(--black); }

/* Over hero → white text */
.navbar.hero-mode .logo-name      { color: var(--white); }
.navbar.hero-mode .logo-sub       { color: var(--gold-light); }
.navbar.hero-mode .nav-link       { color: rgba(255,255,255,0.88); }
.navbar.hero-mode .hamburger span { background: var(--white); }
.navbar.hero-mode .btn-outline    { color: var(--white); border-color: rgba(255,255,255,0.7); }
.navbar.hero-mode .btn-outline:hover { background: var(--white); color: var(--black); }

/* After scrolling → always black text */
.navbar.scrolled .logo-name      { color: var(--black); }
.navbar.scrolled .logo-sub       { color: var(--gold); }
.navbar.scrolled .nav-link       { color: var(--black); }
.navbar.scrolled .hamburger span { background: var(--black); }
.navbar.scrolled .btn-outline    { color: var(--black); border-color: var(--black); }

/* ---- Nav layout ---- */
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Logo images — two versions for dark/light nav */
.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--t-base);
}

/* Default: show black logo, hide white logo */
.logo-img-white { display: none; }
.logo-img-black { display: block; }

/* Hero mode: show white logo, hide black logo */
.navbar.hero-mode .logo-img-white { display: block; }
.navbar.hero-mode .logo-img-black { display: none; }

/* After scrolling: always show black logo */
.navbar.scrolled .logo-img-white { display: none; }
.navbar.scrolled .logo-img-black { display: block; }

/* Fallback text logo (shown when no image) */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color var(--t-base);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--t-base);
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--t-base) var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  margin-left: 12px;
  padding: 10px 22px !important;
  font-size: 0.8rem !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   PAGE HERO (inner pages — About, Services, Contact)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero .section-label { margin-bottom: 8px; }
.page-hero h1             { margin-bottom: 16px; }
.page-hero p              { font-size: 1.1rem; max-width: 500px; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  transition: transform 8s ease-out;
  transform: scale(1.06);
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--white);
  padding-top: var(--nav-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
  animation: scrollBounce 2.2s ease infinite;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--black);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .suffix { color: var(--gold); }

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ============================================================
   INTRO / ABOUT SNIPPET
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image { position: relative; }

.intro-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
}

.intro-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--black);
  color: var(--white);
  padding: 24px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.intro-badge .badge-num  { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.intro-badge .badge-text { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* ============================================================
   SERVICE CARDS (Home page overview)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width var(--t-slow) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { width: 100%; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--gray-100);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background var(--t-base);
}
.service-card:hover .service-icon { background: var(--black); }

.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--gray-800);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--t-base);
}
.service-card:hover .service-icon svg { stroke: var(--gold); }

.service-card h3 { font-size: 1.2rem; color: var(--black); margin-bottom: 12px; }
.service-card p  { font-size: 0.93rem; line-height: 1.75; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
  transition: all var(--t-fast);
}
.card-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; transition: transform var(--t-fast); }
.card-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.card-link:hover svg { transform: translateX(4px); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 2px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 8px;
}

.why-item { display: flex; gap: 20px; align-items: flex-start; }

.why-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  min-width: 44px;
  transition: color var(--t-base);
}
.why-item:hover .why-num { color: var(--gold); }

.why-item h4 { font-size: 1.02rem; color: var(--black); margin-bottom: 6px; }
.why-item p  { font-size: 0.9rem; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section {
  background: var(--gray-50);
  padding: var(--section-pad) 0;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.6;
  display: block;
  margin-bottom: 24px;
  opacity: 0.4;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: var(--black);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}
.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--gray-400);
  margin-top: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: var(--black);
  padding: 100px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 20px; }
.cta-section p  { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 540px; margin: 0 auto 44px; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.value-card {
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color var(--t-base), background var(--t-base);
}
.value-card:hover { border-color: var(--gold); background: rgba(255,255,255,0.03); }

.value-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 1.15rem; color: var(--white); margin-bottom: 12px; }
.value-card p  { font-size: 0.88rem; color: rgba(255,255,255,0.48); line-height: 1.75; }

/* dark section overrides */
.section-dark .section-label    { color: var(--gold); }
.section-dark .section-title,
.section-dark h2                { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.55); }

/* ============================================================
   SERVICES PAGE — Detail Cards
   ============================================================ */
.service-detail-wrap { display: flex; flex-direction: column; gap: 64px; }

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  border-radius: 2px;
}
.service-detail-card.reverse { direction: rtl; }
.service-detail-card.reverse > * { direction: ltr; }

.sd-image { overflow: hidden; }
.sd-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.service-detail-card:hover .sd-image img { transform: scale(1.04); }

.sd-content {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sd-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.sd-content > p { margin-bottom: 8px; }

.sd-features {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sd-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.sd-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Form */
.contact-form-wrap { display: flex; flex-direction: column; gap: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 2px;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-success {
  display: none;
  padding: 20px 24px;
  background: #f0f9f0;
  border: 1px solid #b8ddb8;
  border-radius: 2px;
  color: #2d6a2d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 0; }

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-child  { border-bottom: none; }

.ci-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; stroke: var(--black); fill: none; stroke-width: 1.5; }

.ci-text {}
.ci-text label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.ci-text a,
.ci-text p { font-size: 0.95rem; color: var(--black); font-weight: 400; line-height: 1.55; }
.ci-text a:hover { color: var(--gold); }

/* Social row */
.social-row { margin-top: 36px; }
.social-row h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
  font-family: var(--font-sans);
}
.social-icons { display: flex; gap: 10px; }

.social-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base) var(--ease);
  color: var(--black);
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Brand column */
.footer-brand .logo-name { color: var(--white); font-size: 1.2rem; }
.footer-brand .logo-sub  { color: var(--gold); }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  margin: 20px 0 24px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social .social-icon { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.6); width: 38px; height: 38px; }
.footer-social .social-icon:hover { background: var(--gold); color: var(--white); }

/* Other columns */
.footer-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.42); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a,
.footer-contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.42); line-height: 1.55; }
.footer-contact-item a:hover { color: var(--white); }

/* Footer bottom */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p, .footer-bottom a { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; }

/* Stagger helpers */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .intro-grid, .why-grid, .about-story-grid { gap: 50px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .sd-content { padding: 48px 40px; }

  .contact-grid { gap: 50px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --nav-height:  66px;
  }

  /* --- Nav --- */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease);
    z-index: 998;
  }
  .nav-menu.open { transform: translateX(0); }

  .nav-link { font-size: 1.5rem; font-family: var(--font-serif); }
  .nav-cta  { margin-left: 0; }

  /* Override hero-mode text colours on mobile menu (always dark bg) */
  .navbar.hero-mode .nav-menu { background: var(--white); }
  .navbar.hero-mode .nav-menu .nav-link { color: var(--black); }

  /* --- Hero --- */
  .hero-buttons { flex-direction: column; align-items: flex-start; }

  /* --- Stats --- */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }

  /* --- Two-col grids → single column --- */
  .intro-grid,
  .why-grid,
  .about-story-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Image on top, text below */
  .intro-image  { order: -1; }
  .why-image    { order: -1; }

  .intro-image img, .why-image img { height: 320px; }
  .about-story-image img { height: 360px; }

  .intro-badge { right: 0; bottom: -20px; }

  /* --- Services grid --- */
  .services-grid { grid-template-columns: 1fr; }
  .service-card  { padding: 30px 24px; }

  /* --- Service detail --- */
  .service-detail-card { grid-template-columns: 1fr; direction: ltr; }
  .service-detail-card.reverse { direction: ltr; }
  .sd-image img  { min-height: 260px; }
  .sd-content    { padding: 36px 28px; }

  /* --- Values grid --- */
  .values-grid { grid-template-columns: 1fr; gap: 20px; }

  /* --- Footer --- */
  .footer-grid   { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* --- Form --- */
  .form-row { grid-template-columns: 1fr; }

  /* --- CTA --- */
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn { padding: 13px 26px; font-size: 0.82rem; }
  .hero p { font-size: 1rem; }
  .page-hero { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 48px; }
}

/* Quick actions 3-col → 1-col on mobile */
@media (max-width: 640px) {
  .quick-actions-grid,
  .section-sm .container > div[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .sd-content { padding: 32px 20px; }
  .values-grid { grid-template-columns: 1fr; }
}
