/* ============================================================
   Acton Surveyors — Main Stylesheet
   actonsurveyors.com
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --navy:        #1a2e4a;
  --navy-dark:   #0f1e30;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --white:       #ffffff;
  --off-white:   #f7f8fa;
  --light-grey:  #eef0f4;
  --mid-grey:    #8a93a2;
  --text:        #2c3545;
  --text-light:  #5a6473;
  --border:      #dde1e8;
  --shadow-sm:   0 2px 8px rgba(26,46,74,0.08);
  --shadow-md:   0 6px 24px rgba(26,46,74,0.13);
  --shadow-lg:   0 16px 48px rgba(26,46,74,0.18);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main:   'Inter', sans-serif;
  --font-heading:'Playfair Display', serif;
  --max-width:   1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  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-light); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol { list-style: none; }

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

/* ---- Typography Scale ---- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---- Layout Utilities ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.bg-navy      { background: var(--navy); }
.bg-off-white { background: var(--off-white); }

/* ---- HEADER / NAV ---- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.2rem 0;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.7rem 0;
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 26px; height: 26px; fill: var(--navy); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition);
}

#site-header.hero-transparent .logo-name,
#site-header.hero-transparent .logo-tagline { color: var(--white); }

.logo-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

#site-header.hero-transparent .nav-link {
  color: rgba(255,255,255,0.9);
}
#site-header.hero-transparent .nav-link:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,0.1);
}

/* Keep nav-cta button visible even when header is transparent */
#site-header.hero-transparent .nav-cta {
  color: var(--navy) !important;
  background: var(--gold);
}
#site-header.hero-transparent .nav-cta:hover {
  color: var(--navy) !important;
  background: var(--gold-light) !important;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-weight: 700;
  margin-left: 0.5rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--navy);
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  position: relative;
}

/* On hero-transparent header, show white hamburger */
#site-header.hero-transparent .mobile-toggle { color: var(--white); }

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Mobile nav overlay backdrop */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* Dropdown */
.nav-item { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 200;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a:hover { background: var(--off-white); color: var(--navy); }

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,30,48,0.82) 0%,
    rgba(26,46,74,0.72) 50%,
    rgba(15,30,48,0.55) 100%
  );
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: 110%;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}

/* Ken Burns cinematic zoom/pan — cycles through 4 different directions */
@keyframes kenBurns {
  0%   { background-size: 110%; background-position: center center; }
  100% { background-size: 125%; background-position: 55% 45%; }
}
.hero-slide:nth-child(2).active {
  animation: kenBurns2 8s ease-in-out forwards;
}
@keyframes kenBurns2 {
  0%   { background-size: 115%; background-position: 60% 50%; }
  100% { background-size: 125%; background-position: 45% 55%; }
}
.hero-slide:nth-child(3).active {
  animation: kenBurns3 8s ease-in-out forwards;
}
@keyframes kenBurns3 {
  0%   { background-size: 110%; background-position: 40% 40%; }
  100% { background-size: 128%; background-position: 55% 60%; }
}
.hero-slide:nth-child(4).active {
  animation: kenBurns4 8s ease-in-out forwards;
}
@keyframes kenBurns4 {
  0%   { background-size: 112%; background-position: 55% 55%; }
  100% { background-size: 122%; background-position: 45% 45%; }
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,30,48,0.88) 0%,
    rgba(26,46,74,0.68) 55%,
    rgba(10,20,40,0.48) 100%
  );
}

/* ---- Hero Video Background (optional layer) ---- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,30,48,0.88) 0%,
    rgba(26,46,74,0.68) 55%,
    rgba(10,20,40,0.48) 100%
  );
  z-index: 2;
}
/* Hide video on mobile for performance */
@media (max-width: 768px) {
  .hero-video-wrap { display: none; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  width: 100%;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-text { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; display: block; }

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-text h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-text .lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-badge svg { width: 18px; height: 18px; fill: var(--gold); flex-shrink: 0; }

/* Hero Form Box */
.hero-form-box {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.hero-form-box h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.hero-form-box > p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}

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

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,46,74,0.35);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy);
  padding: 2rem 0;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { color: var(--white); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---- SERVICES GRID ---- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(201,168,76,0.2);
}

.service-icon svg { width: 28px; height: 28px; fill: var(--gold); }

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap var(--transition);
}

.service-link:hover { gap: 0.7rem; }
.service-link svg { width: 14px; height: 14px; }

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

.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.why-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-badge-float .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.why-badge-float .label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-point-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-point-icon svg { width: 22px; height: 22px; fill: var(--gold); }

.why-point-text h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.3rem; }
.why-point-text p { font-size: 0.875rem; color: var(--text-light); margin: 0; }

/* ---- ACCREDITATION STRIP ---- */
.accred-strip {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.accred-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.accred-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--mid-grey);
  white-space: nowrap;
}

.accred-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.accred-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}

.accred-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---- PROCESS SECTION ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1.25rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy), var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.process-step h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--text-light); }

/* ---- REVIEWS / TESTIMONIALS ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition);
}

.review-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-stars svg { width: 16px; height: 16px; fill: #f59e0b; }

.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  flex-shrink: 0;
}

.reviewer-info strong { display: block; font-size: 0.88rem; color: var(--navy); }
.reviewer-info span  { font-size: 0.78rem; color: var(--mid-grey); }

.review-source {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--mid-grey);
  font-weight: 600;
}

.review-source svg { width: 14px; height: 14px; fill: #4285F4; }

/* ---- FAQ SECTION ---- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition);
}

.faq-question:hover { background: var(--off-white); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.faq-icon svg { width: 14px; height: 14px; fill: var(--navy); transition: transform var(--transition); }

.faq-item.open .faq-icon {
  background: var(--gold);
  transform: rotate(45deg);
}

.faq-item.open .faq-icon svg { fill: var(--navy); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ---- BLOG / ARTICLES ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.blog-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--mid-grey);
}

.blog-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.blog-card-meta svg { width: 13px; height: 13px; fill: var(--mid-grey); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold-light); }

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all var(--transition);
}

.social-link svg { width: 16px; height: 16px; fill: currentColor; }
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---- ABOUT / TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.team-photo {
  height: 300px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.team-card:hover .team-photo img { transform: scale(1.04); }

.team-info { padding: 1.5rem; }

.team-info h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.25rem; }
.team-info .role { font-size: 0.82rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.team-info p { font-size: 0.875rem; color: var(--text-light); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.breadcrumb-list li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; color: var(--mid-grey); }
.breadcrumb-list a { color: var(--text-light); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumb-list li:last-child span { color: var(--navy); font-weight: 600; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.15) 0%, transparent 60%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.75); max-width: 640px; font-size: 1.05rem; }

/* ---- CONTACT FORM SECTION ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-light); font-size: 0.95rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-item-text strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.2rem; }
.contact-item-text span { font-size: 0.875rem; color: var(--text-light); }

.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

/* ---- AREAS COVERED ---- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
  cursor: default;
}

.area-tag:hover, .area-tag.primary {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ---- MAP PLACEHOLDER ---- */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border);
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-grey);
  font-size: 0.9rem;
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- BLOG ARTICLE PAGE ---- */
.article-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.article-content h2 { margin: 2rem 0 1rem; }
.article-content h3 { margin: 1.5rem 0 0.75rem; }
.article-content p { font-size: 0.95rem; line-height: 1.8; color: var(--text); }

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: disc;
}

.article-content ol { list-style: decimal; }
.article-content li { font-size: 0.95rem; color: var(--text); margin-bottom: 0.5rem; }

.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

.article-sidebar {
  position: sticky;
  top: 5rem;
}

.sidebar-widget {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-list a {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}
.toc-list a:hover { color: var(--gold); padding-left: 4px; }

/* ---- COUNTERS ANIMATION ---- */
.counter-value { display: inline-block; }

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

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

/* ---- SCROLL PROGRESS BAR ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---- BACK TO TOP ---- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 500;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; fill: var(--navy); }

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: linear-gradient(135deg, rgba(26,46,74,0.04), rgba(201,168,76,0.07));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* ---- INLINE QUOTE ---- */
.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS — COMPREHENSIVE MOBILE FIRST
   XS  : max-width 480px  (Mobile Portrait)
   SM  : max-width 600px  (Mobile Landscape)
   MD  : max-width 768px  (Tablets)
   LG  : max-width 968px  (Small Laptops)
   XL  : max-width 1200px (Laptops)
   XXL : min-width 1400px (Large Desktops)
   ============================================================ */

/* ---- Global mobile safety ---- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
* { -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; height: auto; display: block; }

/* ---- Table overflow ---- */
@media (max-width: 600px) {
  table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ============================================================
   LARGE DESKTOP (min-width: 1400px)
   ============================================================ */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .hero-content { padding: 10rem 0 7rem; }
}

/* ============================================================
   LAPTOP (max-width: 1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .container { padding: 0 2rem; }
  .hero-content { padding: 7rem 0 5rem; }
}

/* ============================================================
   SMALL LAPTOP / LARGE TABLET (max-width: 968px)
   ============================================================ */
@media (max-width: 968px) {
  /* Navigation */
  .mobile-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    z-index: 999;
    overflow-y: auto;
    padding: 5rem 2rem 2rem;
  }
  nav.open { display: flex; }

  .nav-link {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }
  .nav-link:hover { color: var(--gold-light); background: rgba(255,255,255,0.06); }
  .nav-cta { background: var(--gold); color: var(--navy) !important; margin: 0.5rem 0; border-radius: var(--radius); }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.06);
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    border-radius: var(--radius);
    margin-top: 0.25rem;
  }
  .dropdown-menu a { color: rgba(255,255,255,0.75); text-align: center; padding: 0.75rem 1rem; }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: var(--gold-light); }

  .mobile-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero */
  .hero-content .container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-form-box { order: -1; max-width: 540px; margin: 0 auto; width: 100%; }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text .lead { font-size: 1rem; }
  .hero-badge { display: inline-flex; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-4, .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process steps */
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }

  /* Stats */
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  /* Article */
  .article-wrapper { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }

  /* Sections */
  .section { padding: 4rem 0; }
}

/* ============================================================
   TABLET (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Typography */
  html { font-size: 15px; }
  h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }

  /* Container & Section */
  .container { padding: 0 1.5rem; }
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 1.6rem; }
  .section-header p { font-size: 1rem; }

  /* Hero */
  .hero { min-height: auto; padding-top: 5rem; }
  .hero-content { padding: 4rem 0 3rem; }
  .hero-text h1 { font-size: 1.85rem; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form { order: 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand p { font-size: 0.875rem; }

  /* Hamburger animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* HubSpot Forms */
  .hs-form-field { margin-bottom: 0.75rem !important; }
  .hs-input { padding: 0.6rem !important; font-size: 16px !important; }
  .hs-button { width: 100% !important; padding: 0.75rem !important; font-size: 1rem !important; }
  .hs-form-field label { font-size: 0.9rem !important; }
}

/* ============================================================
   MOBILE LANDSCAPE (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Typography */
  h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  h3 { font-size: 1.15rem; }
  p  { font-size: 0.95rem; line-height: 1.65; }

  /* Section */
  .section { padding: 3rem 0; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p  { font-size: 0.95rem; }

  /* Hero */
  .hero-content { padding: 3rem 0 2rem; }
  .hero-text h1 { font-size: 1.55rem; }
  .hero-text .lead { font-size: 0.95rem; }
  .hero-badge { font-size: 0.72rem; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
  .hero-form-box { padding: 1.5rem 1.25rem; }
  .hero-form-box h3 { font-size: 1.15rem; }
  .hero-trust { gap: 0.85rem; }
  .trust-badge { font-size: 0.78rem; }

  /* Hero actions */
  .hero-actions { flex-direction: column; gap: 0.75rem; }

  /* Buttons */
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .btn-primary, .btn-secondary { display: flex; margin: 0; }

  /* Grids */
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-4, .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Service items */
  .service-item { padding: 1.25rem; }
  .service-icon { font-size: 2rem; }
  .service-item h3 { font-size: 1.1rem; }

  /* Feature items */
  .feature-item { padding: 1rem; text-align: center; }
  .feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { margin-bottom: 1rem; }

  /* Blog article */
  .blog-article { padding: 1rem; }
  .blog-article h1 { font-size: 1.5rem; }
  .blog-article h2 { font-size: 1.25rem; }

  /* FAQ */
  .faq-item { margin-bottom: 0.75rem; }
  .faq-question { padding: 1rem; font-size: 0.95rem; line-height: 1.4; }
  .faq-answer { padding: 0.75rem 1rem; }
  .faq-toggle { font-size: 1.25rem; }

  /* CTA Section */
  .cta-section { padding: 2.5rem 1.5rem; border-radius: 10px; margin: 0 0.5rem; }
  .cta-section h2 { font-size: 1.3rem; }
  .cta-section p { font-size: 1rem; margin-bottom: 1.5rem; }

  /* Forms */
  .hero-form, .contact-form-wrapper { padding: 1.25rem; margin: 0 0.25rem; }
  .hs-form-field { margin-bottom: 0.75rem !important; }
  .hs-input { padding: 0.6rem !important; font-size: 16px !important; }
  .hs-button { width: 100% !important; padding: 0.75rem !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-brand { text-align: center; }
  .footer-brand .social-links { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-links { align-items: center; }

  /* Area card */
  .area-card { padding: 1rem; }

  /* Contact form */
  .contact-form-wrapper { padding: 1.25rem; }

  /* Stats */
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.85rem; }
}

/* ============================================================
   MOBILE PORTRAIT (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  /* Typography */
  html { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  p  { font-size: 0.95rem; }

  /* Container & Section */
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.75rem; }

  /* Hero */
  .hero-content { padding: 2.5rem 0 1.5rem; }
  .hero-text h1 { font-size: 1.3rem; }
  .hero-text .lead { font-size: 0.9rem; }
  .hero-form-box { padding: 1.25rem 1rem; }
  .hero-form-box h3 { font-size: 1.1rem; }
  .hero-form-box > p { font-size: 0.8rem; }

  /* Grids */
  .grid-4, .areas-grid { grid-template-columns: 1fr; }

  /* Feature */
  .feature-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { font-size: 0.85rem; }

  /* Nav logo */
  .logo-name { font-size: 0.9rem; }
  .logo-tagline { font-size: 0.65rem; }
  .logo-icon { width: 36px; height: 36px; }

  /* Back to top */
  #back-to-top { width: 40px; height: 40px; bottom: 1rem; right: 1rem; }

  /* Stats */
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding: 1.5rem 1rem; }
  .stat-number { font-size: 1.75rem; }

  /* Buttons */
  .btn { padding: 0.75rem 1.25rem; font-size: 0.875rem; }

  /* Blog card */
  .blog-card-img { height: 180px; }
  .blog-title { font-size: 1rem; }
}

/* ============================================================
   MOBILE TOGGLE — HAMBURGER ANIMATION
   ============================================================ */
.mobile-toggle {
  min-width: 44px;
  min-height: 44px;
}
.mobile-toggle span {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================================
   HUBSPOT FORM OVERRIDES
   ============================================================ */
.hs-form-iframe { width: 100% !important; }
.hs-form { width: 100% !important; }
.hs-input, .hs-form input, .hs-form select, .hs-form textarea {
  width: 100% !important;
  font-size: 16px !important; /* Prevents iOS zoom */
  box-sizing: border-box !important;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #site-header, #back-to-top, .hero-slideshow { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { color: #000; }
}
