/* ==========================================================================
   Sky Roofing Systems — Stylesheet
   ========================================================================== */

:root {
  /* Brand palette, drawn from the Sky Roofing Systems logo */
  --navy-900: #0d1e3a;
  --navy-800: #14294d;
  --navy-700: #1c3660;
  --sky-500: #2f9fd6;
  --sky-400: #4bb8e8;
  --sky-300: #7fd4f2;
  --sky-100: #eaf7fd;
  --gray-700: #4b5560;
  --gray-500: #6b7480;
  --gray-300: #c3cbd3;
  --gray-100: #eef2f6;
  --white: #ffffff;
  --ink: #182230;
  --success: #1f9d55;

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

  --shadow-sm: 0 2px 8px rgba(13, 30, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 30, 58, 0.12);
  --shadow-lg: 0 20px 48px rgba(13, 30, 58, 0.18);

  --container: 1200px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

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

section {
  padding: 88px 0;
}

.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--sky-500);
  display: inline-block;
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.bg-light { background: var(--gray-100); }
.bg-navy {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--sky-500), var(--navy-700));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-700);
}
.btn-outline-navy:hover {
  background: var(--navy-700);
  color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-links { display: flex; gap: 24px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--sky-300); }
.topbar-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.topbar-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky-400);
  box-shadow: 0 0 0 4px rgba(79, 184, 232, 0.25);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a.nav-link {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a.nav-link:hover,
.main-nav a.nav-link.active {
  color: var(--sky-500);
  background: var(--sky-100);
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  border: 1px solid var(--gray-100);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}
.dropdown a:hover {
  background: var(--sky-100);
  color: var(--sky-500);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--navy-800);
}
.header-phone .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-phone small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--gray-500);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--sky-500) 140%);
  padding: 100px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(127, 212, 242, 0.18), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(79, 184, 232, 0.25), transparent 45%);
}
.hero .roofline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}
.hero-stats .stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Photo placeholder blocks — swap for real photography */
.photo-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1.5px dashed rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.85);
  padding: 24px;
  min-height: 320px;
}
.photo-placeholder.light {
  background:
    repeating-linear-gradient(135deg, rgba(20,41,77,0.04) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--sky-100), var(--white));
  border-color: var(--gray-300);
  color: var(--gray-500);
}
.photo-placeholder svg { width: 44px; height: 44px; opacity: 0.8; }
.photo-placeholder .ph-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.photo-placeholder .ph-sub {
  font-size: 0.78rem;
  max-width: 220px;
  opacity: 0.75;
}
.hero-photo.photo-placeholder { min-height: 420px; border-radius: var(--radius-lg); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  z-index: 3;
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item .icon-circle {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: var(--navy-800);
}
.trust-item span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- About snippet / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media .photo-placeholder { min-height: 380px; }

.checklist { margin: 24px 0; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-700);
}
.checklist .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card .photo-placeholder { min-height: 160px; border-radius: 0; border-width: 0 0 1px; }
.service-card .card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card h3 { margin-bottom: 2px; }
.service-card p { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 8px; flex: 1; }
.service-card .card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--sky-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .card-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.service-card:hover .card-link svg { transform: translateX(4px); }

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--sky-500), var(--navy-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.service-icon svg { width: 24px; height: 24px; }

/* ---------- Detailed service sections (services.html) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-media { order: 2; }
.service-detail-media .photo-placeholder { min-height: 300px; }
.service-detail .tag {
  display: inline-block;
  background: var(--sky-100);
  color: var(--sky-500);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.service-detail ul.feature-list { margin-top: 18px; display: grid; gap: 10px; }
.service-detail ul.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.service-detail ul.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--sky-500);
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.why-card .service-icon { margin-bottom: 18px; }
.why-card p { color: var(--gray-700); font-size: 0.92rem; margin: 0; }

/* ---------- Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 24px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--sky-300);
  display: block;
  margin-bottom: 10px;
}
.process-step p { color: var(--gray-700); font-size: 0.9rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 60%, var(--sky-500) 160%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255, 255, 255, 0.8); margin: 0; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Coverage / map ---------- */
.coverage-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  margin-top: 20px;
}
.coverage-list li {
  color: var(--gray-700);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.coverage-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-500);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-card .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--gray-700); font-size: 0.92rem; }
.contact-card a:hover { color: var(--sky-500); }

.form-panel {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--navy-800);
}
.form-group .req { color: var(--sky-500); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px var(--sky-100);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--gray-500); margin-top: -8px; }
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-status.success { display: block; background: #e7f7ee; color: var(--success); border: 1px solid #bfe9d1; }
.form-status.error { display: block; background: #fdeceb; color: #c0392b; border: 1px solid #f6c8c4; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  height: 340px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ (accordion) ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-100);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-800);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item.is-open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-answer p { padding: 0 4px 22px; color: var(--gray-700); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 75%);
  color: var(--white);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(127, 212, 242, 0.22), transparent 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 620px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--sky-500); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--sky-300); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; color: var(--sky-400); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover { color: var(--sky-300); }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sky-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 400;
  border: none;
  cursor: pointer;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- About page extras ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-100);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
}
.stat-row .stat strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
}
.stat-row .stat span { font-size: 0.85rem; color: rgba(255,255,255,0.72); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .coverage-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  .topbar-links span.hide-sm { display: none; }
  .main-nav { display: none; }
  .header-phone span.hide-sm { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 12px;
    border-top: 1px solid var(--gray-100);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav.is-open .nav-link { width: 100%; }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    border: none;
    margin-top: 4px;
    padding-left: 12px;
  }
  .has-dropdown.is-open .dropdown { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .service-detail { grid-template-columns: 1fr; padding: 40px 0; }
  .service-detail.reverse .service-detail-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .trust-bar .container { grid-template-columns: 1fr; gap: 18px; }
  .coverage-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

/* ---------- Accessibility: skip link ---------- */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
}
.visually-hidden:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ---------- Simple service tiles (homepage) ---------- */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-tile:hover {
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.service-tile .service-icon {
  margin-bottom: 0;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.service-tile .service-icon svg { width: 20px; height: 20px; }
.service-tile-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-800);
  flex: 1;
}
.service-tile .tile-arrow {
  width: 16px;
  height: 16px;
  color: var(--sky-500);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.service-tile:hover .tile-arrow { transform: translateX(4px); }

@media (max-width: 1080px) {
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-tiles { grid-template-columns: 1fr; }
}

/* ---------- Photo grid (maintenance / real photography) ---------- */
.photo-real {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.photo-pair .photo-real { min-height: 220px; }
@media (max-width: 640px) {
  .photo-pair { grid-template-columns: 1fr; }
}

/* ---------- Real photo sizing (matches previous placeholder heights) ---------- */
.service-detail-media .photo-real { min-height: 300px; height: 100%; }
.split-media .photo-real { min-height: 380px; height: 100%; }
.hero-photo.photo-real { min-height: 420px; height: 100%; border-radius: var(--radius-lg); }

/* ---------- Typography hierarchy refinement ---------- */
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); }

/* ---------- Trust line (hero) ---------- */
.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
}
.trust-line .sep { color: rgba(255, 255, 255, 0.4); }

/* ---------- Service category grid (homepage) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-300);
}
.category-card h3 { margin-bottom: 0; font-size: 1.15rem; }
.category-card p {
  color: var(--gray-700);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.category-card .card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--sky-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.category-card .card-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.category-card:hover .card-link svg { transform: translateX(4px); }
.services-view-all {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ---------- Recent projects grid (homepage) ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-card .project-photo {
  height: 220px;
  overflow: hidden;
}
.project-card .project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card .project-body { padding: 20px 22px 24px; }
.project-card .project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 8px;
}
.project-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.project-card p { color: var(--gray-700); font-size: 0.88rem; margin: 0; }
.projects-view-all {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ---------- Mobile sticky contact bar ---------- */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 640px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 600;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: 0 -6px 18px rgba(13, 30, 58, 0.12);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 13px 10px;
  }
  .mobile-cta-bar .btn-outline-navy {
    border-color: var(--gray-300);
  }
  body.has-mobile-cta-bar { padding-bottom: 68px; }
  body.has-mobile-cta-bar .back-to-top { bottom: 84px; }
}

@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .category-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
}

/* ---------- Service detail without photo (no image available yet) ---------- */
.service-detail.no-media {
  display: block;
  padding: 48px 0;
}
.service-detail.no-media .service-detail-copy {
  max-width: 760px;
  margin: 0 auto;
}
.service-detail.no-media .service-icon {
  margin-bottom: 18px;
}

/* ---------- Hero photo: show full image, no cropping ---------- */
.hero-photo.photo-real {
  min-height: 0;
  height: auto;
  align-self: center;
}
.hero-photo.photo-real img {
  height: auto;
  object-fit: contain;
}
