/* SharperScalers POC. Brand colors sampled from the logo render (approximate). */
:root {
  --navy: #0B355A;
  --navy-dark: #082742;
  --teal: #259FA4;
  --teal-dark: #1B7478;   /* text-safe teal on white (about 5.6:1) */
  --ink: #1b2733;
  --muted: #4f5f6e;
  --line: #d6dee5;
  --bg: #ffffff;
  --bg-alt: #f1f6f8;
  --ok: #17603a;
  --ok-bg: #e7f5ee;
  --err: #8a1f1f;
  --err-bg: #fbeaea;
  --radius: 10px;
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-top: 1.8em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--muted); }
.note, .hint { font-size: .95rem; color: var(--muted); }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .6em; }

.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

.poc-banner { background: var(--navy-dark); color: #fff; text-align: center; font-size: .9rem; padding: .35rem 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.brand img { display: block; width: 130px; height: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; }
.site-nav a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--navy); padding: .35rem 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--teal); color: var(--navy); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.site-nav a.btn { border-bottom: 0; padding: .55rem 1rem; color: #fff; }
.nav-toggle { display: none; font: inherit; font-family: var(--font-head); font-weight: 600; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 8px; padding: .4rem .9rem; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; color: #fff; background: var(--navy); border: 2px solid var(--navy); border-radius: 8px; padding: .75rem 1.4rem; cursor: pointer; }
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-small { font-size: .9rem; padding: .45rem .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 3rem 0; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.hero-photo { margin: 0; text-align: center; }
.hero-photo img { border-radius: var(--radius); border: 4px solid #fff; box-shadow: 0 6px 24px rgba(11, 53, 90, .18); max-height: 460px; width: auto; }
.hero-photo figcaption { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-top: .6rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.two-col h2 { margin-top: 0; }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); box-shadow: 0 6px 24px rgba(11, 53, 90, .18); }

@media (max-width: 820px) {
  .hero-grid, .two-col, .about-grid { grid-template-columns: 1fr; }
  .hero-photo img, .about-photo img { max-height: 380px; width: auto; margin-inline: auto; display: block; }
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.steps li::before { content: counter(step); display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: .6rem; }
.steps strong { display: block; color: var(--navy); }

.checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checks li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 3px solid var(--teal-dark); border-bottom: 3px solid var(--teal-dark); transform: rotate(-45deg); }

/* Tables */
.price-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 .75rem; }
.price-table th, .price-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .9rem; border-bottom: 0; }
.price-table tbody th { font-weight: 600; }
.price-table td:last-child { font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.price-table .num { text-align: right; white-space: nowrap; }
.quote-table tfoot th, .quote-table tfoot td { border-top: 2px solid var(--navy); border-bottom: 0; font-size: 1.1rem; }

/* Forms */
.form { margin-top: 1.5rem; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem .5rem; margin: 0 0 1.5rem; }
legend { font-family: var(--font-head); font-weight: 800; color: var(--navy); padding: 0 .5rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 620px) { .field-row, .field-row-3 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
.req { font-weight: 400; color: var(--muted); font-size: .9rem; }
.price-hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #9fb0bf; border-radius: 8px; padding: .6rem .75rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(37, 159, 164, .35); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.live-total { font-size: 1.2rem; margin-bottom: 1rem; }
.live-total strong { font-family: var(--font-head); color: var(--navy); }

.choice { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--navy); }
.choice label { margin: 0; font-weight: 400; }
.pickup-fields { margin: 1rem 0 .5rem; padding: 1rem; background: var(--bg-alt); border-radius: var(--radius); }
/* Shown by default so the form works without JavaScript; JS hides it unless pickup is chosen */
.pickup-fields.is-hidden { display: none; }

.alert { border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; border: 1px solid; }
.alert p { margin: 0 0 .4em; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.alert-ok { background: var(--ok-bg); border-color: #8cc9a8; color: var(--ok); }
.alert-error { background: var(--err-bg); border-color: #e3a2a2; color: var(--err); }

/* Quote */
.quote-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 1.25rem 0 2rem; background: #fff; }
.quote-card h2 { margin-top: 1.2em; font-size: 1.1rem; }
.quote-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.quote-no { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.2rem; margin: 0; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0 0 1rem; }
.summary dt { font-weight: 600; }
.summary dd { margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #e8eff5; padding: 2.5rem 0 1.25rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-title { font-family: var(--font-head); font-weight: 800; color: #fff; margin-bottom: .4em; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 1.5rem; padding-top: 1rem; font-size: .9rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

@media print {
  .poc-banner, .site-header, .site-footer, .js-print, #pickup-form, .skip { display: none !important; }
  body { font-size: 12pt; }
  .quote-card { border: 0; padding: 0; }
}

.quote-table .total-row th, .quote-table .total-row td { border-top: 2px solid var(--navy); font-size: 1.1rem; }
.quote-table tfoot th, .quote-table tfoot td { border-bottom: 0; }
