/* ============================================================
   AFRICA PROPERTY MANAGERS — Main Stylesheet
   Mobile-First | WCAG 2.1 AA | CSS Variables | No deprecated libs
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --navy:       #0a2342;
  --navy-dark:  #061629;
  --navy-light: #1a3a5c;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark:  #a07830;
  --white:      #ffffff;
  --off-white:  #f8f6f2;
  --light-grey: #f0eff0;
  --mid-grey:   #6b7280;
  --dark-grey:  #374151;
  --text:       #1f2937;
  --border:     #e5e7eb;
  --success:    #059669;
  --error:      #dc2626;

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

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.12);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.20);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.25);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:  1200px;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; }

/* ---- Skip Link (Accessibility) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  display: none;
}
@media (min-width: 768px) { .top-bar { display: block; } }
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--white); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1.5rem; }

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .nav-menu { display: flex; align-items: center; }
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a[aria-current="page"] {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  z-index: 100;
  border-top: 3px solid var(--gold);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.dropdown-menu li a:hover { color: var(--gold-light); background: rgba(255,255,255,0.06); padding-left: 1.5rem; }

/* CTA Button in Nav */
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  aria-label: "Menu";
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--navy-dark);
  padding: 1rem 1.5rem 2rem;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav ul li a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
}
.mobile-nav ul li a:hover { color: var(--gold-light); }
.mobile-nav .mobile-cta {
  display: block;
  margin-top: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  text-align: center;
  padding: 0.875rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
}

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ---- Section Spacing ---- */
.section { padding: 4rem 0; }
.section-lg { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } .section-lg { padding: 7rem 0; } }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--mid-grey); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-label {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,22,41,0.82) 0%, rgba(10,35,66,0.65) 60%, rgba(10,35,66,0.40) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 2rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero h1 span { color: var(--gold-light); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-icon { font-size: 1.2rem; color: var(--gold); }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--gold); }
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.service-card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--navy); }
.service-card-body p { color: var(--mid-grey); font-size: 0.9rem; flex: 1; margin-bottom: 1rem; }
.service-card-link {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 0.75rem; color: var(--gold); }

/* ---- Why Us Section ---- */
.why-us { background: var(--navy); color: var(--white); }
.why-us h2 { color: var(--white); }
.why-us .section-label { background: rgba(201,168,76,0.2); color: var(--gold-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
.why-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h4 { color: var(--gold-light); margin-bottom: 0.5rem; font-size: 1rem; }
.why-card p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin: 0; }

/* ---- Portfolio / Property Cards ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,22,41,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}
.portfolio-card-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.portfolio-card-overlay h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.portfolio-card-overlay p { color: rgba(255,255,255,0.75); font-size: 0.8rem; margin: 0; }

/* ---- Stats Section ---- */
.stats-section { background: var(--gold); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
}
.stat-label { font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-top: 0.5rem; }

/* ---- Testimonials ---- */
.testimonials { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-text { color: var(--dark-grey); font-style: italic; margin-bottom: 1.5rem; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.testimonial-role { font-size: 0.75rem; color: var(--mid-grey); }

/* ---- Blog Cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--navy); flex: 1; }
.blog-card-meta { font-size: 0.75rem; color: var(--mid-grey); margin-bottom: 0.75rem; }
.blog-card-link { color: var(--gold-dark); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.blog-card-link:hover { gap: 0.75rem; }

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question[aria-expanded="true"] { background: var(--navy); color: var(--white); }
.faq-icon { font-size: 1.25rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 1.25rem 1.5rem; background: var(--off-white); color: var(--dark-grey); font-size: 0.95rem; line-height: 1.7; }
.faq-answer.open { display: block; }

/* ---- Contact Form ---- */
.contact-form-section { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; color: var(--navy); font-size: 0.85rem; margin-bottom: 0.25rem; }
.contact-detail-text a, .contact-detail-text span { color: var(--mid-grey); font-size: 0.95rem; }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.4rem; }
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  min-height: 44px;
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ---- Service Page Layout ---- */
.service-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .service-page-layout { grid-template-columns: 1fr 320px; } }
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-card-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.sidebar-card-body { padding: 1.25rem 1.5rem; }
.sidebar-nav-list { list-style: none; padding: 0; }
.sidebar-nav-list li { border-bottom: 1px solid var(--border); }
.sidebar-nav-list li:last-child { border-bottom: none; }
.sidebar-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  color: var(--dark-grey);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.sidebar-nav-list li a:hover { color: var(--gold-dark); padding-left: 0.5rem; }
.sidebar-cta-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.sidebar-cta-card h4 { color: var(--gold-light); margin-bottom: 0.75rem; }
.sidebar-cta-card p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ---- Pricing Table ---- */
.pricing-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.875rem;
}
.pricing-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.pricing-table tr:nth-child(even) td { background: var(--off-white); }
.pricing-table tr:hover td { background: rgba(201,168,76,0.06); }
.price-tag { font-weight: 700; color: var(--navy); }

/* ---- Before/After Slider ---- */
.before-after-section { background: var(--navy-dark); padding: 4rem 0; }
.before-after-section h2 { color: var(--white); }
.before-after-section .section-label { background: rgba(201,168,76,0.2); color: var(--gold-light); }
.ba-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/9;
  cursor: ew-resize;
  user-select: none;
}
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 3;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
  z-index: 4;
}
.ba-label {
  position: absolute;
  bottom: 1rem;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
}
.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }

/* ---- Cross-Sell Section ---- */
.cross-sell { background: var(--light-grey); }
.cross-sell-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .cross-sell-grid { grid-template-columns: repeat(3, 1fr); } }
.cross-sell-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.cross-sell-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.cross-sell-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.cross-sell-card h4 { color: var(--navy); margin-bottom: 0.5rem; }
.cross-sell-card p { color: var(--mid-grey); font-size: 0.875rem; margin-bottom: 1.25rem; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); }
.footer-main { padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { }
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-tagline { font-size: 0.75rem; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-heading { font-family: var(--font-heading); font-size: 1rem; color: var(--gold-light); margin-bottom: 1rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links li a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: color var(--transition); }
.footer-links li a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 0.875rem; }
.footer-contact-icon { color: var(--gold); font-size: 0.9rem; margin-top: 0.15rem; flex-shrink: 0; }
.footer-contact-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.footer-contact-text a { color: rgba(255,255,255,0.7); }
.footer-contact-text a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---- Floating CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.floating-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.floating-btn-call { background: var(--navy); color: var(--white); }
.floating-btn-call:hover { background: var(--navy-light); transform: scale(1.05); color: var(--white); }
.floating-btn-quote { background: var(--gold); color: var(--navy-dark); }
.floating-btn-quote:hover { background: var(--gold-light); transform: scale(1.05); color: var(--navy-dark); }

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- Responsive Images ---- */
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-rounded { border-radius: var(--radius-lg); }
.img-shadow { box-shadow: var(--shadow-lg); }

/* ---- Two-Column Content ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col-reverse { }
@media (min-width: 1024px) { .two-col-reverse .two-col-img { order: -1; } }

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-step { text-align: center; padding: 1.5rem 1rem; }
.process-step-num {
  width: 56px; height: 56px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.process-step h4 { color: var(--navy); margin-bottom: 0.5rem; }
.process-step p { color: var(--mid-grey); font-size: 0.875rem; margin: 0; }

/* ---- Map Section ---- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ---- 404 Page ---- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ---- Print Styles ---- */
@media print {
  .site-header, .floating-cta, .mobile-nav { display: none; }
  body { font-size: 12pt; }
  a { color: var(--navy); }
}
