/* ===== Click2Fit brand tokens (from the logo) ===== */
:root {
  --navy: #0F2B5D;
  --navy-2: #1A3A72;
  --navy-3: #0A1F45;
  --orange: #FF6B1B;
  --orange-dark: #E85A0C;
  --stone: #F5F2ED;
  --white: #FFFFFF;
  --ink: #0F2B5D;
  --text: #2B3442;
  --muted: #5C5C5A;
  --line: #E4DFD7;
  --radius: 4px;
  --shadow: 0 12px 32px rgba(15, 43, 93, .1);
  --font-head: "Archivo", Arial, Helvetica, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section-tint { background: var(--stone); }
.section-dark { background: var(--navy); color: #C3CDE0; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .9em;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.accent { color: var(--orange); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 2px;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 36px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav-menu a:not(.btn):hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--stone) 0%, var(--white) 100%); padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { position: relative; padding-left: 24px; font-weight: 500; font-size: .95rem; color: var(--navy); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px;
  background: var(--orange);
}
.hero-art { position: relative; }
.hero-svg { width: 100%; height: auto; box-shadow: var(--shadow); }
.floating-card {
  position: absolute; left: -16px; bottom: 72px;
  background: var(--white); padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border-left: 5px solid var(--orange);
  animation: float 4s ease-in-out infinite;
}
.floating-card strong { font-family: var(--font-head); color: var(--navy); }
.floating-card span { font-size: .85rem; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-art { background: var(--stone); padding: 14px; border-top: 4px solid var(--orange); }
.service-art svg { width: 100%; height: auto; }
.service p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; font-weight: 600; color: var(--navy); background: #EAF0F9; padding: 4px 10px; }
.also {
  margin-top: 28px; padding: 18px 22px; background: var(--navy); color: #C3CDE0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: .95rem;
}
.also strong { color: var(--white); font-family: var(--font-head); margin-right: 4px; }
.also span { position: relative; padding-left: 16px; }
.also span::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--orange); }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; padding: 28px; background: var(--navy-2); border-radius: var(--radius); }
.steps p { margin: 0; font-size: .95rem; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--orange); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px;
}

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.why-logo { width: 150px; height: auto; margin-bottom: 28px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-list li { padding: 20px 22px; background: var(--stone); border-left: 4px solid var(--navy); display: flex; flex-direction: column; gap: 4px; }
.why-list li:nth-child(3n+2) { border-left-color: var(--orange); }
.why-list strong { font-family: var(--font-head); color: var(--navy); }
.why-list span { color: var(--muted); font-size: .95rem; }

/* ===== Quote form ===== */
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.quote-intro { position: sticky; top: 100px; }
.quote-intro > p { color: var(--muted); }
.measure-tip { margin-top: 28px; padding: 24px; background: var(--white); border: 1px dashed #CFC6B8; }
.measure-tip ul { padding-left: 18px; margin: 0 0 12px; }
.measure-tip li { margin-bottom: 6px; font-size: .95rem; }
.measure-tip .small { color: var(--muted); margin: 0; }

.quote-form { background: var(--white); padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--navy); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 14px; }
.optional { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .9rem; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 500; margin-bottom: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-4 { grid-template-columns: repeat(4, 1fr); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: #FBFAF8; width: 100%;
  transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--orange); background: var(--white); outline: none; }
textarea { resize: vertical; }
.invalid { border-color: #D93025 !important; background: #FFF5F4; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.quote-form .chip { margin: 0; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  cursor: pointer; font-weight: 500; transition: .15s; background: #FBFAF8;
}
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chips.invalid-group .chip span { border-color: #D93025; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1E8E3E; }
.form-status.err { color: #D93025; }

/* ===== FAQ ===== */
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy);
  padding: 18px 40px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--orange); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ===== CTA strip ===== */
.cta-strip { background: var(--orange); color: var(--white); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); margin-bottom: .2em; }
.cta-inner p { margin: 0; opacity: .95; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-3); color: #AEBBD3; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #1D3566; font-size: .875rem;
}
.footer-bottom a { text-decoration: none; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-intro { position: static; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .floating-card { left: 8px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .service { grid-template-columns: 1fr; }
  .service-art { max-width: 240px; }
  .steps, .why-list, .row { grid-template-columns: 1fr; }
  .row-4 { grid-template-columns: 1fr 1fr; }
  .quote-form { padding: 22px 18px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
