:root {
  --bg: #0b1015;
  --bg-elevated: #10171e;
  --bg-soft: #17212a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text-main: #eef3f8;
  --text-soft: #b6c2cf;
  --text-muted: #8c9aa8;
  --accent: #ffb703;
  --accent-strong: #ffcf4a;
  --accent-soft: rgba(255, 183, 3, 0.12);
  --danger: #f25f5c;
  --radius-sm: 0.9rem;
  --radius-md: 1.35rem;
  --radius-lg: 2rem;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(255, 183, 3, 0.09), transparent 32%),
    radial-gradient(circle at 85% 5%, rgba(255, 255, 255, 0.07), transparent 26%),
    linear-gradient(180deg, #0b1015 0%, #121922 48%, #0c1218 100%);
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #10151b;
}

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

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

p,
ul,
ol {
  margin-top: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-topbar {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.topbar-inner p {
  margin: 0;
}

.topbar-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(11, 16, 21, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(3.45rem, 5vw, 4.25rem);
  max-width: min(14rem, 44vw);
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: #12161c;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.nav-cta {
  color: #10151c;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(255, 183, 3, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #10151c;
  background: linear-gradient(135deg, var(--accent-strong), #ffd66b);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle-line::before {
  transform: translateY(-0.34rem);
}

.nav-toggle-line::after {
  transform: translateY(0.22rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 183, 3, 0.1) 0%, transparent 24%),
    repeating-linear-gradient(
      -61deg,
      transparent 0 34px,
      rgba(255, 255, 255, 0.02) 34px 42px
    );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: -7rem;
  top: 2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.16), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-compact {
  padding-top: clamp(3.5rem, 6vw, 5.2rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-grid > :only-child {
  max-width: 58rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-radius: 999px;
  background: rgba(255, 183, 3, 0.08);
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.3rem rgba(255, 183, 3, 0.18);
}

.hero h1,
.section-title,
.card-title,
.contact-card h3,
.gallery-category h3,
.footer-title,
.service-card h3,
.process-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.94;
}

.hero p {
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: #10151c;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 32px rgba(255, 183, 3, 0.18);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel,
.feature-card,
.service-card,
.detail-card,
.gallery-category,
.contact-card,
.mini-card,
.process-card,
.cta-panel,
.quote-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 20, 0.6);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.5rem;
}

.panel-label,
.card-kicker,
.tag {
  margin: 0 0 0.65rem;
  color: var(--accent-strong);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-panel > p:last-child {
  margin-bottom: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.15rem 0 1.3rem;
}

.metric-card {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.metric-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 183, 3, 0.06), rgba(255, 183, 3, 0));
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-header > div {
  display: grid;
  gap: 0.45rem;
}

.section-title {
  margin: 0.2rem 0 0;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 0.94;
}

.lead {
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.service-grid,
.feature-grid,
.gallery-grid,
.contact-grid,
.process-grid,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

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

.service-groups {
  display: grid;
  gap: 1.4rem;
}

.service-group {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 20, 0.55);
  box-shadow: var(--shadow);
}

.service-group-header {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem 1.4rem;
  align-items: start;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-group-header .card-kicker {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.service-group-copy {
  margin: 0;
  color: var(--text-soft);
}

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

.service-card {
  padding: 1.45rem;
  height: 100%;
}

.service-card h3,
.contact-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  line-height: 0.95;
}

.service-card p {
  color: var(--text-soft);
}

.service-detail {
  margin-bottom: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.96rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.sticky-card {
  position: sticky;
  top: 6.7rem;
}

.copy-block {
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.contact-details-center {
  display: flex;
  justify-content: center;
}

.contact-details-center .detail-card {
  width: min(100%, 760px);
}

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

.home-feature-grid {
  grid-template-columns: 1fr;
}

.feature-grid-stack {
  grid-template-columns: 1fr;
}

.feature-card,
.detail-card,
.process-card,
.contact-card,
.quote-panel {
  padding: 1.4rem;
}

.feature-card,
.detail-card,
.service-card,
.contact-card,
.process-card {
  display: grid;
  align-content: start;
}

.feature-grid-stack .feature-card {
  min-height: 100%;
}

.home-feature-grid .feature-card {
  min-height: 100%;
}

.section-intro-card {
  gap: 0.9rem;
}

.section-intro-card .lead {
  max-width: 44ch;
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  line-height: 0.95;
}

.copy-block > *:last-child,
.detail-card > *:last-child,
.feature-card > *:last-child,
.contact-card > *:last-child,
.cta-panel > *:last-child,
.quote-panel > *:last-child,
.gallery-category-copy > *:last-child {
  margin-bottom: 0;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 0.94rem;
}

.chip::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.check-mark {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.18);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.check-mark::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.18rem;
  width: 0.34rem;
  height: 0.56rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(40deg);
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.mini-card {
  padding: 1rem;
  color: var(--text-soft);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.about-bottom-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.about-property-card .chip-list {
  margin-top: 1.1rem;
}

.about-process-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.about-process-grid .process-card {
  min-height: 100%;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.12);
  color: var(--accent-strong);
  font-weight: 800;
}

.process-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.gallery-category {
  overflow: hidden;
}

.gallery-category-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  list-style: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.gallery-category-summary::-webkit-details-marker {
  display: none;
}

.gallery-category-summary:focus-visible {
  outline: 3px solid rgba(255, 183, 3, 0.45);
  outline-offset: -3px;
}

.gallery-category[open] .gallery-category-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 183, 3, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.03);
}

.gallery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gallery-icon svg {
  width: 2.45rem;
  height: 2.45rem;
}

.gallery-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-icon-general {
  color: #f7f8fb;
  background: rgba(255, 255, 255, 0.09);
}

.gallery-icon-ev {
  color: #7fe17f;
  background: rgba(61, 214, 103, 0.11);
}

.gallery-icon-fire {
  color: #ff8a65;
  background: rgba(242, 95, 92, 0.12);
}

.gallery-icon-sport {
  color: #79d8ff;
  background: rgba(121, 216, 255, 0.1);
}

.gallery-icon-stencil {
  color: #f4f0d8;
  background: rgba(244, 240, 216, 0.09);
}

.gallery-icon-thermo {
  color: var(--accent-strong);
  background: rgba(255, 183, 3, 0.12);
}

.gallery-icon-warehouse {
  color: #cbd7e3;
  background: rgba(203, 215, 227, 0.08);
}

.gallery-category-copy {
  display: grid;
  gap: 0.22rem;
}

.gallery-category-copy .tag {
  margin-bottom: 0.08rem;
}

.gallery-category h3 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 0.95;
}

.gallery-category-copy span:last-child {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  justify-self: end;
  min-width: max-content;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-count::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  color: #10151c;
  background: var(--accent);
  line-height: 1;
}

.gallery-category[open] .gallery-count::after {
  content: "-";
}

.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
  scroll-padding: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 183, 3, 0.65) rgba(255, 255, 255, 0.08);
}

.gallery-scroll::-webkit-scrollbar {
  height: 0.7rem;
}

.gallery-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.gallery-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.gallery-photo {
  flex: 0 0 min(88%, 23rem);
  margin: 0;
  scroll-snap-align: start;
}

.gallery-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: #12181f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.gallery-photo figcaption {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.gallery-section-note {
  margin-top: 0.85rem;
  max-width: 54ch;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  align-items: start;
}

.faq-layout-tight {
  align-items: center;
}

.faq-sidebar {
  position: sticky;
  top: 6.7rem;
}

.faq-sidebar .section-title {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
}

.faq-sidebar .lead {
  max-width: 42ch;
}

.faq-side-list {
  margin-top: 1.25rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 20, 0.6);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 183, 3, 0.18);
}

.faq-item[open] {
  border-color: rgba(255, 183, 3, 0.2);
}

.faq-question {
  position: relative;
  display: block;
  padding: 1.25rem 3.5rem 1.25rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}

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

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-strong);
  font-size: 1.7rem;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--text-soft);
}

.faq-answer p {
  max-width: 62ch;
  margin-bottom: 0;
}

.faq-cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
}

.faq-cta-panel > div:first-child {
  max-width: 44rem;
}

.faq-cta-panel .action-row {
  margin-top: 0;
  justify-content: flex-end;
}

.faq-cta-panel .button {
  min-width: 11rem;
}

body[data-page="faq"] .hero-grid {
  align-items: stretch;
}

body[data-page="faq"] .hero-panel {
  display: grid;
  align-content: start;
}

body[data-page="faq"] .hero-panel .check-list {
  margin-top: 0.3rem;
}

body[data-page="gallery"] .hero-grid {
  align-items: stretch;
}

body[data-page="gallery"] .hero-panel {
  display: grid;
  align-content: start;
}

body[data-page="gallery"] .hero-panel .check-list {
  margin-top: 0.3rem;
}

body[data-page="home"] .home-owner-grid,
body[data-page="home"] .home-coverage-grid,
body[data-page="about"] .about-values-grid,
body[data-page="services"] .services-support-grid {
  gap: 1.75rem;
}

body[data-page="home"] .home-service-area-card .chip-list {
  margin-top: 1rem;
}

.tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
}

.quote-panel,
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1.2rem;
  align-items: center;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.contact-card p,
.contact-card address {
  color: var(--text-soft);
}

.contact-card address {
  font-style: normal;
}

.inline-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.quote-panel .action-row,
.cta-panel .action-row {
  margin-top: 1rem;
}

.site-footer {
  padding: 3.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 183, 3, 0.08), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.05), transparent 20%),
    #0a0f14;
}

.footer-shell {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 20, 0.72);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  margin-bottom: 2rem;
  align-items: start;
}

.footer-title {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
}

.footer-logo {
  display: block;
  width: min(13.5rem, 68vw);
  height: auto;
  margin: 0 0 1rem;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35));
}

.footer-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-copy,
.footer-links a,
.footer-meta {
  color: var(--text-soft);
}

.footer-brand-block {
  max-width: 42rem;
}

.footer-contact-block {
  justify-self: end;
  width: min(100%, 24rem);
}

.footer-links {
  display: grid;
  gap: 0.7rem;
}

.footer-link-card {
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1rem;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 183, 3, 0.22);
  background: rgba(255, 183, 3, 0.08);
  color: var(--accent-strong);
  box-shadow: 0 16px 28px rgba(255, 183, 3, 0.12);
}

.social-badge svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.footer-link-card:hover,
.footer-link-card:focus-visible,
.social-badge:hover,
.social-badge:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--accent-strong);
}

.footer-link-card:hover,
.footer-link-card:focus-visible {
  border-color: rgba(255, 183, 3, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.footer-meta {
  margin-top: 1.1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

  .gallery-grid,
  .feature-grid,
  .process-grid,
  .contact-grid,
  .mini-card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .sticky-card,
  .faq-sidebar {
    position: static;
    top: auto;
  }

  .footer-contact-block {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .header-shell,
  .hero-grid,
  .two-column,
  .quote-panel,
  .cta-panel,
  .footer-meta {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .header-shell,
  .footer-meta {
    display: grid;
  }

  .topbar-inner {
    gap: 0.45rem;
    padding: 0.55rem 0;
    font-size: 0.82rem;
    text-align: center;
  }

  .topbar-link {
    justify-self: center;
    font-size: 0.9rem;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .brand-logo {
    height: 3.45rem;
    max-width: 10.8rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: calc(100% + 1px) 0 auto 0;
    padding: 0.8rem;
    border-radius: 0 0 1.2rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 20, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    padding: 0.72rem 0.85rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-compact {
    padding-top: 2.75rem;
  }

  .hero::after {
    width: 18rem;
    height: 18rem;
    right: -6rem;
    top: 0.5rem;
  }

  .hero-grid {
    gap: 1.15rem;
  }

  .hero-grid > :only-child {
    max-width: 100%;
  }

  .hero h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(2.4rem, 11vw, 3.35rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .action-row {
    margin-top: 1.1rem;
    gap: 0.7rem;
  }

  .button {
    min-height: 3.15rem;
    padding: 0.75rem 1.05rem;
  }

  .metric-grid,
  .service-grid,
  .service-group-grid,
  .feature-grid,
  .gallery-grid,
  .faq-grid,
  .contact-grid,
  .process-grid,
  .mini-card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    gap: 0.8rem;
    margin-bottom: 1rem;
  }

  .service-group-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.7rem 1rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.8rem;
  }

  .service-group-header .card-kicker {
    font-size: 0.95rem;
  }

  .service-groups {
    gap: 1rem;
  }

  .service-group {
    padding: 1.05rem;
  }

  .section-header {
    display: grid;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero-panel,
  .feature-card,
  .service-card,
  .detail-card,
  .contact-card,
  .process-card,
  .quote-panel,
  .service-group,
  .footer-shell {
    padding: 1.1rem;
    border-radius: 1rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  }

  .service-card h3,
  .gallery-category h3,
  .contact-card h3,
  .faq-question {
    font-size: 1.35rem;
  }

  .gallery-category-summary {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.82rem;
    padding: 0.95rem;
  }

  .gallery-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1rem;
  }

  .gallery-icon svg {
    width: 2.1rem;
    height: 2.1rem;
  }

  .gallery-count {
    grid-column: 2;
    justify-self: start;
    padding: 0.42rem 0.62rem;
    font-size: 0.72rem;
  }

  .gallery-scroll {
    gap: 0.85rem;
    padding: 0.85rem;
    scroll-padding: 0.85rem;
  }

  .gallery-photo {
    flex-basis: min(86vw, 21rem);
  }

  .gallery-photo img {
    border-radius: 0.85rem;
  }

  .card-title {
    margin-bottom: 0.65rem;
    font-size: 1.5rem;
  }

  .service-detail {
    padding-top: 0.75rem;
    font-size: 0.92rem;
  }

  .check-list {
    gap: 0.7rem;
  }

  .check-list li {
    gap: 0.65rem;
    padding: 0.82rem 0.85rem;
  }

  .check-mark {
    width: 1.05rem;
    height: 1.05rem;
  }

  .check-mark::after {
    left: 0.29rem;
    top: 0.13rem;
    width: 0.3rem;
    height: 0.5rem;
  }

  .chip-list {
    gap: 0.55rem;
  }

  .chip {
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
  }

  .chip::before {
    width: 0.42rem;
    height: 0.42rem;
  }

  .process-grid {
    gap: 1rem;
    margin-top: 1rem;
  }

  .process-card h3 {
    font-size: 1.25rem;
  }

  .about-bottom-layout {
    gap: 1rem;
  }

  .footer-shell {
    padding: 1.05rem;
  }

  .footer-grid {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .footer-title {
    font-size: 1.35rem;
  }

  .footer-logo {
    width: min(11rem, 72vw);
    margin-bottom: 0.8rem;
  }

  .footer-kicker {
    font-size: 0.72rem;
  }

  .footer-link-card {
    min-height: 3.05rem;
    padding: 0.82rem 0.9rem;
  }

  .footer-social {
    margin-top: 0.75rem;
  }

  .social-badge {
    width: 3rem;
    height: 3rem;
  }

  .footer-contact-block {
    justify-self: stretch;
    width: 100%;
  }

  .footer-meta {
    gap: 0.45rem;
    padding-top: 0.95rem;
    font-size: 0.9rem;
  }

  .hero .action-row .button {
    width: 100%;
  }

  body[data-page="home"] .two-column,
  body[data-page="about"] .two-column,
  body[data-page="services"] .two-column,
  body[data-page="faq"] .hero-grid,
  body[data-page="faq"] .faq-layout,
  body[data-page="gallery"] .hero-grid,
  body[data-page="contact"] .contact-grid {
    gap: 1rem;
  }

  body[data-page="home"] .detail-card,
  body[data-page="about"] .detail-card,
  body[data-page="services"] .detail-card,
  body[data-page="faq"] .hero-panel,
  body[data-page="gallery"] .hero-panel,
  body[data-page="contact"] .detail-card {
    padding: 1rem;
  }

  body[data-page="home"] .service-grid,
  body[data-page="home"] .home-feature-grid,
  body[data-page="services"] .service-groups,
  body[data-page="services"] .feature-grid-stack,
  body[data-page="about"] .about-process-grid,
  body[data-page="faq"] .faq-grid,
  body[data-page="gallery"] .gallery-grid {
    gap: 0.9rem;
  }

  body[data-page="home"] .chip-list,
  body[data-page="about"] .chip-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  body[data-page="home"] .chip,
  body[data-page="about"] .chip {
    width: 100%;
    justify-content: flex-start;
  }

  body[data-page="home"] .copy-block .lead,
  body[data-page="about"] .copy-block p,
  body[data-page="services"] .lead,
  body[data-page="faq"] .hero p,
  body[data-page="gallery"] .hero p,
  body[data-page="contact"] .hero p {
    max-width: 100%;
  }

  body[data-page="home"] .service-card,
  body[data-page="services"] .service-card {
    padding: 1rem;
  }

  body[data-page="home"] .home-owner-grid,
  body[data-page="home"] .home-coverage-grid,
  body[data-page="about"] .about-values-grid,
  body[data-page="services"] .services-support-grid {
    gap: 1rem;
  }

  body[data-page="home"] .feature-card,
  body[data-page="services"] .feature-card,
  body[data-page="about"] .process-card {
    padding: 1rem;
  }

  body[data-page="about"] .about-property-card .chip-list {
    margin-top: 0.85rem;
  }

  body[data-page="about"] .about-process-grid .process-step {
    margin-bottom: 0.75rem;
    width: 1.85rem;
    height: 1.85rem;
  }

  body[data-page="services"] .service-group-header {
    margin-bottom: 0.8rem;
  }

  body[data-page="services"] .service-group-copy {
    font-size: 0.94rem;
  }

  body[data-page="faq"] .hero-panel .check-list li,
  body[data-page="gallery"] .hero-panel .check-list li,
  body[data-page="contact"] .check-list li {
    padding: 0.78rem 0.82rem;
  }

  body[data-page="faq"] .faq-sidebar .lead,
  body[data-page="faq"] .faq-answer p {
    max-width: 100%;
  }

  body[data-page="faq"] .faq-cta-panel .action-row {
    justify-content: flex-start;
  }

  body[data-page="contact"] .contact-card {
    padding: 1rem;
  }

  body[data-page="faq"] .faq-answer p,
  body[data-page="home"] .feature-card p,
  body[data-page="services"] .feature-card p,
  body[data-page="contact"] .contact-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  .button,
  .action-row {
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 3rem;
  }

  .topbar-inner {
    font-size: 0.78rem;
  }

  .topbar-link {
    font-size: 0.85rem;
  }

  .brand-logo {
    height: 3rem;
    max-width: 8.35rem;
  }

  .nav-toggle {
    width: 2.8rem;
    height: 2.8rem;
  }

  .site-nav {
    padding: 0.7rem;
  }

  .site-nav a {
    padding: 0.68rem 0.8rem;
  }

  .gallery-category-summary {
    padding: 0.82rem;
  }

  .gallery-icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .gallery-icon svg {
    width: 1.95rem;
    height: 1.95rem;
  }

  .gallery-category-copy span:last-child {
    font-size: 0.88rem;
  }

  .gallery-count::after {
    width: 1.1rem;
    height: 1.1rem;
  }

  .gallery-scroll {
    padding: 0.75rem;
    scroll-padding: 0.75rem;
  }

  .gallery-photo {
    flex-basis: 84vw;
  }

  .gallery-photo figcaption {
    font-size: 0.82rem;
  }

  .hero {
    padding: 3rem 0 2.1rem;
  }

  .hero-compact {
    padding-top: 2.25rem;
  }

  .hero::after {
    width: 14rem;
    height: 14rem;
    right: -5rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 12vw, 2.75rem);
  }

  .hero p {
    font-size: 0.94rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: clamp(1.78rem, 9vw, 2.35rem);
  }

  .card-title {
    font-size: 1.35rem;
  }

  .service-card h3,
  .gallery-category h3,
  .contact-card h3,
  .process-card h3,
  .faq-question {
    font-size: 1.22rem;
  }

  .check-list li {
    padding: 0.75rem 0.78rem;
  }

  .check-mark {
    width: 0.98rem;
    height: 0.98rem;
  }

  .check-mark::after {
    left: 0.27rem;
    top: 0.11rem;
    width: 0.27rem;
    height: 0.46rem;
  }

  .chip {
    padding: 0.58rem 0.75rem;
    font-size: 0.84rem;
  }

  .footer-shell {
    padding: 0.95rem;
  }

  .footer-meta {
    font-size: 0.86rem;
  }

  body[data-page="home"] .chip-list,
  body[data-page="about"] .chip-list {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .service-card,
  body[data-page="services"] .service-card,
  body[data-page="home"] .feature-card,
  body[data-page="services"] .feature-card,
  body[data-page="about"] .detail-card,
  body[data-page="about"] .process-card,
  body[data-page="faq"] .hero-panel,
  body[data-page="gallery"] .hero-panel,
  body[data-page="contact"] .contact-card,
  body[data-page="contact"] .detail-card {
    padding: 0.95rem;
  }

  body[data-page="services"] .service-group {
    padding: 0.95rem;
  }

  body[data-page="about"] .about-process-grid .process-step {
    width: 1.7rem;
    height: 1.7rem;
    margin-bottom: 0.65rem;
  }

  body[data-page="faq"] .faq-question {
    padding: 1rem 2.9rem 1rem 1rem;
  }

  body[data-page="faq"] .faq-answer {
    padding: 0 1rem 1rem;
  }

  body[data-page="faq"] .faq-sidebar .section-title {
    font-size: clamp(1.88rem, 8vw, 2.4rem);
  }

  body[data-page="home"] .feature-card p,
  body[data-page="services"] .feature-card p,
  body[data-page="faq"] .faq-answer p,
  body[data-page="contact"] .contact-card p {
    font-size: 0.92rem;
  }

  .wrap {
    width: min(1120px, calc(100% - 1rem));
  }
}
