/* City Build Roofing Contractors */

:root {
  --navy: #0a2342;
  --navy-deep: #07182e;
  --navy-mid: #123056;
  --blue: #1f6feb;
  --blue-deep: #1557c0;
  --blue-soft: #e8f1fc;
  --ink: #0c1b2e;
  --mute: #5b6b7c;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: rgba(10, 35, 66, 0.1);
  --header: 4.6rem;
  --dock: 0px;
  --display: "Outfit", "Segoe UI", sans-serif;
  --text: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 1.15rem;
  --shadow: 0 18px 40px rgba(7, 24, 46, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.8rem);
  overflow-x: clip;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-deep);
}

a:hover {
  color: var(--blue);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 0 0 0.55em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.15rem, 5.6vw, 4.05rem);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--blue);
  color: #fff;
  padding: 0.55rem 0.95rem;
  z-index: 400;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.7rem;
}

.wrap {
  width: min(1180px, calc(100% - clamp(1.2rem, 5vw, 4.5rem) * 2));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.kicker-light {
  color: #9ec2ff;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  min-height: 3.35rem;
  padding-inline: 1.5rem;
  font-size: 1.02rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--white);
  color: var(--navy);
  height: var(--header);
  border-bottom: 1px solid var(--line);
}

.site-header.is-compact {
  box-shadow: 0 10px 28px rgba(10, 35, 66, 0.08);
}

.header-row {
  height: var(--header);
  width: min(1280px, calc(100% - 1.4rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.15rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--navy-mid);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-privacy {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: inherit;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--navy);
}

.header-phone-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.header-phone-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.header-quote {
  min-height: 2.7rem;
  padding-inline: 1.15rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  min-height: 520px;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 24, 46, 0.18) 0%, rgba(7, 24, 46, 0.4) 48%, rgba(7, 24, 46, 0.68) 100%),
    linear-gradient(90deg, rgba(7, 24, 46, 0.22), transparent 58%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(4.5rem, 12vh, 7.5rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  max-width: 52rem;
  text-align: center;
  margin-inline: auto;
}

.hero-inner h1 {
  color: #fff;
  margin-bottom: 0.7rem;
}

.hero-inner h1 span {
  display: block;
  color: #7eb0ff;
}

.hero-lede {
  max-width: 42ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.6rem 0 1.3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust svg {
  color: #7eb0ff;
}

/* About */

.about {
  padding: clamp(3.4rem, 7vw, 5.6rem) 0;
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160' fill='none' stroke='%230A2342' stroke-width='1.15'%3E%3Cpath d='M18 86 L100 18 L182 86 V148 H18 Z'/%3E%3Crect x='86' y='108' width='28' height='40'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 108% 12%;
  background-size: min(38vw, 420px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem 3.2rem;
  align-items: center;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.35rem 0 1.3rem;
}

.about-facts article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
}

.about-fact-label {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.about-fact-value {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
}

.about-fact-value a {
  color: inherit;
  text-decoration: none;
}

.about-fact-value a:hover {
  color: var(--blue);
}

.about-points {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.about-points li {
  padding-left: 1.45rem;
  position: relative;
  font-weight: 600;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 0.18rem #fff, 0 0 0 1px var(--blue);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.about-photos {
  position: relative;
  min-height: 28rem;
}

.about-photo-main,
.about-photo-inset {
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem;
}

.about-photo-main {
  width: 86%;
}

.about-photo-main img {
  width: 100%;
  height: 32rem;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about-photo-main:hover img,
.about-photo-inset:hover img {
  transform: scale(1.04);
}

.about-photo-inset {
  position: absolute;
  right: 0;
  bottom: -1.2rem;
  width: 52%;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.about-photo-inset img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

/* Sections */

.section-head {
  max-width: 42rem;
  margin-bottom: 1.8rem;
}

.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem 2.4rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-head-center {
  text-align: center;
  margin-inline: auto;
  max-width: 40rem;
}

.section-head-center .section-lede {
  margin-inline: auto;
}

.section-lede {
  color: var(--mute);
  max-width: 46ch;
}

.section-lede-light {
  color: rgba(255, 255, 255, 0.78);
}

.services-band {
  padding: 3.8rem 0 4.2rem;
  background: var(--navy);
  color: #fff;
}

.services-band h2 {
  color: #fff;
}

.services-list {
  padding: 3.6rem 0 4.6rem;
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.feature-card-media {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.feature-card:hover .feature-card-media img {
  transform: scale(1.06);
}

.feature-card-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 42px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 48c180-40 360 40 540 8 180-32 360-72 540-32 120 24 240 40 360 16V80H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.feature-card-body {
  padding: 0 1.25rem 1.35rem;
  position: relative;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-top: -0.4rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 111, 235, 0.35);
}

.feature-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.18rem;
}

.feature-card p {
  color: var(--mute);
  font-size: 0.98rem;
}

/* Square tiles */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
  border-radius: 0.9rem;
}

figure.tile {
  aspect-ratio: 1 / 1;
}

.tile figure {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.55s var(--ease), filter 0.35s var(--ease);
}

.tile[hidden] {
  display: none !important;
}

.tile:hover img {
  transform: scale(1.07);
  filter: brightness(0.72);
}

.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.4rem 0.85rem 0.8rem;
  background: linear-gradient(to top, rgba(7, 24, 46, 0.92), rgba(7, 24, 46, 0));
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* Portfolio */

.portfolio {
  padding: 3.6rem 0 4.6rem;
  background: var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
}

.filter-btn {
  min-height: 2.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-btn.is-on,
.filter-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Process */

.process {
  padding: 3.8rem 0 4.6rem;
  background: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160' fill='none' stroke='%230A2342' stroke-width='1.15'%3E%3Cpath d='M18 86 L100 18 L182 86 V148 H18 Z'/%3E%3Crect x='86' y='108' width='28' height='40'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: -8% 80%;
  background-size: min(34vw, 360px);
}

.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-grid li {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 35, 66, 0.05);
}

.process-grid li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 1.1rem;
  width: 2.1rem;
  height: 0.42rem;
  background: var(--blue);
  border-radius: 0 0 0.4rem 0.4rem;
}

.process-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 0.9rem;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.process-grid h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.process-grid p {
  color: var(--mute);
  font-size: 0.96rem;
}

/* Reviews */

.reviews {
  padding: 4.2rem 0 4.8rem;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.reviews-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reviews-copy .btn {
  margin-top: 1.1rem;
  align-self: flex-start;
}

.review-card {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  align-self: center;
}

.review-card p {
  font-size: 1.08rem;
  color: var(--navy);
}

.review-card footer {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.reviews-photo {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 100%;
}

.reviews-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* CTA */

.cta {
  position: relative;
  isolation: isolate;
  min-height: 22rem;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.cta-media {
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.cta-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 24, 46, 0.86) 0%, rgba(7, 24, 46, 0.55) 55%, rgba(7, 24, 46, 0.28) 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  padding: 4.2rem 0;
  max-width: 42rem;
  margin-left: clamp(1.2rem, 5vw, 4.5rem);
  margin-right: auto;
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 44ch;
}

.cta-inner .hero-actions {
  justify-content: flex-start;
}

/* Contact */

.contact {
  padding: 4.2rem 0 5rem;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.contact-map {
  min-height: 380px;
  background: #d7e0ea;
  overflow: hidden;
  border-radius: var(--radius);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.contact-side {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  border-color: var(--blue);
  color: inherit;
}

.contact-card-icon {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
}

.contact-card-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}

.contact-card-value {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}

.contact-note-box {
  background: var(--navy);
  color: #fff;
  border-radius: 1rem;
  padding: 1.25rem 1.2rem 1.35rem;
}

.contact-note-box p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.contact-google .btn {
  width: 100%;
}

button.btn {
  appearance: none;
  -webkit-appearance: none;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.8rem 0 5.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
  gap: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
}

.footer-note {
  margin: 0 0 0.9rem;
  max-width: 32ch;
}

.footer-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7eb0ff;
  font-weight: 700;
}

.footer-contact,
.footer-nav,
.footer-services {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact a,
.footer-nav a,
.footer-services a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-contact a:hover,
.footer-nav a:hover,
.footer-services a:hover {
  color: #fff;
}

.footer-google {
  margin-top: 0.35rem;
}

.footer-base {
  padding-top: 1rem;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.footer-mark {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.mobile-dock {
  display: none;
}

/* Privacy */

.privacy-main {
  padding: 3.2rem 0 4.8rem;
  background: var(--paper);
}

.privacy-article {
  max-width: 46rem;
}

.privacy-updated {
  color: var(--mute);
  font-size: 0.92rem;
}

.privacy-body h2 {
  margin-top: 1.6rem;
  font-size: 1.35rem;
}

.privacy-body ul {
  padding-left: 1.15rem;
}

.privacy-body a {
  color: var(--blue-deep);
}

/* Responsive */

@media (max-width: 1100px) {
  .main-nav a {
    font-size: 0.82rem;
  }

  .main-nav ul {
    gap: 0.1rem 0.75rem;
  }

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

  .reviews-photo {
    grid-column: 1 / -1;
    max-height: 280px;
  }
}

@media (max-width: 900px) {
  .header-row {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 90;
    background: var(--white);
    padding: 1.2rem 1.4rem 2rem;
    overflow-y: auto;
  }

  body.nav-open .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    display: block;
    font-size: 1.15rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-privacy {
    display: list-item;
  }

  .nav-toggle {
    display: block;
  }

  .header-quote {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-media img {
    min-height: 420px;
  }

  .hero-inner {
    text-align: left;
    padding-top: 5.5rem;
  }

  .hero-lede,
  .hero-trust,
  .hero-actions {
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero-lede {
    margin-inline: 0;
  }

  .about-grid,
  .contact-grid,
  .footer-grid,
  .reviews-grid,
  .feature-grid,
  .process-grid,
  .section-head-split {
    grid-template-columns: 1fr;
  }

  .about-photos {
    min-height: 0;
    order: -1;
  }

  .about-photo-main {
    width: 100%;
  }

  .about-photo-main img {
    height: 16rem;
  }

  .about-photo-inset {
    width: 46%;
    bottom: -0.8rem;
  }

  .about-photo-inset img {
    height: 8.5rem;
  }

  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .cta-inner {
    margin-left: auto;
    padding-inline: 0;
  }

  .site-footer {
    padding-bottom: 6.4rem;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-dock a {
    text-align: center;
    padding: 0.9rem 0.5rem;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #fff;
  }

  .dock-call {
    background: var(--blue);
  }

  .dock-quote {
    background: var(--navy);
  }
}

@media (max-width: 560px) {
  .header-phone-label {
    display: none;
  }

  .header-phone-num {
    font-size: 0.92rem;
  }

  .brand-sub {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .tile figcaption {
    font-size: 0.92rem;
    padding: 1.6rem 0.6rem 0.55rem;
  }

  .hero-trust {
    gap: 0.4rem 0.8rem;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tile img,
  .about-photo-main img,
  .about-photo-inset img,
  .feature-card-media img {
    transition: none;
  }
}
