/* ============================================================
   A&T Constructions — Redesign 2026
   Style: Exaggerated Minimalism · Monochrome + Gold · High Imagery
   Type: Playfair Display (display) + Inter (text) — Greek support
   ============================================================ */

:root {
  /* Color tokens */
  --bg-dark: #0c0a09;
  --surface-dark: #1c1917;
  --surface-dark-2: #292524;
  --border-dark: #33302c;
  --bg-light: #faf9f7;
  --surface-light: #ffffff;
  --border-light: #e7e2da;
  --ink: #1c1917;
  --muted-on-dark: #b8b2aa;
  --muted-on-light: #57534e;
  --gold: #d4a72c;
  --gold-soft: #e8c766;
  --gold-deep: #a16207;
  --white: #fdfcfa;

  /* Type scale */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: clamp(2.1rem, 4.5vw, 3.25rem);
  --fs-hero: clamp(2.6rem, 6.5vw, 4.75rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --container: 74rem;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 1px 2px rgba(20, 16, 8, 0.06), 0 4px 16px rgba(20, 16, 8, 0.07);
  --shadow-2: 0 2px 6px rgba(20, 16, 8, 0.08), 0 18px 44px rgba(20, 16, 8, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-light);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

p {
  margin: 0 0 var(--space-2);
}

a {
  color: var(--gold-deep);
  text-decoration: none;
}

ul {
  padding-left: 1.2rem;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  font-weight: 600;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-dark);
  color: var(--muted-on-dark);
  font-size: var(--fs-xs);
  border-bottom: 1px solid var(--border-dark);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 0.5rem;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--muted-on-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 180ms var(--ease);
}

.topbar a:hover {
  color: var(--gold-soft);
}

.topbar__group {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.topbar svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  flex-shrink: 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 10, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 167, 44, 0.16);
  transition: box-shadow 250ms var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 0.9rem;
}

.nav__logo img {
  height: 52px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  position: relative;
  transition: color 180ms var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--gold-soft);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(212, 167, 44, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  display: block;
}

.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease),
    background-color 180ms var(--ease), color 180ms var(--ease),
    border-color 180ms var(--ease);
  touch-action: manipulation;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.97);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, #b8860b);
  color: #241a02;
  box-shadow: 0 6px 20px rgba(212, 167, 44, 0.35);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 167, 44, 0.5);
}

.btn--ghost-light {
  border-color: rgba(253, 252, 250, 0.55);
  color: var(--white);
  background: rgba(253, 252, 250, 0.04);
}

.btn--ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 167, 44, 0.08);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--surface-dark-2);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 60rem);
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-drift 14s ease-in-out infinite alternate;
  will-change: transform;
}

/* Subtle Ken Burns loop — barely-there drift */
@keyframes hero-drift {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.11) translate(-1.8%, 1.2%);
  }
}

/* Floating gold sparkles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__particles { display: none; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(12, 10, 9, 0.92) 0%,
      rgba(12, 10, 9, 0.72) 42%,
      rgba(12, 10, 9, 0.28) 100%
    ),
    linear-gradient(to top, rgba(12, 10, 9, 0.95), transparent 38%);
}

.hero__content {
  padding-block: var(--space-7) var(--space-6);
  max-width: 44rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: "";
  width: 2.6rem;
  height: 1.5px;
  background: var(--gold);
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero__lead {
  font-size: var(--fs-md);
  font-weight: 300;
  color: #ded9d2;
  max-width: 36rem;
  margin-bottom: var(--space-4);
}

.hero__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Stats strip */
.stats {
  background: var(--bg-dark);
  color: var(--white);
  border-top: 1px solid rgba(212, 167, 44, 0.22);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-4);
}

.stat {
  text-align: center;
  padding-inline: var(--space-1);
}

.stat__value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold-soft);
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: var(--fs-xs);
  color: var(--muted-on-dark);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.3rem;
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--space-7);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section--tinted {
  background: #f3f0ea;
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-5);
}

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

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: var(--fs-2xl);
}

.section--dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  color: var(--muted-on-light);
  font-size: var(--fs-md);
  font-weight: 300;
}

.section--dark .section-head p {
  color: var(--muted-on-dark);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: var(--space-2);
}

.service-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(212, 167, 44, 0.5);
}

.service-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(140deg, #fdf6e3, #f5e7c0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 23px;
  height: 23px;
  stroke: var(--gold-deep);
}

.service-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--muted-on-light);
  margin: 0;
}

/* ---------- Engineering band ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1fr 1.05fr;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 167, 44, 0.35);
  border-radius: var(--radius);
  pointer-events: none;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
}

.check-list svg {
  width: 21px;
  height: 21px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.section--dark .check-list li {
  color: #ded9d2;
}

/* ---------- Feature rows (specializations) ---------- */
.features {
  display: grid;
  gap: var(--space-6);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.feature-row:nth-child(even) .feature-row__media {
  order: 2;
}

.feature-row__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.feature-row__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.feature-row:hover .feature-row__media img {
  transform: scale(1.035);
}

.feature-row h3 {
  font-size: var(--fs-lg);
}

.feature-row p {
  color: var(--muted-on-light);
  font-size: var(--fs-sm);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-2);
}

.tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-deep);
  background: #f7efdb;
  border: 1px solid #eadfbe;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
}

/* ---------- Packages ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  align-items: stretch;
}

.package {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.package:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 167, 44, 0.55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.package--featured {
  background: linear-gradient(165deg, #2b2416, var(--surface-dark) 58%);
  border-color: var(--gold);
}

.package__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #241a02;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.package__name {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.3rem;
}

.package__title {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.package__price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.package__price small {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--muted-on-dark);
  display: block;
  margin-top: 0.55rem;
  line-height: 1.5;
}

.package__desc {
  color: var(--muted-on-dark);
  font-size: var(--fs-sm);
  margin-block: var(--space-2);
}

.package__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  display: grid;
  gap: 0.55rem;
  flex-grow: 1;
}

.package__list li {
  display: flex;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  color: #d5cfc7;
  align-items: flex-start;
}

.package__list svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.package__more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-bottom: var(--space-2);
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  transition: color 180ms var(--ease), gap 180ms var(--ease);
}

.package__more svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.package__more:hover {
  color: var(--gold);
  gap: 0.8rem;
}

.package details {
  margin-bottom: var(--space-2);
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-2);
}

.package summary {
  cursor: pointer;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

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

.package summary svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  transition: transform 220ms var(--ease);
}

.package details[open] summary svg {
  transform: rotate(180deg);
}

.package details ul {
  list-style: none;
  padding: 0.6rem 0 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.package details li {
  font-size: 0.8rem;
  color: var(--muted-on-dark);
  padding-left: 1.1rem;
  position: relative;
}

.package details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.package details h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin: 0.9rem 0 0.2rem;
  letter-spacing: 0.05em;
}

.package .btn {
  width: 100%;
}

.packages-note {
  text-align: center;
  color: var(--muted-on-dark);
  font-size: var(--fs-xs);
  margin-top: var(--space-4);
}

.packages-note svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  vertical-align: -2px;
  margin-right: 4px;
}

/* ---------- Insulation ---------- */
.insulation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.insulation-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.insulation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.insulation-card img {
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  width: 100%;
}

.insulation-card__body {
  padding: var(--space-3) var(--space-3) var(--space-4);
}

.insulation-card h3 {
  font-size: var(--fs-lg);
}

.insulation-card p {
  font-size: var(--fs-sm);
  color: var(--muted-on-light);
}

.metric-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.metric-chip {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
  border: 1px solid rgba(212, 167, 44, 0.25);
}

.metric-chip strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}

.metric-chip span {
  font-size: var(--fs-xs);
  color: var(--muted-on-dark);
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.value-card {
  background: rgba(253, 252, 250, 0.035);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: var(--space-3);
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}

.value-card:hover {
  border-color: rgba(212, 167, 44, 0.5);
  background: rgba(212, 167, 44, 0.05);
}

.value-card svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  margin-bottom: 0.8rem;
}

.value-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: var(--fs-xs);
  color: var(--muted-on-dark);
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-1);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem var(--space-2) 0.8rem;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.85), transparent);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 500;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: var(--space-2);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(161, 98, 7, 0.5);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.process-step h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.process-step p {
  font-size: var(--fs-sm);
  color: var(--muted-on-light);
  margin: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.cta-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(12, 10, 9, 0.93), rgba(12, 10, 9, 0.65));
}

.cta-banner h2 {
  color: var(--white);
  font-size: var(--fs-2xl);
  max-width: 30ch;
  margin-inline: auto;
}

.cta-banner p {
  color: #ded9d2;
  max-width: 52ch;
  margin: 0 auto var(--space-4);
  font-weight: 300;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: var(--space-2);
}

.contact-card {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  background: rgba(253, 252, 250, 0.035);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.contact-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-card h3 {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.25rem;
}

.contact-card p,
.contact-card a {
  font-size: var(--fs-sm);
  color: var(--muted-on-dark);
  margin: 0;
}

.contact-card a:hover {
  color: var(--gold-soft);
}

.contact-form {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: var(--space-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}

.form-field label span {
  color: var(--gold-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--white);
  background: rgba(12, 10, 9, 0.6);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 180ms var(--ease);
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #78716c;
}

.form-hint {
  font-size: var(--fs-xs);
  color: var(--muted-on-dark);
  margin: 0;
}

.form-status {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin: 0;
  min-height: 1.4em;
}

.form-status.is-ok { color: #6ee7a0; }
.form-status.is-error { color: #fca5a5; }

/* ---------- Footer ---------- */
.footer {
  background: #080605;
  color: var(--muted-on-dark);
  padding-block: var(--space-6) var(--space-3);
  font-size: var(--fs-sm);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-dark);
}

.footer__logo img {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-2);
}

.footer h3 {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-2);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer a {
  color: var(--muted-on-dark);
  transition: color 180ms var(--ease);
}

.footer a:hover {
  color: var(--gold-soft);
}

.footer__social {
  display: flex;
  gap: 0.7rem;
  margin-top: var(--space-2);
}

.footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: grid;
  place-items: center;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.footer__social a:hover {
  border-color: var(--gold);
  background: rgba(212, 167, 44, 0.08);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--muted-on-dark);
}

.footer__social a:hover svg {
  fill: var(--gold-soft);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding-top: var(--space-3);
  font-size: var(--fs-xs);
}

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, #b8860b);
  box-shadow: 0 6px 20px rgba(12, 10, 9, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease),
    box-shadow 180ms var(--ease);
}

.to-top svg {
  width: 22px;
  height: 22px;
  stroke: #241a02;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  box-shadow: 0 10px 26px rgba(212, 167, 44, 0.5);
}

/* ---------- Services: show-more toggle (mobile only) ---------- */
.services-toggle {
  display: none;
}

.services-toggle svg {
  transition: transform 220ms var(--ease);
}

.services-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ---------- Package detail pages ---------- */
.page-hero {
  background: var(--bg-dark);
  color: var(--white);
  padding-block: var(--space-6);
  border-bottom: 1px solid rgba(212, 167, 44, 0.2);
}

.page-hero__inner {
  max-width: 50rem;
}

.page-hero h1 {
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.page-hero__price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
  margin: 0 0 0.4rem;
  font-variant-numeric: tabular-nums;
}

.page-hero__meta {
  color: var(--muted-on-dark);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-3);
}

.page-hero__lead {
  color: #ded9d2;
  font-weight: 300;
  font-size: var(--fs-md);
  margin-bottom: var(--space-4);
}

.breadcrumb {
  font-size: var(--fs-xs);
  color: var(--muted-on-dark);
  margin-bottom: var(--space-3);
}

.breadcrumb a {
  color: var(--gold-soft);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  align-items: start;
}

.work-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-3) var(--space-4);
  box-shadow: var(--shadow-1);
}

.work-card h2 {
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--space-2);
}

.work-card h2 svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-deep);
  flex-shrink: 0;
}

.work-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.work-card li {
  font-size: var(--fs-sm);
  color: var(--muted-on-light);
  padding-left: 1.35rem;
  position: relative;
}

.work-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.work-note {
  font-size: var(--fs-xs);
  color: var(--muted-on-light);
  font-style: italic;
  margin-top: var(--space-2);
}

@media (max-width: 52rem) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reveal animations (only when JS is available) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg img { animation: none; }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) var(--space-3);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 52rem) {
  .section {
    padding-block: var(--space-6);
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: var(--space-2) clamp(1.25rem, 4vw, 2.5rem) var(--space-3);
    display: none;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    display: block;
    padding: 0.85rem 0;
    font-size: var(--fs-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__links a::after { display: none; }

  .nav__cta {
    display: none;
  }

  .topbar__group--secondary {
    display: none;
  }

  .split,
  .split--reverse,
  .feature-row,
  .contact-grid,
  .insulation-grid {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(even) .feature-row__media {
    order: 0;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3) var(--space-2);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Compact service cards: icon beside text, half the height */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .service-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.9rem;
    row-gap: 0.2rem;
    padding: 0.9rem 1rem;
    align-items: center;
  }

  .service-card__icon {
    width: 42px;
    height: 42px;
    grid-row: 1 / 3;
    align-self: start;
  }

  .service-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .service-card h3 {
    font-size: 0.98rem;
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* Collapsed by default on mobile — first 6 visible, toggle reveals the rest */
  html.js .services-grid.is-collapsed .service-card:nth-child(n + 7) {
    display: none;
  }

  html.js .services-toggle {
    display: inline-flex;
    margin: var(--space-3) auto 0;
  }

  .services-toggle-wrap {
    text-align: center;
  }
}

@media (max-width: 36rem) {
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .metric-chips {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-block: var(--space-6) var(--space-5);
  }
}
