@import url("brand-runtime.css");
:root {
  --rr-dark: #083d4d;
  --rr-dark-2: #062f3c;
  --rr-blue: #1fb3e7;
  --rr-teal: #00a3a3;
  --rr-light: #e3f0f4;
  --rr-light-2: #f5fbfd;
  --rr-ink: #12313b;
  --rr-muted: #647781;
  --rr-line: #c9dfe7;
  --rr-card: #ffffff;
  --rr-warn: #f9b24e;
  --rr-danger: #e85d5d;
  --shadow-soft: 0 24px 70px rgba(8, 61, 77, 0.16);
  --shadow-card: 0 14px 34px rgba(8, 61, 77, 0.12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--rr-ink);
  background: var(--rr-light-2);
  line-height: 1.55;
}

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

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li + li {
  margin-top: .45rem;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: #fff;
  color: var(--rr-dark);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 20;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  background: var(--rr-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}

.header-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand img {
  width: 205px;
  height: auto;
}

.header-right {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 800;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.phone-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--rr-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(8, 61, 77, .25);
}

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

.btn-secondary {
  background: #fff;
  color: var(--rr-dark);
}

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

.btn-dark-outline {
  border-color: var(--rr-line);
  color: var(--rr-dark);
  background: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .93rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 99px;
  background: var(--rr-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.mobile-nav-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: rgba(255,255,255,.12);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  cursor: pointer;
}

.mobile-nav-toggle span,
.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 99px;
  margin: 5px auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background:
    radial-gradient(circle at 87% 18%, rgba(31, 179, 231, .32), transparent 26%),
    linear-gradient(135deg, var(--rr-light) 0%, #f7fcfe 64%);
  padding: 76px 0 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10vw -8vw auto;
  width: 42vw;
  height: 42vw;
  min-width: 380px;
  min-height: 380px;
  border-radius: 50%;
  background: rgba(0, 163, 163, .10);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rr-teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .83rem;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: var(--rr-blue);
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
  margin: 0;
  color: var(--rr-dark);
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  letter-spacing: -.06em;
  max-width: 870px;
}

.hero-copy {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: #39545e;
  max-width: 690px;
  margin: 24px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 22px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 28px;
}

.proof-card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(201, 223, 231, .82);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(8,61,77,.08);
}

.proof-card strong {
  display: block;
  color: var(--rr-dark);
  font-size: 1.02rem;
}

.proof-card span {
  display: block;
  color: var(--rr-muted);
  font-size: .9rem;
  margin-top: 2px;
}

.hero-media {
  position: relative;
}

.hero-photo-card {
  border-radius: 38px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: none;
}

.hero-photo-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  left: -26px;
  bottom: 34px;
  width: min(300px, 70%);
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--rr-dark);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.media-badge strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
}

.media-badge span {
  display: block;
  color: #c7eaf4;
  font-size: .93rem;
  margin-top: 4px;
}

.jump-bar-wrap {
  background: var(--rr-dark-2);
  color: #fff;
}

.jump-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-color: var(--rr-blue) rgba(255,255,255,.1);
}

.jump-bar a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  font-size: .9rem;
  font-weight: 800;
}

.jump-bar a:hover,
.jump-bar a:focus-visible {
  background: var(--rr-blue);
}

.section {
  padding: 76px 0;
}

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

.section-alt {
  background: var(--rr-light);
}

.section-dark {
  background: var(--rr-dark);
  color: #e5f7fc;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  max-width: 770px;
  margin-bottom: 34px;
}

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

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -.045em;
}

.section-head p {
  color: #49646e;
  font-size: 1.1rem;
  margin-top: 16px;
}

.section-dark .section-head p {
  color: #c6e2ea;
}

.two-column {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.info-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 223, 231, .85);
}

.info-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.callout {
  border-left: 6px solid var(--rr-blue);
  background: #f3fbfe;
  padding: 20px;
  border-radius: 18px;
  color: #35525d;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
  border: 1px solid rgba(201, 223, 231, .8);
}

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

.caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(8, 61, 77, .88);
  color: #fff;
  backdrop-filter: blur(8px);
}

.caption strong {
  display: block;
  line-height: 1.15;
}

.caption span {
  display: block;
  color: #cfeef6;
  font-size: .92rem;
  margin-top: 4px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.damage-card,
.feature-card,
.repair-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 223, 231, .85);
}

.damage-card img,
.feature-card img,
.repair-card img {
  width: 100%;
  height: 228px;
  object-fit: cover;
  background: var(--rr-light);
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.card-body p {
  color: #4a626c;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef8fb;
  color: var(--rr-dark);
  padding: 7px 10px;
  font-size: .82rem;
  font-weight: 800;
}


.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rr-blue);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.75);
}

.comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.comparison .step {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(201, 223, 231, .85);
  box-shadow: 0 10px 26px rgba(8,61,77,.08);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rr-blue);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.warning-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--rr-dark), #0b5266);
  color: #fff;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.warning-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -.03em;
}

.warning-band p {
  color: #cfeef6;
  margin-top: 10px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
}

.gallery-strip .photo-frame:first-child {
  grid-row: span 2;
}

.gallery-strip img {
  height: 265px;
}

.gallery-strip .photo-frame:first-child img {
  height: 548px;
}

.cta-final {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 56px;
  color: #fff;
  background:
    linear-gradient(rgba(8,61,77,.88), rgba(8,61,77,.88)),
    url('../images/shingle-damage/site-photos/residential-roof-04.jpeg') center/cover;
  box-shadow: var(--shadow-soft);
}

.cta-final::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(31,179,231,.20);
}

.cta-final > * {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -.05em;
  max-width: 850px;
}

.cta-final p {
  color: #daf2f8;
  max-width: 760px;
  font-size: 1.14rem;
  margin: 18px 0 26px;
}

.site-footer {
  background: var(--rr-dark-2);
  color: #d5eef5;
  padding: 42px 0;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 680px);
  gap: 28px 42px;
  align-items: center;
}

.footer-grid > div:first-child {
  max-width: 520px;
}

.footer-logo {
  width: 185px;
  max-width: 100%;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 10px 12px;
  justify-content: end;
  align-items: stretch;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .045em;
  font-size: .82rem;
  max-width: 680px;
  width: 100%;
  margin-left: auto;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #e9f8fb;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(31,179,231,.16);
  border-color: rgba(31,179,231,.45);
  color: #fff;
}

.source-note {
  color: #86a8b4;
  font-size: .88rem;
  margin-top: 12px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .two-column,
  .warning-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: start;
    margin-left: 0;
    max-width: 760px;
  }

  .header-inner {
    min-height: 86px;
  }

  .header-right {
    justify-items: stretch;
  }

  .hero-photo-card img {
    height: 440px;
  }

  .card-grid,
  .comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .warning-band {
    justify-items: start;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .mobile-nav-toggle {
    display: block;
  }

  .header-inner {
    align-items: center;
  }

  .brand img {
    width: 172px;
  }

  .header-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--rr-dark-2);
    padding: 18px 20px 22px;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .header-right.is-open {
    display: grid;
  }

  .main-nav,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .main-nav a,
  .header-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-proof,
  .card-grid,
  .card-grid.two,
  .comparison,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip .photo-frame:first-child {
    grid-row: auto;
  }

  .gallery-strip img,
  .gallery-strip .photo-frame:first-child img,
  .hero-photo-card img {
    height: 300px;
  }

  .media-badge {
    left: 16px;
    bottom: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .cta-final {
    padding: 34px 24px;
    border-radius: 30px;
  }
}

@media (max-width: 520px) {
  .phone-link {
    font-size: 1.05rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-final .hero-actions {
    width: 100%;
  }

  .damage-card img,
  .feature-card img,
  .repair-card img {
    height: 200px;
  }

  .section-head h2 {
    font-size: 2.1rem;
  }
}

/* Homepage rebuild additions */
.main-nav {
  gap: clamp(13px, 1.8vw, 28px);
  font-size: .92rem;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 86% 12%, rgba(31, 179, 231, .28), transparent 28%),
    radial-gradient(circle at 14% 90%, rgba(0, 163, 163, .14), transparent 32%),
    linear-gradient(135deg, #e3f0f4 0%, #f7fcfe 62%, #ffffff 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,61,77,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,61,77,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 85%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
}

.home-hero-content h1 {
  max-width: 760px;
}

.home-proof {
  max-width: 720px;
}

.home-hero-media {
  position: relative;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 352px 218px;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(120, 174, 188, .32);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(230,246,251,.56));
  box-shadow: 0 30px 70px rgba(8, 61, 77, .16);
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 7px solid #fff;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(8, 61, 77, .16);
  transform: none;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(8,61,77,.06));
  pointer-events: none;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-large {
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  border-radius: 30px;
}

.mosaic-small {
  width: auto;
  height: auto;
  border-radius: 26px;
}

.mosaic-small.top,
.mosaic-small.bottom {
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  height: auto;
  transform: none;
}

.floating-quote-card {
  position: relative;
  left: auto;
  bottom: auto;
  max-width: none;
  margin: 18px 12px 0;
  padding: 22px 24px;
  border: 1px solid rgba(31, 179, 231, .32);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(8, 61, 77, .98), rgba(7, 88, 110, .96)),
    var(--rr-deep);
  color: #fff;
  box-shadow: 0 22px 48px rgba(8, 61, 77, .20);
  backdrop-filter: blur(10px);
}

.floating-quote-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -4px;
  width: 86px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rr-sky), var(--rr-teal));
  box-shadow: 0 8px 20px rgba(31,179,231,.32);
}

.floating-quote-card strong,
.floating-quote-card span {
  display: block;
}

.floating-quote-card strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.floating-quote-card span {
  color: #cfeef6;
  margin-top: 6px;
  font-size: .95rem;
}

.home-quick-strip {
  background: var(--rr-dark-2);
  color: #fff;
  padding: 18px 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
}

.quick-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.11);
  transition: background .2s ease, transform .2s ease;
}

.quick-grid a:hover,
.quick-grid a:focus-visible {
  background: rgba(31,179,231,.25);
  transform: translateY(-1px);
}

.quick-grid span {
  color: var(--rr-blue);
  font-weight: 900;
  font-size: .86rem;
}

.quick-grid strong {
  font-size: .98rem;
  line-height: 1.15;
}

.large-copy {
  font-size: clamp(1.14rem, 2vw, 1.35rem);
  color: #39545e;
  margin: 20px 0 16px;
}

.compact-actions {
  margin-bottom: 0;
}

.about-home-grid {
  align-items: center;
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-stat {
  min-height: 170px;
  border-radius: 28px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  background: #fff;
  border: 1px solid rgba(201, 223, 231, .9);
  box-shadow: var(--shadow-card);
}

.trust-stat strong {
  color: var(--rr-blue);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.trust-stat span {
  color: var(--rr-dark);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.18;
}

.service-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card-modern {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(201, 223, 231, .9);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-card-modern.featured {
  grid-column: span 2;
}

.service-card-modern img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  background: var(--rr-light);
}

.service-card-modern.featured img {
  height: 310px;
}

.service-card-content {
  padding: 24px;
}

.service-kicker {
  display: inline-flex;
  color: var(--rr-teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  margin-bottom: 10px;
}

.service-card-content h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.service-card-content p,
.service-card-content li {
  color: #4a626c;
}

.service-card-content ul {
  columns: 3;
  padding-left: 1.1rem;
  margin-top: 14px;
}

.storm-home-section {
  background:
    linear-gradient(180deg, #f5fbfd 0%, #ffffff 100%);
}

.storm-feature-card {
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--rr-dark), #0b5266);
  color: #d9f3f9;
  display: grid;
  grid-template-columns: 1fr .64fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  box-shadow: var(--shadow-soft);
}

.storm-feature-card h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -.05em;
}

.storm-feature-card p {
  color: #cfeef6;
  max-width: 760px;
  font-size: 1.1rem;
  margin-top: 18px;
}

.storm-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.storm-points span {
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}

.storm-feature-image {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 46px rgba(0,0,0,.20);
  transform: none;
}

.storm-feature-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 245px;
  gap: 18px;
}

.home-gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.home-gallery-item.wide {
  grid-column: span 2;
}

.home-gallery-item.tall {
  grid-row: span 2;
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

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

.home-gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(8,61,77,.88);
  color: #fff;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.process-modern .step h3 {
  margin-bottom: 10px;
}

.review-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.review-panel,
.brand-panel {
  padding: 34px;
}

.review-panel h2,
.brand-panel h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  letter-spacing: -.04em;
}

.review-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.review-stack blockquote {
  margin: 0;
  padding: 18px;
  border-radius: 20px;
  background: #f3fbfe;
  border: 1px solid rgba(201,223,231,.85);
}

.review-stack p {
  color: var(--rr-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.review-stack cite {
  color: var(--rr-muted);
  font-style: normal;
  font-weight: 800;
  font-size: .9rem;
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.brand-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #eef8fb;
  border: 1px solid rgba(201,223,231,.92);
  color: var(--rr-dark);
  font-weight: 900;
}

.quote-section .eyebrow::before,
.section-dark .eyebrow::before {
  background: var(--rr-blue);
}

.quote-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.quote-grid h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -.05em;
}

.quote-grid p {
  color: #cfeef6;
  font-size: 1.1rem;
  margin-top: 16px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.contact-cards a,
.contact-cards div {
  display: grid;
  gap: 4px;
  padding: 17px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
}

.contact-cards strong {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-cards span {
  color: #d5eef5;
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.20);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--rr-dark);
  font-weight: 900;
  font-size: .92rem;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--rr-line);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: var(--rr-ink);
  background: #f8fdff;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .btn {
  justify-self: start;
}

.form-note {
  color: var(--rr-muted) !important;
  font-size: .9rem !important;
  margin: -4px 0 0 !important;
}

@media (max-width: 1100px) {
  .home-hero-grid,
  .storm-feature-card,
  .quote-grid,
  .review-brand-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-media {
    min-height: auto;
  }

  .hero-mosaic {
    height: auto;
    grid-template-rows: 340px 220px;
  }

  .service-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .home-hero {
    padding: 52px 0 44px;
  }

  .home-hero-media,
  .hero-mosaic {
    min-height: auto;
    height: auto;
  }

  .hero-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mosaic-card,
  .mosaic-large,
  .mosaic-small,
  .mosaic-small.top,
  .mosaic-small.bottom {
    position: relative;
    inset: auto;
    width: 100%;
    height: 280px;
    transform: none;
    border-radius: 26px;
  }

  .floating-quote-card {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin-top: 14px;
  }

  .quick-grid,
  .trust-panel,
  .service-grid-modern,
  .home-gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-card-modern.featured {
    grid-column: auto;
  }

  .service-card-modern img,
  .service-card-modern.featured img {
    height: 245px;
  }

  .service-card-content ul {
    columns: 1;
  }

  .storm-feature-card {
    padding: 30px 22px;
    border-radius: 30px;
  }

  .storm-feature-image img {
    height: 260px;
  }

  .home-gallery-grid {
    grid-auto-rows: 235px;
  }

  .home-gallery-item.wide,
  .home-gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .quote-form {
    padding: 22px;
    border-radius: 26px;
  }
}


/* Facebook feed tablet section */
.facebook-feed-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(31, 179, 231, .18), transparent 30%),
    linear-gradient(180deg, #f5fbfd 0%, #ffffff 100%);
}

.facebook-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  gap: clamp(24px, 3.2vw, 44px);
  align-items: stretch;
}

.facebook-feed-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  padding: clamp(30px, 3.2vw, 40px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 179, 231, .14), transparent 34%),
    rgba(255,255,255,.88);
  border: 1px solid rgba(201, 223, 231, .82);
  box-shadow: 0 28px 70px rgba(8, 61, 77, .10);
}

.facebook-feed-copy h2 {
  font-size: clamp(2.25rem, 3.55vw, 3.35rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 560px;
  margin-bottom: 18px;
}

.facebook-feed-copy .large-copy {
  color: #39545e;
  font-size: clamp(1.02rem, 1.18vw, 1.12rem);
  line-height: 1.52;
  max-width: none;
  margin-bottom: 0;
}

.facebook-feed-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 18px;
}

.facebook-feed-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--rr-dark);
  background: rgba(31, 179, 231, .12);
  border: 1px solid rgba(31, 179, 231, .25);
  box-shadow: 0 10px 20px rgba(8, 61, 77, .05);
  font-weight: 900;
  font-size: .93rem;
}


.facebook-compact-summary {
  display: grid;
  gap: 5px;
  padding: 17px 18px;
  border-radius: 22px;
  background: rgba(238, 248, 251, .88);
  border: 1px solid rgba(201, 223, 231, .78);
  color: #415b65;
  box-shadow: 0 12px 24px rgba(8, 61, 77, .05);
}

.facebook-compact-summary strong {
  color: var(--rr-dark);
  font-size: 1rem;
  line-height: 1.22;
}

.facebook-compact-summary span {
  color: #49646e;
  font-size: .94rem;
  line-height: 1.38;
  font-weight: 760;
}

.facebook-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.facebook-benefit-grid div {
  min-height: 132px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(238, 248, 251, .82);
  border: 1px solid rgba(201, 223, 231, .78);
}

.facebook-benefit-grid.compact-facebook-benefits div {
  min-height: 146px;
}

.facebook-benefit-grid strong {
  display: block;
  color: var(--rr-dark);
  font-size: 1.05rem;
  line-height: 1.2;
  margin-bottom: 9px;
}

.facebook-benefit-grid span {
  display: block;
  color: #49646e;
  font-size: .98rem;
  line-height: 1.5;
  font-weight: 750;
}

.facebook-feed-copy .compact-actions {
  gap: 12px;
  margin: 18px 0 14px;
}

.facebook-feed-copy .btn {
  min-height: 50px;
  padding: 0 24px;
  font-size: .93rem;
}

.facebook-note {
  max-width: none;
  margin-top: 0;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(238, 248, 251, .94);
  border: 1px solid rgba(201, 223, 231, .82);
  color: #415b65;
  font-size: .88rem;
  line-height: 1.38;
  font-weight: 850;
}

.facebook-tablet-wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 760px;
  height: 100%;
}

.tablet-shell {
  width: min(100%, 590px);
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,0) 34%),
    #082f3c;
  box-shadow: 0 32px 80px rgba(8, 61, 77, .28);
  border: 1px solid rgba(255,255,255,.28);
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.tablet-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.10);
}

.tablet-camera {
  width: 8px;
  height: 8px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 0 0 4px rgba(31, 179, 231, .18), inset 0 0 0 2px rgba(8,61,77,.5);
}

.tablet-status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 18px 18px 0 0;
  color: #dff6fb;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-bottom: 0;
  font-size: .9rem;
}

.tablet-status strong {
  color: #fff;
}

.tablet-status span:last-child {
  color: #b9dbe4;
  margin-left: auto;
  font-weight: 800;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rr-blue);
  box-shadow: 0 0 0 6px rgba(31, 179, 231, .18);
  flex: 0 0 auto;
}

.tablet-screen {
  height: 760px;
  flex: 1 1 auto;
  min-height: 720px;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.10);
}

.tablet-screen iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  height: 100%;
  min-height: 720px;
  margin: 0 auto;
  background: #fff;
}

.tablet-home-bar {
  width: 94px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
}

@media (max-width: 980px) {
  .facebook-feed-grid {
    grid-template-columns: 1fr;
  }

  .facebook-feed-copy {
    min-height: auto;
    text-align: center;
  }

  .facebook-feed-copy h2,
  .facebook-feed-copy .large-copy,
  .facebook-note {
    margin-left: auto;
    margin-right: auto;
  }

  .facebook-feed-points,
  .facebook-feed-copy .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .facebook-feed-copy {
    padding: 24px;
    border-radius: 30px;
  }

  
.facebook-compact-summary {
  display: grid;
  gap: 5px;
  padding: 17px 18px;
  border-radius: 22px;
  background: rgba(238, 248, 251, .88);
  border: 1px solid rgba(201, 223, 231, .78);
  color: #415b65;
  box-shadow: 0 12px 24px rgba(8, 61, 77, .05);
}

.facebook-compact-summary strong {
  color: var(--rr-dark);
  font-size: 1rem;
  line-height: 1.22;
}

.facebook-compact-summary span {
  color: #49646e;
  font-size: .94rem;
  line-height: 1.38;
  font-weight: 760;
}

.facebook-benefit-grid {
    grid-template-columns: 1fr;
  }

  .tablet-shell {
    padding: 12px;
    border-radius: 30px;
  }

  .tablet-screen {
    height: 620px;
    min-height: 620px;
  }

  .tablet-screen iframe {
    height: 100%;
    min-height: 620px;
  }

  .tablet-status {
    font-size: .76rem;
    padding: 0 10px;
  }

  .tablet-status span:last-child {
    display: none;
  }
}

/* Service area homepage section */
.service-area-section {
  position: relative;
  overflow: hidden;
  padding: 46px 0 52px;
  background:
    radial-gradient(circle at 8% 12%, rgba(31, 179, 231, .13), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
}

.service-area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.service-area-copy {
  padding: 24px 26px;
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(201, 223, 231, .82);
  box-shadow: 0 14px 34px rgba(8, 61, 77, .08);
}

.service-area-copy h2 {
  max-width: 760px;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  letter-spacing: -.045em;
  margin-bottom: 10px;
}

.service-area-copy .large-copy {
  max-width: 850px;
  font-size: 1.04rem;
  margin-bottom: 0;
}

.service-area-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-area-actions .btn {
  min-height: 44px;
  padding: 12px 17px;
}

.service-radius-card {
  position: relative;
  min-height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(201, 223, 231, .9);
  box-shadow: 0 14px 34px rgba(8, 61, 77, .10);
}

.service-radius-card img {
  width: 100%;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
}

.radius-card-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(8, 61, 77, .92);
  color: #fff;
  backdrop-filter: blur(10px);
}

.radius-card-copy strong,
.radius-card-copy span {
  display: block;
}

.radius-card-copy strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.radius-card-copy span {
  color: #cfeef6;
  margin-top: 3px;
  font-size: .82rem;
  font-weight: 800;
}

.town-pill-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(201, 223, 231, .9);
  box-shadow: var(--shadow-card);
}

.town-group {
  min-width: 0;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(245,251,253,.95), rgba(255,255,255,.86));
  border: 1px solid rgba(201, 223, 231, .65);
}

.town-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: .95rem;
  line-height: 1.18;
  color: var(--rr-dark);
}

.town-group h3::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--rr-blue);
  box-shadow: 0 0 0 5px rgba(31, 179, 231, .12);
}

.town-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.town-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef8fb;
  border: 1px solid rgba(201, 223, 231, .96);
  color: var(--rr-dark);
  font-weight: 900;
  font-size: .8rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(8, 61, 77, .04);
}

.town-pills span:nth-child(3n) {
  background: rgba(31, 179, 231, .10);
}

.town-pills span:nth-child(4n) {
  background: rgba(0, 163, 163, .10);
}

.service-area-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(238, 248, 251, .78);
  border: 1px solid rgba(201, 223, 231, .72);
  color: #49646e;
  font-weight: 800;
  font-size: .95rem;
}

@media (max-width: 1100px) {
  .service-area-layout {
    grid-template-columns: 1fr;
  }

  .service-radius-card {
    display: none;
  }
}

@media (max-width: 920px) {
  .town-pill-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .service-area-section {
    padding: 36px 0 42px;
  }

  .service-area-copy {
    padding: 20px;
    border-radius: 26px;
  }

  .town-pill-panel {
    padding: 12px;
    border-radius: 26px;
  }

  .town-group {
    padding: 14px;
    border-radius: 20px;
  }

  .town-pills span {
    min-height: 29px;
    font-size: .78rem;
    padding: 0 9px;
  }
}

.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.brand-logo-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #eef8fb 100%);
  border: 1px solid rgba(151, 207, 222, .78);
  box-shadow: 0 16px 34px rgba(8, 61, 77, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brand-logo-card:hover,
.brand-logo-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(30, 181, 221, .95);
  box-shadow: 0 20px 42px rgba(8, 61, 77, .12);
  outline: none;
}

.brand-logo-card img {
  display: block;
  width: 100%;
  max-width: 210px;
  height: 58px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .brand-logo-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-card {
    min-height: 82px;
  }
}


/* Insurance claims guide page */
.insurance-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 68px;
  background:
    radial-gradient(circle at 88% 18%, rgba(31, 179, 231, .22), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(0, 163, 163, .13), transparent 34%),
    linear-gradient(135deg, #e3f0f4 0%, #f8fdff 64%, #ffffff 100%);
}

.insurance-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,61,77,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,61,77,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 88%);
}

.insurance-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 46px;
  align-items: center;
}

.insurance-hero-copy h1 {
  font-size: clamp(2.55rem, 5.2vw, 5.2rem);
  max-width: 860px;
}

.insurance-hero-art {
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,223,231,.85);
  background: #fff;
  transform: none;
}

.insurance-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 840px;
}

.insurance-proof-row div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(201,223,231,.88);
  box-shadow: 0 12px 28px rgba(8,61,77,.08);
}

.insurance-proof-row strong,
.insurance-proof-row span {
  display: block;
}

.insurance-proof-row strong {
  color: var(--rr-dark);
  font-size: 1.02rem;
}

.insurance-proof-row span {
  color: #49646e;
  margin-top: 4px;
  font-size: .9rem;
  font-weight: 760;
}

.insurance-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insurance-step-card {
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(201,223,231,.88);
  box-shadow: var(--shadow-card);
}

.insurance-step-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rr-blue);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.insurance-step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.insurance-step-card p {
  color: #49646e;
}

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.carrier-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(201,223,231,.88);
  box-shadow: var(--shadow-card);
}

.carrier-logo-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #eef8fb 100%);
  border: 1px solid rgba(151,207,222,.65);
  margin-bottom: 14px;
}

.carrier-logo-wrap img {
  width: 100%;
  max-width: 235px;
  height: 62px;
  object-fit: contain;
}

.carrier-tag {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31,179,231,.12);
  color: var(--rr-dark);
  border: 1px solid rgba(31,179,231,.22);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  margin-bottom: 10px;
}

.carrier-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.carrier-card p {
  color: #49646e;
  font-size: .98rem;
}

.carrier-card p strong {
  color: var(--rr-dark);
}

.carrier-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.carrier-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: .82rem;
}

.claim-phone {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef8fb;
  border: 1px solid rgba(201,223,231,.85);
  color: var(--rr-dark);
  font-weight: 900;
  font-size: .84rem;
}

.insurance-disclaimer-card {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(238,248,251,.92);
  border: 1px solid rgba(201,223,231,.88);
  color: #49646e;
  box-shadow: 0 12px 28px rgba(8,61,77,.06);
}

.insurance-disclaimer-card strong,
.insurance-disclaimer-card span {
  display: block;
}

.insurance-disclaimer-card strong {
  color: var(--rr-dark);
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.do-dont-grid,
.inspection-grid,
.iowa-rules-grid,
.documentation-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 34px;
  align-items: center;
}

.do-dont-copy h2,
.documentation-copy h2,
.iowa-rules-card h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -.045em;
}

.do-dont-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.do-panel,
.dont-panel,
.iowa-rules-card,
.inspection-cards article {
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(201,223,231,.88);
  box-shadow: var(--shadow-card);
}

.do-panel {
  border-color: rgba(0,163,110,.22);
  background: linear-gradient(180deg, #f3fff8, #fff);
}

.dont-panel {
  border-color: rgba(232,93,93,.24);
  background: linear-gradient(180deg, #fff8f7, #fff);
}

.do-panel h3,
.dont-panel h3 {
  margin-bottom: 16px;
}

.x-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.x-list li {
  position: relative;
  padding-left: 34px;
  color: #49646e;
}

.x-list li::before,
.x-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: .64em;
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: var(--rr-danger);
}

.x-list li::before { transform: rotate(45deg); }
.x-list li::after { transform: rotate(-45deg); }

.do-dont-art,
.inspection-art,
.documentation-art {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,223,231,.86);
  background: #fff;
}

.inspection-grid {
  grid-template-columns: .92fr 1.08fr;
}

.inspection-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.inspection-cards article strong {
  display: block;
  color: var(--rr-dark);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.inspection-cards article p {
  color: #49646e;
  margin: 0;
}

.claim-terms-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(31,179,231,.18), transparent 28%),
    linear-gradient(135deg, var(--rr-dark) 0%, var(--rr-dark-2) 100%);
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.term-grid article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
}

.term-grid article h3 {
  color: #fff;
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.term-grid article p {
  color: #cfeef6;
}

.iowa-rules-grid {
  grid-template-columns: 1.05fr .95fr;
}

.iowa-rules-card p {
  color: #49646e;
  font-size: 1.06rem;
}

.caution-card h3 {
  font-size: 1.65rem;
  margin-bottom: 16px;
}

.documentation-grid {
  grid-template-columns: .86fr 1fr;
}

.big-checks li {
  font-size: 1.05rem;
  color: #49646e;
  font-weight: 750;
}

@media (max-width: 1120px) {
  .insurance-hero-grid,
  .do-dont-grid,
  .inspection-grid,
  .iowa-rules-grid,
  .documentation-grid {
    grid-template-columns: 1fr;
  }

  .carrier-grid,
  .insurance-step-grid,
  .term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .insurance-hero {
    padding: 52px 0 46px;
  }

  .insurance-proof-row,
  .carrier-grid,
  .insurance-step-grid,
  .do-dont-panels,
  .inspection-cards,
  .term-grid {
    grid-template-columns: 1fr;
  }

  .carrier-card,
  .insurance-step-card,
  .do-panel,
  .dont-panel,
  .iowa-rules-card,
  .inspection-cards article {
    padding: 20px;
    border-radius: 22px;
  }

  .carrier-actions .btn,
  .claim-phone {
    width: 100%;
    justify-content: center;
  }
}

/* Current projects timeline page */
.main-nav a.active::after {
  transform: scaleX(1);
}

.projects-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    radial-gradient(circle at 88% 12%, rgba(31, 179, 231, .28), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(0, 163, 163, .12), transparent 34%),
    linear-gradient(135deg, #e3f0f4 0%, #f8fdff 64%, #ffffff 100%);
}

.projects-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,61,77,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,61,77,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.68), transparent 88%);
  pointer-events: none;
}

.projects-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .94fr;
  gap: 46px;
  align-items: center;
}

.projects-hero-copy h1 {
  font-size: clamp(2.55rem, 5.2vw, 5.2rem);
  max-width: 880px;
}

.project-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.project-status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(201,223,231,.88);
  color: var(--rr-dark);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(8,61,77,.07);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  background: var(--rr-blue);
}

.status-dot.current { background: var(--rr-teal); }
.status-dot.scheduled { background: var(--rr-warn); }
.status-dot.completed { background: var(--rr-dark); }

.projects-hero-media {
  position: relative;
  min-height: 560px;
}

.project-hero-photo {
  position: absolute;
  overflow: hidden;
  background: #fff;
  border: 10px solid #fff;
  box-shadow: var(--shadow-soft);
}

.project-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-photo.primary {
  inset: 42px 96px 42px 0;
  border-radius: 38px;
  transform: none;
}

.project-hero-photo.secondary {
  right: 0;
  width: 44%;
  height: 210px;
  border-radius: 28px;
}

.project-hero-photo.secondary.top {
  top: 0;
  transform: none;
}

.project-hero-photo.secondary.bottom {
  bottom: 0;
  transform: none;
}

.project-intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: end;
}

.project-intro-grid h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.045em;
}

.project-intro-grid .large-copy {
  color: #49646e;
  font-size: 1.12rem;
}

.project-timeline-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(31,179,231,.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
}

.project-town-pill-nav {
  margin: 0 auto 34px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(31,179,231,.14), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,248,251,.92));
  border: 1px solid rgba(201,223,231,.92);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.project-town-pill-head {
  display: grid;
  gap: 4px;
  justify-items: center;
  margin-bottom: 16px;
}

.project-town-pill-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(8,61,77,.08);
  color: var(--rr-dark);
  font-size: .78rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-town-pill-head p {
  max-width: 680px;
  margin: 0;
  color: #4a626c;
  font-weight: 750;
}

.project-town-pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.project-town-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(31,179,231,.28);
  color: var(--rr-dark);
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(8,61,77,.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.project-town-pill span {
  font-weight: 950;
  font-size: .95rem;
  line-height: 1.1;
}

.project-town-pill small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(238,248,251,.96);
  color: #4a626c;
  font-size: .72rem;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.project-town-pill.has-featured {
  border-color: rgba(249,178,78,.72);
  background: linear-gradient(135deg, #fff, rgba(255,246,231,.94));
}

.project-town-pill.has-featured::before {
  content: "★";
  color: #a76500;
  font-size: .9rem;
  line-height: 1;
}

.project-town-pill:hover,
.project-town-pill:focus {
  transform: translateY(-2px);
  border-color: var(--rr-blue);
  box-shadow: 0 18px 32px rgba(8,61,77,.14);
  outline: none;
}

@media (max-width: 560px) {
  .project-town-pill-nav {
    margin-bottom: 24px;
    padding: 17px 12px;
    border-radius: 26px;
  }

  .project-town-pill-list {
    gap: 9px;
  }

  .project-town-pill {
    width: 100%;
    max-width: 330px;
    min-height: 48px;
  }
}

.project-timeline {
  position: relative;
  display: grid;
  gap: 26px;
}

.project-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(var(--rr-teal), var(--rr-blue), var(--rr-dark));
}

.project-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.timeline-marker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 34px;
}

.timeline-marker span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 7px solid var(--rr-teal);
  box-shadow: 0 12px 28px rgba(8,61,77,.18);
}

.project-timeline-item:nth-child(2) .timeline-marker span {
  border-color: var(--rr-warn);
}

.project-timeline-item:nth-child(n+3) .timeline-marker span {
  border-color: var(--rr-dark);
}

.timeline-card {
  padding: 30px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(201,223,231,.88);
  box-shadow: var(--shadow-card);
}

.featured-project .timeline-card {
  border-color: rgba(31,179,231,.46);
  box-shadow: var(--shadow-soft);
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--rr-dark);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-status.current {
  background: var(--rr-teal);
}

.project-status.scheduled {
  background: var(--rr-warn);
  color: var(--rr-dark);
}

.project-status.completed {
  background: var(--rr-dark);
}

.project-location {
  color: var(--rr-muted);
  font-weight: 900;
}

.timeline-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.project-description {
  color: #49646e;
  font-size: 1.08rem;
  max-width: 1040px;
  margin-bottom: 24px;
}

.project-photo-grid {
  display: grid;
  gap: 14px;
}

.project-photo-grid.three-photo {
  grid-template-columns: 1.2fr .9fr .9fr;
}

.project-photo-grid figure {
  position: relative;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--rr-light);
  border: 1px solid rgba(201,223,231,.88);
}

.project-photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform .25s ease;
}

.project-photo-grid figure:first-child img {
  min-height: 250px;
}

.project-photo-grid figure:hover img {
  transform: scale(1.035);
}

.project-photo-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(8,61,77,.9);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

@media (max-width: 1120px) {
  .projects-hero-grid,
  .project-intro-grid {
    grid-template-columns: 1fr;
  }

  .projects-hero-media {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .project-timeline::before {
    left: 16px;
  }

  .project-timeline-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline-marker {
    padding-top: 30px;
  }

  .timeline-marker span {
    width: 24px;
    height: 24px;
    border-width: 6px;
  }

  .timeline-card {
    padding: 22px;
    border-radius: 26px;
  }

  .project-photo-grid.three-photo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .projects-hero {
    padding: 54px 0 48px;
  }

  .projects-hero-media {
    min-height: 380px;
  }

  .project-hero-photo.primary {
    inset: 36px 60px 36px 0;
    border-radius: 28px;
  }

  .project-hero-photo.secondary {
    width: 46%;
    height: 145px;
    border-radius: 20px;
    border-width: 7px;
  }

  .project-status-legend span {
    font-size: .84rem;
  }

  .project-meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-photo-grid figure,
  .project-photo-grid img,
  .project-photo-grid figure:first-child img {
    min-height: 220px;
  }
}


/* Project timeline photo lightbox and larger inspection thumbnails. */
.project-photo-grid {
  gap: 18px;
}
.project-photo-grid figure {
  min-height: 260px;
}
.project-photo-grid img {
  min-height: 260px;
}
.project-photo-grid figure:first-child img {
  min-height: 320px;
}
.project-public-photo-button {
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.project-public-photo-button img {
  display: block;
}
.project-public-photo-button:focus-visible {
  outline: 4px solid rgba(31,179,231,.75);
  outline-offset: -6px;
}
.project-public-lightbox-open { overflow: hidden; }
.project-public-lightbox[hidden] { display: none; }
.project-public-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 22px;
}
.project-public-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 23, 29, .82);
  backdrop-filter: blur(6px);
}
.project-public-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}
.project-public-lightbox-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.project-public-lightbox-top strong {
  display: block;
  color: var(--rr-dark);
  font-size: 1.05rem;
  font-weight: 950;
}
.project-public-lightbox-top span {
  display: block;
  color: var(--rr-muted);
  font-weight: 850;
  font-size: .9rem;
}
.project-public-lightbox-close {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--rr-dark);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.project-public-lightbox-stage {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: #071c22;
}
.project-public-lightbox-stage img {
  max-width: 100%;
  max-height: min(70vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.project-public-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 68px;
  border: 0;
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  color: var(--rr-dark);
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.project-public-lightbox-nav.prev { left: 14px; }
.project-public-lightbox-nav.next { right: 14px; }
.project-public-lightbox-nav:disabled { opacity: .35; cursor: not-allowed; }
.project-public-lightbox-caption {
  margin: 0;
  color: #334d56;
  font-weight: 850;
}
@media (max-width: 900px) {
  .project-photo-grid figure,
  .project-photo-grid img,
  .project-photo-grid figure:first-child img { min-height: 260px; }
}
@media (max-width: 700px) {
  .project-public-lightbox { padding: 10px; }
  .project-public-lightbox-panel { width: calc(100vw - 18px); max-height: calc(100vh - 18px); padding: 12px; border-radius: 20px; }
  .project-public-lightbox-stage img { max-height: 62vh; }
  .project-public-lightbox-nav { width: 42px; height: 56px; font-size: 2.1rem; }
}

/* Featured project emphasis for the public timeline. */
.manually-featured-project .timeline-card {
  position: relative;
  border-color: rgba(210,165,51,.72);
  background: linear-gradient(135deg, #fffdf4 0%, #ffffff 55%, #effaff 100%);
  box-shadow: 0 28px 70px rgba(74,54,0,.16), 0 10px 28px rgba(8,61,77,.12);
}
.manually-featured-project .timeline-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-radius: 32px 0 0 32px;
  background: linear-gradient(180deg, #ffd95b, #1bb0df);
}
.project-featured-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffd95b;
  color: #3f2a00;
  border: 1px solid rgba(113,78,0,.18);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 8px 16px rgba(74,54,0,.1);
}

/* Town-specific project timeline links */
.project-town-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.project-town-link:hover,
.project-town-link:focus {
  color: var(--color-blue, #17a8d6);
}
.town-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.town-page-card {
  display: block;
  border: 1px solid rgba(2, 44, 54, 0.14);
  border-radius: 22px;
  padding: 1.25rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(8, 48, 60, .08);
}
.town-page-card:hover,
.town-page-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(8, 48, 60, .12);
}
.town-page-card strong {
  display: block;
  color: var(--color-ink, #043847);
  font-size: 1.1rem;
  margin-bottom: .35rem;
}
.town-page-card span {
  display: block;
  color: var(--color-muted, #48636b);
  font-size: .95rem;
}

/* Town-specific project page hero enrichment */
.town-hero-feature {
  position: relative;
  min-height: clamp(560px, 72vh, 780px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background: #062631;
}
.town-hero-image,
.town-hero-overlay {
  position: absolute;
  inset: 0;
}
.town-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Landmark photos often have the useful subject in the upper portion
     (water tower names, rooflines, courthouse tops, signs). Bias the crop
     upward so the hero does not cut off the most recognizable part. */
  object-position: 50% 14%;
  display: block;
  filter: saturate(1.06) contrast(1.05);
}
.town-hero-overlay {
  background:
    radial-gradient(circle at 78% 20%, rgba(28, 176, 223, .26), transparent 34%),
    linear-gradient(90deg, rgba(1, 23, 31, .88) 0%, rgba(1, 23, 31, .72) 42%, rgba(1, 23, 31, .34) 100%),
    linear-gradient(180deg, rgba(1, 23, 31, .28), rgba(1, 23, 31, .78));
}
.town-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: end;
  width: 100%;
  padding-top: clamp(4.5rem, 10vh, 8rem);
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
}
.town-hero-panel {
  max-width: 840px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 32px;
  padding: clamp(1.4rem, 3.5vw, 3rem);
  background: linear-gradient(135deg, rgba(4, 54, 68, .86), rgba(1, 24, 32, .72));
  backdrop-filter: blur(9px);
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
}
.town-robertson-mark {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  max-width: 100%;
  margin-bottom: 1.2rem;
  padding: .65rem .9rem;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  color: var(--rr-dark, #063847);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.town-robertson-mark img {
  width: 168px;
  max-width: 44vw;
  height: auto;
  display: block;
}
.town-robertson-mark span {
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: #0c5265;
  white-space: nowrap;
}
.town-hero-panel .eyebrow { color: #8fe6ff; }
.town-hero-panel h1 {
  margin: .25rem 0 .9rem;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5.65rem);
  line-height: .95;
  letter-spacing: -.065em;
}
.town-summary-copy {
  max-width: 72ch;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}
.town-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.35rem 0 1.5rem;
}
.town-hero-facts div {
  min-width: 136px;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  background: rgba(255,255,255,.1);
}
.town-hero-facts strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}
.town-hero-facts span {
  display: block;
  margin-top: .25rem;
  color: rgba(255,255,255,.78);
  font-weight: 850;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.town-hero-actions .btn-dark-outline {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
}
.town-photo-credit {
  margin: 1rem 0 0;
  color: rgba(255,255,255,.64);
  font-size: .8rem;
  font-weight: 750;
}
.town-map-card {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}
.town-map-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  color: var(--rr-dark, #063847);
}
.town-map-head strong {
  font-weight: 950;
  line-height: 1.1;
}
.town-map-head span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 950;
  color: #178bad;
}
.town-map-card iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
@media (max-width: 980px) {
  .town-hero-content { grid-template-columns: 1fr; align-items: end; }
  .town-map-card { max-width: 560px; width: 100%; }
}
@media (max-width: 620px) {
  .town-hero-feature { min-height: auto; }
  .town-hero-content { padding-top: 2.6rem; padding-bottom: 2rem; }
  .town-hero-panel { border-radius: 24px; }
  .town-robertson-mark { display: flex; width: 100%; justify-content: center; flex-wrap: wrap; }
  .town-robertson-mark img { max-width: 230px; width: 100%; }
  .town-robertson-mark span { white-space: normal; text-align: center; }
  .town-hero-facts div { flex: 1 1 140px; }
  .town-map-card iframe { height: 240px; }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 34px 0;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    font-size: .76rem;
  }

  .footer-links a {
    min-height: 40px;
    padding: 9px 10px;
  }
}

@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Header navigation pill cleanup */
.header-right {
  width: min(100%, 920px);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: clamp(.78rem, .78vw, .9rem);
  line-height: 1.12;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
  color: #fff;
  text-align: center;
  white-space: normal;
  max-width: 132px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  transform: translateY(-1px);
  background: var(--rr-blue);
  border-color: rgba(255,255,255,.46);
  box-shadow: 0 10px 24px rgba(31,179,231,.22), inset 0 1px 0 rgba(255,255,255,.18);
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 16px;
  }

  .brand img {
    width: 184px;
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav a {
    min-height: 38px;
    padding: 7px 12px;
    max-width: 120px;
  }
}

@media (max-width: 820px) {
  .header-right {
    width: auto;
  }

  .main-nav,
  .header-actions {
    align-items: stretch;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .main-nav a {
    width: 100%;
    max-width: none;
    min-height: 46px;
    padding: 9px 12px;
  }
}

@media (max-width: 460px) {
  .main-nav {
    grid-template-columns: 1fr;
  }

  .main-nav a {
    min-height: 44px;
  }
}

/* Balanced header navigation rows */
.header-right {
  width: min(100%, 940px);
}

.main-nav {
  --nav-balanced-cols: 1;
  display: grid;
  grid-template-columns: repeat(var(--nav-balanced-cols), minmax(0, 1fr));
  justify-content: end;
  justify-items: stretch;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: calc((var(--nav-balanced-cols) * 138px) + ((var(--nav-balanced-cols) - 1) * 10px));
  margin-left: auto;
}

.main-nav a {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.12;
}

@media (max-width: 820px) {
  .header-right {
    width: auto;
  }

  .main-nav {
    width: 100%;
    max-width: none;
    margin-left: 0;
    gap: 10px;
  }

  .main-nav a {
    min-height: 46px;
  }
}

@media (max-width: 420px) {
  .main-nav {
    --nav-balanced-cols: 1 !important;
  }
}


/* Town page readability + map/town CTA polish */
.site-header .phone-link {
  color: #ffffff;
  font-weight: 950;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}

.site-header .phone-link:hover,
.site-header .phone-link:focus-visible {
  color: #d9f7ff;
}

.town-hero-feature .btn-dark-outline,
.projects-hero .btn-dark-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.12);
  text-shadow: 0 1px 2px rgba(0,0,0,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.town-hero-feature .btn-dark-outline:hover,
.town-hero-feature .btn-dark-outline:focus-visible,
.projects-hero .btn-dark-outline:hover,
.projects-hero .btn-dark-outline:focus-visible {
  color: var(--rr-dark, #063847);
  background: #ffffff;
  border-color: #ffffff;
  text-shadow: none;
}


/* Final pill overflow containment: town pages, CTA buttons, contact cards, and town links */
.btn,
.main-nav a,
.footer-links a,
.project-town-pill,
.town-hero-actions .btn,
.contact-cards a,
.contact-cards div,
.town-hero-facts div,
.town-map-head strong,
.town-page-card,
.project-town-link {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: normal;
}

.btn,
.town-hero-actions .btn,
.project-town-pill {
  height: auto;
  line-height: 1.12;
}

.town-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.town-hero-actions .btn {
  min-height: 44px;
  padding: 10px 20px;
  flex: 0 1 auto;
}

.contact-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

.contact-cards a,
.contact-cards div {
  justify-items: center;
  align-content: center;
}

.contact-cards strong,
.contact-cards span {
  max-width: 100%;
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.project-town-pill {
  flex-wrap: wrap;
  max-width: min(100%, 360px);
}

.project-town-pill span,
.project-town-pill small,
.town-hero-facts strong,
.town-hero-facts span,
.town-page-card strong,
.town-page-card span,
.project-town-link {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.town-hero-facts div {
  display: grid;
  justify-items: center;
  align-content: center;
}

.town-map-head {
  min-width: 0;
}

.town-map-head strong {
  text-align: left;
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .town-hero-actions .btn {
    width: 100%;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* Header pill breathing room */
.site-header {
  padding-bottom: 12px;
}

@media (max-width: 820px) {
  .site-header {
    padding-bottom: 14px;
  }
}


/* Main public timeline photo links now open the matching town/project page. */
.project-photo-link-to-town {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.project-photo-link-to-town:focus-visible {
  outline: 4px solid rgba(37, 184, 223, .55);
  outline-offset: 4px;
  border-radius: 18px;
}
.project-photo-link-to-town::after {
  content: 'View project';
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(3, 48, 61, .86);
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.project-photo-link-to-town:hover::after,
.project-photo-link-to-town:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.project-timeline-item[id] {
  scroll-margin-top: 120px;
}

/* Larger clickable town/date treatment on project timeline cards */
.project-meta-row .project-place-date {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.project-meta-row .project-location {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.project-town-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  max-width: 100%;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid rgba(31, 181, 224, .36);
  background: linear-gradient(135deg, #effbff 0%, #ffffff 48%, #dff6ff 100%);
  color: #053a49;
  box-shadow: 0 10px 22px rgba(7, 48, 62, .10), inset 0 1px 0 rgba(255,255,255,.92);
  font-size: clamp(1.02rem, 1.45vw, 1.26rem);
  font-weight: 950;
  letter-spacing: -.015em;
  line-height: 1.05;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.project-town-pill-link:hover,
.project-town-pill-link:focus {
  color: #002f3e;
  border-color: rgba(31, 181, 224, .78);
  background: linear-gradient(135deg, #ffffff 0%, #e6f9ff 52%, #bdeeff 100%);
  box-shadow: 0 14px 28px rgba(7, 48, 62, .15), 0 0 0 3px rgba(31, 181, 224, .14);
  text-decoration: none;
  transform: translateY(-1px);
}

.project-town-pill-link.is-static {
  cursor: default;
}

.project-town-arrow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  background: #1fb5e0;
  color: #fff;
  font-size: .92rem;
  line-height: 1;
  box-shadow: 0 7px 14px rgba(31,181,224,.26);
}

.project-date-pill {
  display: inline-grid;
  align-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(8, 65, 79, .16);
  background: rgba(255, 255, 255, .88);
  color: #073a49;
  box-shadow: 0 8px 18px rgba(7, 48, 62, .07), inset 0 1px 0 rgba(255,255,255,.9);
  line-height: 1.03;
  text-align: left;
}

.project-date-pill .project-date-label {
  display: block;
  color: #5a737d;
  font-size: .63rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.project-date-pill strong {
  display: block;
  color: #073a49;
  font-size: clamp(.98rem, 1.25vw, 1.16rem);
  font-weight: 950;
  letter-spacing: -.02em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .project-meta-row .project-place-date {
    width: 100%;
    gap: 8px;
  }

  .project-town-pill-link,
  .project-date-pill {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .project-date-pill {
    justify-items: center;
  }
}


/* Before / After spotlight card */
.before-after-spotlight {
  position: relative;
  padding-top: 46px;
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 12% 10%, rgba(31, 179, 231, .18), transparent 30%),
    linear-gradient(180deg, #f7fcfe 0%, #eef8fb 100%);
}

.before-after-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(238,249,252,.98) 54%, rgba(223,245,250,.98) 100%);
  border: 1px solid rgba(201, 223, 231, .95);
  box-shadow: 0 30px 85px rgba(8, 61, 77, .16);
}

.before-after-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  background: rgba(31, 179, 231, .14);
  pointer-events: none;
}

.before-after-card::after {
  content: "";
  position: absolute;
  inset: 28px auto auto -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(0, 163, 163, .09);
  pointer-events: none;
}

.before-after-copy {
  position: relative;
  z-index: 1;
}

.before-after-copy h2 {
  margin: 8px 0 14px;
  color: var(--rr-dark);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.before-after-copy .large-copy {
  max-width: 600px;
}

.before-after-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.before-after-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 179, 231, .28);
  color: var(--rr-dark);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 61, 77, .07);
}

.before-after-photo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.before-after-panel {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  border: 9px solid #fff;
  box-shadow: 0 18px 46px rgba(8, 61, 77, .17);
}

.before-after-panel img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.before-after-panel figcaption {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  backdrop-filter: blur(9px);
}

.before-panel figcaption {
  background: rgba(8, 61, 77, .92);
}

.after-panel {
  border-color: #ffffff;
  transform: none !important;
  rotate: 0deg !important;
}

.after-panel figcaption {
  background: linear-gradient(135deg, var(--rr-blue), var(--rr-teal));
}

.before-after-gallery-item figcaption {
  background: linear-gradient(135deg, rgba(8,61,77,.92), rgba(0,163,163,.88));
}

@media (max-width: 1100px) {
  .before-after-card {
    grid-template-columns: 1fr;
  }

  .before-after-panel,
  .before-after-panel img {
    min-height: 0;
  }

  .after-panel {
    transform: none !important;
    rotate: 0deg !important;
  }
}

@media (max-width: 760px) {
  .before-after-spotlight {
    padding-top: 32px;
    padding-bottom: 38px;
  }

  .before-after-card {
    padding: 20px;
    border-radius: 30px;
  }

  .before-after-photo-grid {
    grid-template-columns: 1fr;
  }

  .before-after-panel,
  .before-after-panel img {
    min-height: 0;
    border-radius: 24px;
  }

  .before-after-panel {
    border-width: 7px;
  }

  .before-after-panel figcaption {
    left: 14px;
    top: 14px;
    min-height: 36px;
    padding: 8px 14px;
    font-size: .82rem;
  }
}



/* v33 polish: keep all public-facing photo cards and branded panels straight. */
.hero-photo-card,
.storm-feature-image,
.insurance-hero-art,
.project-hero-photo,
.home-gallery-item,
.before-after-frame,
.before-after-photo,
.service-card,
.inspection-art,
.claim-step,
.carrier-card,
.project-card,
.photo-card {
  rotate: 0deg !important;
}

/* v34 hero/site-photo polish: keep Robertson project photos straight, full-width, and readable. */
.home-hero-media,
.hero-mosaic,
.mosaic-card,
.mosaic-card img,
.site-photo-no-crop,
img[src*="robertson-aerial-completed-roof-no-watermark-wide"],
img[src*="robertson-roof-installation-sunset-no-watermark-wide"],
img[src*="residential-roof-03"] {
  transform: none !important;
  rotate: 0deg !important;
}

.hero-mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  gap: clamp(12px, 2vw, 18px) !important;
}

.hero-mosaic .mosaic-card {
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  background: linear-gradient(180deg, #f7fcfe, #eef8fb) !important;
}

.hero-mosaic .mosaic-card img,
.home-hero-media .site-photo-no-crop {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

.mosaic-large {
  grid-column: 1 / -1 !important;
}

.home-hero-media .floating-quote-card {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 20px 12px 0 !important;
  padding: 22px 26px !important;
  border: 1px solid rgba(31, 179, 231, .46) !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(31,179,231,.32), transparent 36%),
    linear-gradient(135deg, #073b4b 0%, #07556a 54%, #063444 100%) !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.34) !important;
  box-shadow: 0 22px 48px rgba(8, 61, 77, .22), inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.home-hero-media .floating-quote-card strong {
  color: #ffffff !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
}

.home-hero-media .floating-quote-card span {
  color: #dcf7ff !important;
  font-weight: 700 !important;
}

.service-card-modern .site-photo-no-crop,
.home-gallery-item .site-photo-no-crop,
.hero-photo-card .site-photo-no-crop {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #eef8fb !important;
}

@media (max-width: 820px) {
  .hero-mosaic {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  .mosaic-card,
  .mosaic-large,
  .mosaic-small,
  .mosaic-small.top,
  .mosaic-small.bottom {
    height: auto !important;
    min-height: 0 !important;
  }
}

/* v35 hero/project image polish: watermark-free wide crops, no distortion, full-width cards. */
img[src*="robertson-aerial-completed-roof-no-watermark-wide"],
img[src*="robertson-roof-installation-sunset-no-watermark-wide"] {
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  rotate: 0deg !important;
  object-position: center center !important;
}

.home-hero-media .hero-mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto auto !important;
  align-items: stretch !important;
  gap: clamp(14px, 2vw, 20px) !important;
}

.home-hero-media .mosaic-card {
  height: auto !important;
  min-height: 0 !important;
  background: #ffffff !important;
  transform: none !important;
  rotate: 0deg !important;
}

.home-hero-media .mosaic-large {
  grid-column: 1 / -1 !important;
  aspect-ratio: 16 / 9 !important;
}

.home-hero-media .mosaic-small {
  aspect-ratio: 16 / 9 !important;
}

.home-hero-media .hero-mosaic .mosaic-card img,
.home-hero-media .hero-mosaic .site-photo-no-crop,
.home-hero-media img[src*="robertson-aerial-completed-roof-no-watermark-wide"],
.home-hero-media img[src*="robertson-roof-installation-sunset-no-watermark-wide"] {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  transform: none !important;
  rotate: 0deg !important;
}

.service-card-modern img[src*="robertson-roof-installation-sunset-no-watermark-wide"],
.home-gallery-item img[src*="robertson-aerial-completed-roof-no-watermark-wide"],
.home-gallery-item img[src*="robertson-roof-installation-sunset-no-watermark-wide"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  rotate: 0deg !important;
}

@media (max-width: 820px) {
  .home-hero-media .hero-mosaic {
    grid-template-columns: 1fr !important;
  }

  .home-hero-media .mosaic-card,
  .home-hero-media .mosaic-large,
  .home-hero-media .mosaic-small,
  .home-hero-media .mosaic-small.top,
  .home-hero-media .mosaic-small.bottom {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }
}

/* v36 hero photo fit fix: show full-width images without side-cropping. */
.home-hero-media .hero-mosaic {
  align-items: start !important;
}

.home-hero-media .mosaic-card,
.home-hero-media .mosaic-large,
.home-hero-media .mosaic-small,
.home-hero-media .mosaic-small.top,
.home-hero-media .mosaic-small.bottom {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  rotate: 0deg !important;
}

.home-hero-media .hero-mosaic .mosaic-card img,
.home-hero-media .hero-mosaic .site-photo-no-crop,
.home-hero-media img[src*="robertson-aerial-completed-roof-no-watermark-wide"],
.home-hero-media img[src*="robertson-roof-installation-sunset-no-watermark-wide"] {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  rotate: 0deg !important;
}

.home-hero-media .mosaic-large img {
  max-height: none !important;
}


/* v37 before/after polish: vertical full-width photos, no bottom text baked into images, no crooked styling. */
.before-after-photo-grid {
  grid-template-columns: 1fr !important;
  align-items: start !important;
}
.before-after-panel,
.before-after-panel img,
.before-panel,
.after-panel,
.before-after-card,
.before-after-points span,
.before-after-card .btn,
.home-gallery-item,
.service-card-modern,
.hero-photo-card,
.mosaic-card,
.storm-feature-image,
.inspection-art,
.claim-step,
.carrier-card,
.photo-card,
.project-card {
  transform: none !important;
  rotate: 0deg !important;
}
.before-after-panel img,
img[src*="robertson-before-exterior-transformation"],
img[src*="robertson-after-exterior-transformation"],
img[src*="robertson-before-after-exterior-transformation"] {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.before-after-panel {
  min-height: 0 !important;
}
.before-after-panel figcaption {
  transform: none !important;
  rotate: 0deg !important;
}

/* v38: show the combined before/after gallery photo as one full image, not a cropped slice. */
.home-gallery-item.before-after-gallery-item {
  grid-column: span 2;
  grid-row: span 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eefaff 0%, #ffffff 100%);
  border: 8px solid rgba(255,255,255,.96);
  border-radius: 28px;
  overflow: hidden;
  transform: none !important;
  rotate: 0deg !important;
  skew: 0deg !important;
}

.home-gallery-item.before-after-gallery-item img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  rotate: 0deg !important;
  skew: 0deg !important;
}

.home-gallery-item.before-after-gallery-item:hover img {
  transform: none !important;
}

.home-gallery-item.before-after-gallery-item figcaption {
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8,61,77,.96), rgba(0,163,163,.94));
  color: #fff;
  text-align: left;
  transform: none !important;
  rotate: 0deg !important;
  skew: 0deg !important;
}

@media (max-width: 900px) {
  .home-gallery-item.before-after-gallery-item {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* v40 insurance hero: readable stacked workflow panel instead of tiny single graphic */
.insurance-hero-process {
  width: min(100%, 560px);
  justify-self: end;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,251,255,.95));
  border: 1px solid rgba(174, 217, 229, .9);
  box-shadow: 0 28px 62px rgba(8,61,77,.14);
  transform: none !important;
  rotate: 0deg !important;
}

.claim-workflow-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 10px;
  border-bottom: 3px solid rgba(31, 179, 231, .24);
}

.claim-workflow-heading span {
  color: var(--rr-dark);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.claim-workflow-heading small {
  flex: 0 0 auto;
  color: #0b789a;
  font-weight: 900;
  font-size: .83rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.claim-workflow-card {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 138px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(191, 221, 230, .95);
  box-shadow: 0 14px 32px rgba(8,61,77,.095);
  transform: none !important;
  rotate: 0deg !important;
}

.claim-workflow-photo {
  overflow: hidden;
  border-radius: 16px;
  background: #e7f4f8;
  border: 1px solid rgba(191, 221, 230, .95);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.7);
}

.claim-workflow-photo img {
  display: block;
  width: 100%;
  height: 106px;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

.claim-workflow-icon {
  height: 106px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px 22px;
  background:
    linear-gradient(145deg, #eefaff, #ffffff);
  border: 1px solid rgba(191, 221, 230, .95);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.7);
}

.claim-workflow-icon::before {
  content: "CLAIM FILE";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e2f7ff;
  color: var(--rr-dark);
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.claim-workflow-icon span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22b8e5, rgba(34,184,229,.22));
}

.claim-workflow-icon span:nth-child(2) { width: 82%; }
.claim-workflow-icon span:nth-child(3) { width: 60%; }

.claim-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22b8e5, #0785bd);
  color: #fff;
  font-size: .78rem;
  font-weight: 950;
  box-shadow: 0 7px 16px rgba(34,184,229,.24);
}

.claim-workflow-copy h3 {
  margin: 8px 0 5px;
  color: var(--rr-dark);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1;
  letter-spacing: -.025em;
}

.claim-workflow-copy p {
  margin: 0;
  color: #385965;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 760;
}

.claim-workflow-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #14aedc, #02969d);
  color: #fff;
  font-weight: 950;
  letter-spacing: .02em;
  box-shadow: 0 14px 26px rgba(0, 150, 157, .18);
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}

.claim-workflow-footer span::before {
  content: "•";
  margin-right: 18px;
  opacity: .85;
}

@media (max-width: 1120px) {
  .insurance-hero-process {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .claim-workflow-heading,
  .claim-workflow-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .claim-workflow-card {
    grid-template-columns: 1fr;
  }

  .claim-workflow-photo img,
  .claim-workflow-icon {
    height: 180px;
  }

  .claim-workflow-footer span::before {
    display: none;
  }
}

/* v41 insurance inspection section: readable stacked panel instead of tiny flattened graphic */
.inspection-process-panel {
  width: min(100%, 520px);
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,251,255,.95));
  border: 1px solid rgba(174, 217, 229, .9);
  box-shadow: 0 28px 62px rgba(8,61,77,.12);
  transform: none !important;
  rotate: 0deg !important;
  overflow: visible;
}

.inspection-process-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 10px;
  border-bottom: 3px solid rgba(31, 179, 231, .24);
}

.inspection-process-heading span {
  color: var(--rr-dark);
  font-size: clamp(1.25rem, 2.1vw, 1.82rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.inspection-process-heading small {
  flex: 0 0 auto;
  color: #0b789a;
  font-weight: 900;
  font-size: .83rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.inspection-step-card {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 138px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(191, 221, 230, .95);
  box-shadow: 0 14px 32px rgba(8,61,77,.095);
  transform: none !important;
  rotate: 0deg !important;
}

.inspection-step-photo {
  overflow: hidden;
  border-radius: 16px;
  background: #e7f4f8;
  border: 1px solid rgba(191, 221, 230, .95);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.7);
}

.inspection-step-photo img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

.inspection-doc-icon {
  min-height: 112px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(145deg, #eefaff, #ffffff);
  border: 1px solid rgba(191, 221, 230, .95);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.7);
}

.inspection-doc-icon strong {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e2f7ff;
  color: var(--rr-dark);
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.inspection-doc-icon span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22b8e5, rgba(34,184,229,.22));
}

.inspection-doc-icon span:nth-child(3) { width: 82%; }
.inspection-doc-icon span:nth-child(4) { width: 64%; }

.inspection-step-copy h3 {
  margin: 0 0 7px;
  color: var(--rr-dark);
  font-size: clamp(1.18rem, 1.65vw, 1.52rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.inspection-step-copy p {
  margin: 0;
  color: #385965;
  font-size: 1rem;
  line-height: 1.38;
  font-weight: 730;
}

.inspection-process-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #14aedc, #02969d);
  color: #fff;
  font-weight: 950;
  letter-spacing: .02em;
  box-shadow: 0 14px 26px rgba(0,150,157,.18);
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}

.inspection-process-footer span::before {
  content: "•";
  margin-right: 18px;
  opacity: .85;
}

@media (max-width: 1120px) {
  .inspection-process-panel {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 620px) {
  .inspection-process-heading,
  .inspection-process-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .inspection-step-card {
    grid-template-columns: 1fr;
  }

  .inspection-step-photo img,
  .inspection-doc-icon {
    height: 180px;
  }

  .inspection-process-footer span::before {
    display: none;
  }
}


.site-credit {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-credit a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: #9b6a32;
  border-bottom-color: currentColor;
}
