/* Luciani Drywall Services — public site. Same palette as the crew app. */
:root {
  --black: #0a0d14;
  --ink: #151d38;
  --navy: #2a4589;
  --navy-deep: #1e3470;
  --silver: #bdc5ce;
  --grey: #8f8f8f;
  --line: #e3e6eb;
  --bg: #f4f5f7;
  --white: #ffffff;
  --max: 1120px;
  --head: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], div[id] { scroll-margin-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .4em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.btn { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 6px; text-decoration: none; border: 2px solid var(--navy); color: var(--white); background: var(--navy); cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--black); }
.btn.dark { background: var(--black); border-color: var(--black); }
.btn.dark:hover { background: var(--ink); }

/* header */
.header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #1f2633; }
.header .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.logo img { height: 56px; width: 56px; object-fit: cover; border-radius: 10px; }
.logo span { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: 20px; line-height: 1; font-weight: 800; }
.logo small { display: block; font-size: 11px; letter-spacing: .22em; color: var(--silver); margin-top: 5px; font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-family: var(--body); font-weight: 500; font-size: 15px; opacity: .85; }
.nav a:hover, .nav a.active { opacity: 1; color: var(--silver); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--white); font-size: 28px; line-height: 1; padding: 6px; cursor: pointer; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--black); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 0; border-bottom: 1px solid #1f2633; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #1f2633; }
  .nav a:last-child { border-bottom: 0; }
  .burger { display: block; }
  .logo span { font-size: 16px; }
}

/* hero */
.hero { position: relative; color: var(--white); background: var(--black); min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.hero .ph { position: absolute; inset: 0; }
.hero .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .ph.missing img { display: none; }
.hero .ph.missing { background: radial-gradient(1200px 600px at 70% 30%, #2a4589 0%, #151d38 45%, #0a0d14 100%); }
.hero .ph.missing::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 120px); }
.hero .wrap { position: relative; padding: 70px 0 60px; }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero p { max-width: 58ch; font-size: 19px; line-height: 1.5; color: #e6e9ee; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg); }
section.dark { background: var(--black); color: var(--white); }
section.navy { background: var(--navy); color: var(--white); }
.eyebrow { font-family: var(--head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--navy); margin-bottom: 8px; }
.dark .eyebrow, .navy .eyebrow { color: var(--silver); }
.lead { font-size: 19px; line-height: 1.5; max-width: 62ch; }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 28px; } }
.ph.block { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--ink); position: relative; box-shadow: 0 18px 40px rgba(21,29,56,.14); }
.dark .ph.block, .navy .ph.block { box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.stars { color: #f4b53f; font-size: 22px; letter-spacing: .08em; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars-note { color: var(--grey); font-size: 15px; letter-spacing: 0; }
.stars-note a { color: var(--navy); font-weight: 600; }
.ph.block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.block.missing img { display: none; }
.ph.block.missing { background: linear-gradient(135deg, #1e3470, #0a0d14); position: relative; }
.ph.missing[data-label]::before { content: attr(data-label); position: absolute; left: 14px; bottom: 12px; color: rgba(255,255,255,.55); font-family: var(--head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* expect list */
.expect { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 28px; }
.expect div { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 8px; padding: 20px; transition: transform .15s, box-shadow .15s; }
.expect div:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21,29,56,.12); }
.dark .expect div { background: #141a26; border-color: #243043; }
.expect b { display: block; font-family: var(--head); font-weight: 700; letter-spacing: -.01em; font-size: 18px; margin-bottom: 6px; }
.expect p { margin: 0; font-size: 15px; color: var(--grey); }
.dark .expect p { color: var(--silver); }

/* services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; margin-top: 30px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21,29,56,.12); }
.card .ph { aspect-ratio: 16/10; background: var(--ink); position: relative; overflow: hidden; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .ph.missing img { display: none; }
.card .ph.missing { background: linear-gradient(160deg, #2a4589, #0a0d14); }
.card .body { padding: 18px 20px 22px; }
.card h3 { margin-bottom: 6px; }
.card p { color: #4b5563; font-size: 15px; margin: 0; }

/* case study */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
@media (max-width: 700px) { .case { grid-template-columns: 1fr; } }
.case figure { margin: 0; }
.case .ph.block { aspect-ratio: 4/3; }
.stat { display: flex; gap: 32px; margin-top: 22px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--head); font-weight: 800; letter-spacing: -.02em; font-size: 44px; line-height: 1; }
.stat span { font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--silver); text-transform: uppercase; letter-spacing: .16em; }

/* testimonial */
blockquote { margin: 0; font-size: clamp(19px, 2.2vw, 24px); font-family: var(--body); font-weight: 400; line-height: 1.45; max-width: 34ch; color: var(--ink); }
blockquote footer { font-size: 15px; color: var(--grey); margin-top: 14px; }
.reviews { position: relative; min-height: 250px; }
.reviews blockquote { position: absolute; inset: 0 0 auto 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.reviews blockquote.is-on { position: relative; opacity: 1; pointer-events: auto; }
.rev-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.rev-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: background .15s, border-color .15s, color .15s; }
.rev-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rev-dots { display: flex; gap: 6px; }
.rev-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .15s, transform .15s; }
.rev-dots button.is-on { background: var(--navy); transform: scale(1.3); }
.rev-all { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 1px; }
@media (max-width: 860px) { .reviews { min-height: 280px; } }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 28px; } }
.contact .info p { margin: 0 0 10px; }
.contact .info a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact .info a:hover { text-decoration: underline; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; }
.contact-line svg { width: 20px; height: 20px; fill: var(--silver); flex: none; transition: fill .15s; }
.contact-line:hover svg { fill: var(--white); }
form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-family: var(--head); color: var(--silver); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 12px 13px; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.45); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--silver); outline-offset: 1px; }
select option { color: var(--ink); }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 14px; }
.checks label { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 15px; color: var(--white); margin: 0; }
.checks input { width: 18px; height: 18px; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.thanks { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 18px; }
.form-err { margin: 10px 0 0; color: #ffb4a8; font-size: 15px; }

/* footer */
footer.site { background: var(--black); color: var(--silver); padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; border-top: 1px solid #1f2633; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
footer.site a { color: var(--white); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.social { display: flex; gap: 14px; margin-left: auto; }
.social a { width: 48px; height: 48px; background: rgba(255,255,255,.08); border: 1px solid #3a4558; border-radius: 50%; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.social svg { width: 24px; height: 24px; fill: var(--white); }
.social a:hover { background: var(--navy); border-color: var(--navy); }
.info .social { margin: 18px 0 0; }

/* page hero (inner pages) */
.page-hero { background: var(--black); color: var(--white); padding: 56px 0 44px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); }
.page-hero p { color: var(--silver); max-width: 60ch; font-size: 19px; line-height: 1.5; margin: 0; }
.page-hero .eyebrow { color: var(--silver); }

/* services page */
.page-hero.photo { position: relative; overflow: hidden; padding: 72px 0 56px; }
.page-hero.photo .ph { position: absolute; inset: 0; }
.page-hero.photo .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero.photo .wrap { position: relative; }
.page-hero.photo h1 { text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips a { color: var(--white); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.08); transition: background .15s, border-color .15s; }
.chips a:hover { background: var(--navy); border-color: var(--navy); }
.svc-list { padding: 24px 0 48px; }
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.svc:nth-child(even) .ph { order: 2; }
.svc .ph.block { aspect-ratio: 5/4; box-shadow: 0 18px 40px rgba(21,29,56,.14); }
.svc .eyebrow.num { color: var(--navy); margin-bottom: 10px; }
.svc h2 { margin-bottom: .5em; }
.svc p { color: #4b5563; }
@media (max-width: 760px) { .svc, .svc:nth-child(even) { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; } .svc:nth-child(even) .ph { order: 0; } }
.checks-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.checks-list li { position: relative; padding-left: 30px; color: var(--ink); font-size: 16px; }
.checks-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px 13px no-repeat; }
.more { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 2px; }
.more:hover { color: var(--navy-deep); border-color: var(--navy-deep); }

/* cta band */
.band { background: var(--navy); color: var(--white); text-align: center; padding: 56px 0; }
.band h2 { margin-bottom: 10px; }
.band p { color: #dfe4f0; margin-bottom: 22px; }
