/* European Craft Hardwood Floors — style.css
   "Same Identity, Real Craftsmanship" — kept brand blue + logo red, warm oak ground */

:root {
  --ink-950: #14181c;
  --slate-700: #33414d;
  --craft-blue-700: #146a91;
  --craft-blue-500: #2ea8d8;
  --craft-red-600: #b8352a;
  --oak-100: #f4efe6;
  --line: #e3ddd0;

  --grad-blue: linear-gradient(135deg, var(--craft-blue-500), var(--craft-blue-700));
  --grad-ink: linear-gradient(135deg, var(--slate-700), var(--ink-950));

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --sh-sm: 0 2px 10px rgba(20, 24, 28, .08);
  --sh-md: 0 10px 30px rgba(20, 24, 28, .12);
  --sh-lg: 0 24px 60px rgba(20, 24, 28, .22);

  --radius: 16px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-950);
  background: var(--oak-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--craft-blue-700); }
.section-h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink-950); max-width: 640px; text-wrap: balance; margin-top: .5rem; }
.section-lead { color: var(--slate-700); font-size: 1.05rem; max-width: 620px; margin-top: .9rem; line-height: 1.65; }
.accent-red { color: var(--craft-red-600); }

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

:focus-visible { outline: 2px solid var(--craft-blue-700); outline-offset: 2px; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .96rem; border: none; cursor: pointer; font-family: var(--font-body); transition: transform .2s, box-shadow .2s, background .2s; }
.btn-blue { background: var(--grad-blue); color: #fff; box-shadow: var(--sh-md); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-ghost-light { background: #fff; color: var(--craft-blue-700); border: 1.5px solid var(--line); }
.btn-ghost-light:hover { border-color: var(--craft-blue-700); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ===== NAV ===== */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s; }
#nav.at-top { background: transparent; }
#nav.scrolled { background: rgba(244, 239, 230, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--sh-sm); }
.nav-inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; flex-direction: column; line-height: 1.05; }
.nav-logo-main { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; letter-spacing: -.01em; }
.nav-logo-sub { font-size: .58rem; letter-spacing: .18em; color: rgba(255,255,255,.75); font-weight: 600; margin-top: 2px; }
#nav.scrolled .nav-logo-main { color: var(--ink-950); }
#nav.scrolled .nav-logo-sub { color: var(--slate-700); }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2rem; }
.nav-links a { font-weight: 600; font-size: .94rem; color: #fff; position: relative; padding-bottom: 4px; }
#nav.scrolled .nav-links a { color: var(--ink-950); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--grad-blue); transition: right .25s; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
#nav.scrolled .nav-links a.active { color: var(--craft-blue-700); }
.nav-phone { display: none; align-items: center; gap: .45rem; color: #fff; font-weight: 600; font-size: .92rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); }
#nav.scrolled .nav-phone { color: var(--ink-950); border-color: var(--line); }
.nav-phone:hover { border-color: var(--craft-blue-500); color: var(--craft-blue-500); }
@media (min-width: 900px) { .nav-links, .nav-phone { display: flex; } }

.hbg { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0; }
@media (min-width: 900px) { .hbg { display: none; } }
.hbg span { width: 22px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
#nav.scrolled .hbg span { background: var(--ink-950); }
.hbg.open span { background: #fff; }
.hbg.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-ov { position: fixed; inset: 0; background: var(--grad-ink); z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transform: translateX(100%); transition: transform .35s ease; }
.mob-ov.open { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .mob-ov { transition: none; } }
.mob-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.mob-links a { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.mob-links a:hover { color: var(--craft-blue-500); }
.mob-phone { color: var(--craft-blue-500); font-weight: 600; font-size: 1.1rem; }

/* ===== HERO ===== */
#hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(20,24,28,.82) 0%, rgba(20,24,28,.58) 45%, rgba(20,24,28,.28) 100%); }

.hero-inner { position: relative; z-index: 3; width: 100%; max-width: 1180px; margin: 0 auto; padding: calc(var(--nav-h) + 2.5rem) 1.5rem 3.5rem; }
.hero-panel { max-width: 640px; background: rgba(20,24,28,.42); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 2.4rem 2.2rem; box-shadow: var(--sh-lg); }
.hero-eyebrow { color: var(--craft-blue-500); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: .7rem; }
.hero-h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); color: #fff; line-height: 1.05; text-wrap: balance; }
.hero-sub { color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.65; margin-top: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.7rem; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--grad-ink); padding: 1.4rem 0; }
.trust-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem; }
.trust-item { display: flex; align-items: center; gap: .5rem; }
.trust-stars { color: var(--craft-blue-500); letter-spacing: .1em; }
.trust-label { color: #fff; font-weight: 600; font-size: .95rem; }
.trust-link { color: #fff; font-weight: 600; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; }
.trust-link:hover { color: var(--craft-blue-500); border-color: var(--craft-blue-500); }
.trust-div { width: 1px; height: 18px; background: rgba(255,255,255,.25); }
@media (max-width: 560px) { .trust-div { display: none; } }

/* ===== SERVICES ===== */
.services { padding: 6rem 0; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-top: 2.8rem; }
@media (min-width: 880px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem 1.9rem; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
@media (prefers-reduced-motion: reduce) { .service-card:hover { transform: none; } }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; box-shadow: var(--sh-sm); }
.service-card h3 { font-size: 1.26rem; margin-bottom: .7rem; color: var(--ink-950); }
.service-card p { color: var(--slate-700); line-height: 1.7; font-size: .96rem; }

/* ===== GALLERY ===== */
.gallery { padding: 6rem 0; background: #fff; }
.gallery-filters { display: flex; gap: .7rem; margin-top: 2rem; flex-wrap: wrap; }
.filter-btn { padding: .55rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--slate-700); font-weight: 600; font-size: .9rem; font-family: var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--craft-blue-700); color: var(--craft-blue-700); }
.filter-btn.active { background: var(--grad-blue); color: #fff; border-color: transparent; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--oak-100); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery-item:hover img { transform: none; } }
.gallery-item.hidden { display: none; }
.gallery-note { margin-top: 1.6rem; color: var(--slate-700); font-size: .88rem; }

/* ===== WHY ===== */
.why { padding: 6rem 0; background: var(--oak-100); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; margin-top: 2.8rem; }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 700; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .32; margin-bottom: .3rem; line-height: 1; }
.why-card h3 { font-size: 1.26rem; margin-bottom: .7rem; color: var(--ink-950); }
.why-card p { color: var(--slate-700); line-height: 1.7; font-size: .98rem; }

/* ===== REVIEWS ===== */
.reviews { padding: 6rem 0; background: #fff; }
.reviews .section-inner { text-align: center; }
.reviews .section-h2, .reviews .eyebrow { margin-left: auto; margin-right: auto; }
.review-card { max-width: 660px; margin: 2.6rem auto 0; background: var(--oak-100); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem 2.1rem; text-align: left; }
.quote-mark { margin-bottom: .9rem; opacity: .55; }
.stars { color: var(--craft-blue-700); letter-spacing: .12em; margin-bottom: 1rem; font-size: 1rem; }
.review-body { color: var(--ink-950); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.2rem; }
.review-name { color: var(--slate-700); font-weight: 600; font-size: .9rem; }

/* ===== CONTACT ===== */
.contact { padding: 6rem 0; background: var(--oak-100); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; margin-top: 2.8rem; align-items: start; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.contact-hours { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.2rem; margin: .8rem 0 0; font-size: .95rem; }
.contact-hours dt { font-weight: 600; color: var(--ink-950); }
.contact-hours dd { margin: 0; color: var(--slate-700); font-variant-numeric: tabular-nums; }
.contact-area { color: var(--slate-700); font-size: .92rem; line-height: 1.6; margin-top: .4rem; }
.contact-form { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--ink-950); margin-top: .5rem; }
.contact-form input, .contact-form textarea { font-family: var(--font-body); border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .9rem; font-size: .95rem; background: #fff; color: var(--ink-950); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--craft-blue-700); outline-offset: 1px; border-color: transparent; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { margin-top: .9rem; align-self: flex-start; }
.form-note { font-size: .8rem; color: var(--slate-700); margin-top: .7rem; line-height: 1.5; }

/* ===== FOOTER ===== */
.site-footer { background: var(--grad-ink); padding: 3.5rem 0 2rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-blue); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; color: rgba(255,255,255,.85); }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand .footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; display: block; }
.footer-brand .footer-logo-sub { font-size: .58rem; letter-spacing: .18em; color: rgba(255,255,255,.6); font-weight: 600; display: block; margin-top: 2px; }
.footer-brand p { margin-top: .9rem; font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.7); max-width: 30ch; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--craft-blue-500); margin: 0 0 .8rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.85); font-size: .92rem; margin-bottom: .45rem; line-height: 1.55; }
.footer-col a:hover { color: var(--craft-blue-500); }
.footer-copy { grid-column: 1 / -1; font-size: .82rem; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; margin-top: .6rem; }
