/* Carolina Home Solutions - Piedmont Carolina design system
   Ink: deep pine / Paper: warm cream / Clay: Carolina clay / Sky: soft Carolina blue
   Type: Fraunces (display) + Source Sans 3 (body) */

:root {
  --ink: #1a2e24;
  --ink-2: #243a2f;
  --ink-soft: #4a5d52;
  --paper: #faf7f2;
  --paper-deep: #f0ebe3;
  --card: #fffcf8;
  --line: #e2d9cc;
  --line-dark: rgba(232, 226, 216, 0.14);
  --brick: #b85c38;
  --brick-deep: #96492c;
  --brick-drench: #a35030;
  --wheat: #c4a35a;
  --cream: #ebe4d6;
  --cream-muted: #a3aea8;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(26, 46, 36, 0.05), 0 12px 32px rgba(26, 46, 36, 0.09);
  --shadow-photo: 0 2px 6px rgba(26, 46, 36, 0.12), 0 24px 48px rgba(26, 46, 36, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

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

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 28px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--wheat);
  outline-offset: 2px;
}

header.site {
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand .mark svg { display: block; width: 100%; height: 100%; }
.brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.brand .rei {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--brick);
  border-radius: 5px;
  padding: 4px 8px 3px;
}
.head-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9688rem;
}
.head-phone svg { width: 16px; height: 16px; }
.head-phone:hover { color: #fff; }

.hero {
  background:
    linear-gradient(105deg, rgba(26, 46, 36, 0.94) 0%, rgba(26, 46, 36, 0.78) 48%, rgba(26, 46, 36, 0.45) 100%),
    url('/assets/hero-home.webp') center/cover no-repeat;
  color: var(--paper);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 18px;
}
.hero .kicker svg { width: 14px; height: 14px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  max-width: 16ch;
  font-weight: 700;
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--wheat);
}
.hero .sub {
  margin-top: 20px;
  font-size: 1.125rem;
  color: #d5ddd8;
  max-width: 38ch;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #b8c4bc;
  font-size: 0.875rem;
  font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--wheat); }
.hero-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-photo);
}
.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-photo .badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 252, 248, 0.95);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.hero-photo .badge svg { width: 14px; height: 14px; color: var(--brick); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-deep); }
.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }

section { padding: 84px 0; }
section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 14px; }
.lede { color: var(--ink-soft); max-width: 52ch; margin-bottom: 28px; font-size: 1.0625rem; }

.situations { background: var(--paper); }
.aside-note {
  background: var(--paper-deep);
  border-left: 3px solid var(--brick);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  font-size: 0.9688rem;
  margin-bottom: 32px;
  max-width: 60ch;
}
.aside-note strong { color: var(--ink); }
.situation-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.situation {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.situation .no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brick);
  flex-shrink: 0;
}
.situation h3 { font-size: 1.125rem; margin-bottom: 6px; }
.situation p { color: var(--ink-soft); font-size: 0.9688rem; }

.process {
  background: var(--ink);
  color: var(--paper);
}
.process h2 { color: #fff; }
.process .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.timeline { margin-top: 28px; display: grid; gap: 22px; }
.tstep { display: flex; gap: 16px; align-items: flex-start; }
.tstep .num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brick); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; flex-shrink: 0;
}
.tstep h3 { color: #fff; font-size: 1.1875rem; margin-bottom: 6px; }
.tstep p { color: #c5cfc8; font-size: 0.9688rem; }
.process-photo { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-photo); }
.process-photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }

.local { background: var(--paper-deep); }
.local .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.local-photo { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-photo); }
.local-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.local p { color: var(--ink-soft); margin-bottom: 16px; max-width: 48ch; }
.local .btn { margin-top: 10px; }

.inquiry-section { background: var(--paper); }
.inquiry-section .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-stack { display: grid; gap: 14px; margin: 28px 0 18px; }
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px;
}
.contact-row svg { width: 18px; height: 18px; color: var(--brick); margin-top: 2px; flex-shrink: 0; }
.contact-row .k {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px;
}
.contact-row a, .contact-row .v { color: var(--ink); font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-row a:hover { color: var(--brick); }
.reply-note {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--ink-soft); font-size: 0.9375rem;
}
.reply-note svg { width: 18px; height: 18px; color: var(--wheat); flex-shrink: 0; margin-top: 2px; }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-head p { color: var(--ink-soft); margin-bottom: 22px; font-size: 0.9688rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: 0.875rem; margin-bottom: 6px; color: var(--ink); }
input[type=text], input[type=tel], input[type=email], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc5b5;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: 2px solid var(--wheat);
  outline-offset: 1px;
  border-color: var(--wheat);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--brick);
}
.consent-copy { font-size: 0.8438rem; color: var(--ink-soft); line-height: 1.55; }
.consent-copy label { font-weight: 400; display: inline; cursor: pointer; }
.consent-copy a { color: var(--ink); font-weight: 700; }
.finePrint { font-size: 0.8125rem; color: #7c8b82; margin-top: 14px; line-height: 1.55; }
.submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 0;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 15px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.submit:hover { background: var(--ink-2); }
.submit svg { width: 18px; height: 18px; }
.hp-field {
  position: absolute;
  left: -6000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  display: none;
  background: #fdecea;
  color: #8a2b1e;
  border: 1px solid #f0c2ba;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.faq { background: var(--paper-deep); }
.faq .inner { max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 20px;
  margin-bottom: 10px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--brick); flex-shrink: 0; transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p {
  color: var(--ink-soft);
  padding: 0 0 18px;
  font-size: 0.9688rem;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

footer.site {
  background: var(--ink);
  color: #a3aea8;
  padding: 40px 0;
  font-size: 0.875rem;
}
footer.site .wrap {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 24px;
  align-items: start;
}
footer.site .addr { margin-top: 12px; line-height: 1.6; }
footer.site a { color: #d5ddd8; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site nav { display: flex; flex-direction: column; gap: 10px; }
footer.site .legalline { font-size: 0.8125rem; line-height: 1.55; color: #8a968f; }

.legal {
  max-width: 760px;
  margin: 48px auto 80px;
  padding: 0 28px;
}
.legal h1 { font-size: 2.25rem; margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); margin-bottom: 28px; font-size: 0.9375rem; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.legal p { color: var(--ink-soft); margin-bottom: 14px; }
.legal a { color: var(--ink); font-weight: 700; }

.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px;
  max-width: 640px;
  margin: 80px auto;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.notice h1 { font-size: 1.875rem; margin-bottom: 14px; }
.notice p { color: var(--ink-soft); margin-bottom: 10px; }
.notice a { color: var(--brick); font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .reveal-stagger.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .20s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .24s; }
.reveal-stagger.in > * { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(26, 46, 36, 0.94) 0%, rgba(26, 46, 36, 0.88) 55%, rgba(26, 46, 36, 0.78) 100%),
      url('/assets/hero-home.webp') center/cover no-repeat;
    padding: 64px 0 72px;
  }
  .hero .wrap,
  .process .wrap,
  .local .wrap,
  .inquiry-section .wrap,
  footer.site .wrap {
    grid-template-columns: 1fr;
  }
  .situation-list, .grid2 { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 420px; }
  .form-card { padding: 26px; }
  footer.site nav { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger, .reveal-stagger > *, .btn {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
