/* ============================================================
   Legacy Showers — Frameless Shower Specialists
   Design system: premium, modern, glass-clean. NOT SaaS-looking.
   Brand is flexible — retheme by editing the :root variables below.
   ============================================================ */

:root {
  /* Brand — edit these to match the final logo */
  --ink:        #15191e;   /* near-black headings / text */
  --ink-soft:   #4a525b;   /* body text */
  --muted:      #79828c;   /* captions, meta */
  --accent:     #0f7b78;   /* deep teal — water/glass, modern, premium */
  --accent-dk:  #0a5a58;
  --accent-tint:#e7f3f2;
  --gold:       #b89254;   /* sparse luxe detail (hardware nod) */
  --bg:         #ffffff;
  --bg-soft:    #f6f7f8;
  --bg-deep:    #11161b;   /* dark sections */
  --line:       #e7eaed;
  --white:      #ffffff;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 2px 10px rgba(20,25,30,.06);
  --shadow-md:  0 14px 40px rgba(20,25,30,.12);
  --shadow-lg:  0 30px 70px rgba(20,25,30,.22);
  --maxw:       1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1,h2,h3,h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-deep); color: #c5cdd5; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
}
.section--dark .eyebrow { color: #4bc4bf; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 680px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(15,123,120,.32); }
.btn--primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15,123,120,.4); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(20,25,30,.18); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, var(--accent), var(--accent-dk));
  position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 9px auto 9px 12px; width: 3px; border-radius: 2px;
  background: rgba(255,255,255,.9);
  box-shadow: 7px 0 0 rgba(255,255,255,.6), 14px 0 0 rgba(255,255,255,.35);
}
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.brand > span { display: flex; flex-direction: column; gap: 3px; }
.brand__name span { color: var(--accent); }
.brand__tag { display:block; font-family: var(--sans); font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color: var(--muted); margin-top: 3px; font-weight:600; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; font-size: .98rem; color: var(--ink); transition: color .15s; }
.nav__links a:hover, .nav__links a.active { color: var(--accent); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); font-size: 1rem; }
.nav__phone svg { color: var(--accent); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content:""; position:absolute; inset:0;
  background: linear-gradient(105deg, rgba(10,15,20,.86) 0%, rgba(10,15,20,.62) 42%, rgba(10,15,20,.28) 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.hero__eyebrow { color: #7fe0db; letter-spacing:.18em; text-transform:uppercase; font-weight:700; font-size:.78rem; }
.hero h1 { color: #fff; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: #7fe0db; }
.hero__sub { font-size: 1.18rem; color: #d7dee4; max-width: 540px; margin-bottom: 26px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 30px; }
.hero__points li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #eaf0f3; font-size: .98rem; }
.hero__points svg { color: #7fe0db; flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__call { display:inline-flex; align-items:center; gap:9px; color:#fff; font-weight:700; font-size:1.08rem; }
.hero__call svg { color:#7fe0db; }

/* hero form card */
.lead-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-lg); }
.lead-card__head { text-align: center; margin-bottom: 18px; }
.lead-card__head h3 { font-size: 1.5rem; }
.lead-card__head p { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.lead-card__badge { display:inline-block; background: var(--accent-tint); color: var(--accent-dk); font-weight:700; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; padding:5px 12px; border-radius:999px; margin-bottom:12px; }

.field { margin-bottom: 13px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 84px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 12px; }
.form-success { display:none; text-align:center; padding: 22px 8px; }
.form-success.show { display:block; }
.form-success svg { color: var(--accent); margin: 0 auto 10px; }

/* ---------- trust bar ---------- */
.trustbar { background: var(--bg-deep); color: #cfd6dd; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 26px 0; text-align: center; }
.trustbar__item { display:flex; flex-direction:column; align-items:center; gap:4px; }
.trustbar__item strong { font-family: var(--serif); color:#fff; font-size: 1.35rem; }
.trustbar__item span { font-size: .82rem; letter-spacing:.04em; color:#9aa4ad; text-transform:uppercase; font-weight:600; }
.trustbar__item svg { color:#4bc4bf; margin-bottom: 4px; }

/* ---------- section heading ---------- */
.shead { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.shead p { color: var(--ink-soft); margin-top: 12px; }

/* ---------- cards / services ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .18s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 13px; background: var(--accent-tint); color: var(--accent-dk);
  display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .97rem; margin: 0; }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.feature-list { margin-top: 22px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .fi { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-tint); color: var(--accent-dk); display: grid; place-items: center; flex: none; }
.feature-list h4 { font-family: var(--sans); font-size: 1.04rem; color: var(--ink); margin-bottom: 2px; font-weight: 700; }
.feature-list p { font-size: .95rem; margin: 0; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); opacity: .35; line-height: 1; margin-bottom: 10px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery--home { grid-template-columns: repeat(4, 1fr); }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(10,15,20,.78)); color: #fff; font-size: .9rem; font-weight: 600; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.review__stars { color: #e8b400; letter-spacing: 3px; margin-bottom: 12px; font-size: 1.05rem; }
.review p { font-style: italic; color: var(--ink); font-size: 1.02rem; }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review__av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-dk); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.review__by strong { display: block; color: var(--ink); font-size: .96rem; }
.review__by span { font-size: .82rem; color: var(--muted); }

/* ---------- service areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.area-pill { display: flex; align-items: center; gap: 9px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 11px; font-weight: 600; color: var(--ink); font-size: .96rem; }
.area-pill svg { color: var(--accent); flex: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; font-family: var(--serif); font-size: 1.18rem; color: var(--ink); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q span.icon { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s; }
.faq__item.open .faq__q span.icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 0 22px; margin: 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; }
.cta-band__bg { position:absolute; inset:0; }
.cta-band__bg img { width:100%; height:100%; object-fit:cover; }
.cta-band__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(11,90,88,.95), rgba(10,15,20,.86)); }
.cta-band__inner { position: relative; z-index:1; text-align: center; padding: 86px 0; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#d7e3e2; max-width: 560px; margin: 14px auto 28px; font-size:1.12rem; }
.cta-band .btn--ghost { color:#fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { border-color:#fff; background: rgba(255,255,255,.08); }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- footer ---------- */
.site-footer { background: #0c1115; color: #97a1aa; padding: 70px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__grid h4 { color: #fff; font-family: var(--sans); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__grid a { display: block; padding: 5px 0; transition: color .15s; }
.footer__grid a:hover { color: #fff; }
.footer__brand .brand__name { color:#fff; }
.footer__brand p { margin: 14px 0 0; color:#8b95a0; max-width: 300px; }
.footer__contact li { display:flex; gap:10px; padding:5px 0; }
.footer__contact svg { color:#4bc4bf; flex:none; margin-top:3px; }
.footer__bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top: 24px; font-size:.85rem; color:#6c757e; }
.footer__bottom a:hover { color:#fff; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { background: var(--bg-deep); color:#fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; right:-120px; top:-120px; width:380px; height:380px; border-radius:50%;
  background: radial-gradient(circle, rgba(15,123,120,.5), transparent 70%); }
.page-hero__inner { position: relative; z-index:1; max-width: 760px; }
.page-hero h1 { color:#fff; }
.page-hero p { color:#cdd5dc; font-size:1.15rem; margin-top:14px; }
.crumbs { font-size:.85rem; color:#8b97a1; margin-bottom: 16px; }
.crumbs a:hover { color:#fff; }

/* ---------- utilities ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.stack-cta { display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 64px 0 72px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__media { order: -1; }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 34px; }
  .grid--3, .reviews { grid-template-columns: repeat(2,1fr); }
  .gallery, .gallery--home { grid-template-columns: repeat(2,1fr); }
  .trustbar__grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .areas { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav__links { position: fixed; inset: 76px 0 auto 0; background:#fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s ease; }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: block; }
  .nav__phone span { display:none; }
  .brand__tag { display: none; }
  .nav { gap: 8px; height: 70px; }
  .nav__cta { gap: 10px; }
  .brand { gap: 9px; }
  .brand__name { font-size: 1.06rem; }
  .brand__mark { width: 32px; height: 32px; }
  .nav__cta .btn { padding: 10px 16px; font-size: .9rem; }
  .nav__phone svg { width: 22px; height: 22px; }
  /* compact hero so the form rises toward the fold */
  .hero__inner { padding: 40px 0 50px; gap: 26px; }
  .hero__eyebrow { font-size: .7rem; letter-spacing: .14em; }
  .hero h1 { font-size: 2.1rem; margin: 12px 0 14px; }
  .hero__sub { font-size: 1.04rem; margin-bottom: 20px; }
  .hero__points { gap: 8px 16px; margin-bottom: 20px; }
  .hero__points li { font-size: .92rem; }
  .hero__call { font-size: 1rem; }
  .lead-card { padding: 24px 20px; }
  .lead-card__head h3 { font-size: 1.35rem; }
  .grid--3, .grid--2, .reviews { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .gallery, .gallery--home { grid-template-columns: 1fr; }
  .trustbar__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 410px) {
  /* keep logo + phone + Free Quote + menu all fitting on narrow phones */
  .nav { gap: 6px; }
  .nav__cta { gap: 7px; }
  .brand { gap: 7px; }
  .brand__name { font-size: .98rem; }
  .brand__mark { width: 30px; height: 30px; }
  .nav__cta .btn { padding: 9px 13px; font-size: .84rem; }
  .container { padding: 0 18px; }
}
