/* LOBO Floor Coatings — styles
   Light background, charcoal text, one accent (#B84424) from the logo. */

:root {
  --accent: #B84424;
  --accent-dark: #9a3519;
  --ink: #2b2b2e;          /* charcoal text */
  --ink-soft: #5a5a60;
  --bg: #faf9f7;           /* light background */
  --bg-alt: #f1efeb;
  --line: #e2dfd9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 28, 25, 0.10);
  --wrap: 1120px;
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.3em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; line-height: 1.1;
  cursor: pointer; transition: background .15s, transform .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-plain { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-plain:hover { border-color: var(--ink-soft); }
.btn-sm { min-height: 40px; padding: .55em 1em; font-size: .9rem; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: .9em 1.6em; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.brand-name span { font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.site-header .btn-sm { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,22,.10) 0%, rgba(20,20,22,.35) 45%, rgba(20,20,22,.82) 100%);
}
.hero-content { padding-top: 120px; padding-bottom: 44px; }
.hero-logo {
  width: 84px; height: 84px; object-fit: contain; margin-bottom: 18px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
}
.hero h1 { font-size: clamp(2rem, 7vw, 3.6rem); max-width: 15ch; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1.02rem, 2.6vw, 1.2rem); max-width: 40ch; opacity: .95; margin-bottom: 1.5em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  color: var(--accent); font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: .6em;
}
.lead { color: var(--ink-soft); font-size: 1.08rem; }
.note { margin-top: 28px; color: var(--ink-soft); text-align: center; }

/* How it works */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 18px 76px;
}
.step-num {
  position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--white); font-weight: 800;
}
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--ink-soft); }

/* Options */
.cards { display: grid; gap: 22px; margin-top: 32px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px 22px 22px; }
.card-body h3 { font-size: 1.4rem; margin-bottom: .15em; }
.card-tag { color: var(--accent); font-weight: 700; font-size: .92rem; margin-bottom: .7em; }
.card-body p:last-child { margin: 0; color: var(--ink-soft); }

/* Gallery */
.gallery { display: grid; gap: 26px; margin-top: 24px; }
.project { margin: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: #ddd; border-radius: 10px; overflow: hidden; cursor: zoom-in;
}
.project:not(.project-pair) .shot { border-radius: 12px; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.shot:hover img { transform: scale(1.03); }
.shot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.badge {
  position: absolute; left: 10px; top: 10px;
  padding: .3em .75em; border-radius: 999px;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.badge-before { background: rgba(255,255,255,.94); color: var(--ink); }
.badge-after { background: var(--accent); color: var(--white); }
.project figcaption { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
.project figcaption strong { color: var(--ink); }

/* Contact */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-inner { display: grid; gap: 32px; }
.checklist { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.checklist-title { font-weight: 800; margin-bottom: .6em; }
.checklist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; margin-top: -1px;
  border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: .85rem;
}
.contact-card { display: grid; gap: 12px; align-content: start; }
.facts { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 700; }

/* Footer */
.site-footer { padding: 28px 0; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.site-footer p { margin: 0; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
  transition: transform .25s ease;
}
.mobile-bar.is-hidden { transform: translateY(110%); }
.mobile-bar .btn-accent { flex: 1; min-height: 52px; }
.mobile-bar .btn-call { background: var(--ink); color: var(--white); min-height: 52px; padding: 0 1.2em; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh;
}
.lightbox::backdrop { background: rgba(15,15,17,.88); }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 10px; }
.lightbox-close {
  position: fixed; top: 14px; right: 14px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--white); color: var(--ink);
  font-size: 28px; line-height: 1; cursor: pointer;
}

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .project-pair { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .site-header .btn-sm { display: inline-flex; }
  .section { padding: 96px 0; }
  .hero-content { padding-bottom: 72px; }
  .hero-logo { width: 104px; height: 104px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 76px 22px 24px; }
  .step-num { top: 22px; left: 22px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .project-pair { grid-column: auto; }
  .contact-inner { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 56px; }
}

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