/* ============================================
   K&A Remodeling LLC
   Direction C, "Billboard Navy" (approved by Vicky 2026-11-30).
   Navy and orange from the client's business card, red from the roof
   in their logo. Anton for the billboard lettering, Archivo for text.
   Square corners, ruled lines, numbered panels. No cards, no pills.
   ============================================ */

:root {
  --navy: #0f1f3a;
  --navy-deep: #0a1730;
  --orange: #f26a21;
  --red: #cf2f23;
  --paper: #f2efe8;
  --ink: #0f1f3a;
  --mist: #d5dcea;
  --rule: rgba(255, 255, 255, 0.22);
  --rule-ink: rgba(15, 31, 58, 0.28);

  /* read by motion.css */
  --color-bg: #0f1f3a;
  --color-accent: #f26a21;
  --color-border: rgba(255, 255, 255, 0.14);

  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-text: 'Archivo', system-ui, -apple-system, sans-serif;
  --pad: clamp(1.25rem, 3.2vw, 2.75rem);
  --ease: cubic-bezier(0.12, 1, 0.72, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}
section[id] { scroll-margin-top: 96px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.on-paper a:focus-visible, .on-paper button:focus-visible { outline-color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: 0.8rem 1rem; background: var(--orange); color: var(--ink); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.05em; height: 1.05em; flex: none; }

/* ===== Header ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem var(--pad);
  background: var(--navy);
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { height: 68px; width: auto; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand-name i { font-style: normal; color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 1rem; padding: 0.6rem 0; }
.nav-links a:hover { color: var(--orange); }
.nav-links a[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--orange); }
.nav-links a.lang-switch { text-decoration: underline; text-underline-offset: 4px; }
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--orange); color: var(--ink); font-weight: 700; padding: 0.7rem 1.1rem; min-height: 46px;
}
.nav-links a.nav-cta:hover { background: #ff8a45; color: var(--ink); }
.lang-pill { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.7rem 0.4rem; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; }

/* ===== Billboard ===== */
.billboard { padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad) 0; }
.billboard h1 { font-size: min(var(--h1-vw, 10.9vw), 13.5rem); white-space: nowrap; line-height: 0.88; }
.billboard h1 b { font-weight: 400; color: var(--orange); }
.billboard h1 span { display: inline; }
.pitch {
  display: grid; grid-template-columns: minmax(22rem, 1fr) auto; gap: 2.5rem; align-items: end;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0 clamp(1.75rem, 3vw, 2.5rem);
}
.pitch p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); max-width: 32em; color: var(--mist); }
.pitch-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 2rem; justify-content: flex-end; max-width: 34rem; }
@media (max-width: 1100px) {
  .pitch { grid-template-columns: 1fr; gap: 1.25rem; }
  .pitch-actions { justify-content: flex-start; max-width: none; }
}
.big-link {
  font-family: var(--font-display); text-transform: uppercase; text-decoration: none;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.1;
  border-bottom: 5px solid var(--orange); padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.big-link:hover { color: var(--orange); border-color: #fff; }
.tel-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.15rem; text-decoration: none; min-height: 44px; }
.tel-link:hover { color: var(--orange); }

/* ===== Service panels ===== */
.panels {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  border-top: 6px solid var(--orange);
}
.panel { display: flex; flex-direction: column; border-right: 3px solid var(--navy); min-width: 0; }
.panel:last-child { border-right: 0; }
.panel-photo { position: relative; display: block; height: clamp(320px, 38vw, 540px); overflow: hidden; text-decoration: none; }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.panel-photo:hover img { transform: scale(1.04); }
.panel-num {
  position: absolute; right: 0.9rem; top: 0.6rem;
  font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.panel-photo h3 {
  position: absolute; left: 0; bottom: 0; background: var(--navy);
  font-size: clamp(1.15rem, 1.75vw, 1.65rem); letter-spacing: 0.03em; line-height: 1; padding: 0.65rem 1rem 0.5rem;
}
.panel-text { padding: 1.1rem 1rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.panel-text p { color: var(--mist); font-size: 0.98rem; flex: 1; }
.panel-text a { font-weight: 700; text-decoration: none; color: #fff; border-bottom: 3px solid var(--orange); align-self: flex-start; padding: 0.45rem 0 0.15rem; }
.panel-text a:hover { color: var(--orange); }
.img-note { padding: 0 var(--pad) 1.25rem; font-size: 0.8rem; color: #a9b4c8; }

/* ===== Red band ===== */
.band {
  background: var(--red);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem;
  padding: 0.85rem var(--pad) 0.7rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.25rem; line-height: 1.2;
}
.band a { text-decoration: none; }
.band a:hover { text-decoration: underline; }

/* ===== About (paper) ===== */
.jobs { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.jobs h2 { font-size: clamp(3rem, 7.4vw, 7rem); }
.jobs h2 b { font-weight: 400; color: var(--orange); }
.jobs-copy p { font-size: 1.15rem; max-width: 30em; margin: 2rem 0 2rem; color: var(--mist); }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid #fff; align-self: end; }
.job-list li { display: grid; grid-template-columns: minmax(9rem, 0.8fr) 1.2fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.job-list h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.job-list p { font-size: 1.05rem; color: var(--mist); }
@media (max-width: 820px) {
  .jobs { grid-template-columns: 1fr; }
  .job-list li { grid-template-columns: 1fr; gap: 0.35rem; }
}
.on-paper { background: var(--paper); color: var(--ink); }
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.about h2 { font-size: clamp(3rem, 7.4vw, 7rem); }
.about h2 b { font-weight: 400; color: var(--red); }
.about-copy p { font-size: 1.15rem; max-width: 34em; margin-top: 1.25rem; }
.about-copy p:first-of-type { margin-top: 2rem; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); align-self: end; }
.steps li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule-ink); align-items: baseline; }
.steps .n { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--orange); }
.steps h3 { font-size: 1.7rem; line-height: 1; margin-bottom: 0.35rem; }
.steps p { font-size: 1rem; }

/* ===== Estimate ===== */
.estimate { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3.5rem, 8vw, 7rem) var(--pad); border-top: 6px solid var(--orange); }
.estimate h2 { font-size: clamp(3rem, 7.4vw, 7rem); }
.estimate h2 b { font-weight: 400; color: var(--orange); }
.estimate-lede { font-size: 1.15rem; color: var(--mist); margin: 1.5rem 0 2.25rem; max-width: 26em; }
.contact-lines { border-top: 1px solid var(--rule); }
.contact-line { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; margin: 0; }
.contact-line span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.contact-line strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: 0.02em; line-height: 1.1; overflow-wrap: anywhere; }
.contact-line strong.small { font-family: var(--font-text); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; }
a.contact-line:hover strong { color: var(--orange); }

.contact-form { display: grid; gap: 1.4rem; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; }
.label-text { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.req { color: var(--orange); }
.opt { color: #a9b4c8; font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 50px; padding: 0.6rem 0.1rem;
  background: transparent; color: #fff; font: inherit; font-size: 1.15rem;
  border: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.6); border-radius: 0;
}
.contact-form textarea { resize: vertical; min-height: 130px; border: 2px solid rgba(255, 255, 255, 0.6); padding: 0.7rem 0.8rem; }
.contact-form select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 9px) 55%; background-size: 7px 7px; background-repeat: no-repeat; padding-right: 2rem; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 3px 0 var(--orange); }
.contact-form [aria-invalid="true"] { border-color: #ff9a8c; }
.field-error { color: #ffb4a8; font-size: 0.9rem; font-weight: 600; }
.form-error { color: #ffb4a8 !important; }
.hidden-field { display: none; }
.form-legend { font-size: 0.85rem; color: #a9b4c8; }
.btn-send {
  justify-self: start; min-height: 56px; padding: 0.6rem 2rem 0.45rem; border: 0; cursor: pointer; border-radius: 0;
  background: var(--orange); color: var(--ink);
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.1s;
}
.btn-send:hover { background: #ff8a45; }
.btn-send:active { transform: translateY(2px); }
.btn-send[disabled] { opacity: 0.6; cursor: progress; }
.form-note { font-size: 0.95rem; color: var(--mist); }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); border-top: 6px solid var(--red); padding: 2.5rem var(--pad) 1.5rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.footer-logo { width: 250px; height: auto; background: #fff; padding: 0.6rem; }
.footer h4 { margin: 0 0 0.6rem; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.footer-col a, .footer-col p { display: block; text-decoration: none; padding: 0.3rem 0; margin: 0; color: var(--mist); overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); font-size: 0.88rem; color: #a9b4c8; }
.footer-credit a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--orange); }
.footer-credit a:hover { color: var(--orange); }

/* ===== Phone call bar ===== */
.call-bar { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .panels { grid-template-columns: repeat(6, 1fr); }
  .panel { grid-column: span 2; border-bottom: 3px solid var(--navy); }
  .panel:nth-child(1), .panel:nth-child(2) { grid-column: span 3; }
  .panel:nth-child(2), .panel:nth-child(5) { border-right: 0; }
  .panel-photo { height: clamp(240px, 36vw, 400px); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); border-bottom: 3px solid var(--orange); padding: 0.5rem var(--pad) 1rem;
  }
  .nav-links.open a { min-height: 50px; display: flex; align-items: center; border-bottom: 1px solid var(--rule); }
  .nav-links.open a.lang-switch { display: none; }
  .nav-links.open a.nav-cta { justify-content: center; margin-top: 0.9rem; border: 0; }
  .nav-toggle { display: flex; }
  .lang-pill { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-weight: 700; text-underline-offset: 4px; }
  .brand-mark { height: 52px; }
  .brand-name { font-size: 1.15rem; }
  .nav { gap: 0.6rem; }
  .lang-pill { margin-right: 0.25rem; }

  .billboard h1 { white-space: normal; font-size: var(--h1-vw-m, 23vw); line-height: 0.94; }
  .billboard h1 span { display: block; }
  .pitch { grid-template-columns: 1fr; gap: 1.25rem; }
  .pitch-actions { justify-content: flex-start; }
  .about, .estimate { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 0.8fr 1fr 1.5fr;
    border-top: 3px solid var(--orange);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy-deep);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 58px; text-decoration: none;
    font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.05em; text-transform: uppercase;
  }
  .call-bar a.primary { background: var(--orange); color: var(--ink); }
  body { padding-bottom: 61px; }
}
@media (max-width: 620px) {
  .brand-name .llc { display: none; }
  .panels { grid-template-columns: 1fr; }
  .panel, .panel:nth-child(1), .panel:nth-child(2) { grid-column: auto; border-right: 0; }
  .panel-photo { height: 62vw; }
  .panel-text { padding-bottom: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .band { font-size: 1.1rem; }
  .contact-line { grid-template-columns: 1fr; gap: 0.1rem; }
  .steps li { grid-template-columns: 3.2rem 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel-photo img, .big-link, .btn-send { transition: none; }
}

/* WhatsApp */
.contact-line strong.wa { display: inline-flex; align-items: center; gap: 0.5rem; }
.call-bar a + a { border-left: 1px solid var(--rule); }
@media (max-width: 860px) { .call-bar a { font-size: 1.05rem; letter-spacing: 0.03em; } }

/* Social icon buttons under the footer logo */
.social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social a { width: 3rem; height: 3rem; display: grid; place-items: center; border: 2px solid var(--rule); color: #fff; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.social .icon { width: 1.35rem; height: 1.35rem; }
