/* Unique Commercials — site styles
   Palette: road-night ink, workshop steel, concrete, reflector amber. */
:root {
  --ink: #13202e;
  --ink-2: #1d2e40;
  --steel: #4a5a6a;
  --concrete: #e9ecef;
  --paper: #fafbfc;
  --white: #ffffff;
  --signal: #f4b400;
  --signal-2: #ffc933;
  --on-signal: #1b1405;
  --ok: #1f7a4d;
  --err: #b3261e;

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius-s: 4px;
  --radius-m: 10px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--signal); color: var(--on-signal); padding: .6rem 1rem; border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.muted { color: var(--steel); font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius-s);
  font-weight: 600; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 42px; padding: .45rem 1rem; }
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-signal:hover { background: var(--signal-2); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 3px solid var(--signal); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: 700 1.5rem/1 var(--display); }
.brand img { border-radius: var(--radius-s); background: var(--white); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-color: var(--signal); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: .5rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: calc(100% + 3px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem var(--gutter) 1.25rem;
    border-bottom: 3px solid var(--signal);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav .btn { margin-top: 1rem; }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(19,32,46,.94) 0%, rgba(19,32,46,.78) 42%, rgba(19,32,46,.25) 100%);
}
.hero-inner { min-height: min(82vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(4rem, 12vh, 7rem) clamp(3rem, 9vh, 5.5rem); }
.hero h1 {
  font-size: clamp(3.4rem, 10.5vw, 8.2rem);
  line-height: .9; letter-spacing: -.01em;
  max-width: 11ch; margin-bottom: .35em;
}
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 38ch; color: #dfe5ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.status {
  display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25);
  padding: .35rem .8rem; border-radius: 999px; font-size: .95rem; font-weight: 500; margin-bottom: 1.4rem;
}
.status .dot { width: .6rem; height: .6rem; border-radius: 50%; background: #9aa5b1; }
.status.is-open .dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(4rem, 9vw, 7rem); }
.about-media { margin: 0; position: relative; isolation: isolate; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); }
.about-media::before { content: ""; position: absolute; inset: 14% -14px -14px 14%; background: var(--signal); border-radius: var(--radius-m); z-index: -1; }
.about-copy h3 { color: var(--steel); }
.about-copy p { max-width: 58ch; font-size: 1.12rem; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; border-top: 1px solid var(--concrete); padding-top: 1.5rem; }
.facts strong { display: block; font: 700 1.35rem/1.1 var(--display); }
.facts span { color: var(--steel); font-size: .98rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.05fr; } }

/* Gallery */
.gallery-section { background: var(--concrete); padding-block: clamp(4rem, 8vw, 6rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 44ch; margin: 0; color: var(--steel); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: var(--ink); border-radius: var(--radius-s); overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease, opacity .2s; }
.gallery-item:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:first-child .gallery-item, .gallery li:first-child img { height: 100%; aspect-ratio: auto; }
}

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10,16,24,.92); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius-s); }
.lightbox-count { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: #dfe5ea; margin: 0; }
.lb-btn { position: fixed; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: var(--signal); color: var(--on-signal); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Quote + contact */
.quote-section { padding-block: clamp(4rem, 9vw, 7rem); }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: 1.35fr 1fr; } }
.lead { font-size: 1.12rem; max-width: 56ch; color: var(--steel); }
.quote-form { margin-top: 1.8rem; display: grid; gap: 1.15rem; }
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-weight: 600; font-size: .98rem; }
.opt, .req { font-weight: 400; color: var(--steel); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  background: var(--white); border: 1.5px solid #c5ccd3; border-radius: var(--radius-s);
}
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244,180,0,.45); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: .93rem; margin: 0; }
.file-drop { position: relative; display: grid; gap: .2rem; padding: 1.1rem 1rem; background: var(--white); border: 1.5px dashed #9aa5b1; border-radius: var(--radius-s); cursor: pointer; }
.file-drop:hover, .file-drop:focus-within { border-color: var(--ink); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop-text { font-weight: 600; }
.file-list { color: var(--steel); font-size: .95rem; }
.quote-form .btn { justify-self: start; }
.form-status { margin: 0; padding: .8rem 1rem; border-radius: var(--radius-s); font-weight: 500; }
.form-status.is-ok { background: #e3f3ea; color: var(--ok); }
.form-status.is-error { background: #fbe9e8; color: var(--err); }

.info-panel { background: var(--ink); color: #dfe5ea; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius-m); border-top: 6px solid var(--signal); }
.info-panel h2 { color: var(--white); font-size: 2.2rem; }
.info-panel h3 { color: var(--white); margin-top: 1.8rem; }
.info-name { color: var(--white); font-weight: 600; font-size: 1.1rem; }
.info-loc { display: grid; gap: .15rem; margin-bottom: 1.1rem; }
.info-loc strong { color: var(--white); }
.info-loc a, .hours-note { color: var(--signal); font-size: .95rem; }
.info-loc a { text-underline-offset: 3px; }
.info-phones { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.info-phones a { font: 700 1.6rem/1.2 var(--display); color: var(--white); text-decoration: none; }
.info-phones a:hover { color: var(--signal); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today th, .hours .is-today td { color: var(--white); font-weight: 600; }
.today { display: inline-block; margin-left: .4rem; background: var(--signal); color: var(--on-signal); font-size: .75rem; font-weight: 600; padding: .05rem .45rem; border-radius: 3px; vertical-align: middle; }
.hours-note { margin: .9rem 0 0; color: #b9c3cc; }

/* Subscribe */
.subscribe { background: var(--signal); color: var(--on-signal); padding-block: clamp(2.8rem, 6vw, 4rem); }
.subscribe-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .subscribe-inner { grid-template-columns: 1fr 1.1fr; } }
.subscribe h2 { margin-bottom: .2em; }
.subscribe p { margin: 0; font-size: 1.12rem; }
.sub-form { display: grid; gap: .6rem; }
.sub-row { display: flex; gap: .6rem; }
.sub-row input { flex: 1; min-width: 0; border-color: var(--on-signal); }
.subscribe .field-error { color: #7a1510; font-weight: 600; }
.subscribe .form-status.is-ok { background: rgba(255,255,255,.55); color: var(--on-signal); }
@media (max-width: 480px) { .sub-row { flex-direction: column; } }

/* Footer */
.site-footer { background: var(--ink); color: #b9c3cc; padding-top: 3rem; font-size: .98rem; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 2rem; }
.footer-name { color: var(--white); font: 700 1.4rem/1.1 var(--display); margin-bottom: .4rem; }
.site-footer strong { color: var(--white); }
.site-footer a { color: #dfe5ea; text-underline-offset: 3px; line-height: 1.9; }
.site-footer a:hover { color: var(--signal); }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.2rem; font-size: .9rem; }
.footer-base p { margin: 0; }
.footer-base a { line-height: inherit; }
.footer-base .sep { margin: 0 .4rem; opacity: .5; }
/* Keep the credit clear of the floating WhatsApp button */
.footer-base { padding-right: 4.5rem; }
@media (max-width: 700px) { .footer-base { padding-right: 0; padding-bottom: 5.5rem; } }

/* WhatsApp */
.wa-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-fab:hover { background: #1ebe5b; }

/* Prose pages */
.prose { max-width: 72ch; padding-block: clamp(3rem, 8vw, 5rem); }
.prose h1 { font-size: clamp(2.6rem, 6vw, 3.8rem); }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.error-page { min-height: 50vh; }

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