/* ==========================================================================
   AJH 안집사 하우징 (Anjipsa Housing) — shared styles
   ========================================================================== */

:root {
  --plaster: #f4eee2;
  --plaster-deep: #e9dfc8;
  --paper: #fbf8f1;
  --ink: #14100b;
  --ink-soft: #5c564a;
  --gold: #c39a4a;
  --gold-deep: #8f6d28;
  --gold-bright: #e7c877;
  --bronze: #8a5a2a;
  --cream: #f3ead9;
  --cream-soft: rgba(243, 234, 217, 0.72);
  --line: rgba(20, 16, 11, 0.14);
  --line-soft: rgba(20, 16, 11, 0.08);
  --line-on-dark: rgba(231, 200, 119, 0.28);
  --line-on-dark-soft: rgba(243, 234, 217, 0.14);
  --shadow: 0 28px 54px -30px rgba(10, 8, 5, 0.55);
  --texture: url("../texture.jpg");

  --font-serif: "EB Garamond", "Noto Serif KR", serif;
  --font-kr: "Noto Sans KR", sans-serif;
  --font-slab: "Roboto Slab", serif;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--plaster);
  background-image: var(--texture);
  background-size: 220px 220px;
  background-repeat: repeat;
  background-blend-mode: soft-light;
  color: var(--ink);
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-kr);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-variant: small-caps;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

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

/* -- roofline divider --------------------------------------------------- */

.roofline {
  display: block;
  width: 64px;
  height: 26px;
  opacity: 0.6;
}

.roofline path {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.roofline--center {
  margin: 0 auto;
}

.roofline--on-dark path {
  stroke: var(--gold-bright);
}

/* -- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 16px 30px -14px rgba(140, 105, 40, 0.65);
}

.btn-primary:hover {
  background: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-ghost-on-dark {
  color: var(--cream);
  border-color: var(--line-on-dark-soft);
}

.btn-ghost-on-dark:hover {
  border-color: var(--gold-bright);
}

.btn-block {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* -- header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 12, 8, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--cream);
}

.brand-name span {
  font-family: var(--font-serif);
  font-style: italic;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--gold-bright);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.96rem;
  padding: 6px 0;
  color: var(--cream-soft);
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--cream);
  border-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-on-dark-soft);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

/* -- page hero (inner pages) ---------------------------------------------- */

.page-hero {
  padding: 64px 0 48px;
  background: var(--ink);
  border-bottom: 1px solid var(--line-on-dark);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 14px 0 12px;
  color: var(--cream);
}

.page-hero .eyebrow {
  color: var(--gold-bright);
}

.page-hero p {
  max-width: 560px;
  color: var(--cream-soft);
  font-size: 1.05rem;
}

/* -- error page ------------------------------------------------------------- */

.error-hero {
  background: var(--ink);
  padding: 120px 0;
  text-align: center;
}

.error-code {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 6rem);
  color: var(--gold-bright);
  line-height: 1;
  margin: 22px 0 14px;
}

.error-hero h1 {
  color: var(--cream);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 14px;
}

.error-hero p {
  color: var(--cream-soft);
  max-width: 460px;
  margin: 0 auto 36px;
}

.error-hero .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* -- home hero -------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
  background: var(--ink);
}

.hero-arc {
  position: absolute;
  right: -100px;
  top: -90px;
  width: 420px;
  height: 420px;
  opacity: 0.5;
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero .eyebrow {
  color: var(--gold-bright);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.15rem);
  line-height: 1.28;
  margin: 18px 0 22px;
  color: var(--cream);
}

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

.hero-lede {
  font-size: 1.08rem;
  color: var(--cream-soft);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-dark-soft);
}

.trust-row span.label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cream-soft);
  margin-right: 16px;
}

.chip {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--cream);
}

.chip:not(:last-child)::after {
  content: "\00b7";
  color: var(--gold);
  margin: 0 12px;
  font-style: normal;
}

.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(199, 160, 74, 0.28), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-figure img {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-figure {
    transform: none;
  }
}

/* -- sections --------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

.section-alt {
  background-color: var(--plaster-deep);
  background-image: var(--texture);
  background-size: 220px 220px;
  background-repeat: repeat;
  background-blend-mode: soft-light;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  margin: 14px 0 0;
}

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

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}

.section-foot .section-head {
  margin-bottom: 0;
}

/* -- service grid ------------------------------------------------------------ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 30px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .service-card::before {
    transition: none;
  }
}

/* -- pillars ------------------------------------------------------------- */

.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar {
  padding: 0 32px;
  text-align: center;
  position: relative;
}

.pillar + .pillar {
  border-left: 1px solid var(--line);
}

.pillar h3 {
  font-family: var(--font-slab);
  font-size: 1.05rem;
  margin: 18px 0 12px;
}

.pillar p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* -- case cards ------------------------------------------------------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.case-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 20%, rgba(195, 154, 74, 0.2), transparent 55%),
    linear-gradient(135deg, var(--plaster-deep), var(--plaster));
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-thumb svg {
  display: block;
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}

.thumb-caption {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--ink-soft);
  background: rgba(251, 248, 241, 0.85);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.case-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--cream);
}

.case-tag.outdoor {
  background: var(--gold);
  color: var(--ink);
}

.case-body {
  padding: 24px 24px 28px;
}

.case-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  opacity: 0.8;
  font-family: var(--font-slab);
}

/* -- filter tabs ------------------------------------------------------------- */

.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.filter-tab[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* -- CTA band ------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(199, 160, 74, 0.24), transparent 55%),
    var(--ink);
  border-top: 1px solid var(--line-on-dark);
  color: var(--cream);
  padding: 72px 0;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--cream);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--cream-soft);
}

.cta-band .phone-big {
  font-family: var(--font-slab);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--gold-bright);
}

.cta-band .cta-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cta-band .btn-primary {
  box-shadow: none;
}

/* -- footer ------------------------------------------------------------- */

.site-footer {
  padding: 56px 0 40px;
  background: var(--ink);
  color: var(--cream-soft);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--cream-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 10px;
  color: var(--cream-soft);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-col .phone {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--cream-soft);
  opacity: 0.7;
}

/* -- inquiry stats & list ------------------------------------------------------------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 56px;
}

.stat-tile {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.stat-tile:first-child {
  border-left: none;
}

.stat-tile strong {
  display: block;
  font-family: var(--font-slab);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.stat-tile span {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.inquiry-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 40px;
}

.inquiry-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.inquiry-head h3 {
  font-size: 1.1rem;
}

.inquiry-head .muted {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.inquiry-list ul {
  border-top: 1px solid var(--line-soft);
}

.inquiry-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.94rem;
}

.inquiry-list .who {
  font-weight: 700;
  width: 90px;
  flex-shrink: 0;
}

.inquiry-list .what {
  color: var(--ink-soft);
  flex: 1;
}

.inquiry-list .when {
  font-family: var(--font-slab);
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.8;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .stats-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-tile {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }

  .stat-tile:first-child {
    border-top: none;
    padding-top: 0;
  }

  .inquiry-list {
    padding: 28px 22px;
  }

  .inquiry-list li {
    flex-wrap: wrap;
    gap: 4px 18px;
  }

  .inquiry-list .who {
    width: auto;
  }
}

/* -- estimate form ------------------------------------------------------------- */

.estimate-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-card,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}

.form-card {
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 20px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.field .hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-left: 6px;
}

.field input[type="text"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--plaster);
  font-family: var(--font-kr);
  font-size: 0.96rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold-deep);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-pill {
  position: relative;
}

.check-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.check-pill span {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.check-pill input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.check-pill input:focus-visible + span {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

.radio-row {
  display: flex;
  gap: 22px;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.94rem;
}

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  position: relative;
}

.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.consent input {
  margin-top: 3px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.is-visible {
  display: block;
}

.form-success .roofline {
  margin-bottom: 18px;
}

.form-success h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--ink-soft);
}

.contact-card {
  position: sticky;
  top: 104px;
}

.contact-card .phone-link {
  display: block;
  font-family: var(--font-slab);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--gold-deep);
}

.contact-card .muted {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.info-list li:first-child {
  border-top: none;
}

.info-list span:first-child {
  color: var(--ink-soft);
}

.info-list span:last-child {
  font-weight: 700;
}

/* -- cover page ------------------------------------------------------------- */

.cover-page {
  min-height: 100dvh;
  display: flex;
  background-color: var(--ink);
  background-image: none;
}

.cover {
  margin: auto;
  width: 100%;
  max-width: 380px;
  padding: 48px 28px;
  text-align: center;
}

.cover-mark {
  width: 220px;
  margin: 0 auto 22px;
}

.cover-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-variant: small-caps;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.cover-tagline {
  color: var(--cream-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 34px;
}

.cover-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.cover-actions .btn {
  padding: 16px 20px;
}

.cover-actions .btn-primary {
  order: -1;
}

.cover-phone {
  display: inline-block;
  font-family: var(--font-slab);
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 0.95rem;
  border-top: 1px solid var(--line-on-dark-soft);
  padding-top: 22px;
}

/* -- reveal on scroll ------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -- responsive ------------------------------------------------------------- */

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

  .hero-figure {
    order: -1;
  }

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

  .pillar-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pillar + .pillar {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 32px;
  }

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

  .contact-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .main-nav,
  .header-actions .phone-pill {
    display: none;
  }

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

  .site-header.is-open .main-nav {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 12, 8, 0.98);
    border-bottom: 1px solid var(--line-on-dark);
    flex-direction: column;
    padding: 20px 28px 28px;
    gap: 18px;
  }

  .site-header.is-open .header-actions .phone-pill {
    display: inline-flex;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .cta-band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    flex-direction: column;
  }
}
