:root {
  --navy: #041632;
  --navy-2: #1b2b48;
  --orange: #fd761a;
  --orange-soft: #ffdbca;
  --paper: #f7f9fb;
  --surface: #ffffff;
  --line: #d9dce1;
  --text: #191c1e;
  --muted: #555a61;
  --shadow: 0 24px 60px rgba(4, 22, 50, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

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

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 550, "GRAD" 0, "opsz" 24;
  display: inline-block;
  line-height: 1;
}

.client-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  color: white;
  background: rgba(4, 22, 50, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.client-brand,
.call-button,
.hero-actions,
.trust-row,
.widget-brand,
.widget-launcher,
.submit-widget {
  display: flex;
  align-items: center;
}

.client-brand {
  gap: 12px;
}

.client-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #341100;
  background: var(--orange);
}

.client-brand strong,
.client-brand small {
  display: block;
}

.client-brand strong {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}

.client-brand small {
  margin-top: 3px;
  color: #d7e2ff;
  font-size: 13px;
}

.client-header nav {
  display: flex;
  gap: 24px;
  color: #d7e2ff;
  font-size: 14px;
  font-weight: 750;
}

.client-header nav a:hover {
  color: white;
}

.call-button {
  min-height: 42px;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 8px;
  color: #341100;
  background: var(--orange);
  font-weight: 900;
}

.client-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 340px;
  gap: 32px;
  align-items: center;
  padding: 64px 32px;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.95), rgba(247, 249, 251, 0.74), rgba(4, 22, 50, 0.18)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-copy {
  max-width: 760px;
}

.service-area,
.eyebrow {
  color: #9d4300;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 14px 0 18px;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy p {
  max-width: 630px;
  margin-bottom: 28px;
  color: #30343a;
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.primary-cta,
.secondary-cta {
  min-height: 50px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.primary-cta {
  color: #341100;
  background: var(--orange);
  box-shadow: 0 18px 36px rgba(253, 118, 26, 0.24);
}

.secondary-cta {
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
}

.compact {
  min-height: 46px;
}

.trust-row {
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row span {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(4, 22, 50, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.trust-row strong {
  color: var(--navy);
  font-size: 20px;
  margin-right: 4px;
}

.inspection-card {
  padding: 24px;
  border-radius: 8px;
  color: white;
  background: rgba(4, 22, 50, 0.94);
  box-shadow: var(--shadow);
}

.inspection-card .material-symbols-outlined {
  color: var(--orange);
  font-size: 40px;
}

.inspection-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 26px;
}

.inspection-card p {
  margin: 0;
  color: #d7e2ff;
  line-height: 1.55;
}

.service-band,
.storm-section,
.reviews {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 54px 0;
}

.service-band article,
.reviews blockquote {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(4, 22, 50, 0.06);
}

.service-band .material-symbols-outlined {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #341100;
  background: var(--orange);
}

.service-band h2,
.storm-section h2,
.reviews h2 {
  color: var(--navy);
}

.service-band h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.service-band p,
.storm-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.storm-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.storm-section h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.1;
}

.storm-section p {
  margin-bottom: 22px;
  font-size: 17px;
}

.storm-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.reviews {
  padding: 64px 0;
}

.reviews h2 {
  margin-bottom: 18px;
  font-size: 34px;
}

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

blockquote {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

cite {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-style: normal;
  font-weight: 900;
}

.client-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 32px;
  color: #d7e2ff;
  background: var(--navy);
  font-size: 14px;
}

.client-footer a {
  color: #d7e2ff;
  margin-left: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.peakreply-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.widget-launcher {
  min-height: 56px;
  padding: 0 16px 0 10px;
  border: 0;
  border-radius: 999px;
  gap: 9px;
  color: #341100;
  background: var(--orange);
  box-shadow: 0 18px 42px rgba(4, 22, 50, 0.22);
  cursor: pointer;
  font-weight: 900;
}

.widget-launcher img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: white;
  object-fit: contain;
}

.widget-panel {
  width: min(390px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 110px));
  overflow: hidden;
  display: none;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.peakreply-widget[data-open="true"] .widget-panel {
  display: block;
}

.peakreply-widget[data-open="true"] .widget-launcher {
  display: none;
}

.widget-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: white;
  background: var(--navy);
}

.widget-brand {
  gap: 10px;
}

.widget-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

.widget-brand strong,
.widget-brand span {
  display: block;
}

.widget-brand span {
  margin-top: 2px;
  color: #d7e2ff;
  font-size: 12px;
}

#widgetClose {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.widget-body {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.bot-message {
  padding: 13px 14px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  border-bottom-left-radius: 3px;
  line-height: 1.45;
}

.widget-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.widget-chips button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: white;
  cursor: pointer;
  font-weight: 850;
}

.widget-chips button.selected {
  color: #341100;
  background: var(--orange);
  border-color: #9d4300;
}

.widget-body label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.widget-label {
  margin: 2px 0 -4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.widget-body input,
.widget-body textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  outline: none;
}

.widget-body textarea {
  resize: vertical;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.submit-widget {
  min-height: 50px;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  color: #341100;
  background: var(--orange);
  cursor: pointer;
  font-weight: 900;
}

.widget-consent,
.widget-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.widget-status {
  color: #185b3b;
  font-weight: 850;
}

.widget-status.error {
  color: #ba1a1a;
}

.roofer-notification {
  position: fixed;
  right: 22px;
  top: 92px;
  z-index: 60;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  background: rgba(4, 22, 50, 0.96);
  box-shadow: 0 24px 70px rgba(4, 22, 50, 0.24);
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.roofer-notification.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.notification-topbar,
.notification-topbar div,
.sms-meta,
.email-card {
  display: flex;
  align-items: center;
}

.notification-topbar {
  justify-content: space-between;
  gap: 12px;
}

.notification-topbar div {
  gap: 8px;
}

.notification-topbar strong {
  font-size: 14px;
}

#notificationClose {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.sms-card {
  padding: 14px;
  border-radius: 8px;
  color: #191c1e;
  background: white;
}

.sms-meta {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #555a61;
  font-size: 12px;
  font-weight: 850;
}

.sms-card pre {
  white-space: pre-wrap;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.email-card {
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  color: #191c1e;
  background: #ffdbca;
}

.email-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #341100;
  background: #fd761a;
}

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

.email-card strong {
  color: #041632;
  font-size: 14px;
}

.email-card span {
  margin-top: 2px;
  color: #555a61;
  font-size: 12px;
}

.company-preview {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

.company-preview-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--navy);
}

.company-preview-heading .material-symbols-outlined {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #341100;
  background: var(--orange);
}

.company-preview-heading strong,
.company-preview-heading small {
  display: block;
}

.company-preview-heading small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.company-preview pre {
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  color: #d7e2ff;
  background: var(--navy);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .client-header nav {
    display: none;
  }

  .client-hero,
  .storm-section {
    grid-template-columns: 1fr;
  }

  .service-band,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .client-header {
    padding: 12px 16px;
  }

  .call-button {
    width: 44px;
    padding: 0;
  }

  .call-button .material-symbols-outlined {
    margin: 0;
  }

  .call-button {
    font-size: 0;
  }

  .client-hero {
    padding: 44px 16px;
  }

  .service-band,
  .storm-section,
  .reviews {
    width: calc(100% - 32px);
  }

  .client-footer {
    display: grid;
    padding: 20px 16px;
  }

  .peakreply-widget {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .widget-panel {
    width: 100%;
  }
}
