/* ==========================================================================
   AKM Building & Remodeling — Main Stylesheet
   Bold, professional, mobile-first. Pure CSS + Bootstrap Icons.
   ========================================================================== */

:root {
  /* Brand navy/blue palette */
  --navy-900: #001233;
  --navy-800: #001845;
  --navy-700: #002855;
  --blue-700: #023e7d;
  --blue-600: #0353a4;
  --blue-500: #0466c8;
  --blue-400: #3d88d6;
  --blue-100: #e2eefc;
  --blue-50:  #f0f6fd;

  /* Accent (sales CTA) */
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;

  /* Neutrals */
  --ink: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --line: #e2e8f0;
  --surface: #f5f8fc;
  --white: #ffffff;

  /* Type */
  --font-head: 'Merriweather Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(2, 6, 23, 0.08);
  --shadow-md: 0 12px 30px rgba(2, 6, 23, 0.10);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, 0.16);
}

/* --- Reset & base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 .5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue-500); color: #fff; }

/* --- Layout helpers ---------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.section { padding: 72px 0; }
.section--alt { background: var(--surface); }
.section--navy { background: var(--navy-900); color: #cbd5e1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: 48px 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.lead { font-size: 1.125rem; color: var(--slate-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  background: var(--amber-500);
  border-radius: 2px;
}

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px; height: 3px;
  background: var(--amber-500);
  border-radius: 2px;
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 10px 24px rgba(4, 102, 200, .32); }
.btn-primary:hover { background: var(--blue-600); }

.btn-accent { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 10px 24px rgba(245, 158, 11, .35); }
.btn-accent:hover { background: var(--amber-400); color: var(--navy-900); }

.btn-outline { background: transparent; color: var(--blue-500); border-color: var(--blue-500); }
.btn-outline:hover { background: var(--blue-500); }

.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--blue-50); color: var(--navy-900); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-lg { padding: 17px 36px; font-size: 1.06rem; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-block { width: 100%; }

/* --- Top bar ----------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: #cbd5e1;
  font-size: .86rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  padding: 9px 20px;
  text-align: center;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item i { color: var(--amber-400); font-size: 1rem; }
.topbar__item a { color: #e2e8f0; font-weight: 600; }
.topbar__item a:hover { color: var(--amber-400); }
.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, .15);
  color: var(--amber-400);
  border: 1px solid rgba(245, 158, 11, .4);
  padding: 2px 12px;
  border-radius: 999px;
  font-weight: 700;
}

/* --- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand .logo { display: block; }
.nav-brand img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-links a.active { background: var(--navy-800); color: #fff; }

.nav-cta { display: inline-flex; }

.menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  background: var(--navy-900);
  height: 3px;
  width: 26px;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* --- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
  background: var(--navy-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 18, 51, .94) 0%, rgba(0, 24, 69, .82) 45%, rgba(4, 102, 200, .45) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .45);
  color: var(--amber-400);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero__title .accent { color: var(--amber-400); }
.hero__sub { font-size: 1.15rem; color: #dbe5f1; max-width: 620px; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}
.badge i { color: var(--amber-400); }
.badge--solid { background: var(--navy-800); border-color: var(--navy-800); }

/* --- Trust bar --------------------------------------------------------- */
.trustbar {
  background: var(--blue-500);
  color: #fff;
}
.trustbar__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px 0;
}
.trustbar__item { display: flex; align-items: flex-start; gap: 14px; }
.trustbar__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  font-size: 1.35rem;
  color: var(--amber-400);
}
.trustbar__item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.trustbar__item p { margin: 0; font-size: .92rem; color: #dbeafe; }

/* --- Service cards ----------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-400); }

.icon-tile {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-500);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card h3 a { color: var(--navy-900); }
.card h3 a:hover { color: var(--blue-500); }
.card p { color: var(--slate-600); margin-bottom: 18px; }
.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-500);
}
.card-link i { transition: transform .2s ease; }
.card-link:hover i { transform: translateX(4px); }
.card .price-tag {
  display: inline-block;
  background: var(--amber-100);
  color: var(--amber-600);
  font-weight: 700;
  font-size: .85rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* --- Split (image + text) --------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split__media .accent-card {
  position: absolute;
  left: 16px; bottom: -20px;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}
.accent-card i { color: var(--amber-400); font-size: 1.7rem; }
.accent-card strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.accent-card span { font-size: .85rem; color: #cbd5e1; }

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--slate-600);
}
.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0; top: 2px;
  color: var(--amber-600);
  font-weight: 700;
}

/* --- Portfolio / before-after ------------------------------------------ */
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.portfolio-item img { width: 100%; height: 280px; object-fit: cover; transition: transform .35s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(0, 18, 51, .85);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
}
.portfolio-item__tag i { color: var(--amber-400); margin-right: 6px; }

/* --- Testimonials ------------------------------------------------------ */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--amber-500); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  margin: 0 0 20px;
  color: var(--slate-600);
  font-size: 1.02rem;
}
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.testimonial-meta .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
}
.testimonial-meta strong { display: block; color: var(--navy-900); }
.testimonial-meta span { font-size: .85rem; color: var(--slate-500); }

/* --- Service areas ----------------------------------------------------- */
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  color: var(--navy-800);
  font-weight: 600;
  font-family: var(--font-head);
  transition: all .2s ease;
}
.area-chip i { color: var(--blue-500); }
.area-chip:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.area-chip:hover i { color: #fff; }
.areas { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- CTA band ---------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 30px;
  overflow: hidden;
}
.cta-band::after {
  content: "\F195";
  font-family: "bootstrap-icons";
  position: absolute;
  right: -30px; bottom: -40px;
  font-size: 220px;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbeafe; max-width: 640px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* --- Page hero (inner pages) ------------------------------------------ */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900), var(--blue-700));
  color: #fff;
  padding: 76px 0 64px;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #dbeafe; max-width: 720px; margin: 0; }
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  font-size: .9rem;
  color: #cbd5e1;
  margin-top: 18px;
}
.page-hero .breadcrumb a { color: var(--amber-400); }
.page-hero .breadcrumb i { font-size: .8rem; }

/* --- Service detail rows ---------------------------------------------- */
.service-row { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; padding: 34px 0; }
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row__media { position: relative; }
.service-row__media img { border-radius: var(--radius-lg); width: 100%; height: 280px; object-fit: cover; box-shadow: var(--shadow-md); }
.service-row__num {
  position: absolute;
  top: 16px; left: 16px;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--amber-500);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
}
.service-row .check-list { margin: 20px 0 24px; }
.service-row__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Contact ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.info-card .icon-tile {
  margin-bottom: 0;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  font-size: 1.45rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p { margin: 0; color: var(--slate-600); }
.info-card a { font-weight: 700; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy-800); }
.form-field label .req { color: var(--amber-600); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(4, 102, 200, .12);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--navy-800);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .9rem;
  margin-top: 20px;
}
.form-note i { color: var(--blue-500); font-size: 1.1rem; }
.form-note strong { display: block; }

.php-email-form .loading,
.php-email-form .sent-message,
.php-email-form .error-message {
  display: none;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-weight: 600;
}
.php-email-form .d-block { display: block !important; }
.php-email-form .loading { background: var(--blue-100); color: var(--blue-600); }
.php-email-form .loading::before {
  content: "";
  display: inline-block;
  width: 16px; height: 16px;
  margin-right: 10px;
  border: 2px solid var(--blue-600);
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin 1s linear infinite;
}
.php-email-form .sent-message { background: #e7f6ee; color: #0f7a3d; border: 1px solid #bfe7cf; }
.php-email-form .error-message { background: #fdeaea; color: #b42318; border: 1px solid #f3c4c4; }

@keyframes spin { to { transform: rotate(360deg); } }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; }

/* --- 404 --------------------------------------------------------------- */
.error-404 {
  padding: 110px 0 130px;
  text-align: center;
}
.error-404 .code {
  font-family: var(--font-head);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: .02em;
}
.error-404 .code span { color: var(--amber-500); }
.error-404 h2 { margin-top: 8px; }
.error-404 p { max-width: 520px; margin: 0 auto 30px; color: var(--slate-600); }
.error-404__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #a8b6c9; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.footer-brand img { height: 54px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 320px; }

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a8b6c9; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--amber-400); }
.footer-links a i { font-size: .8rem; color: var(--amber-400); }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .95rem;
}
.footer-contact i { color: var(--amber-400); font-size: 1.1rem; flex: 0 0 auto; margin-top: 2px; }
.footer-contact a { color: #dbe5f1; font-weight: 600; }
.footer-contact a:hover { color: var(--amber-400); }

.footer-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-areas span {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: .84rem;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #e2e8f0;
  font-size: 1.1rem;
  transition: all .2s ease;
}
.social-links a:hover { background: var(--amber-500); color: var(--navy-900); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  font-size: .88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom a { color: var(--amber-400); }
.footer-bottom a:hover { color: #fff; }

/* --- Reveal animation -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .form-field--full { grid-column: 1 / -1; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .trustbar__inner { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row--reverse .service-row__media { order: 2; }
  .contact-grid { grid-template-columns: 1.05fr 1.4fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (max-width: 899px) {
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 16px 20px 22px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links a { padding: 14px 16px; border-radius: 10px; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 8px; }

  .menu-toggle:checked ~ .nav-links { display: flex; }
  .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 599px) {
  .section { padding: 56px 0; }
  .hero { min-height: 0; padding: 72px 0; }
  .contact-form { padding: 24px 20px; }
  .btn { padding: 13px 22px; }
}