/* ============================================
   LAID RIGHT FLOORS — Site styles
   Palette: Navy & Copper (chosen Nov 2026)
   ============================================ */

:root {
  --ink: #17263B;        /* dark grounds, headings */
  --brand: #1F4E79;      /* navy blue: buttons, links, labels */
  --brand-dark: #163A5C;
  --accent: #C9773B;     /* copper */
  --tint: #E8B48A;       /* light copper on dark */
  --sky: #7FA6CF;        /* light blue on dark */
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --rule: #E3DED3;
  --text: #36445A;
  --mute: #5A6678;
  --on-dark: #C9D2DA;
  --mark-accent: #C9773B;
  --head: Archivo, "Arial Black", Arial, Helvetica, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.eyebrow { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--head); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; text-decoration: none; border-radius: 6px; padding: 11px 22px; border: 0; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-primary:active { transform: translateY(1px); }
.btn-lg { font-size: 14px; padding: 15px 28px; }
.btn-block { width: 100%; padding: 15px; font-size: 14px; }
.btn-outline { color: var(--paper); border: 1.5px solid var(--accent); padding: 9px 18px; white-space: nowrap; }
.btn-outline:hover { background: var(--accent); color: var(--ink); }
.btn[disabled] { opacity: .8; cursor: default; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(245, 243, 238, 0.96); border-bottom: 1px solid var(--rule); backdrop-filter: blur(6px); }
.header.scrolled { box-shadow: 0 4px 18px rgba(23, 38, 59, 0.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 62px; height: 31px; flex: none; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
.brand-name span { color: var(--brand); }
.brand-light { color: var(--paper); }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 14.5px; }
.nav a { text-decoration: none; }
.nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn):hover, .nav a.active { color: var(--brand); }
.nav .nav-phone { font-family: var(--head); font-weight: 700; font-size: 15.5px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu-overlay { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; text-transform: uppercase; letter-spacing: 0.5px; }
.hero h1 span { color: var(--brand); }
.hero-lead { font-size: 17px; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-phone { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; padding: 10px 4px; }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--mute); }
.trust li { padding-left: 22px; position: relative; }
.trust li::before { content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 7px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.hero-art { position: relative; height: 400px; border-radius: 12px; background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; }
.hero-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-badge { position: relative; margin: 20px; background: rgba(245, 243, 238, 0.97); border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; color: var(--ink); }
.hero-badge svg { width: 96px; height: 48px; flex: none; }
.hero-badge p { font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-badge p span { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-white + .section-white { border-top: 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { text-align: center; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-head h2, .estimate-copy h2 { font-weight: 800; font-size: clamp(27px, 3.2vw, 34px); text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.15; }
.section-head p:not(.eyebrow) { color: var(--mute); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card-icon { width: 34px; height: 34px; color: var(--brand); }
.card-icon-wide { width: 68px; }
.card h3 { font-weight: 700; font-size: 18px; letter-spacing: 0.5px; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--text); }

/* ---------- Credo ---------- */
.credo-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; }
.credo-copy { display: flex; flex-direction: column; gap: 16px; }
.credo-mark { width: 150px; height: 75px; color: var(--paper); }
.credo h2 { font-weight: 800; font-size: clamp(26px, 3vw, 32px); text-transform: uppercase; letter-spacing: 0.5px; }
.credo-copy p { color: var(--on-dark); line-height: 1.65; }
.credo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
.credo-list li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(245, 243, 238, 0.15); }
.credo-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.credo-list span { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--accent); min-width: 36px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.step { text-align: center; display: flex; flex-direction: column; gap: 10px; padding: 0 12px; }
.step-num { font-family: var(--head); font-weight: 800; font-size: 40px; color: var(--brand); line-height: 1; }
.step h3 { font-weight: 700; font-size: 18px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--text); }

/* ---------- Reviews ---------- */
.reviews { text-align: center; }
.reviews .section-head h2 { color: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; text-align: left; }
.review-card { background: rgba(245, 243, 238, 0.05); border: 1px solid rgba(201, 119, 59, 0.25); border-radius: 10px; padding: 30px 26px; }
.review-stars { color: var(--accent); font-size: 17px; letter-spacing: 4px; margin-bottom: 16px; }
.review-text { font-size: 16px; line-height: 1.7; color: rgba(245, 243, 238, 0.88); font-style: italic; margin-bottom: 18px; }
.review-author { font-family: var(--head); font-weight: 600; color: var(--white); letter-spacing: 1px; }
.review-source { font-size: 13px; color: var(--tint); margin-top: 3px; }
.first-review { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.first-review .review-stars { font-size: 24px; margin-bottom: 0; }
.first-review p { color: var(--on-dark); font-size: 16.5px; }
.first-review .btn-primary { background: var(--accent); color: var(--ink); }
.first-review .btn-primary:hover { background: var(--tint); color: var(--ink); }
.reviews-more { margin-top: 28px; }
.reviews-more a { color: var(--tint); font-weight: 600; text-decoration: none; }
.reviews-more a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Gallery (off until photos exist) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .gallery-wide { grid-column: span 3; height: 380px; }
.gallery figure.empty::before { content: "Photo coming soon"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--mute); font-size: 14px; }
.gallery figure { margin: 0; position: relative; height: 300px; border-radius: 10px; overflow: hidden; background: #E6DCCB; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(23, 38, 59, 0.78)); color: #F0D9BE; font-family: var(--head); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- Service area ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 10px 22px; font-family: var(--head); font-weight: 600; font-size: 14px; }
.areas-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--mute); }

/* ---------- Referral strip ---------- */
.referral { background: var(--ink); color: var(--paper); padding: 22px 0; }
.referral-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.referral p { font-size: 15px; }
.referral strong { color: var(--tint); }

/* ---------- Estimate ---------- */
.estimate-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.estimate-copy { display: flex; flex-direction: column; gap: 18px; }
.estimate-copy > p:not(.eyebrow) { font-size: 15.5px; color: var(--text); }
.contact-list { margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 24px; font-size: 14.5px; }
.contact-list dt { font-family: var(--head); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; color: var(--brand); }
.contact-list dd { margin: 2px 0 0; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.estimate-form { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 30px; }
.estimate-form h3 { font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.optional { font-weight: 400; color: var(--mute); }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid #D0CABD; border-radius: 6px; padding: 11px 12px; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.form-status { margin-top: 10px; font-size: 14px; min-height: 20px; color: var(--text); }
.form-status.ok { color: #2e7d32; font-weight: 600; }
.form-status.err { color: #b3261e; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding: 48px 0 32px; font-size: 13.5px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-mark { width: 56px; height: 28px; }
.footer-brand .brand-name { font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--tint); }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(245, 243, 238, 0.15); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #8FA0B2; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 960px) {
  .hero-inner, .estimate-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 44px; }
  .hero-art { height: 280px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .gallery-wide { grid-column: auto; }
  .gallery figure, .gallery .gallery-wide { height: 240px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(320px, 86vw); background: var(--paper); border-left: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; transform: translateX(100%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; overflow-y: auto; z-index: 110; }
  .nav.open { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .nav .nav-cta { margin-top: 18px; text-align: center; padding: 15px; }
  .menu-overlay { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(23, 38, 59, 0.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 105; }
  .menu-overlay.active { opacity: 1; pointer-events: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .brand-mark { width: 50px; height: 25px; }
  .brand-name { font-size: 15px; letter-spacing: 1px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .estimate-form { padding: 22px 18px; }
  .hero-badge { margin: 14px; padding: 12px 14px; gap: 12px; }
  .hero-badge svg { width: 72px; height: 36px; }
  .hero-badge p { font-size: 16px; }
  .trust { gap: 10px 20px; }
  .referral-inner { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}
