/* ============================================================
   Nu-Way Cleaners — concept website (Direction C: contemporary
   professional cleaner with neighborhood warmth)
   Palette is PROPOSED, not the shop's historical brand — see
   BRAND_EVIDENCE.md.
   ============================================================ */
:root {
  --paper: #f8f5ee;        /* warm press-paper ivory */
  --card: #fffdf8;
  --ink: #22312a;          /* green-black ink */
  --shade: #5c6a60;        /* muted sage-ink for secondary text */
  --line: #e5e0d2;
  --pine: #2f6a55;         /* primary action / links */
  --pine-deep: #245444;
  --brass: #c99a3a;        /* stars, highlights */
  --shadow: 0 14px 34px rgba(34, 49, 42, .09);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; display: block; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.16; color: var(--ink); }

h1 { font-size: clamp(2.3rem, 5.2vw, 3.5rem); font-weight: 700; letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--pine); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .55rem; }
h3 { font-size: 1.18rem; }

.container { width: min(1080px, 90%); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pine-deep);
  border: 1px solid var(--line);
  background: var(--card);
  padding: .32rem .8rem; border-radius: 3px;
  margin-bottom: .9rem;
}

.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-lede { max-width: 660px; color: var(--shade); margin-top: .5rem; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 8px 8px;
  font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover, .review:hover { transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--pine); color: #fff; box-shadow: 0 8px 20px rgba(47,106,85,.28); }
.btn-primary:hover { background: var(--pine-deep); }
.btn-ghost { border-color: #d8d2c0; color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine-deep); }
/* ---------- Language switch ---------- */
.lang-switch {
  display: flex; flex: none;
  border: 1.5px solid #d8d2c0; border-radius: 8px; overflow: hidden;
  background: var(--card);
}
.lang-btn {
  min-height: 40px; min-width: 44px; padding: .5rem .55rem;
  font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  color: var(--ink); background: transparent; border: 0; cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, color .15s ease;
}
.lang-btn + .lang-btn { border-left: 1px solid #d8d2c0; }
.lang-btn:hover { color: var(--pine-deep); }
.lang-btn[aria-pressed="true"] { background: var(--pine); color: #fff; }
.lang-switch-drawer { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 238, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; color: var(--ink); font-weight: 500; }
.brand-text strong { font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; padding: .6rem 0; }

.nav-toggle { background: none; border: 0; padding: .7rem .6rem; cursor: pointer; }
.site-nav a:not(.btn):hover { color: var(--pine); }
.btn-phone { background: var(--ink); color: var(--paper); padding: .7rem 1.25rem; border-radius: 8px; }
.btn-phone:hover { background: var(--pine-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #f3eee2 0%, var(--paper) 90%); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 3.5rem; padding: clamp(3.2rem, 7vw, 5.2rem) 0; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.3rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .83rem; font-weight: 600; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 3px; padding: .42rem .8rem;
}
.badge strong { font-weight: 700; }
.badge-quiet { color: var(--shade); }
.stars { color: var(--brass); letter-spacing: .08em; }
.hero-lede { color: var(--shade); font-size: 1.13rem; max-width: 560px; margin: 1.1rem 0 1.7rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.2rem; font-size: .93rem; color: var(--shade); }

/* Claim-ticket card — original conceptual artwork */
.hero-card { position: relative; display: grid; justify-items: center; padding-top: 6.6rem; }
.hero-art {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(360px, 100%); height: auto;
}
.ticket {
  position: relative;
  width: min(360px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem 1.2rem;
  font-size: .95rem;
  position: relative;
}
.ticket::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px dashed #d9d2bd; border-radius: 6px; pointer-events: none;
}
.ticket-top { display: flex; align-items: center; gap: .6rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.ticket-hole { width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line); }
.ticket-brand { font-family: "Fraunces", serif; font-weight: 700; letter-spacing: .01em; }
.ticket-num { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--shade); letter-spacing: .08em; }
.ticket-lines { display: grid; gap: .45rem; padding: .9rem 0; }
.ticket-lines > div { display: flex; justify-content: space-between; align-items: baseline; padding: .28rem .6rem; background: var(--paper); border-radius: 4px; }
.ticket-lines dt { color: var(--shade); }
.ticket-lines dd { font-weight: 700; color: var(--pine); }
.ticket-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.ticket-foot > span:first-child { font-size: .78rem; color: var(--shade); font-style: italic; }
.ticket-stamp {
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; color: #a1526e;
  border: 2px solid #a1526e; border-radius: 4px; padding: .2rem .5rem;
  transform: rotate(-4deg); opacity: .85;
}
.tag {
  margin-top: 1.6rem;
  background: var(--ink); color: var(--paper);
  font-size: .85rem; font-weight: 600; text-align: center;
  padding: .55rem 1.1rem; border-radius: 6px;
  max-width: 340px;
  position: relative;
}
.tag::after {
  content: ""; position: absolute; left: 50%; bottom: -8px;
  transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: var(--ink); border-bottom: 0;
}

/* ---------- Trust strip ---------- */
.trustbar { background: var(--ink); color: #eef0e9; }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding: 1.5rem 0; }
.trust-item { display: grid; gap: .12rem; padding: 0 1.2rem; border-left: 1px solid rgba(255,255,255,.14); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { font-size: .98rem; font-weight: 700; color: #fff; }
.trust-item span { font-size: .84rem; color: #c2ccc3; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: 0 1px 8px rgba(34,49,42,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: #eaf1ec; color: var(--pine-deep);
  border: 1px solid #d9e6dd;
  display: grid; place-items: center; margin-bottom: 1.05rem;
}
.card-icon svg { width: 25px; height: 25px; }
.card p { color: var(--shade); font-size: 1rem; margin-top: .45rem; }
.card-wide { grid-column: span 2; }

/* ---------- Reviews ---------- */
.reviews { background: #f2eee1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story {
  margin-top: 2rem; max-width: 860px;
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--brass); border-radius: var(--radius);
  padding: 2rem 2.2rem 1.6rem; box-shadow: 0 1px 8px rgba(34,49,42,.05);
}
.story blockquote p { font-family: "Fraunces", serif; font-size: 1.35rem; line-height: 1.45; color: var(--ink); }
.story figcaption { margin-top: .9rem; font-size: .92rem; color: var(--shade); }
.story cite { font-style: italic; }

.reviews-grid { row-gap: 1.2rem; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; display: grid; gap: .7rem; align-content: start;
  transition: transform .18s ease, box-shadow .18s ease;
}
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.review .stars { font-size: 1rem; }
.review p { font-size: 1.02rem; }
.review cite { font-style: normal; font-size: .86rem; color: var(--shade); font-weight: 600; }
.ratings-link { margin-top: .9rem; }
.ratings-link a { color: var(--pine-deep); font-weight: 600; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-inner { max-width: 800px; }
.faq-list { display: grid; gap: .7rem; margin-top: 2rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600; color: var(--ink); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color .15s ease;
}
.faq-item summary:hover { color: var(--pine-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: #eaf1ec; border: 1.5px solid #d9e6dd; color: var(--pine-deep);
  display: grid; place-items: center; font-size: 1.15rem; font-weight: 700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.faq-item[open] summary { color: var(--pine-deep); }
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--pine); border-color: var(--pine); color: #fff;
}
.faq-item p { padding: 0 1.35rem 1.35rem; color: var(--shade); font-size: 1rem; max-width: 60ch; }
.faq-item p a { color: var(--pine-deep); font-weight: 600; }
.faq-item[open] { border-color: #cfe0d6; box-shadow: var(--shadow); }

/* ---------- Visit ---------- */
.visit { background: var(--paper); }
.visit h2 { letter-spacing: -.01em; }
.visit-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3rem; align-items: center; }
.visit-facts { display: grid; grid-template-columns: 1fr; gap: 1.3rem; margin: 1.7rem 0; }
@media (min-width: 560px) {
  .visit-facts { grid-template-columns: repeat(2, 1fr); }
  .visit-facts .fact:last-child { grid-column: 1 / -1; }
}
.fact {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 1.55rem 1.65rem;
}
.fact h3 { font-family: "Inter", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .13em; color: var(--pine-deep); margin-bottom: .5rem; }
.fact p { font-size: 1.06rem; font-weight: 600; line-height: 1.5; }
.fact a { text-decoration: none; color: inherit; }
.fact a:hover { color: var(--pine-deep); }
.muted { font-weight: 500; color: var(--shade); font-size: .87rem; }
.visit-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.visit-map { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit-map iframe { width: 100%; height: 400px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c3bb; padding: 3.2rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-mark { background: var(--pine); }
.footer-brand p { margin-top: 1rem; font-size: .97rem; color: #c6d0c8; max-width: 340px; }
.demo-note { font-size: .84rem; color: #a3b2a6; }
.footer-col { display: grid; gap: .55rem; align-content: start; }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .45rem; }
.footer-col a { color: #c6d0c8; text-decoration: none; font-size: 1.02rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; }
.footer-bottom p { font-size: .88rem; color: #c6d0c8; }
.footer-bottom strong { color: #fff; }

/* ---------- Mobile quick-action bar ---------- */
.action-bar { display: none; }

@media (max-width: 860px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; gap: 1px;
    background: var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 20px rgba(34,49,42,.28);
  }
  .bar-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .95rem .5rem; text-decoration: none;
    font-weight: 700; font-size: .95rem; letter-spacing: .02em;
    color: #fff; background: transparent;
    min-height: 48px;
  }
  .bar-btn svg { width: 18px; height: 18px; }
  .bar-call { background: var(--pine); }
  .bar-call:active, .bar-map:active { filter: brightness(.92); }
  .bar-map { background: var(--ink); }
  .site-nav {
    position: fixed; inset: 0 0 auto 0; top: 66px;
    background: var(--card); flex-direction: column; align-items: flex-start;
    padding: 1.3rem 6% 1.6rem; gap: 1.05rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(34,49,42,.14);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: .2s ease;
  }
  .nav-open .site-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .site-nav a:not(.btn) { white-space: nowrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .visit-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-left: 0; padding: 0; }
  .hero-card { margin: 0 auto; }
  .card-wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero-badges { flex-direction: column; align-items: stretch; }
  .hero-badges .badge { display: block; vertical-align: middle; }
  .grid, .trustbar-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-tools .lang-switch { display: none; }
  .lang-switch-drawer { display: flex; align-self: flex-start; margin-top: .3rem; }
  .lang-switch-drawer .lang-btn { min-height: 44px; min-width: 52px; padding: .65rem .8rem; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .visit-cta .btn { flex: 1; justify-content: center; }
  .story { padding: 1.6rem 1.4rem 1.3rem; }
  .story blockquote p { font-size: 1.15rem; }
}
