/* Coleman Contracting & Home Services LLC — production stylesheet */

:root {
  --paper: #F6F5F0;
  --white: #FFFFFF;
  --ink: #20262A;
  --charcoal: #1C2124;
  --forest: #2E4420;
  --olive: #4C6B35;
  --amber: #C9862B;
  --amber-hover: #B5761F;
  --amber-light: #D8B573;
  --muted: #55606A;
  --gray: #8A9299;
  /* WCAG AA variants: --gray fails 4.5:1 for small text on light backgrounds,
     #7E878C and #E5484D fall short on charcoal */
  --gray-aa: #68717A;
  --footer-dim-aa: #8F989E;
  --credit-aa: #F05C61;
  --body-dark: #3A434B;
  --border: #E6E4DB;
  --border-2: #E3E1D8;
  --border-3: #D8D5CA;
  --credit: #E5484D;
  --credit-hover: #FF6B70;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --ease-rise: cubic-bezier(.19, .7, .22, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* keep anchor targets clear of the 74px sticky nav */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--amber-hover); }
button { font-family: inherit; }
input, textarea { font-family: inherit; color: inherit; }
::selection { background: var(--amber); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-pad {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

/* ---------- Animations ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes lineUp {
  from { transform: translateY(114%); }
  to   { transform: translateY(0); }
}

@keyframes kenburns {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}

.rise { animation: rise .7s var(--ease-rise) both; }
.rise.d1 { animation-delay: .05s; }
.rise.d2 { animation-delay: .15s; }
.rise.d3 { animation-delay: .25s; }
.rise.d4 { animation-delay: .35s; }
.rise.d5 { animation-delay: .45s; }
.rise.d7 { animation-delay: .75s; }
.rise.d8 { animation-delay: .9s; }
.rise.d9 { animation-delay: 1.05s; }

/* Scroll-reveal (IntersectionObserver adds .in; gated on .js so content
   is never hidden when JavaScript is unavailable) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-rise), transform .9s var(--ease-rise);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* Cascade: siblings in a grid reveal one after another */
.js .trust-grid > .reveal:nth-child(2), .js .cards > .reveal:nth-child(2),
.js .steps > .reveal:nth-child(2), .js .work-grid > .reveal:nth-child(2) { transition-delay: .1s; }
.js .trust-grid > .reveal:nth-child(3), .js .cards > .reveal:nth-child(3),
.js .steps > .reveal:nth-child(3), .js .work-grid > .reveal:nth-child(3) { transition-delay: .2s; }
.js .trust-grid > .reveal:nth-child(4), .js .cards > .reveal:nth-child(4) { transition-delay: .3s; }
.js .cards > .reveal:nth-child(5) { transition-delay: .4s; }
.js .cards > .reveal:nth-child(6) { transition-delay: .5s; }

/* Amber rules draw themselves in as their block reveals */
.js .reveal .rule { width: 0; transition: width .8s var(--ease-rise) .35s; }
.js .reveal.in .rule { width: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .rule { width: 28px; }
  .line { transform: none; }
  .hero-bg img { transform: none; }
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--forest);
  color: #E9EDE2;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar-inner {
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-cred { font-weight: 600; color: #F4F4EE; }
.topbar-cred .ccb { color: var(--amber-light); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 245, 240, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-2);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav .logo-light { display: none; }
.nav.scrolled { box-shadow: 0 6px 24px rgba(32, 38, 42, .08); }

/* Transparent over the hero photo; solidifies on scroll or when the menu opens */
.nav--overlay:not(.scrolled):not(.open) {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav--overlay:not(.scrolled):not(.open) .logo-dark { display: none; }
.nav--overlay:not(.scrolled):not(.open) .logo-light { display: block; }
.nav--overlay:not(.scrolled):not(.open) .brand-top { color: #F4F4EE; }
.nav--overlay:not(.scrolled):not(.open) .brand-sub { color: #D8DECB; }
.nav--overlay:not(.scrolled):not(.open) .nav-links > a:not(.btn-nav-cta) { color: #F4F4EE; }
.nav--overlay:not(.scrolled):not(.open) .nav-links > a:not(.btn-nav-cta):hover { color: var(--amber); }
.nav--overlay:not(.scrolled):not(.open) .hamburger span { background: #F4F4EE; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; display: block; }
.brand-word { display: flex; flex-direction: column; gap: 3px; }
.brand-top {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .03em;
  color: var(--ink);
  line-height: 1;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--olive);
  font-weight: 700;
  line-height: 1;
}

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-links > a {
  font-weight: 600;
  font-size: 15px;
  color: #2A3238;
  transition: color .25s ease;
}
.nav-links > a:hover { color: var(--olive); }
.nav-links > a:not(.btn-nav-cta) { position: relative; }
.nav-links > a:not(.btn-nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-rise);
}
.nav-links > a:not(.btn-nav-cta):hover::after { transform: scaleX(1); }
.nav-links .btn-nav-cta {
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 8px;
  letter-spacing: .02em;
  transition: background .2s ease, transform .2s ease;
}
.nav-links .btn-nav-cta:hover {
  background: var(--amber-hover);
  color: var(--charcoal);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .2s ease;
}
.nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border-2);
  background: var(--paper);
  padding: 10px 20px 22px;
  animation: popIn .22s ease both;
}
.mobile-panel[hidden] { display: none; }
.mobile-panel > a {
  padding: 13px 6px;
  font-weight: 600;
  font-size: 17px;
  color: #2A3238;
  border-bottom: 1px solid #EBE9E0;
}
.mobile-panel > a:hover { color: var(--olive); }
.mobile-panel > a:nth-last-child(2) { border-bottom: none; }
.mobile-panel .btn-panel-cta {
  margin-top: 10px;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 8px;
  border-bottom: none;
  text-align: center;
}
.mobile-panel .btn-panel-cta:hover { background: var(--amber-hover); color: var(--charcoal); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 881px) {
  .hamburger, .mobile-panel { display: none !important; }
}

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 8px;
  letter-spacing: .02em;
  transition: background .2s ease, transform .2s ease;
}
.btn-primary:hover {
  background: var(--amber-hover);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(244, 244, 238, .4);
  color: #F4F4EE;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 8px;
  transition: border-color .2s ease, color .2s ease;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

.btn-ghost--band { border-color: rgba(244, 244, 238, .45); }
.btn-ghost--band:hover { border-color: var(--amber); color: #F4F4EE; }

/* ---------- Hero (full-bleed photo) ---------- */

.hero {
  position: relative;
  /* fallback while the photo loads / if it ever 404s */
  background: linear-gradient(155deg, #1D2327 0%, #243026 55%, #2E4420 100%);
  color: #F4F4EE;
  overflow: hidden;
  margin-top: -74px; /* extend the photo up behind the transparent nav */
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: kenburns 22s ease-out both;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(16, 22, 18, .88) 0%, rgba(16, 22, 18, .6) 40%, rgba(16, 22, 18, .18) 72%, rgba(16, 22, 18, .38) 100%),
    linear-gradient(180deg, rgba(16, 22, 18, .52) 0%, rgba(16, 22, 18, .08) 34%, rgba(16, 22, 18, .55) 100%);
}
.hero-inner {
  position: relative;
  min-height: 92vh;
  min-height: min(94svh, 1000px);
  padding-top: calc(74px + clamp(44px, 6vw, 72px));
  padding-bottom: clamp(56px, 7vw, 88px);
  display: flex;
  align-items: center;
}
.hero-copy { flex: 1 1 560px; max-width: 640px; }
.hero-logo {
  height: clamp(96px, 13vw, 148px);
  display: block;
  margin-bottom: 26px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .4));
}

.line-mask {
  display: block;
  overflow: hidden;
  /* keep descenders (y, p, g) out of the clip */
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.line { display: block; animation: lineUp .8s var(--ease-rise) both; }
.line.l1 { animation-delay: .3s; }
.line.l2 { animation-delay: .45s; }
.line.l3 { animation-delay: .6s; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(244, 244, 238, .28);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #D8DECB;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  flex: none;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 24px 0 0;
}
.hero h1 .accent { color: var(--amber); }

.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: #C9CFC2;
  max-width: 54ch;
  margin: 24px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 28px; font-size: 14.5px; color: #B4BDAE; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }

/* ---------- Photo placeholders (swap for real <img class="photo-img"> when available) ---------- */

.photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(76, 107, 53, .05) 0,
    rgba(76, 107, 53, .05) 1px,
    transparent 1px,
    transparent 12px
  );
}
.photo-slot .slot-rule { width: 28px; height: 3px; background: var(--amber); }
.photo-slot .slot-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-aa);
}
/* ---------- Trust bar ---------- */

.trust { background: var(--white); border-bottom: 1px solid var(--border-2); }
.trust-grid {
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.rule { width: 28px; height: 3px; background: var(--amber); margin-bottom: 14px; }
.trust-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .02em;
}
.trust-sub { font-size: 14.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Services marquee ---------- */

.marquee {
  background: var(--white);
  border-bottom: 1px solid var(--border-2);
  overflow: hidden;
  padding: 15px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
  white-space: nowrap;
}
.diamond {
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Section headers ---------- */

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive);
}
.kicker--amber { color: var(--amber); }

.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 14px 0 0;
}
.h2--md { font-size: clamp(32px, 4.5vw, 50px); }

.section-head { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 18px 0 0; }

/* ---------- Services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 56px);
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(32, 38, 42, .1); }
.card-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--amber);
  letter-spacing: .1em;
  transition: transform .25s var(--ease-rise);
}
.card:hover .card-num { transform: translateX(5px); }
.card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .02em;
  margin: 10px 0 0;
  transition: color .25s ease;
}
.card:hover h3 { color: var(--forest); }
.card p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 10px 0 0; }

/* ---------- Process ---------- */

.process { background: var(--ink); color: #F4F4EE; }
.process-head { max-width: 640px; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 60px);
}
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  color: var(--amber);
}
.step-divider { width: 100%; height: 1px; background: rgba(244, 244, 238, .15); margin: 18px 0; }
.step h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .02em;
  margin: 0;
}
.step p { font-size: 15.5px; line-height: 1.65; color: #A9B2A6; margin: 10px 0 0; }

/* ---------- Recent work ---------- */

/* Four real project photos: 2x2 so the work is big enough to actually see
   (auto-fit would squeeze all four into one thin row on desktop) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 56px);
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
}
.work-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}

/* ---------- About ---------- */

.about { background: var(--white); border-top: 1px solid var(--border-2); }
.about-inner { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); align-items: center; }
.about-photo { flex: 0 1 400px; min-width: min(340px, 100%); }

.frame-offset--about { position: relative; margin: 0 0 18px 18px; }
.frame-offset--about::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 18px;
  border: 2px solid rgba(76, 107, 53, .35);
  border-radius: 14px;
}
.portrait-box {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

.about-copy { flex: 1 1 440px; min-width: min(440px, 100%); }
.about-copy p { font-size: 16.5px; line-height: 1.7; color: var(--body-dark); margin: 20px 0 0; }
.about-copy p + p { margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  border: 1.5px solid var(--olive);
  color: var(--forest);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 999px;
}
.signoff { margin-top: 26px; font-style: italic; color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.faq-list { margin-top: clamp(32px, 4vw, 44px); }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 12px;
  overflow: hidden;
}
/* Native <details>/<summary>: works with JS disabled, stays in the accessibility
   tree, and collapsed answers are indexable rather than visibility:hidden.
   name="faq" gives exclusive (single-open) behaviour with no script. */
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ""; }
.q-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item[open] .q-text { color: var(--forest); }
.faq-icon {
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  color: var(--amber);
  font-weight: 400;
  flex: none;
  transform: rotate(0deg);
  transition: transform .3s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] .faq-body { animation: faqOpen .35s var(--ease-rise) both; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq-body p { padding: 0 22px 22px; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

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

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #2E4420 0%, #3F5B2E 100%);
  color: #F4F4EE;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(40, 60, 28, .95) 0%, rgba(56, 82, 41, .9) 100%);
}
.cta-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) var(--gutter);
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0;
}
.cta-sub {
  font-size: 17.5px;
  line-height: 1.6;
  color: #D8DECB;
  margin: 18px auto 0;
  max-width: 46ch;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Contact ---------- */

.contact { background: var(--white); }
.contact-inner { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); }
.contact-info { flex: 1 1 340px; min-width: min(340px, 100%); }
.contact-sub { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.contact-rows { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.row-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-aa);
}
.row-value { font-size: 15.5px; line-height: 1.6; color: var(--body-dark); margin-top: 6px; }
.email-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.email-link { font-weight: 700; font-size: clamp(16px, 2vw, 19px); color: var(--forest); }
.email-link:hover { color: var(--amber-hover); }
.copy-btn {
  border: 1px solid var(--border-3);
  background: var(--paper);
  color: var(--olive);
  font-weight: 600;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .2s ease;
}
.copy-btn:hover { border-color: var(--olive); }
.phone-link {
  display: inline-block;
  font-weight: 700;
  font-size: 18px;
  color: var(--forest);
  margin-top: 6px;
}
.phone-link:hover { color: var(--amber-hover); }

.contact-form-col { flex: 1 1 420px; min-width: min(420px, 100%); }
.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--half { flex: 1 1 200px; }
.field-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5A6440;
}
.field-label .optional {
  color: var(--gray-aa);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.field input,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid var(--border-3);
  border-radius: 8px;
  background: var(--white);
  font-size: 15.5px;
}
.field textarea { resize: vertical; line-height: 1.55; }
.btn-submit {
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background .2s ease, transform .2s ease;
}
.btn-submit:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn-arrow { display: inline-block; transition: transform .25s var(--ease-rise); }
.btn-submit:hover .btn-arrow { transform: translateX(5px); }
.form-note { font-size: 13px; color: var(--gray-aa); line-height: 1.5; }

/* ---------- Footer ---------- */

.footer { background: var(--charcoal); color: #B9C0C4; }
.footer-cols {
  padding-top: clamp(48px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 56px);
}
.f-brand { flex: 1.5 1 260px; min-width: min(260px, 100%); }
.f-brand img { height: 104px; display: block; opacity: .95; }
.f-brand p { font-size: 15px; line-height: 1.65; margin: 18px 0 0; max-width: 34ch; }
.f-cred { font-size: 13.5px; color: var(--footer-dim-aa); margin-top: 14px; }
.f-col { flex: 1 1 150px; }
.f-col--contact { flex: 1 1 200px; }
.f-head {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #F4F4EE;
}
.f-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.f-links a { color: #B9C0C4; font-size: 14.5px; }
.f-links a:hover { color: var(--amber); }
.f-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 14.5px; }
.f-email { color: var(--amber); font-weight: 600; }
.f-email:hover { color: var(--amber-light); }
.f-phone { color: var(--amber); font-weight: 600; }
.f-phone:hover { color: var(--amber-light); }

.footer-bottom { padding-top: 24px; padding-bottom: 28px; }
.fb-inner {
  border-top: 1px solid rgba(244, 244, 238, .12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--footer-dim-aa);
}
.fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.fb-links a { color: #B9C0C4; }
.fb-links a:hover { color: var(--amber); }
.quip { font-style: italic; }
.credit a { color: var(--credit-aa); font-weight: 700; }
.credit a:hover { color: var(--credit-hover); }

/* ---------- Legal pages (Privacy / Terms) ---------- */

.legal-header {
  background: rgba(246, 245, 240, .93);
  border-bottom: 1px solid var(--border-2);
}
.legal-header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand--small img { height: 46px; }
.brand--small .brand-top { font-size: 17px; }
.brand--small .brand-sub { font-size: 9.5px; }
.back-link { font-weight: 600; font-size: 14.5px; color: var(--olive); white-space: nowrap; }

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 96px);
}
.legal-main h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
}
.effective { font-size: 14.5px; color: var(--gray-aa); margin-top: 12px; }
.summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 28px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body-dark);
}
.summary-card strong { color: var(--forest); }
.legal-main h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
  margin: 36px 0 0;
}
.legal-main h1 + .effective + h2,
.legal-main .summary-card + h2 { margin-top: 40px; }
.legal-main p { font-size: 15.5px; line-height: 1.7; color: var(--body-dark); margin: 12px 0 0; }

.legal-footer { background: var(--charcoal); color: var(--footer-dim-aa); }
.legal-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}
.legal-footer-inner a { color: #B9C0C4; }
.legal-footer-inner a:hover { color: var(--amber); }
.legal-footer-inner .credit a { color: var(--credit-aa); font-weight: 700; }
.legal-footer-inner .credit a:hover { color: var(--credit-hover); }

/* ---------- Mobile polish (phones ≤640px): centered, clean stacking ----------
   Desktop and tablet layouts above are untouched. */

@media (max-width: 640px) {
  /* Top bar: centered lines */
  .topbar-inner { justify-content: center; text-align: center; }

  /* Mobile menu: centered links */
  .mobile-panel > a { text-align: center; }

  /* Hero: everything centered, stacked full-width CTAs */
  .hero-copy { text-align: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .badge { font-size: 11px; padding: 8px 14px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { text-align: center; }

  /* Trust bar */
  .trust-grid > div { text-align: center; }
  .rule { margin-left: auto; margin-right: auto; }

  /* Service cards */
  .card { text-align: center; }

  /* Process */
  .process-head { text-align: center; margin-left: auto; margin-right: auto; }
  .step { text-align: center; }

  /* About: symmetric portrait, centered copy */
  .frame-offset--about { margin: 0 0 18px; }
  .frame-offset--about::before { display: none; }
  .about-copy { text-align: center; }
  .chips { justify-content: center; }

  /* CTA band: stacked full-width buttons like the hero */
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { text-align: center; }

  /* Contact info column (form stays left-aligned for usability) */
  .contact-info { text-align: center; }
  .email-row { justify-content: center; }

  /* Footer: single centered column */
  .footer-cols { flex-direction: column; text-align: center; }
  .f-brand img { margin-left: auto; margin-right: auto; }
  .f-brand p { margin-left: auto; margin-right: auto; }
  .fb-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}
