/* FOAB — bold & industrial. Mobile first; phone breakpoint is max-width: 767px. */

:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --ink-3: #2a2a2a;
  --yellow: #F5B91B;
  --yellow-dark: #7a5900; /* yellow-family text on light backgrounds: >= 4.5:1 on sand and white */
  --sand: #f4f3ef;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5b5b5b;
  --on-dark-muted: #b9b9b9;
  --radius: 4px;
  --header-h: 68px;
  --call-bar-h: 56px;
  --container: 1160px;
  --stripes: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }

.sprite { display: none; }
.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.section-sand :focus-visible, .section :focus-visible { outline-color: var(--ink); }
.section-dark :focus-visible { outline-color: var(--yellow); }

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

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 8px 12px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.1em; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { font-size: 1.0625rem; padding: .85em 1.4em; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffcb3d; }
.btn-outline { border-color: currentColor; color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
}
.site-header::after { content: ""; display: block; height: 6px; background: var(--stripes); }
.header-inner {
  display: flex; align-items: center; gap: 16px; min-height: var(--header-h); flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.35rem; font-weight: 900; letter-spacing: .02em; }
.brand-text small { font-size: .75rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .08em; }

.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: var(--radius); color: #e8e8e8;
}
.site-nav a:hover, .site-nav a.active { color: var(--yellow); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .05em;
  border: 1.5px solid #6a6a6a; border-radius: var(--radius); padding: 4px 8px; color: #e8e8e8;
}
.lang-switch:hover { border-color: var(--yellow); color: var(--yellow); }
.header-call { padding: .55em .9em; white-space: nowrap; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: var(--radius);
  background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 3px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--white);
  padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 9vw, 110px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,17,17,.97) 0%, rgba(17,17,17,.88) 45%, rgba(17,17,17,.45) 100%);
}
.hero-inner { max-width: var(--container); }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 56ch; color: #dcdcdc; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.kicker {
  margin: 0 0 .6em; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow);
}
.kicker-dark { color: var(--yellow-dark); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: calc(var(--header-h) + 6px); }
#upit { scroll-margin-top: calc(var(--header-h) + 12px); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark::before { content: ""; display: block; height: 10px; background: var(--stripes); margin-top: calc(-1 * clamp(56px, 8vw, 96px)); margin-bottom: clamp(56px, 8vw, 96px); }
.muted { color: var(--text-muted); }
.section-dark .muted, .site-footer .muted { color: var(--on-dark-muted); }

/* services */
.services { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 28px; }
.service {
  background: var(--white); border-top: 5px solid var(--yellow); border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.service img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: #d9d7d0; }
.service-body { padding: 20px 22px 24px; }
.service h3 { display: flex; align-items: center; gap: .5em; }
.service h3 .icon { color: var(--yellow-dark); width: 1.3em; height: 1.3em; }
.service p { color: #333; margin-bottom: .6em; }
.service-main h3 { font-size: 1.5rem; }

.checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: .55em; align-items: flex-start; }
.checks .icon { color: var(--ink); background: var(--yellow); border-radius: 50%; padding: 3px; width: 1.35em; height: 1.35em; margin-top: .1em; stroke-width: 3; }

@media (min-width: 600px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service-main { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .services { grid-template-columns: 1.4fr 1fr 1fr; }
  .service-main { grid-column: auto; }
}

/* about */
.about { display: grid; gap: 32px; align-items: center; }
.about-text p { max-width: 60ch; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 6px solid var(--yellow); border-radius: var(--radius) var(--radius) 0 0; background: #d9d7d0; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.facts li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  border-left: 4px solid var(--yellow); padding: 4px 0 4px 14px;
}
.facts .icon { grid-row: span 2; width: 1.8em; height: 1.8em; color: var(--ink); }
.facts strong { font-size: 1.2rem; line-height: 1.2; }
.facts span { color: var(--text-muted); font-size: .95rem; line-height: 1.35; }
@media (min-width: 900px) {
  .about { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}

/* contact */
.contact { display: grid; gap: 40px; }
.contact .lead { color: #dcdcdc; font-size: 1.15rem; }
.contact-phone {
  display: inline-flex; align-items: center; gap: .4em; margin: 8px 0 4px;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-weight: 800; color: var(--yellow); text-decoration: none;
}
.contact-phone:hover { text-decoration: underline; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: .7em; align-items: flex-start; }
.contact-list .icon { color: var(--yellow); margin-top: .25em; }
.contact-list a { text-decoration: none; border-bottom: 1px solid #555; }
.contact-list a:hover { border-color: var(--yellow); }

.contact-form-wrap {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-top: 5px solid var(--yellow);
  padding: 24px 20px; border-radius: 0 0 var(--radius) var(--radius);
}
.contact-form { display: grid; gap: 14px; }
.field-row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--on-dark-muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--white); background: #0b0b0b;
  border: 1.5px solid #444; border-radius: var(--radius); padding: .7em .8em;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgba(245,185,27,.25); }
.field ::placeholder { color: #8a8a8a; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 600; }
.form-status.is-success { color: #7ddc7d; }
.form-status.is-error { color: #ff8a7a; }
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 28px; }
}
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
}

/* map */
.map { margin: 0; position: relative; background: #e5e3dc; }
.map iframe { display: block; width: 100%; aspect-ratio: 16 / 7; height: auto; border: 0; }
.map figcaption {
  position: absolute; left: 16px; bottom: 16px; display: flex; gap: .4em; align-items: center;
  background: var(--ink); color: var(--white); font-weight: 700; padding: 8px 12px; border-left: 4px solid var(--yellow);
  font-size: .95rem; max-width: calc(100% - 32px);
}
.map figcaption .icon { color: var(--yellow); }

/* footer */
.site-footer { background: var(--ink); color: var(--white); padding: 32px 0; border-top: 6px solid var(--yellow); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--yellow); }
.site-footer .muted { margin: 0; font-size: .9rem; }

/* thank-you pages */
.thanks { min-height: 55vh; display: flex; align-items: center; }
.thanks h1 { max-width: none; }
.thanks .hero-actions { margin-top: 20px; }

/* sticky call bar (phones only) */
.call-bar { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(var(--call-bar-h) + 8px); }
  .header-call { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0 0 10px; flex-wrap: wrap; }
  html.js .site-header:not(.open) .site-nav { display: none; }
  html.js .site-nav { flex-direction: column; gap: 0; margin: 0 0 12px; }
  html.js .site-nav a { padding: 12px 4px; border-top: 1px solid var(--ink-3); font-size: 1.1rem; }
  .brand-text small { display: none; }
  .hero-actions .btn { width: 100%; }
  .map iframe { aspect-ratio: 4 / 3; }
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: .5em; height: var(--call-bar-h);
    background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.1rem; text-decoration: none;
    border-top: 3px solid var(--ink); padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.photo-credits { flex-basis: 100%; margin: 0; font-size: .75rem; color: #8a8a8a; }
.photo-credits a { color: inherit; }
