:root {
  --red: #c8102e;
  --red-dark: #970c24;
  --navy: #012169;
  --navy-soft: #17367d;
  --ink: #14161d;
  --muted: #616a78;
  --line: #dfe4ee;
  --paper: #ffffff;
  --soft: #f6f8fc;
  --mist: #eef2f8;
  --aqua: #007179;
  --shadow: 0 24px 70px rgba(9, 22, 54, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

section,
footer {
  scroll-margin-top: 86px;
}

#calculator,
#about,
#contact,
#blog {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(215, 222, 235, 0.84);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 34px rgba(10, 22, 48, 0.07);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, var(--red), var(--navy));
  font-size: 0.78rem;
  font-weight: 900;
}

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

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 26px);
  color: #303747;
  font-size: 0.9rem;
  font-weight: 800;
}

.header-nav a {
  padding: 10px 0;
}

.header-nav a:hover {
  color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 34px rgba(200, 16, 46, 0.28);
}

.button.secondary {
  color: var(--navy);
  border-color: #cad3e2;
  background: white;
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: min(570px, calc(100vh - 68px));
  overflow: hidden;
  color: white;
  background: #101525;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/uk-roof-hero.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 8, 25, 0.94) 0%, rgba(4, 8, 25, 0.74) 48%, rgba(4, 8, 25, 0.3) 100%),
    linear-gradient(135deg, rgba(200, 16, 46, 0.72), rgba(1, 33, 105, 0.18) 54%, transparent 78%);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: inherit;
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px) clamp(18px, 5vw, 54px);
}

.hero-copy {
  width: min(760px, 100%);
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffbdc8;
}

.hero h1 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(3rem, 6.8vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.calculator-section,
.content-section {
  padding: clamp(38px, 4.5vw, 62px) clamp(18px, 5vw, 72px);
}

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

.section-heading {
  max-width: 820px;
  margin: 0 auto 20px;
  text-align: left;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2 {
  margin: 8px 0 8px;
  font-size: clamp(1.75rem, 3.2vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.66;
}

.calculator-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.calculator-card,
.results-card {
  border: 1px solid rgba(178, 187, 204, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.calculator-card {
  overflow: hidden;
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 18px clamp(18px, 3vw, 34px) 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}

.step-tabs span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  background: white;
  font-size: 0.86rem;
  font-weight: 900;
}

.step-tabs strong {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--mist);
  font-size: 0.76rem;
}

.step-tabs span.active {
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--red));
}

.step-tabs span.active strong {
  color: var(--red);
  background: white;
}

.progress-top {
  height: 6px;
  background: #e8edf5;
}

.progress-fill {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--navy), var(--aqua));
  transition: width 220ms ease;
}

.calc-step {
  display: none;
  padding: clamp(18px, 2.7vw, 28px);
}

.calc-step.active {
  display: block;
}

.step-heading {
  margin-bottom: 16px;
}

.step-heading span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.step-heading h3 {
  margin: 6px 0 0;
  font-size: clamp(1.32rem, 1.8vw, 1.78rem);
  letter-spacing: 0;
}

.field-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

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

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field-grid .wide-field {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 8px;
  color: #303747;
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd6e3;
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: white;
  outline: none;
}

select {
  cursor: pointer;
}

input:focus,
select:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 4px rgba(1, 33, 105, 0.1);
}

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

.choice-row.compact {
  margin-top: 0;
}

.choice-card {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid #d7dce7;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  inset: 12px 12px auto auto;
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.choice-card span {
  padding-right: 22px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.choice-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.choice-card:has(input:checked) {
  border-color: rgba(200, 16, 46, 0.55);
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.08), rgba(1, 33, 105, 0.06)),
    #fff;
  box-shadow: 0 14px 34px rgba(200, 16, 46, 0.12);
}

.area-input {
  display: none;
}

.area-input.active {
  display: grid;
}

.unlock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(200, 16, 46, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.08), rgba(1, 33, 105, 0.06)),
    #fff;
}

.unlock-panel h4 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.unlock-panel p {
  margin: 0;
  color: var(--muted);
}

.lock-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 30px;
  border-radius: 5px;
  background: var(--red);
}

.lock-icon::before {
  position: absolute;
  left: 7px;
  top: -16px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--red);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  content: "";
}

.consent-line {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.form-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--red);
  font-weight: 900;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(20px, 3vw, 34px) clamp(20px, 3vw, 30px);
}

.form-actions .button {
  min-width: 132px;
}

.submit-button {
  display: none;
}

.calculator-results {
  margin: 0 clamp(20px, 3vw, 34px) clamp(22px, 3vw, 34px);
  box-shadow: none;
}

.estimate-state {
  padding: clamp(18px, 3vw, 28px);
}

.result-topline {
  padding: 24px;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(135deg, var(--navy), var(--red));
}

.result-topline span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--navy);
  background: white;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.result-topline h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.result-topline p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
}

.result-metrics div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbff;
}

.result-metrics span,
.result-metrics strong {
  display: block;
}

.result-metrics span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-metrics strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 0.95rem;
}

.breakdown-wrap,
.risk-notes {
  margin-top: 18px;
}

.breakdown-wrap h4,
.risk-notes h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--navy);
  background: #f0f4fa;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

td:last-child,
th:last-child {
  text-align: right;
  font-weight: 900;
}

.risk-notes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-notes li {
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #3d4555;
  background: #fff4f6;
  font-size: 0.88rem;
}

.benchmark-section,
.rules-section,
.process-section {
  background: white;
}

.factors-section,
.checklist-section,
.faq-section {
  background: var(--soft);
}

.material-section {
  background:
    linear-gradient(135deg, rgba(1, 33, 105, 0.04), rgba(200, 16, 46, 0.04)),
    #fff;
}

.benchmark-grid,
.rule-grid,
.material-grid,
.timeline-grid,
.faq-grid {
  display: grid;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

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

.rule-grid,
.material-grid,
.faq-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
}

.benchmark-grid article,
.rule-grid article,
.material-grid article,
.timeline-grid article,
.faq-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 14px 42px rgba(12, 28, 64, 0.08);
}

.benchmark-grid span,
.timeline-grid span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benchmark-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.05;
}

.benchmark-grid p,
.rule-grid p,
.material-grid p,
.timeline-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.benchmark-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.06rem;
  line-height: 1.22;
}

.rule-grid h3,
.material-grid h3,
.timeline-grid h3,
.faq-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1080px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.data-strip div {
  padding: 22px;
  color: white;
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.45), rgba(1, 33, 105, 0.78)),
    var(--navy);
}

.data-strip strong,
.data-strip span {
  display: block;
}

.data-strip strong {
  font-size: 1.42rem;
}

.data-strip span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 6vw, 72px);
  max-width: 1220px;
  margin: 0 auto;
  align-items: center;
}

.split-layout.reversed {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.split-layout.reversed > div:first-child {
  order: 2;
}

.split-layout h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.split-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.split-layout p + p {
  margin-top: 14px;
}

.content-body {
  max-width: 980px;
  margin: 0 auto;
  color: #3d4555;
  font-size: 1.08rem;
  line-height: 1.68;
}

.content-body > p {
  margin: 0 0 15px;
}

.content-body h3 {
  margin: 28px 0 8px;
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.2;
}

.content-body h3:first-child {
  margin-top: 0;
}

.content-body strong {
  color: var(--navy);
  font-weight: 900;
}

.content-note {
  margin-top: 22px;
  padding: 0 0 0 18px;
  border-left: 4px solid var(--red);
  color: var(--navy);
  font-weight: 750;
}

.content-table-wrap {
  margin: 22px 0 24px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: transparent;
}

.content-table th,
.content-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-table td:nth-child(2) {
  color: var(--navy);
  font-weight: 900;
  white-space: nowrap;
}

.content-table tr:last-child td {
  border-bottom: 0;
}

.content-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 22px;
  padding-left: 20px;
}

.content-list li {
  padding-left: 4px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #dce2ec;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 28px rgba(12, 28, 64, 0.06);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  color: var(--navy);
  cursor: pointer;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #3d4555;
}

.factor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.factor-list span {
  min-height: 112px;
  padding: 18px;
  border: 1px solid #dce2ec;
  border-radius: var(--radius);
  background: white;
  font-weight: 850;
  box-shadow: 0 12px 34px rgba(12, 28, 64, 0.06);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  min-height: 54px;
  padding: 15px 16px;
  border: 1px solid #dce2ec;
  border-radius: var(--radius);
  background: white;
  font-weight: 850;
}

.site-footer {
  padding: clamp(38px, 5vw, 60px) clamp(18px, 5vw, 72px) 28px;
  color: white;
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.36), rgba(1, 33, 105, 0.24) 45%, rgba(151, 12, 36, 0.28)),
    #080f22;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(130px, 0.7fr) minmax(160px, 0.8fr) minmax(260px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--red), var(--navy));
  font-size: 0.88rem;
  font-weight: 950;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.site-footer strong {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.site-footer p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.62;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: white;
  font-size: 0.94rem;
  font-weight: 950;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-footer a:hover {
  color: #ffbdc8;
}

.footer-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1280px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.simple-main {
  background: var(--soft);
}

.simple-page {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 90px) clamp(18px, 5vw, 42px);
}

.simple-page .eyebrow {
  margin-bottom: 12px;
}

.simple-page h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 1;
}

.simple-page > p {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.simple-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 42px rgba(12, 28, 64, 0.08);
}

.simple-card h2,
.simple-card h3 {
  margin: 0;
  color: var(--navy);
}

.simple-card p,
.simple-card li {
  color: var(--muted);
}

.simple-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.simple-card a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(200, 16, 46, 0.35);
  text-underline-offset: 3px;
}

.trust-page {
  max-width: 1040px;
}

.founder-card {
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
}

.profile-initials {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--red), var(--navy));
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(12, 28, 64, 0.16);
}

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

.contact-card {
  margin-top: 18px;
}

.contact-label {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

address {
  color: #3d4555;
  font-style: normal;
  font-weight: 800;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .benchmark-grid,
  .rule-grid,
  .material-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .field-grid.two,
  .field-grid.three,
  .field-grid.four,
  .choice-row,
  .factor-list,
  .check-grid,
  .timeline-grid,
  .data-strip,
  .result-metrics {
    grid-template-columns: 1fr;
  }

  .field-grid .wide-field {
    grid-column: span 1;
  }

  .split-layout,
  .split-layout.reversed {
    grid-template-columns: 1fr;
  }

  .split-layout.reversed > div:first-child {
    order: 0;
  }

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

  .footer-brand,
  .footer-locations {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    display: none;
  }

  .header-nav {
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    font-size: 0.82rem;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 8, 25, 0.88) 0%, rgba(4, 8, 25, 0.8) 56%, rgba(4, 8, 25, 0.93) 100%),
      linear-gradient(135deg, rgba(200, 16, 46, 0.52), rgba(1, 33, 105, 0.2));
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 2.95rem);
    overflow-wrap: break-word;
  }

  .hero-copy,
  .section-heading,
  .calculator-shell {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .calculator-section,
  .content-section {
    padding: 34px 14px;
  }

  .section-heading {
    margin-bottom: 16px;
    text-align: left;
  }

  .section-heading h2,
  .split-layout h2 {
    font-size: clamp(1.58rem, 7vw, 2.05rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .section-heading p,
  .content-body,
  .split-layout p {
    font-size: 1.04rem;
  }

  .step-tabs {
    grid-template-columns: repeat(5, minmax(58px, 1fr));
    gap: 5px;
    overflow-x: auto;
    padding: 12px;
  }

  .step-tabs span {
    gap: 5px;
    min-height: 38px;
    padding: 7px 6px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .step-tabs strong {
    width: 22px;
    height: 22px;
  }

  .calc-step {
    padding: 18px;
  }

  .form-actions {
    flex-direction: column;
    padding: 0 20px 22px;
  }

  .form-actions .button {
    width: 100%;
  }

  .calculator-results {
    margin: 0 20px 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand,
  .footer-locations {
    grid-column: auto;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .founder-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .benchmark-grid,
  .rule-grid,
  .material-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  td:last-child,
  th:last-child {
    text-align: left;
  }
}
