/* American Wildland LLC — Mockup design system */

/* GT America — drop licensed .woff2 files into /fonts to activate.
   Expected filenames (Standard family):
   GT-America-Standard-Regular.woff2
   GT-America-Standard-Medium.woff2
   GT-America-Standard-Bold.woff2
*/
@font-face {
  font-family: "GT America";
  src: url("fonts/GT-America-Standard-Regular.woff2") format("woff2"),
       url("fonts/GT-America-Standard-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GT America";
  src: url("fonts/GT-America-Standard-Medium.woff2") format("woff2"),
       url("fonts/GT-America-Standard-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GT America";
  src: url("fonts/GT-America-Standard-Bold.woff2") format("woff2"),
       url("fonts/GT-America-Standard-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f2ea;
  --bg-alt: #ebe4d6;
  --surface: #fffdf8;
  --ink: #121816;
  --ink-soft: #3d4a43;
  --muted: #6b776f;
  --line: rgba(18, 24, 22, 0.12);
  --forest: #1c3d30;
  --forest-deep: #0f241c;
  --sage: #3f6b55;
  --ember: #d4551a;
  --ember-hot: #e86a2c;
  --ember-soft: #f3d5c0;
  --gold: #c9a227;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(15, 36, 28, 0.12);
  --shadow-sm: 0 8px 24px rgba(15, 36, 28, 0.08);
  --header-h: 72px;
  --announce-h: 40px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
  --logo-font: "GT America", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--announce-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Announcement */
.announcement {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: var(--announce-h);
  padding: 8px 20px;
  background: var(--forest-deep);
  color: #e8efe9;
  font-size: 0.875rem;
}

.announcement a {
  color: #ffc9a3;
  font-weight: 600;
  white-space: nowrap;
}

.announcement a:hover {
  color: #fff;
}

.announcement > span a {
  color: rgba(232, 239, 233, 0.9);
  font-weight: 500;
}

/* Header */
.site-header {
  position: sticky;
  top: var(--announce-h);
  z-index: 50;
  background: rgba(246, 242, 234, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 242, 234, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-img {
  width: 48px;
  height: 55px;
  min-width: 48px;
  min-height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: #ffffff;
  display: block;
  box-shadow: 0 1px 3px rgba(15, 36, 28, 0.12);
}

.logo-mark {
  width: 40px;
  height: 40px;
  color: var(--ember);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.announce-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffc9a3;
  font-weight: 600;
  white-space: nowrap;
}

.announce-phone:hover {
  color: #fff;
  text-decoration: underline;
}

.phone-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-phone {
  font-weight: 600 !important;
  color: var(--forest) !important;
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--ember) !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--logo-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.logo-text span {
  font-family: var(--font);
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer .logo-text strong {
  font-family: var(--logo-font);
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--forest);
  color: #f4f7f4 !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--forest-deep);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 10px 28px rgba(212, 85, 26, 0.28);
}

.btn-primary:hover {
  background: var(--ember-hot);
}

.btn-secondary {
  background: var(--forest);
  color: #f4f7f4;
}

.btn-secondary:hover {
  background: var(--forest-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #f4f7f4;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 600;
  color: var(--ember);
}

.text-link:hover {
  text-decoration: underline;
}

/* Typography helpers */
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.eyebrow.light {
  color: #9fc4af;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.1rem);
  font-weight: 400;
  color: #f7f3eb;
}

h1 em {
  font-style: italic;
  color: #ffc49a;
}

h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 400;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.lead {
  margin: 0 0 28px;
  font-size: 1.125rem;
  color: rgba(247, 243, 235, 0.82);
  max-width: 36ch;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  color: #f7f3eb;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 20%, rgba(232, 106, 44, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(63, 107, 85, 0.35), transparent 50%),
    linear-gradient(160deg, #0d1a14 0%, #163528 42%, #1a2a22 100%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 14, 0.72) 0%, rgba(10, 18, 14, 0.35) 55%, rgba(10, 18, 14, 0.55) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-proof strong {
  font-size: 0.95rem;
  color: #fff;
}

.hero-proof span {
  font-size: 0.85rem;
  color: rgba(247, 243, 235, 0.65);
}

.hero-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card-top h2 {
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-card-top p {
  margin: 0 0 18px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ember-soft);
  color: #8a3a12;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.check-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5' stroke='%23f4f7f4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Trust bar */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

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

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-num {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ember);
  line-height: 1;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(212, 85, 26, 0.18), transparent 50%),
    var(--forest-deep);
  color: #eef3ef;
}

.section-dark h2 {
  color: #f7f3eb;
}

.section-dark p {
  color: rgba(238, 243, 239, 0.78);
}

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

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.service-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(160deg, #1c3d30, #163028);
  color: #f4f7f4;
  border-color: transparent;
}

.service-card.featured p {
  color: rgba(244, 247, 244, 0.78);
}

.service-card.featured .text-link {
  color: #ffc49a;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--sage);
}

.service-card.featured .service-icon {
  color: #ffc49a;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* Process */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}

.process-steps li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ember-soft);
  color: #8a3a12;
  font-weight: 700;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Before / After — photo sliders */
.ba-showcase {
  display: grid;
  gap: 28px;
}

.ba-pair {
  margin: 0;
}

.ba-pair figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding: 0 4px;
}

.ba-pair figcaption strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.ba-pair figcaption span {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ba-viewer {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: none;
  background: #1a2a22;
  cursor: ew-resize;
}

.featured-pair .ba-viewer {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
}

.ba-before {
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
}

.ba-before img,
.ba-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
  pointer-events: none;
}

/* Before image must match full viewer width so crop reveals correctly */
.photo-ba .ba-before img {
  width: var(--ba-full-width, 100%);
  max-width: none;
  left: 0;
}

.photo-ba .ba-after img {
  width: 100%;
}

.ba-label {
  position: absolute;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(12, 18, 16, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.ba-before .ba-label {
  left: 14px;
  top: 14px;
}

.ba-after .ba-label {
  right: 14px;
  top: 14px;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 44px;
  margin-left: -22px;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  position: relative;
  border: 2px solid rgba(18, 24, 22, 0.08);
}

.ba-handle span::before,
.ba-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateY(-50%);
}

.ba-handle span::before {
  left: 10px;
  border-right: 8px solid var(--ink);
}

.ba-handle span::after {
  right: 10px;
  border-left: 8px solid var(--ink);
}

.project-gallery {
  margin-top: 8px;
}

.gallery-title {
  margin: 8px 0 16px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: #1a2a22;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.ba-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--forest);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .featured-pair .ba-viewer,
  .ba-viewer {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.why-copy p {
  max-width: 48ch;
}

.why-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.why-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 500;
  color: #e8efe9;
}

.why-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ffc49a;
}

.why-card {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.why-quote {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: #f7f3eb !important;
}

.why-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ember);
  color: #fff;
  font-weight: 700;
}

.why-person strong {
  display: block;
}

.why-person span {
  color: rgba(238, 243, 239, 0.65);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--ember) 0%, #c2410c 100%);
  color: #fff;
  padding: 48px 0;
}

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

.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
}

.cta-band .btn-primary {
  background: #fff;
  color: #9a3412;
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: #fff7ed;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

a.contact-method:hover {
  border-color: var(--sage);
  transform: translateY(-1px);
}

.contact-method.static {
  background: transparent;
}

.cm-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(63, 107, 85, 0.15);
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #e7f5ec;
  color: #1c3d30;
  font-weight: 600;
  text-align: center;
}

.form-error {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #fdecea;
  color: #7f1d1d;
  font-weight: 600;
  text-align: center;
}

.form-error a,
.form-note a {
  color: inherit;
  text-decoration: underline;
}

.form-note a {
  color: var(--forest);
  font-weight: 600;
}

/* Netlify honeypot — hide from users, keep in DOM for bots */
.hp-field {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

/* Legal pages */
.legal-page {
  padding: 56px 0 80px;
  min-height: 60vh;
}

.legal-wrap {
  max-width: 720px;
}

.legal-wrap h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.15;
}

.legal-updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-body h2 {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-inline a {
  color: rgba(238, 243, 239, 0.72);
}

.footer-legal-inline a:hover {
  color: #fff;
}

.site-footer .logo-img {
  width: 40px;
  max-height: 46px;
}

/* Footer */
.site-footer {
  background: #0b1410;
  color: rgba(238, 243, 239, 0.78);
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 14px;
  color: #f4f7f4;
}

.footer-brand .logo-text span {
  color: rgba(238, 243, 239, 0.55);
}

.footer-brand p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.footer-cols h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-cols a {
  display: block;
  margin-bottom: 8px;
  color: rgba(238, 243, 239, 0.72);
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.mock-tag {
  color: #ffc49a;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .why-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .nav-phone {
    display: none;
  }

  body.nav-open .nav-phone {
    display: block;
  }

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

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

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

  .service-card,
  .service-card.featured {
    grid-column: span 1;
  }

  .trust-grid,
  .ba-stats {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: calc(var(--announce-h) + var(--header-h)) 0 auto 0;
    background: rgba(246, 242, 234, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 8px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .hero .btn-ghost {
    border-color: rgba(255, 255, 255, 0.35);
  }

  .ba-viewer .ba-before .ba-scene,
  .ba-viewer .ba-after .ba-scene {
    width: calc(100vw - 40px);
  }
}

@media (max-width: 640px) {
  .announcement {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-block: 10px;
  }

  :root {
    --announce-h: 56px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 72px 0;
  }

  .process-steps,
  .services-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
