/* ===========================================================
   APEX Roof Rejuvenation — brand stylesheet
   Palette: ink navy / sun gold / warm paper / weathered rust
   Type: Fraunces (display) + Work Sans (body) + Barlow Condensed (labels)
   =========================================================== */

:root{
  --ink:        #0d2448;   /* deep navy — headlines, header, footer */
  --ink-soft:   #16335e;   /* lighter navy for gradients/hovers */
  --sun:        #e9ad17;   /* logo gold — primary accent, CTAs */
  --sun-dark:   #c4900f;   /* pressed/hover state for gold */
  --paper:      #fbf7ef;   /* warm, sun-bleached off-white ground */
  --paper-dim:  #f3ecdd;   /* slightly deeper paper for banded sections */
  --card:       #ffffff;   /* card surfaces on paper */
  --slate:      #3c4657;   /* navy-tinted body text */
  --slate-dim:  #6b7484;   /* muted/secondary text */
  --rust:       #b4552f;   /* weathered-shingle accent — "before" state */
  --line:       #e6dcc4;   /* warm hairline border on paper */
  --line-dark:  rgba(255,255,255,0.14); /* hairline on navy */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --shadow-card: 0 1px 2px rgba(13,36,72,0.06), 0 10px 28px -14px rgba(13,36,72,0.22);
  --shadow-pop:  0 20px 44px -18px rgba(13,36,72,0.38);
  --container: 1180px;
}

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

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

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; }

h1, h2, h3, h4{
  font-family: "Fraunces", Georgia, "Iowan Old Style", serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
}

.eyebrow{
  font-family: "Barlow Condensed", "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sun-dark);
}

.eyebrow.on-dark{ color: var(--sun); }

p{ margin: 0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 20px;
}

@media (min-width: 640px){
  .container{ padding-inline: 32px; }
}

section{ position: relative; }

.section-pad{ padding-block: 68px; }
@media (min-width: 860px){ .section-pad{ padding-block: 100px; } }

.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible{ outline: 3px solid var(--sun); outline-offset: 2px; }

.btn-primary{
  background: var(--sun);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover{ background: var(--sun-dark); transform: translateY(-1px); }

.btn-ghost-dark{
  background: transparent;
  color: var(--paper);
  border-color: var(--line-dark);
}
.btn-ghost-dark:hover{ background: rgba(255,255,255,0.08); }

.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--paper); }

.btn-block{ width: 100%; }

/* ---------- promo bar ---------- */
.promo-bar{
  background: var(--sun);
  color: var(--ink);
}
.promo-bar-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  padding-block: 9px;
  text-align: center;
}
.promo-bar-text{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.4;
}
.promo-bar-text svg{ width: 16px; height: 16px; flex-shrink: 0; }
.promo-bar-msg{ display: inline; }
@media (max-width: 560px){
  .promo-bar-text{ flex-basis: 100%; justify-content: center; font-size: 0.8rem; text-align: center; }
  .promo-bar-text svg{ display: none; }
}
.promo-bar-link{
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
  white-space: nowrap;
}
.promo-bar-link:hover{ text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251,247,239,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img{ height: 42px; width: auto; }

.brand-word{
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

nav.main-nav{
  display: none;
  align-items: center;
  gap: 28px;
}
nav.main-nav a{
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--slate);
  transition: color 0.15s ease;
}
nav.main-nav a:hover{ color: var(--ink); }

@media (min-width: 940px){
  nav.main-nav{ display: flex; }
}

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

.header-phone{
  display: none;
  flex-direction: column;
  text-align: right;
  text-decoration: none;
  line-height: 1.25;
}
.header-phone .eyebrow{ font-size: 0.68rem; }
.header-phone .num{
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
@media (min-width: 720px){ .header-phone{ display: flex; } }

.header-cta .btn{ padding: 11px 18px; font-size: 0.9rem; }

/* mobile nav toggle */
.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
}
@media (min-width: 940px){ .nav-toggle{ display: none; } }
.nav-toggle span{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle span::before{ top: -6px; }
.nav-toggle span::after{ top: 6px; }

.mobile-menu{
  display: none;
  flex-direction: column;
  padding: 6px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu.open{ display: flex; }
.mobile-menu a{
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--slate);
  font-weight: 500;
}
.mobile-menu .btn{ margin-top: 14px; }
@media (min-width: 940px){ .mobile-menu{ display: none !important; } }

/* ---------- hero ---------- */
.hero{
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}

.hero-glow{
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(233,173,23,0.32), transparent 72%);
  pointer-events: none;
}

.hero-grid{
  position: relative;
  display: grid;
  gap: 44px;
  padding-block: 56px 84px;
}
@media (min-width: 900px){
  .hero-grid{
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-block: 76px 96px;
  }
}

.hero-copy .eyebrow{ margin-bottom: 18px; display: inline-block; }

.hero h1{
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  color: var(--paper);
  letter-spacing: -0.01em;
}
.hero h1 em{
  font-style: italic;
  color: var(--sun);
}

.hero-sub{
  margin-top: 20px;
  font-size: 1.14rem;
  color: #cdd7e8;
  max-width: 46ch;
  line-height: 1.65;
}

.hero-actions{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta{
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
}
.hero-meta div{ display: flex; flex-direction: column; gap: 2px; }
.hero-meta .num{ font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 600; color: var(--sun); }
.hero-meta .lbl{ font-size: 0.85rem; color: #b9c4d8; }

.hero-art{ position: relative; }
.hero-art svg{ width: 100%; height: auto; display: block; }

/* pitched divider between hero and next section */
.pitch-divider{
  display: block;
  width: 100%;
  height: 46px;
  margin-bottom: -1px;
}
@media (min-width: 860px){ .pitch-divider{ height: 64px; } }

/* ---------- trust strip ---------- */
.trust-strip{
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}
.trust-row{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 18px;
  padding-block: 26px;
}
@media (min-width: 720px){ .trust-row{ grid-template-columns: repeat(4, 1fr); } }
.trust-item{ display: flex; align-items: flex-start; gap: 10px; }
.trust-item svg{ flex-shrink: 0; width: 22px; height: 22px; color: var(--sun-dark); margin-top: 2px; }
.trust-item strong{ display: block; font-size: 0.94rem; color: var(--ink); font-weight: 600; }
.trust-item span{ font-size: 0.84rem; color: var(--slate-dim); }

/* ---------- section headers ---------- */
.section-head{ max-width: 62ch; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 14px; }
.section-head p{ margin-top: 16px; font-size: 1.05rem; color: var(--slate-dim); }
.section-head.center{ margin-inline: auto; text-align: center; }

/* ---------- problem / positioning ---------- */
.positioning{ background: var(--paper); }
.pos-grid{
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px){ .pos-grid{ grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.pos-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.pos-card .tag{
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.pos-card.replace .tag{ background: #f2e2da; color: var(--rust); }
.pos-card.renew .tag{ background: #fdf0d2; color: var(--sun-dark); }
.pos-card.perfect .tag{ background: #e7ecf3; color: var(--ink); }
.pos-card h3{ font-size: 1.25rem; margin-bottom: 10px; }
.pos-card p{ color: var(--slate-dim); font-size: 0.98rem; }
.pos-card.renew{ border-color: var(--sun); border-width: 2px; padding: 27px 23px; }

.positioning-statement{
  margin-top: 40px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: grid;
  gap: 18px;
}
@media (min-width: 780px){ .positioning-statement{ grid-template-columns: auto 1fr; align-items: center; padding: 38px 44px; } }
.positioning-statement blockquote{
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--paper);
}
.positioning-statement cite{ display: block; margin-top: 10px; font-style: normal; font-size: 0.85rem; color: #b9c4d8; }

/* ---------- warning signs (partner content w/ Roof Juice) ---------- */
.warning-signs{ background: var(--paper); }

.warning-grid{
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .warning-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px){ .warning-grid{ grid-template-columns: repeat(3, 1fr); } }

.warning-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.warning-photo{
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.warning-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,25,52,0.88) 0%, rgba(8,25,52,0.32) 46%, rgba(8,25,52,0) 72%);
}
.warning-card-title{
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.22;
  padding: 18px 20px;
}

.warning-card p{
  padding: 18px 22px 24px;
  font-size: 0.94rem;
  color: var(--slate-dim);
}

/* ---------- process ---------- */
.process{ background: var(--paper-dim); }
.process-rail{
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 700px){ .process-rail{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px){ .process-rail{ grid-template-columns: repeat(5, 1fr); } }

.step{
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px 20px;
  counter-increment: step;
}
.step::before{
  content: counter(step, decimal-leading-zero);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--sun-dark);
  display: block;
  margin-bottom: 10px;
}
.step h3{ font-size: 1.02rem; margin-bottom: 6px; }
.step p{ font-size: 0.88rem; color: var(--slate-dim); }

/* ---------- pricing tiers ---------- */
.pricing{ background: var(--ink); color: var(--paper); }
.pricing .section-head h2{ color: var(--paper); }
.pricing .section-head p{ color: #b9c4d8; }

.pricing-note{
  background: rgba(233,173,23,0.14);
  border: 1px solid rgba(233,173,23,0.4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.95rem;
  color: #f4e2ae;
  margin-bottom: 40px;
  max-width: 62ch;
}
.pricing-note strong{ color: var(--sun); }

.tier-grid{
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){ .tier-grid{ grid-template-columns: repeat(3, 1fr); } }

.tier{
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tier.featured{
  background: var(--paper);
  color: var(--slate);
  border-color: var(--sun);
  box-shadow: var(--shadow-pop);
  position: relative;
}
.tier.featured h3, .tier.featured .tier-good{ color: var(--ink); }
.tier-badge{
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--sun);
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 100px;
}
.tier-good{ font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; color: var(--sun); }
.tier h3{ font-size: 1.35rem; color: var(--paper); }
.tier.featured h3{ color: var(--ink); }
.tier > p.desc{ font-size: 0.92rem; color: #c3cddc; }
.tier.featured > p.desc{ color: var(--slate-dim); }
.tier ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier li{ display: flex; gap: 9px; font-size: 0.92rem; align-items: flex-start; }
.tier li svg{ flex-shrink: 0; width: 17px; height: 17px; margin-top: 3px; color: var(--sun); }
.tier.featured li svg{ color: var(--sun-dark); }

/* ---------- financing ribbon ---------- */
.finance-ribbon-section{
  background: var(--paper);
  padding-block: 8px 8px;
}
.finance-ribbon{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.finance-ribbon-icon{
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.finance-ribbon-icon svg{ width: 22px; height: 22px; }
.finance-ribbon-text{
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.finance-ribbon-text strong{ font-family: "Fraunces", serif; font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.finance-ribbon-text span{ font-size: 0.92rem; color: var(--slate-dim); }
.finance-ribbon-cta{ flex-shrink: 0; }

/* ---------- service area ---------- */
.area{ background: var(--paper); }
.area-grid{
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px){ .area-grid{ grid-template-columns: 1fr 1fr; gap: 56px; } }

.county-list{ list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.county-list li{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.county-list li:last-child{ border-bottom: none; }
.county-list .dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--sun); flex-shrink: 0; }

.area-map{ position: relative; }
.area-map svg{ width: 100%; height: auto; }

/* ---------- about ---------- */
.about{ background: var(--paper-dim); }
.about-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .about-grid{ grid-template-columns: repeat(2, 1fr); } }

.person{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.person .initials{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sun);
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.person h3{ font-size: 1.15rem; }
.person .role{ font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.76rem; color: var(--sun-dark); margin-top: 4px; display: block; }
.person a.mail{ display: inline-block; margin-top: 14px; font-size: 0.9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- warranty ---------- */
.warranty{ background: var(--paper-dim); }
.warranty-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .warranty-grid{ grid-template-columns: repeat(2, 1fr); } }

.warranty-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}
.warranty-icon{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sun);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.warranty-icon svg{ width: 24px; height: 24px; }
.warranty-card h3{ font-size: 1.2rem; margin-bottom: 10px; }
.warranty-card p{ color: var(--slate-dim); font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq{ background: var(--paper); }
.faq-list{ display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.faq-item{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .plus{
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--sun-dark);
  transition: transform 0.18s ease;
}
.faq-item[open] summary .plus{ transform: rotate(45deg); }
.faq-item .faq-a{ padding: 0 22px 20px; color: var(--slate-dim); font-size: 0.95rem; max-width: 68ch; }

/* ---------- contact ---------- */
.contact{ background: var(--ink); color: var(--paper); }
.contact .section-head h2{ color: var(--paper); }
.contact .section-head p{ color: #b9c4d8; }

.contact-grid{
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 940px){ .contact-grid{ grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }

.contact-side{ display: flex; flex-direction: column; gap: 22px; }
.contact-card{
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-card a.big{
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sun);
  text-decoration: none;
  margin-top: 6px;
}
.contact-card p{ font-size: 0.9rem; color: #c3cddc; margin-top: 10px; }

.contact-form{
  background: var(--paper);
  color: var(--slate);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-pop);
}
@media (min-width: 640px){ .contact-form{ padding: 38px; } }

.form-row{ display: grid; gap: 18px; }
.form-row.two{ grid-template-columns: 1fr; }
@media (min-width: 560px){ .form-row.two{ grid-template-columns: 1fr 1fr; } }

.field{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label{ font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field .opt{ font-weight: 400; color: var(--slate-dim); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea{
  font: inherit;
  font-size: 0.96rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #cdbf9a;
  background: #ffffff;
  color: var(--slate);
}
.field input:focus, .field textarea:focus{ outline: 2px solid var(--sun-dark); outline-offset: 1px; }
.field textarea{ resize: vertical; min-height: 96px; }

fieldset.field{ border: none; padding: 0; margin: 0 0 18px; }
fieldset.field legend{ font-size: 0.86rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 8px; }
.radio-row{ display: flex; flex-wrap: wrap; gap: 10px 18px; }
.radio-opt{ display: flex; align-items: center; gap: 7px; font-size: 0.9rem; color: var(--slate); }
.radio-opt input{ accent-color: var(--sun-dark); width: 16px; height: 16px; }

.form-section-label{
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--sun-dark);
  margin: 26px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.form-section-label:first-of-type{ margin-top: 0; padding-top: 0; border-top: none; }

.form-fine{ font-size: 0.8rem; color: var(--slate-dim); margin-top: 14px; }

/* honeypot */
.hp-field{ position: absolute; left: -9999px; top: -9999px; }

/* final CTA band */
.cta-band{
  background: var(--sun);
  color: var(--ink);
}
.cta-band-inner{
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-block: 44px;
}
@media (min-width: 760px){
  .cta-band-inner{ flex-direction: row; align-items: center; justify-content: space-between; padding-block: 50px; }
}
.cta-band h2{ color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band .btn-outline{ border-color: var(--ink); }
.cta-band .btn-outline:hover{ background: var(--ink); color: var(--sun); }

/* ---------- footer ---------- */
footer.site-footer{
  background: #081934;
  color: #a9b6cb;
  padding-block: 52px 30px;
}
.footer-grid{
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){ .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr; } }

.footer-brand{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img{ height: 34px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-word{ font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; color: #e7ecf3; }
.footer-tagline{ font-size: 0.92rem; max-width: 34ch; line-height: 1.6; }

.footer-col h4{
  font-family: "Barlow Condensed", sans-serif;
  color: #e7ecf3;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.footer-col a{ display: block; text-decoration: none; color: #a9b6cb; font-size: 0.92rem; padding-bottom: 10px; }
.footer-col a:hover{ color: var(--sun); }

.footer-bottom{
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #7f8caa;
}
