/* =========================================================
   Focus Roofing — Premium Stylesheet
   Typography: Outfit | Mobile-first
   ========================================================= */

/* Self-hosted Outfit (variable) — no external CDN dependency */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
}

:root {
  --navy-900: #0A1628;
  --navy-800: #102542;
  --navy-700: #14305A;
  --navy-600: #1B3A6B;
  --blue-500: #2E5BA0;
  --blue-400: #4A7BC8;
  --ink: #0A0F1C;
  --slate-700: #2A3447;
  --slate-500: #5C6679;
  --slate-300: #B8C0CC;
  --bone: #F5F3EF;
  --paper: #FAF8F4;
  --line: #E5E2DC;
  --white: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.14);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --max-width: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; }

p { font-size: clamp(1rem, 1.1vw, 1.0625rem); color: var(--slate-700); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-500);
  display: inline-block;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

@media (min-width: 900px) {
  .nav-logo img { height: 84px; }
}

.nav-links {
  display: none;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-700);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}

.nav-cta {
  display: none;
  background: var(--navy-700);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 110;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 105;
  padding: 80px 24px 40px;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-900);
}

.mobile-menu a.active { color: var(--blue-500); }

.mobile-menu .mobile-contact {
  margin-top: 24px;
  text-align: center;
}

.mobile-menu .mobile-contact a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-top: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--navy-700);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}

.btn-secondary:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}

.btn-light:hover {
  background: var(--bone);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.78) 0%, rgba(10,22,40,0.55) 50%, rgba(10,22,40,0.85) 100%),
    url('../images/roof-tile-installation.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero .container {
  max-width: 100%;
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}

.hero-inner {
  max-width: 940px;
  margin-left: 0;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--blue-400);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--blue-400);
  font-style: italic;
  font-weight: 700;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 680px;
}

.stat-num {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { margin-bottom: 16px; }

/* ---------- Services Grid ---------- */
.services {
  background: var(--paper);
}

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

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}

.service-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bone);
  display: block;
}

.service-body {
  padding: 28px 26px 32px;
}

.service-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}

.service-body h3 {
  margin-bottom: 12px;
  color: var(--navy-900);
}

.service-body p {
  font-size: 0.9375rem;
  margin-bottom: 18px;
}

.service-link {
  font-weight: 600;
  color: var(--blue-500);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease);
}

.service-link:hover { gap: 12px; }

/* ---------- Why Us ---------- */
.why {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-content h2 { margin-bottom: 24px; }

.why-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.why-list .check {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.why-list h4 { margin-bottom: 4px; font-size: 1.0625rem; }
.why-list p { font-size: 0.9375rem; margin: 0; }

/* ---------- Coverage / Areas ---------- */
.coverage {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.coverage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(46,91,160,0.25), transparent 50%);
  pointer-events: none;
}

.coverage .container { position: relative; z-index: 1; }
.coverage h2 { color: var(--white); }
.coverage p { color: rgba(255,255,255,0.78); }
.coverage .eyebrow { color: var(--blue-400); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.area-tag {
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  text-align: center;
  transition: all 0.25s var(--ease);
}

.area-tag:hover {
  background: rgba(46,91,160,0.2);
  border-color: var(--blue-400);
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10,22,40,0.85);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy-800);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--slate-300);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col p,
.footer-col a {
  font-size: 0.9375rem;
  color: var(--slate-300);
  line-height: 1.8;
  display: block;
}

.footer-col a:hover { color: var(--white); }

.footer-logo img {
  height: 96px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.82), rgba(10,22,40,0.7)),
    url('../images/orange-tile-gables.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 130px 0 90px;
  text-align: center;
  overflow: hidden;
}

.page-hero > .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; font-size: 1.125rem; }

/* ---------- About Page ---------- */
.about-intro .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-intro img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-intro h2 { margin-bottom: 20px; }
.about-intro p + p { margin-top: 16px; }

.values {
  background: var(--white);
  border-top: 1px solid var(--line);
}

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

.value-card {
  padding: 32px 26px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.value-card .num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  display: block;
}

.value-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.value-card p { font-size: 0.9375rem; }

/* ---------- Services Page ---------- */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:nth-child(even) { background: var(--white); }

.sd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.sd-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.sd-img img { width: 100%; height: 100%; object-fit: cover; }

.sd-content .eyebrow { margin-bottom: 10px; }
.sd-content h2 { margin-bottom: 18px; }

.sd-features {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.sd-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.sd-features li::before {
  content: "→";
  color: var(--blue-500);
  font-weight: 700;
}

.service-detail:nth-child(even) .sd-grid {
  /* reverse order on even */
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 88px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { margin-bottom: 36px; }

.contact-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-list .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy-700);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.125rem;
}

.contact-list h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-list a, .contact-list .v {
  font-size: 1.0625rem;
  color: var(--navy-900);
  font-weight: 500;
}

.contact-list a:hover { color: var(--blue-500); }

.contact-form {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.quote-badge {
  display: inline-block;
  background: var(--navy-700);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.guarantee-seal {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding: 12px 24px 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.20);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.30);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.guarantee-seal:hover {
  transform: translateY(-2px);
  border-color: rgba(74,123,200,0.65);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38);
}

.gs-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-500));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.22);
  flex-shrink: 0;
}

.gs-emblem::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.28);
}

.gs-emblem-pct {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.gs-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.gs-main {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.gs-sub {
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
}

@media (max-width: 480px) {
  .gs-sub { font-size: 0.72rem; }
  .guarantee-seal { gap: 12px; padding: 10px 18px 10px 12px; }
}

.contact-form h3 { margin-bottom: 8px; }

.contact-form h3 { margin-bottom: 8px; }
.contact-form .sub { font-size: 0.9375rem; color: var(--slate-500); margin-bottom: 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
}

.field textarea { min-height: 120px; resize: vertical; }

.contact-form .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .nav { padding: 16px 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 100px 0; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }

  .why-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .about-intro .grid { grid-template-columns: 1fr 1fr; gap: 60px; }

  .sd-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .service-detail:nth-child(even) .sd-grid > .sd-img { order: 2; }

  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  section { padding: 120px 0; }
  .hero { padding: 140px 0 120px; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Premium polish layer — existing palette only
   ========================================================= */

html { scroll-padding-top: 96px; }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue-500); color: #fff; }

/* ---- Refined typography & rhythm ---- */
h1, h2 { letter-spacing: -0.035em; }
h1 { line-height: 1.04; }
h2 { line-height: 1.08; }
.section-head p { font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--slate-500); }

/* Eyebrow with a refined accent rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}
.section-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

/* Centered section heads get a subtle divider under the heading */
.section-head h2 { position: relative; padding-bottom: 22px; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue-500);
}

/* ---- Header polish ---- */
.site-header {
  background: rgba(255,255,255,0.82);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 30px rgba(10,22,40,0.08);
}
.nav-logo img { height: 56px; transition: height 0.25s var(--ease); }

/* ---- Buttons: refined, layered ---- */
.btn {
  padding: 15px 30px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  will-change: transform;
}
.btn-primary,
.nav-cta {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  box-shadow: 0 8px 20px rgba(10,22,40,0.22);
}
.btn-primary:hover,
.nav-cta:hover {
  background: linear-gradient(180deg, var(--navy-600), var(--navy-700));
  box-shadow: 0 14px 32px rgba(10,22,40,0.30);
}
.btn-light {
  box-shadow: 0 10px 26px rgba(0,0,0,0.20);
}
.btn-light:hover { box-shadow: 0 16px 36px rgba(0,0,0,0.28); }
.btn:active { transform: translateY(0) scale(0.99); }

/* ---- Hero polish ---- */
.hero {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(46,91,160,0.30), transparent 55%),
    linear-gradient(180deg, rgba(10,22,40,0.80) 0%, rgba(10,22,40,0.58) 45%, rgba(10,22,40,0.92) 100%),
    url('../images/roof-tile-installation.jpg') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 120px -60px rgba(10,22,40,0.85);
  pointer-events: none;
  z-index: 1;
}
.hero h1 { letter-spacing: -0.04em; }
.hero h1 .accent { font-style: italic; }
.hero p { line-height: 1.7; }
.stat-num {
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.78));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats > div { position: relative; }
.hero-stats > div + div::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255,255,255,0.16);
}

/* ---- Service cards: elevated ---- */
.services-grid { gap: 24px; }
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(10,22,40,0.05);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: 2;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(10,22,40,0.16);
}
.service-img { transition: transform 0.7s var(--ease); }
.service-card:hover .service-img { transform: scale(1.05); }
.service-card .service-body { position: relative; z-index: 1; background: var(--white); }

/* ---- Why list: refined ---- */
.why-list li {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.why-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-400);
}
.why-list .check {
  background: linear-gradient(180deg, var(--navy-600), var(--navy-800));
  box-shadow: 0 6px 16px rgba(10,22,40,0.25);
}
.why-image img { transition: transform 0.9s var(--ease); }
.why-image:hover img { transform: scale(1.04); }

/* ---- Area tags ---- */
.area-tag {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.area-tag:hover { transform: translateY(-2px); }

/* ---- Gallery ---- */
.gallery-item {
  box-shadow: 0 10px 30px rgba(10,22,40,0.10);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,22,40,0.45));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .label { z-index: 2; backdrop-filter: blur(2px); }

/* ---- Value cards (about) ---- */
.value-card {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}
.value-card .num {
  font-size: 1.5rem;
  font-weight: 800;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-500));
}

/* ---- Contact cards ---- */
.contact-list li {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.contact-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-400);
}
.contact-form { box-shadow: var(--shadow-lg); }

/* ---- CTA banner ---- */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(46,91,160,0.30), transparent 60%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }

/* =========================================================
   Premium footer
   ========================================================= */
.footer {
  position: relative;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(20,48,90,0.45), transparent 60%),
    linear-gradient(180deg, #0A0F1C, #06090F);
  padding-top: 0;
}
.footer-accent {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--blue-500), var(--blue-400), var(--blue-500), transparent);
  opacity: 0.85;
}
.footer .container { padding-top: 72px; }

.footer-grid {
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand p {
  max-width: 360px;
  line-height: 1.85;
}
.footer-logo-img {
  height: 86px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--slate-300);
  transition: all 0.25s var(--ease);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social a:hover {
  color: #fff;
  border-color: var(--blue-400);
  background: rgba(46,91,160,0.25);
  transform: translateY(-3px);
}

.footer-col h5 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.footer-col h5 svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--blue-400);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.footer-col > a {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding: 5px 0;
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.footer-col > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--blue-400);
  transition: width 0.25s var(--ease);
}
.footer-col > a:hover {
  color: #fff;
  padding-left: 18px;
}
.footer-col > a:hover::before { width: 12px; }

.footer-contact {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 7px 0 !important;
  line-height: 1.5;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--blue-400);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.footer-contact:hover { padding-left: 0 !important; }
.footer-contact:hover::before { width: 0 !important; }
.footer-contact--static { color: var(--slate-300); cursor: default; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 26px 0 4px;
  align-items: center;
}
.footer-credit {
  letter-spacing: 0.02em;
}
.footer-credit strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, var(--blue-400), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   Mobile responsiveness refinements
   ========================================================= */
@media (max-width: 899px) {
  .hero { min-height: 82vh; padding: 104px 0 84px; }
  .hero-stats { gap: 14px; margin-top: 44px; padding-top: 28px; }
  .hero-stats > div + div::before { left: -7px; }
  section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .footer .container { padding-top: 56px; }
  .footer-grid { gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; gap: 8px; flex-direction: column; }
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav-logo img { height: 78px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
}

@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-num { font-size: clamp(1.5rem, 7vw, 2rem); }
  .stat-label { font-size: 0.7rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions, .cta-actions { width: 100%; }
  .guarantee-seal { width: 100%; }
  .gs-main { font-size: 0.82rem; letter-spacing: 0.05em; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { justify-content: flex-start; }
  .section-head h2::after { width: 44px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2rem; }
  .container { padding: 0 16px; }
}

/* =========================================================
   Refinements v2 — header, logo, motion, premium mobile menu
   ========================================================= */

html { scroll-padding-top: 132px; }

/* Reveal — effectively instant (tiny fade only, no movement/blur) */
.reveal {
  opacity: 0;
  transition: opacity 0.12s linear;
}
.reveal.visible {
  opacity: 1;
}

/* Tighter header, bigger logo */
.nav { padding: 6px 20px; }
.nav-logo img { height: 66px; }

@media (min-width: 640px) {
  .nav { padding: 8px 32px; }
}
@media (min-width: 900px) {
  .nav { padding: 10px 36px; }
  .nav-logo img { height: 100px; }
  .nav-toggle { display: none; }
  .mm-overlay { display: none; }
}
@media (max-width: 360px) {
  .nav-logo img { height: 58px; }
}

/* ---- Premium hamburger ---- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.65);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-toggle:hover { border-color: var(--blue-400); background: #fff; }
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { width: 22px; }
.nav-toggle span:nth-child(2) { width: 14px; }
.nav-toggle.open { align-items: center; }
.nav-toggle.open span { width: 22px; opacity: 1; }
.nav-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---- Overlay ---- */
.mm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 115;
}
.mm-overlay.open { opacity: 1; pointer-events: auto; }

body.menu-open { overflow: hidden; }
body.menu-open .site-header { z-index: 130; }

/* ---- Premium slide-in drawer (light, on-palette) ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  height: 100%;
  width: min(86vw, 380px);
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: -34px 0 70px rgba(10,22,40,0.28);
  transform: translateX(106%);
  transition: transform 0.42s var(--ease);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
}
.mobile-menu.open { transform: translateX(0); }

.mm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.mm-top img { height: 58px; width: auto; }
.mm-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy-900);
  transition: all 0.2s var(--ease);
}
.mm-close:hover { border-color: var(--blue-400); color: var(--blue-500); }
.mm-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.mm-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  flex: 1;
}
.mm-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 17px 16px;
  border-radius: 14px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.mm-nav a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--slate-300);
  border-right: 2px solid var(--slate-300);
  transform: rotate(45deg);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mm-nav a:hover,
.mm-nav a.active {
  background: var(--paper);
  color: var(--blue-500);
}
.mm-nav a:hover::after,
.mm-nav a.active::after {
  border-color: var(--blue-500);
  transform: rotate(45deg) translate(2px, -2px);
}

.mm-bottom {
  padding: 20px 22px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mm-cta { width: 100%; justify-content: center; }
.mm-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.mm-contact a { font-size: 0.95rem; color: var(--slate-700); font-weight: 500; }
.mm-contact a:hover { color: var(--blue-500); }

/* Staggered entrance — subtle, quick */
.mobile-menu .mm-nav a,
.mobile-menu .mm-bottom {
  opacity: 0;
  transform: translateX(22px);
}
.mobile-menu.open .mm-nav a,
.mobile-menu.open .mm-bottom {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.open .mm-nav a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mm-nav a:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.open .mm-nav a:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.open .mm-nav a:nth-child(4) { transition-delay: 0.21s; }
.mobile-menu.open .mm-bottom { transition-delay: 0.26s; }

/* ---- DigiSurf footer credit link ---- */
.footer-credit a {
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, var(--blue-400), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.2s var(--ease);
}
.footer-credit a:hover {
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-text-fill-color: var(--blue-400);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu .mm-nav a,
  .mobile-menu .mm-bottom { opacity: 1; transform: none; }
}

/* =========================================================
   FINAL authoritative header rules (last in source = wins)
   Logo is now cropped to artwork, so heights render larger
   and the old transparent-padding "spacing" is gone.
   ========================================================= */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  padding: 6px 20px;
  align-items: center;
}
.nav-logo img { height: 49px; }

@media (min-width: 640px) {
  .nav { padding: 7px 30px; }
  .nav-logo img { height: 57px; }
}

@media (min-width: 900px) {
  .nav { padding: 8px 40px; }
  .nav-logo img { height: 73px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none !important; }
  .mm-overlay { display: none !important; }
  .mobile-menu { display: none !important; }
}

@media (max-width: 360px) {
  .nav-logo img { height: 46px; }
}

/* Contact form: honeypot + status message */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(10,22,40,0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform-origin: top center;
  animation: statusIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.form-status::before {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

@keyframes statusIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes statusSpin { to { transform: rotate(360deg); } }

/* Sending */
.form-status--info {
  background: linear-gradient(180deg, rgba(46,91,160,0.10), rgba(46,91,160,0.05));
  color: var(--blue-500);
  border-color: rgba(46,91,160,0.28);
}
.form-status--info::before {
  background: transparent;
  border: 2.5px solid rgba(46,91,160,0.25);
  border-top-color: var(--blue-500);
  box-shadow: none;
  animation: statusSpin 0.7s linear infinite;
}

/* Success */
.form-status--success {
  background: linear-gradient(180deg, rgba(27,58,107,0.10), rgba(46,91,160,0.05));
  color: var(--navy-700);
  border-color: rgba(27,58,107,0.30);
}
.form-status--success::before {
  background-color: var(--navy-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  box-shadow: 0 6px 14px rgba(27,58,107,0.30);
}

/* Error */
.form-status--error {
  background: linear-gradient(180deg, #FCEDED, #FBE4E4);
  color: #9B2C2C;
  border-color: #ECC2C2;
}
.form-status--error::before {
  background-color: #C0392B;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
  box-shadow: 0 6px 14px rgba(192,57,43,0.28);
}

@media (prefers-reduced-motion: reduce) {
  .form-status { animation: none; }
  .form-status--info::before { animation: none; }
}

/* Hero: hug content, minimal top/bottom padding (no tall empty band) */
.hero {
  min-height: 0;
  padding: 52px 0 60px;
}
@media (min-width: 900px) {
  .hero { padding: 60px 0 68px; }
}

/* =========================================================
   FINAL — mobile menu drawer + hamburger (overrides legacy
   full-screen menu / 3-line icon from the old template)
   ========================================================= */
@media (max-width: 899px) {
  .nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 16px !important;
    background: linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(10,22,40,0.28), inset 0 1px 0 rgba(255,255,255,0.12) !important;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease) !important;
  }
  .nav-toggle:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 26px rgba(10,22,40,0.36), inset 0 1px 0 rgba(255,255,255,0.16) !important;
  }
  .nav-toggle:active { transform: translateY(0) !important; }
  .nav-toggle svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    stroke: #fff !important;
  }
  .nav-toggle span { display: none !important; }

  .mm-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(10,22,40,0.55) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    z-index: 1190 !important;
  }
  .mm-overlay.open { opacity: 1; pointer-events: auto; }

  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    height: 100% !important;
    width: min(86vw, 360px) !important;
    background: #FFFFFF !important;
    border-left: 1px solid var(--line) !important;
    box-shadow: -34px 0 70px rgba(10,22,40,0.30) !important;
    transform: translateX(105%) !important;
    transition: transform 0.4s var(--ease) !important;
    z-index: 1200 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0) !important; }

  /* Primary CTA — legacy ".mobile-menu a" forced dark text; restore white */
  .mobile-menu .mm-cta {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    padding: 16px 24px !important;
  }
  .mobile-menu .mm-cta:hover { color: #fff !important; }

  /* Phone / email as clean secondary pill buttons */
  .mobile-menu .mm-contact { gap: 10px !important; margin-top: 4px; }
  .mobile-menu .mm-contact a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 13px 18px !important;
    border: 1.5px solid var(--line) !important;
    border-radius: 999px !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: var(--navy-800) !important;
    background: #fff !important;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease) !important;
  }
  .mobile-menu .mm-contact a:hover {
    border-color: var(--navy-700) !important;
    color: var(--navy-900) !important;
    transform: translateY(-1px);
  }

  /* drawer must sit above the sticky header (no double logo) */
  body.menu-open .site-header { z-index: 100 !important; }
}

/* =========================================================
   Floating "Call Now" button — mobile only
   ========================================================= */
.fab-call { display: none; }

@media (max-width: 899px) {
  .fab-call {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    position: fixed;
    right: 16px;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 90;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(10,22,40,0.34), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  }
  .fab-call svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #fff;
  }
  .fab-call::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(46,91,160,0.45);
    animation: fabPulse 2.6s ease-out infinite;
    pointer-events: none;
  }
  .fab-call:hover,
  .fab-call:active {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(10,22,40,0.42), inset 0 1px 0 rgba(255,255,255,0.16);
  }
  body.menu-open .fab-call { display: none; }
}

@keyframes fabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,91,160,0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(46,91,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,91,160,0); }
}

@media (prefers-reduced-motion: reduce) {
  .fab-call::after { animation: none; }
}
