/* DL Stucco & Painting */

:root {
  --ink: #1d2328;
  --ink-soft: #3b454d;
  --muted: #5b646b;
  --line: #e3ddd3;
  --sand: #f6f1ea;
  --sand-deep: #ece4d8;
  --accent: #b84b26;
  --accent-hover: #9c3d1d;
  --white: #fff;
  --done: #2f7a4f;
  --mid: #a86a12;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(29, 35, 40, 0.10);
  --header-h: 68px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: #f2b79d; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; min-height: 48px;
  border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand-deep); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--small { padding: 0.55rem 1rem; min-height: 42px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: wait; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.button-row--center { justify-content: center; }

.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- brand ---------- */

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__badge {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--accent); color: var(--white);
  font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em;
}
.brand__text { font-weight: 800; font-size: 1.2rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand--footer, .brand--footer:hover { color: var(--white); }
.brand--center { margin-bottom: 1.5rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header[data-scrolled="true"] { border-color: var(--line); box-shadow: 0 4px 16px rgba(29, 35, 40, 0.06); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--accent); }
.site-nav + .site-header__actions { margin-left: 8px; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform 0.2s, background-color 0.2s;
}
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(29, 35, 40, 0.08);
    padding: 8px 20px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav + .site-header__actions { margin-left: auto; }
}

@media (max-width: 480px) {
  .brand__badge { width: 38px; height: 38px; font-size: 1.05rem; }
  .brand__text { font-size: 1.05rem; }
  .header-call { padding: 0.55rem 0.75rem; }
  .header-call__label { display: none; }
  .header-call::after { content: "Call"; }
}

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: clamp(540px, 82vh, 760px);
  display: flex; align-items: center;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17, 22, 26, 0.9) 0%, rgba(17, 22, 26, 0.7) 45%, rgba(17, 22, 26, 0.2) 100%);
}
.hero__content { padding-top: 64px; padding-bottom: 64px; }
.hero__content > * { max-width: 640px; }
.hero__lead { font-size: 1.2rem; color: #e9e4dd; }

@media (max-width: 700px) {
  .hero { align-items: flex-end; }
  .hero__shade { background: linear-gradient(180deg, rgba(17, 22, 26, 0.35) 0%, rgba(17, 22, 26, 0.82) 45%, rgba(17, 22, 26, 0.92) 100%); }
  .hero__content { padding-top: 140px; padding-bottom: 40px; }
  .hero .button-row .btn { flex: 1 1 auto; }
}

/* ---------- highlights ---------- */

.highlights { background: var(--ink); color: var(--white); border-top: 4px solid var(--accent); }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.highlight { padding: 22px 18px; border-left: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; gap: 2px; }
.highlight:first-child { border-left: 0; padding-left: 0; }
.highlight__title { font-weight: 800; font-size: 1.1rem; }
.highlight__text { color: #c4c9cd; font-size: 0.95rem; }

@media (max-width: 860px) {
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .highlight { border-left: 0; padding: 18px 0; }
  .highlight:nth-child(odd) { padding-right: 12px; }
}

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__intro { color: var(--muted); font-size: 1.1rem; }

/* ---------- services ---------- */

.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.service img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service__body { padding: 18px 18px 20px; }
.service__body p { color: var(--ink-soft); margin: 0; }
.service__body a { font-weight: 600; white-space: nowrap; }

@media (max-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- EIFS ---------- */

.eifs { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.eifs__text > p { color: #d6dadd; font-size: 1.1rem; }
.layers { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.layers li { display: flex; gap: 14px; align-items: flex-start; }
.layers h3 { margin: 0 0 2px; font-size: 1.1rem; }
.layers p { margin: 0; color: #c4c9cd; }
.eifs__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eifs__photos figure { margin: 0; }
.eifs__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.eifs__photos figcaption { margin-top: 8px; color: #c4c9cd; font-size: 0.95rem; }
@media (max-width: 900px) { .eifs { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- videos ---------- */

.videos__title { margin: 56px 0 18px; font-size: 1.4rem; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.videos--three { grid-template-columns: repeat(3, minmax(0, 270px)); }
.video video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--radius); background: #000;
}
.video__caption { margin: 8px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.video__caption span { margin-left: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.section--dark .video__caption { color: #d6dadd; }
.section--dark .video__caption span { color: #9aa3a9; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr 1fr; } .videos--three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .videos, .videos--three { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ---------- before & after ---------- */

.project + .project { margin-top: 48px; }
.project__title { font-size: 1.4rem; margin-bottom: 16px; }
.project__steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.project__steps--three { grid-template-columns: repeat(3, 1fr); }
.step { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project__steps--tall .step img { aspect-ratio: 3 / 4; }
.step figcaption { position: absolute; left: 12px; top: 12px; }

.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.tag--mid { background: var(--mid); }
.tag--done { background: var(--done); }

@media (max-width: 760px) {
  .project__steps, .project__steps--three { grid-template-columns: 1fr; }
}

/* ---------- gallery ---------- */

.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px;
}
.gallery a { display: block; border-radius: 8px; overflow: hidden; background: var(--sand-deep); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.35s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } .gallery a:hover img { transform: none; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* ---------- about ---------- */

.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about__text p { color: var(--ink-soft); font-size: 1.1rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.steps h3 { margin: 0 0 4px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.steps__num, .layers__num {
  color: var(--white);
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); font-weight: 800;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--ink-soft); }
.contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.contact-card {
  display: flex; flex-direction: column;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: var(--sand);
  transition: border-color 0.15s, background-color 0.15s;
}
.contact-card:hover { border-color: var(--accent); color: var(--ink); background: var(--white); }
.contact-card__label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.contact-card__value { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
.contact__area { color: var(--ink-soft); }
.contact__social a { font-weight: 600; }

.form {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow);
}
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form label { font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.7rem 0.8rem; min-height: 48px;
  border: 1px solid #cfc6b8; border-radius: 8px; background: var(--white);
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 75, 38, 0.2);
}
.req { color: var(--accent); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 16px; min-height: 65px; }
.form__note { margin: 12px 0 0; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer { background: #151a1e; color: #c4c9cd; padding: 48px 0 24px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer__inner p { margin: 12px 0 0; max-width: 340px; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer a:not(.brand) { color: var(--white); text-decoration: none; font-weight: 600; }
.site-footer a:not(.brand):hover { color: #f2b79d; }
.site-footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; }
.site-footer__legal p { margin: 0; }

/* ---------- mobile call bar ---------- */

.call-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .call-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 3px solid var(--accent);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .call-bar a {
    display: grid; place-items: center; min-height: 58px;
    color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.05rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .call-bar a:first-child { border-left: 0; background: var(--accent); }
}

/* ---------- lightbox ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 12, 14, 0.94); color: var(--white);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 12, 14, 0.94); }
.lightbox__img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__caption { margin: 14px 20px 0; text-align: center; color: #d6dadd; max-width: 720px; }
.lightbox__btn {
  position: absolute; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: var(--white);
  font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
}

/* ---------- message pages (thanks, errors, 404) ---------- */

.message-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 20px; background: var(--sand);
}
.message-page h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); max-width: 640px; }
.message-page p { max-width: 560px; color: var(--ink-soft); font-size: 1.15rem; }
.message-page .button-row { margin: 0.5rem 0 1.5rem; }
