/* ===== Crestline Estimating — Main Stylesheet ===== */

:root {
  --navy: #22272B;
  --navy-2: #2B3136;
  --navy-3: #3A4046;
  --accent: #D98984;
  --accent-dark: #B96863;
  --white: #FFFFFF;
  --off-white: #F6F7F9;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --text-dark: #1B2430;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(10, 26, 47, 0.12);
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: clamp(60px, 7vw, 100px) 0; }
.section-sm { padding: 60px 0; }
.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 16px;
}

.section-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: clamp(14.5px, 1.3vw, 17px); max-width: 700px; margin-bottom: 40px; }
.bg-navy .section-sub { color: #B7C4D6; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; }
.logo span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav > ul { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 0;
  position: relative;
}
.main-nav > ul > li > a:hover { color: var(--accent); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  color: var(--text-dark);
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}
.dropdown li a:hover { background: var(--off-white); color: var(--accent-dark); }

.header-cta { display: flex; align-items: center; gap: 20px; }
.header-cta .phone { color: var(--text-dark); font-weight: 700; font-size: 14.5px; }
.header-cta .phone span { color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span { width: 26px; height: 3px; background: var(--text-dark); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(34,39,43,0.92), rgba(34,39,43,0.75)), var(--hero-img) center/cover no-repeat;
  color: var(--white);
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero-eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); color: var(--white); max-width: 780px; margin-bottom: 22px; }
.hero p { font-size: clamp(15px, 1.6vw, 18px); max-width: 620px; color: #D8E0EA; margin-bottom: 34px; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

.page-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(34,39,43,0.9), rgba(34,39,43,0.8)), var(--hero-img) center/cover no-repeat;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(26px, 4vw, 42px); margin-bottom: 10px; }
.breadcrumb { color: #B7C4D6; font-size: 14px; }
.breadcrumb a { color: var(--accent); }
.page-hero-center { justify-content: center; text-align: center; }
.page-hero-center h1 { margin-bottom: 0; font-weight: 800; }

/* ===== Trust bar ===== */
.trust-bar { background: var(--off-white); padding: 40px 0; }
.trust-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 30px; color: var(--navy); font-family: var(--font-heading); }
.trust-item span { color: var(--gray); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== Cards Grid ===== */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.why-card {
  background: var(--white);
  padding: 34px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.why-card .num { font-family: var(--font-heading); font-size: 34px; font-weight: 800; color: var(--gray-light); margin-bottom: 10px; }
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { color: var(--gray); font-size: 14.5px; }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card img { height: 190px; width: 100%; object-fit: cover; }
.service-card .content { padding: 24px; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 14px; }
.service-card .link { color: var(--accent-dark); font-weight: 700; font-size: 13.5px; text-transform: uppercase; }

.process-step { text-align: center; padding: 0 14px; }
.process-step .circle {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--accent); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; font-family: var(--font-heading);
  margin: 0 auto 20px;
}
.process-step h4 { font-size: 17px; margin-bottom: 10px; }
.process-step p { color: var(--gray); font-size: 14px; }
.bg-navy .process-step p { color: #B7C4D6; }

/* ===== About split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== Our Services Preview ===== */
.services-preview-section { background: var(--off-white); }
.services-preview-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.services-preview-head .eyebrow-square { justify-content: center; }
.services-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-preview-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.spc-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.spc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-preview-card h4 { font-size: 17px; margin: 20px 20px 10px; }
.service-preview-card p { font-size: 14px; color: var(--gray); margin: 0 20px 20px; flex-grow: 1; }
.service-preview-card .btn-sm { margin: 0 20px 22px; align-self: flex-start; padding: 10px 22px; font-size: 12.5px; }
.services-preview-cta { text-align: center; margin-top: 44px; }

/* ===== Welcome Collage ===== */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.welcome-collage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.collage-main img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.collage-stack { display: flex; flex-direction: column; gap: 16px; }
.collage-stack img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--navy-2);
  padding: 30px;
  border-radius: var(--radius);
  color: #D8E0EA;
}
.testimonial-card p { font-size: 15px; margin-bottom: 20px; font-style: italic; }
.testimonial-card .author { color: var(--white); font-weight: 700; font-size: 14.5px; }
.testimonial-card .role { color: var(--accent); font-size: 13px; }

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: #B7C4D6; margin-bottom: 28px; }

/* ===== Forms ===== */
.form-box {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 600; font-size: 14px; color: var(--navy); }
input, textarea, select {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14.5px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-card .item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-card .item .icon { color: var(--accent); font-size: 20px; }
.contact-info-card .item strong { display: block; margin-bottom: 4px; }
.contact-info-card .item span, .contact-info-card .item a { color: #B7C4D6; font-size: 14.5px; }

/* ===== Footer v2 (centered, blueprint background) ===== */
.site-footer-v2 { position: relative; background: var(--white); border-top: 1px solid var(--gray-light); overflow: hidden; }
.footer-v2-pattern {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23E9ECEF' stroke-width='1.4'%3E%3Crect x='12' y='90' width='36' height='100'/%3E%3Cline x1='12' y1='90' x2='30' y2='55'/%3E%3Cline x1='48' y1='90' x2='30' y2='55'/%3E%3Cline x1='20' y1='110' x2='40' y2='110'/%3E%3Cline x1='20' y1='130' x2='40' y2='130'/%3E%3Cline x1='20' y1='150' x2='40' y2='150'/%3E%3Crect x='70' y='120' width='24' height='70'/%3E%3Cline x1='76' y1='130' x2='76' y2='186'/%3E%3Cline x1='88' y1='130' x2='88' y2='186'/%3E%3Crect x='115' y='45' width='42' height='145'/%3E%3Cline x1='115' y1='60' x2='157' y2='60'/%3E%3Cline x1='115' y1='80' x2='157' y2='80'/%3E%3Cline x1='115' y1='100' x2='157' y2='100'/%3E%3Cline x1='115' y1='120' x2='157' y2='120'/%3E%3Cline x1='115' y1='140' x2='157' y2='140'/%3E%3Cline x1='115' y1='160' x2='157' y2='160'/%3E%3Cline x1='180' y1='95' x2='180' y2='190'/%3E%3Cline x1='168' y1='190' x2='192' y2='190'/%3E%3Cline x1='168' y1='140' x2='192' y2='140'/%3E%3Cline x1='172' y1='95' x2='188' y2='95'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 220px 220px;
}
.footer-v2-inner { position: relative; z-index: 1; padding: 64px 24px 44px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-v2-logo img { height: 52px; width: auto; display: block; margin: 0 auto 22px; }
.footer-v2-tagline { max-width: 620px; color: var(--gray); font-size: 15px; margin-bottom: 26px; }
.footer-v2-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 26px; }
.footer-v2-nav a { color: var(--gray); font-size: 14.5px; font-weight: 600; }
.footer-v2-nav a:hover { color: var(--accent-dark); }
.footer-v2-social { display: flex; gap: 14px; margin-bottom: 30px; }
.footer-v2-social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: transform .3s ease, box-shadow .3s ease;
}
.footer-v2-social-icon.li { background: #0A66C2; }
.footer-v2-social-icon.fb { background: #1877F2; }
.footer-v2-social-icon:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(10,26,47,.18); }
.footer-v2-contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.footer-v2-contact-item { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dark); font-weight: 600; font-size: 14.5px; }
.footer-v2-contact-item svg { color: var(--accent-dark); flex-shrink: 0; }
.footer-v2-contact-item:hover { color: var(--accent-dark); }
.footer-v2-dot { color: var(--gray-light); font-size: 14px; }
.footer-v2-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid var(--gray-light);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gray);
}
.footer-v2-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; width: 100%; }
.footer-v2-bottom a { color: var(--gray); }
.footer-v2-bottom a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .footer-v2-nav { gap: 16px 22px; }
  .footer-v2-bottom .container { justify-content: center; text-align: center; }
}

/* ===== Footer v3 (4-column) ===== */
.site-footer-v3 { position: relative; background: var(--white); border-top: 1px solid var(--gray-light); }
.footer-v3-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 40px);
  padding: clamp(40px, 7vw, 64px) clamp(18px, 3vw, 24px) clamp(28px, 5vw, 44px);
}
.footer-v3-logo img { height: 40px; width: auto; display: block; margin-bottom: 18px; }
.footer-v3-desc { color: var(--gray); font-size: 14.5px; line-height: 1.7; max-width: 340px; }
.footer-v3-heading { font-size: 17px; color: var(--navy); margin: 0 0 20px; }
.footer-v3-links, .footer-v3-contact { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.footer-v3-links a { color: var(--gray); font-size: 14.5px; transition: color .2s ease; }
.footer-v3-links a:hover { color: var(--accent-dark); }
.footer-v3-contact li { color: var(--gray); font-size: 14.5px; line-height: 1.6; word-break: break-word; }
.footer-v3-contact a { color: var(--gray); }
.footer-v3-contact a:hover { color: var(--accent-dark); }
.footer-v3-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.footer-v3-social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.footer-v3-social-icon.fb { background: #1877F2; }
.footer-v3-social-icon.li { background: #0A66C2; }
.footer-v3-social-icon.ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.footer-v3-social-icon.tw { background: #14171A; }
.footer-v3-social-icon:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(10,26,47,.18); }
.footer-v3-bottom { border-top: 1px solid var(--gray-light); padding: 20px 0; }
.footer-v3-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--gray); padding: 0 clamp(18px, 3vw, 24px); }

.footer-v3-bottom-inner a { color: var(--gray); }
.footer-v3-bottom-inner a:hover { color: var(--accent-dark); }

/* Large tablets / small laptops: still 4 columns but tighter, so nothing gets squeezed onto the border line */
@media (max-width: 1100px) {
  .footer-v3-inner { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
  .footer-v3-desc { max-width: 100%; }
}

/* Tablets: 2 columns, generous row gap so rows never crowd each other */
@media (max-width: 900px) {
  .footer-v3-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; column-gap: 30px; }
}

/* Large phones */
@media (max-width: 640px) {
  .footer-v3-inner { grid-template-columns: 1fr 1fr; row-gap: 34px; column-gap: 20px; }
  .footer-v3-heading { font-size: 16px; margin-bottom: 16px; }
}

/* Phones: single column, roomy vertical rhythm */
@media (max-width: 560px) {
  .footer-v3-inner { grid-template-columns: 1fr; padding: 36px 20px 20px; gap: 32px; }
  .footer-v3-desc { max-width: 100%; }
  .footer-v3-heading { margin-bottom: 14px; }
  .footer-v3-bottom { padding: 16px 0; }
  .footer-v3-bottom-inner { justify-content: center; text-align: center; padding: 0 20px; }
}

/* Small phones */
@media (max-width: 400px) {
  .footer-v3-inner { padding: 30px 16px 16px; gap: 26px; }
  .footer-v3-logo img { height: 34px; }
  .footer-v3-social-icon { width: 32px; height: 32px; }
  .footer-v3-bottom-inner { font-size: 12px; padding: 0 16px; }
}


/* ===== Sub-service page bits ===== */
.service-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; }
.scope-list li { padding: 12px 0; border-bottom: 1px solid var(--gray-light); font-size: 15px; display: flex; gap: 10px; }
.scope-list li::before { content: "▸"; color: var(--accent); font-weight: 800; }
.sidebar-card { background: var(--off-white); padding: 28px; border-radius: var(--radius); margin-bottom: 24px; }
.sidebar-card h4 { font-size: 16px; margin-bottom: 16px; }
.sidebar-card ul li { padding: 8px 0; font-size: 14px; }
.sidebar-card ul li a:hover { color: var(--accent-dark); }


/* ===== Intermediate laptop breakpoint (fixes cramped look on 1280-1440px laptop screens) ===== */
@media (max-width: 1440px) {
  .container { padding: 0 20px; }
  .hero { min-height: 560px; }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; padding: 24px; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: flex-start; width: 100%; gap: 4px; }
  .main-nav > ul > li { width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 14px; background: transparent; }
  .has-dropdown.open .dropdown { display: block; }
  .header-cta .phone { display: none; }
  .hamburger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .welcome-grid { grid-template-columns: 1fr; }
  .collage-stack img { height: 160px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .section-title { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar .container { justify-content: center; text-align: center; }
  .services-preview-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { min-height: 480px; }
  .container { padding: 0 18px; }
  .header-inner { padding: 12px 16px; }
  .logo { font-size: 19px; }
  .btn { padding: 13px 22px; font-size: 13px; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .form-box { padding: 24px; }
  .why-card, .service-card .content { padding: 24px 20px; }
  .trust-item strong { font-size: 24px; }
}

/* =====================================================================
   TYPOGRAPHY - matched to constructestimates.com (font style & sizes only)
   Headings: Playfair Display 700  |  Body & UI: Inter
   H1 48px | H2 38px | H3 24px | Body 16px | Nav 15px | Buttons 15px
   Change the sizes here only - layout/colours/theme are untouched.
   ===================================================================== */
:root {
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Inter', 'Segoe UI', Arial, sans-serif;   /* labels, buttons, small titles (was Poppins) */
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}
body { font-size: 16px; line-height: 1.5; font-weight: 400; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; letter-spacing: 0; }
h1 { font-size: clamp(30px, 4vw, 48px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 20px; }

/* header / nav / buttons */
.main-nav a { font-size: 15px; font-weight: 500; }
.dropdown li a { font-size: 15px; font-weight: 400; }
.header-cta .phone { font-size: 15px; }
.btn { font-size: 15px; }
.eyebrow { font-size: 15px; letter-spacing: 1px; }

/* headings & paragraphs */
.section-title { font-size: clamp(26px, 3.2vw, 38px); }
.section-sub { font-size: 16px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); }
.breadcrumb { font-size: 15px; }

/* numbers / cards / lists */
.trust-item strong { font-family: var(--font-serif); font-size: 36px; font-variant-numeric: lining-nums; }
.trust-item span { font-size: 14px; }
.why-card .num { font-family: var(--font-serif); font-variant-numeric: lining-nums; }
.why-card h3, .service-card h3 { font-size: 22px; }
.why-card p, .service-card p { font-size: 16px; }
.service-card .link { font-size: 14px; }
.check-list li, .scope-list li { font-size: 16px; }
.sidebar-card h4 { font-size: 20px; }
.sidebar-card ul li { font-size: 15px; }

/* forms / contact */
label { font-size: 15px; }
input, textarea, select { font-size: 15px; }
.contact-info-card .item span, .contact-info-card .item a { font-size: 16px; }

/* footer */
.footer-v2-tagline { font-size: 16px; }
.footer-v2-nav a, .footer-v2-contact-item { font-size: 15px; }
.footer-v2-bottom { font-size: 14px; }

@media (max-width: 600px) {
  .btn { font-size: 13px; }   /* same as before on phones - keeps the header button from wrapping */
  .trust-item strong { font-size: 28px; }
}

/* ===================== Fluid / responsive layer (all pages) =====================
   Sizes scale with the screen width instead of staying fixed, so pictures, icons
   and text shrink on phones and grow on big screens instead of just re-positioning. */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.service-detail-grid > *, .form-row > *, .split > *, .welcome-grid > * { min-width: 0; }
input, select, textarea { max-width: 100%; min-width: 0; }
@media (max-width: 992px) { .service-detail-grid { grid-template-columns: minmax(0, 1fr); } }
.logo-img { height: clamp(32px, 3.2vw, 42px); }
.footer-v2-logo img { height: clamp(40px, 4.2vw, 52px); }
.footer-v2-social-icon { width: clamp(34px, 3vw, 40px); height: clamp(34px, 3vw, 40px); }
.service-card img { height: auto; aspect-ratio: 16 / 10; }

/* ===== Services menu: 3 heads with side flyouts (dark style) ===== */
.dropdown { background: var(--navy); min-width: 240px; padding: 12px 0; border-radius: 6px; }
.dropdown li a { color: #fff; position: relative; padding: 8px 24px 8px 36px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.dropdown li a::before { content: ''; position: absolute; left: 20px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--accent); opacity: 0; transition: opacity 0.15s ease; }
.dropdown li a:hover, .dropdown .has-sub:hover > a { background: transparent; color: var(--accent); }
.dropdown li a:hover::before, .dropdown .has-sub:hover > a::before { opacity: 1; }
.dropdown .has-sub > a { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.dropdown .has-sub > a::after { content: '\203A'; font-size: 20px; line-height: 1; color: #fff; }
.sub-dropdown {
  position: absolute; top: 0; left: 100%;
  background: var(--navy); min-width: 250px;
  box-shadow: var(--shadow); border-radius: 6px; padding: 12px 0;
  max-height: calc(100vh - 110px); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: all 0.2s ease; z-index: 5;
}
.dropdown .has-sub:hover > .sub-dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-dropdown li a { padding-top: 4px; padding-bottom: 4px; font-size: 14.5px; line-height: 1.4; }
@media (max-width: 992px) {
  .dropdown { background: transparent; padding: 0 0 0 14px; }
  .dropdown li a { color: var(--text-dark); padding: 10px 20px; }
  .dropdown li a::before { display: none; }
  .dropdown li a:hover, .dropdown .has-sub:hover > a { color: var(--accent-dark); }
  .dropdown .has-sub > a::after { color: var(--text-dark); }
  .sub-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; min-width: 0; max-height: none; overflow: visible; padding: 0 0 0 14px; background: transparent; }
  .dropdown .has-sub.open > .sub-dropdown { display: block; }
  .dropdown .has-sub.open > a::after { transform: rotate(90deg); }
  .sub-dropdown li a { white-space: normal; }
}


/* ===== Our Services popup (opens from Services menu sub items) ===== */
body.svc-popup-lock { overflow: hidden; }
.svc-popup { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 24, 28, 0.62); }
.svc-popup.open { display: flex; }
.svc-popup-box {
  position: relative; width: 100%; max-width: 1180px; max-height: 92vh; overflow-y: auto;
  border-radius: 14px; padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(217,137,132,0.32) 0%, rgba(217,137,132,0.12) 35%, #F6F7F9 65%, #FFFFFF 100%), #FFFFFF;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.svc-popup-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.svc-popup-close:hover { background: var(--accent-dark); }
.svc-popup-head { text-align: center; max-width: 900px; margin: 0 auto 36px; }
.svc-popup-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gray); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.svc-popup-eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--accent); display: inline-block; }
.svc-popup-head h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.2; color: var(--navy); margin-bottom: 14px; }
.svc-popup-head p { color: var(--gray); font-size: 16px; line-height: 1.7; }
.svc-popup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-popup-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding-bottom: 22px; }
.svc-popup-img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-popup-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-popup-card h4 { font-size: 20px; line-height: 1.3; margin: 18px 22px 0; color: var(--navy); }
.svc-popup-cta { text-align: center; margin-top: 34px; }
@media (max-width: 1000px) { .svc-popup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-popup-grid { grid-template-columns: 1fr; } .svc-popup { padding: 12px; } }
