/* ==========================================================================
   As-Built Masters — shared stylesheet
   Light theme, amber primary accent, logo-color badge rotation (teal/red)
   ========================================================================== */

:root{
  --bg:#F7F4EF;
  --bg-elevated:#FFFFFF;
  --bg-elevated-2:#FBF3E8;
  --text:#221D16;
  --text-soft:#5C5346;
  --text-faint:#8B8171;
  --border:#E6DECF;
  --border-soft:#EDE7DA;
  --accent:#C1571E;
  --accent-deep:#A04615;
  --accent-ink:#FFF7EE;
  --accent-soft:#FBEADA;
  --shadow:0 1px 2px rgba(40,30,10,.04), 0 10px 28px -14px rgba(40,30,10,.18);

  /* Secondary badge colors, sampled from the logo mark — used only for
     icon badges, never for buttons/links/focus (amber stays the one
     color that means "actionable"). */
  --logo-teal:#4F7C78; --logo-teal-soft:#E6EEED;
  --logo-red:#8C3C3A;  --logo-red-soft:#F3E4E2;

  --success-border:#B7D9BE; --success-bg:#EEF7EF;
  --danger-border:#E3B3AE;  --danger-bg:#FBEEEC;

  --font-display:"Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body:"Manrope", -apple-system, "Segoe UI", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ width:100%; max-width:1180px; margin-inline:auto; padding-inline:clamp(20px,5vw,48px); }
h1,h2,h3{ font-family:var(--font-display); font-weight:700; text-wrap:balance; line-height:1.06; margin:0; }
p{ margin:0; }

.eyebrow{
  font-family:var(--font-body); font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent-deep); margin-bottom:14px;
}
.section{ padding-block:clamp(60px,8vw,108px); }
.section-head{ max-width:620px; margin-bottom:clamp(36px,5vw,56px); }
.section-head h2{ font-size:clamp(28px,3.6vw,40px); }
.section-head .lede{ margin-top:14px; color:var(--text-soft); font-size:17px; max-width:54ch; }
.divider{ border:0; border-top:1px solid var(--border-soft); margin:0; }
.page-hero{ padding-block:clamp(56px,8vw,88px) clamp(24px,4vw,36px); }
.page-hero h1{ font-size:clamp(34px,5vw,54px); max-width:18ch; }
.page-hero .lede{ margin-top:16px; color:var(--text-soft); font-size:18px; max-width:56ch; }

.card{
  background:var(--bg-elevated); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow);
  padding:28px 26px; transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover{ border-color:var(--accent); transform:translateY(-2px); box-shadow:0 1px 2px rgba(40,30,10,.05), 0 16px 32px -14px rgba(193,87,30,.28); }

.icon-badge{
  width:44px; height:44px; border-radius:12px; background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.icon-badge svg{ width:22px; height:22px; }
.icon-badge.teal{ background:var(--logo-teal-soft); }
.icon-badge.teal svg{ color:var(--logo-teal) !important; }
.icon-badge.red{ background:var(--logo-red-soft); }
.icon-badge.red svg{ color:var(--logo-red) !important; }

.btn{
  display:inline-flex; align-items:center; gap:9px; font-family:var(--font-body); font-weight:700;
  font-size:15px; padding:14px 26px; border-radius:999px; border:1px solid transparent;
  text-decoration:none; cursor:pointer; transition:background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary{ background:var(--accent); color:var(--accent-ink); }
.btn-primary:hover{ background:var(--accent-deep); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--border); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent-deep); }
.btn:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

/* ============ Header ============ */
header{ position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter:blur(12px); border-bottom:1px solid var(--border-soft); }
.nav{ display:flex; align-items:center; justify-content:space-between; padding-block:14px; }
.wordmark{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); }
.logo-img{ height:38px; width:auto; display:block; }
.logo-img-footer{ height:30px; }
@media (max-width:480px){ .logo-img{ height:32px; } }
.nav-links{ display:flex; align-items:center; gap:clamp(18px,2.6vw,32px); list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; font-size:15px; color:var(--text-soft); font-weight:600; }
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--text); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.menu-btn{ display:none; background:none; border:1px solid var(--border); border-radius:10px; width:42px; height:42px; align-items:center; justify-content:center; cursor:pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after{ content:""; display:block; width:18px; height:1.5px; background:var(--text); position:relative; transition:transform .15s ease, opacity .15s ease; }
.menu-btn span::before{ position:absolute; top:-6px; }
.menu-btn span::after{ position:absolute; top:6px; }
@media (max-width:860px){
  .nav-links{ position:absolute; top:100%; left:0; right:0; background:var(--bg); border-bottom:1px solid var(--border-soft); flex-direction:column; align-items:flex-start; gap:0; padding:8px clamp(20px,5vw,48px) 18px; display:none; }
  .nav-links.open{ display:flex; }
  .nav-links li{ width:100%; border-top:1px solid var(--border-soft); }
  .nav-links a{ display:block; padding:14px 0; }
  .menu-btn{ display:inline-flex; }
}

/* ============ Hero ============ */
.hero{ position:relative; padding-block:clamp(72px,11vw,132px) clamp(56px,8vw,96px); overflow:hidden; }
.hero::before{
  content:""; position:absolute; top:-260px; left:50%; transform:translateX(-50%);
  width:900px; height:640px; border-radius:50%;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%);
  pointer-events:none;
}
.hero .wrap{ position:relative; text-align:center; display:flex; flex-direction:column; align-items:center; }
.hero h1{ font-size:clamp(38px,6.6vw,74px); max-width:16ch; }
.hero h1 .accent{ color:var(--accent-deep); }
.hero .lede{ margin-top:22px; color:var(--text-soft); font-size:18.5px; max-width:56ch; }
.hero-ctas{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:34px; }
.trust-line{
  margin-top:52px; padding-top:26px; border-top:1px solid var(--border-soft);
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px 14px;
  font-size:14px; color:var(--text-faint); font-weight:600;
}
.trust-line .sep{ color:var(--border); }

/* ============ Services ============ */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .services-grid{ grid-template-columns:1fr; } }
.service{ display:flex; flex-direction:column; gap:14px; }
.service h3{ font-family:var(--font-body); font-size:17px; font-weight:700; }
.service p{ color:var(--text-soft); font-size:14.5px; }

/* ============ Process ============ */
.process-row{ display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:start; gap:14px; }
@media (max-width:820px){ .process-row{ grid-template-columns:1fr; } }
.process-step{ display:flex; flex-direction:column; gap:14px; }
.process-step h3{ font-size:20px; }
.process-step p{ margin-top:8px; color:var(--text-soft); font-size:14.5px; }
.process-arrow{ align-self:center; color:var(--border); font-size:22px; padding-top:30px; }
@media (max-width:820px){ .process-arrow{ display:none; } .process-step{ padding-block:8px 24px; border-bottom:1px solid var(--border-soft); } .process-step:last-child{ border-bottom:0; } }

/* ============ Audiences ============ */
.aud-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:960px){ .aud-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .aud-grid{ grid-template-columns:1fr; } }
.aud-card{ display:flex; flex-direction:column; gap:14px; }
.aud-card h3{ font-size:16.5px; font-weight:700; font-family:var(--font-body); }
.aud-card p{ color:var(--text-soft); font-size:14px; }

/* ============ Why us ============ */
.why-wrap{ display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(32px,5vw,72px); align-items:start; }
@media (max-width:880px){ .why-wrap{ grid-template-columns:1fr; } }
.check-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }
.check-list li{ display:flex; gap:14px; align-items:flex-start; }
.check-list .tick{ width:24px; height:24px; border-radius:999px; background:var(--accent-soft); color:var(--accent-deep); flex:none; display:flex; align-items:center; justify-content:center; margin-top:2px; }
.check-list .tick svg{ width:13px; height:13px; }
.check-list p{ color:var(--text-soft); font-size:15.5px; }
.check-list strong{ color:var(--text); font-weight:700; }

/* ============ Packages ============ */
.pkg-card{ display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; }
@media (max-width:760px){ .pkg-card{ grid-template-columns:1fr; } }
.pkg-card h3{ font-size:24px; }
.pkg-card p{ margin-top:10px; color:var(--text-soft); font-size:15.5px; max-width:52ch; }
.pill-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.pill{ padding:8px 16px; border-radius:999px; border:1px solid var(--border); font-size:13.5px; color:var(--text-soft); background:var(--bg); }

/* ============ Contact ============ */
.contact-card{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,56px); }
@media (max-width:820px){ .contact-card{ grid-template-columns:1fr; } }
.contact-card dl{ display:flex; flex-direction:column; gap:22px; margin:0; }
.contact-card dt{ font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); }
.contact-card dd{ margin:6px 0 0; font-size:19px; }
.contact-card a{ text-decoration:none; }
.contact-card a:hover{ color:var(--accent-deep); }
.contact-side{ display:flex; flex-direction:column; justify-content:center; gap:16px; }
.contact-side p{ color:var(--text-soft); font-size:15.5px; }
.contact-side .btn-row{ display:flex; flex-wrap:wrap; gap:14px; }

/* ============ Footer ============ */
footer{ padding-block:36px; border-top:1px solid var(--border-soft); }
.foot-wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; align-items:center; }
.foot-links{ display:flex; gap:22px; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
.foot-links a{ text-decoration:none; font-size:13.5px; color:var(--text-soft); }
.foot-links a:hover{ color:var(--accent-deep); }
.foot-meta{ font-size:13px; color:var(--text-faint); }

/* ==========================================================================
   Get a Quote — modal dialog + shared form styles (also used by contact.php)
   ========================================================================== */
dialog#quoteModal{
  width:min(760px, 92vw); max-height:88vh; padding:0; border:0; border-radius:20px;
  background:var(--bg-elevated); color:var(--text);
  box-shadow:0 30px 80px -20px rgba(30,20,5,.35);
}
dialog#quoteModal::backdrop{ background:rgba(30,22,12,.45); backdrop-filter:blur(2px); }
@media (prefers-reduced-motion: no-preference){
  dialog#quoteModal{ animation:modal-in .18s ease-out; }
  dialog#quoteModal::backdrop{ animation:backdrop-in .18s ease-out; }
}
@keyframes modal-in{ from{ opacity:0; transform:translateY(10px) scale(.98); } to{ opacity:1; transform:none; } }
@keyframes backdrop-in{ from{ opacity:0; } to{ opacity:1; } }

.modal-head{
  position:sticky; top:0; z-index:2; display:flex; align-items:flex-start; justify-content:space-between; gap:20px;
  padding:26px 28px 20px; background:var(--bg-elevated); border-bottom:1px solid var(--border-soft);
}
.modal-head h2{ font-size:clamp(22px,3vw,28px); margin-top:4px; }
.modal-close{
  flex:none; width:36px; height:36px; border-radius:999px; border:1px solid var(--border); background:var(--bg);
  display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--text-soft);
}
.modal-close:hover{ border-color:var(--accent); color:var(--accent-deep); }
.modal-body{ padding:26px 28px 32px; overflow-y:auto; }

.aside-card{ background:var(--bg-elevated); border:1px solid var(--border); border-radius:20px; padding:28px 26px; box-shadow:var(--shadow); }
.aside-card p{ color:var(--text-soft); font-size:15px; }
.aside-card dl{ display:flex; flex-direction:column; gap:20px; margin:22px 0 0; }
.aside-card dt{ font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); }
.aside-card dd{ margin:5px 0 0; font-size:16.5px; }
.aside-card a:hover{ color:var(--accent-deep); }

.form-shell{ display:grid; grid-template-columns:.85fr 1.6fr; gap:clamp(24px,4vw,48px); align-items:start; }
@media (max-width:940px){ .form-shell{ grid-template-columns:1fr; } }
.form-card{ background:var(--bg-elevated); border:1px solid var(--border); border-radius:20px; padding:clamp(24px,4vw,40px); box-shadow:var(--shadow); }

.fieldset{ border:0; margin:0 0 32px; padding:0; }
.fieldset:last-of-type{ margin-bottom:0; }
.fieldset legend{ font-family:var(--font-body); font-weight:700; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-deep); padding:0 0 14px; width:100%; border-bottom:1px solid var(--border-soft); margin-bottom:20px; }

.field-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px 18px; }
.field-grid.cols-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:640px){ .field-grid, .field-grid.cols-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .field-grid, .field-grid.cols-4{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:7px; }
.field.span-2{ grid-column:span 2; }
@media (max-width:460px){ .field.span-2{ grid-column:span 1; } }
.field label{ font-size:13px; font-weight:700; color:var(--text); }
.field .opt{ font-weight:500; color:var(--text-faint); font-size:12px; }
.field input,.field select,.field textarea{
  font:inherit; font-size:15px; color:var(--text); background:var(--bg);
  border:1px solid var(--border); border-radius:11px; padding:11px 13px; width:100%;
}
.field input::placeholder,.field textarea::placeholder{ color:var(--text-faint); }
.field input:focus,.field select:focus,.field textarea:focus{ outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent); }
.field textarea{ resize:vertical; min-height:100px; }
.field select{ appearance:none; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8171' stroke-width='2'><path d='M6 9 L12 15 L18 9'/></svg>"); background-repeat:no-repeat; background-position:right 13px center; background-size:16px; padding-right:36px; }

.starter-note{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:13px; background:var(--accent-soft); border:1px solid var(--border); margin-bottom:20px; font-size:13.5px; color:var(--text-soft); }
.starter-note strong{ color:var(--text); }

.check-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:560px){ .check-grid{ grid-template-columns:1fr; } }
.check{ display:flex; align-items:center; gap:11px; border:1px solid var(--border); border-radius:13px; padding:12px 14px; background:var(--bg); cursor:pointer; transition:border-color .15s ease, background-color .15s ease; }
.check:has(input:checked){ border-color:var(--accent); background:var(--accent-soft); }
.check input{ accent-color:var(--accent); width:17px; height:17px; flex:none; }
.check label{ font-size:14px; cursor:pointer; }

.form-submit{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:6px; }
.form-note{ font-size:12.5px; color:var(--text-faint); }

.banner{ display:flex; gap:14px; align-items:flex-start; padding:18px 20px; border-radius:14px; margin-bottom:24px; }
.banner-success{ border:1px solid var(--success-border); background:var(--success-bg); }
.banner-error{ border:1px solid var(--danger-border); background:var(--danger-bg); }
.banner h2, .banner h3{ font-family:var(--font-body); font-size:16px; font-weight:700; }
.banner p{ margin-top:4px; font-size:14.5px; color:var(--text-soft); }

/* honeypot — hidden from real visitors, catches basic bots */
.hp-field{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }
