/* ===== Star Washateria — styles.css =====
   Clean, white, conversion-focused layout (Hyperloop-inspired)
   on the real brand palette: signage red, white, charcoal gray.
   Built mobile-first. */

:root {
  --red: #e11b22;
  --red-deep: #b3141a;
  --red-soft: #fdecec;
  --charcoal: #1f2327;
  --ink: #20242a;
  --gray: #5d646c;
  --gray-light: #8a9098;
  --line: #e7e9ec;
  --mist: #f5f6f8;
  --paper: #ffffff;
  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 55px -26px rgba(31,35,39,.45);
  --shadow-soft: 0 12px 30px -18px rgba(31,35,39,.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* never let media or words force the page wider than the screen */
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, a, li { overflow-wrap: break-word; }
h1, h2, h3, h4 { font-family: 'Archivo', system-ui, sans-serif; line-height: 1.07; font-weight: 800; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 800; color: var(--red); margin-bottom: .85rem;
}
.eyebrow.light { color: #ffc9cb; }

/* ===== LOGO MARK ===== */
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 1.25rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 900; font-size: 1.05rem; letter-spacing: .01em;
  color: var(--ink); text-transform: uppercase; margin-right: auto;
}
.brand .brand-star { color: var(--red); }
.brand-sub { font-weight: 700; letter-spacing: .12em; color: var(--gray); }

.nav-toggle { display: none; }
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; cursor: pointer; border-radius: 10px;
}
.nav-burger span { height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  font-size: .92rem; font-weight: 600; color: var(--ink); position: relative; padding: .2rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--red); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--red); color: #fff; padding: .62rem 1.15rem; border-radius: 100px;
  font-size: .88rem; font-weight: 700; transition: transform .2s ease, background .2s ease; white-space: nowrap;
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .98rem; padding: .92rem 1.7rem; border-radius: 100px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 14px 28px -14px var(--red-deep); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-dark { border: 2px solid var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== HERO ===== */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 8vw, 6rem); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 8.5vw, 4.2rem); font-weight: 900; text-transform: uppercase; margin-bottom: 1.1rem; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lede { font-size: clamp(1rem, 4vw, 1.18rem); color: var(--gray); margin-bottom: 1.8rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .85rem; color: var(--gray); font-weight: 600; }
.hero-trust .stars { color: var(--red); letter-spacing: .05em; }
.hero-trust .dot { color: var(--line); }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 3; }
.hero-badge {
  position: absolute; left: -.4rem; bottom: -.9rem;
  background: var(--red); color: #fff; padding: .7rem 1.1rem; border-radius: 14px;
  font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em;
  box-shadow: var(--shadow-soft); line-height: 1.2;
}
.hero-badge span { display: block; font-size: 1.15rem; }

/* ===== SECTION SHELL ===== */
.section { padding: clamp(3.2rem, 8vw, 6rem) 0; }
.section.mist { background: var(--mist); }
.section.dark { background: var(--charcoal); color: #fff; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); text-transform: uppercase; }
.section.dark .section-head h2 { color: #fff; }
.section-note { margin-top: .9rem; color: var(--gray); }
.section.dark .section-note { color: #c2c7cc; }

/* ===== WHY-US FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico {
  width: 50px; height: 50px; border-radius: 14px; background: var(--red-soft);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.feature .ico svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 2; }
.feature h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.feature p { color: var(--gray); font-size: .95rem; }

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 1.25rem;
  display: grid; place-items: center;
}
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { color: var(--gray); font-size: .96rem; }

/* ===== SERVICE FEATURE BLOCKS ===== */
.svc { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.svc + .svc { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.svc-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); object-fit: cover; aspect-ratio: 3 / 2; }
.svc-badge {
  display: inline-block; background: var(--red-soft); color: var(--red);
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 100px; margin-bottom: .9rem;
}
.svc-body h3 { font-size: clamp(1.5rem, 5vw, 2.1rem); text-transform: uppercase; margin-bottom: .7rem; }
.svc-body p { color: var(--gray); margin-bottom: 1.2rem; }
.svc-list { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.svc-list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; font-size: .96rem; }
.svc-list .tick { color: var(--red); font-weight: 900; flex-shrink: 0; }

/* ===== SPECIALS ===== */
.special-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.special {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; position: relative; overflow: hidden;
}
.special::before { content: '★'; position: absolute; top: -.7rem; right: .3rem; font-size: 3.2rem; color: var(--red-soft); }
.special .days {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: .3rem .7rem; border-radius: 100px; margin-bottom: .9rem;
}
.special h3 { font-size: 1.25rem; margin-bottom: .3rem; position: relative; }
.special p { color: var(--gray); font-size: .9rem; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.gallery-grid img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); transition: transform .3s ease; }
.gallery-grid img:hover { transform: scale(1.02); }

/* ===== CTA BANNER ===== */
.cta-banner { background: var(--red); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-banner::after { content: '★'; position: absolute; right: -1rem; bottom: -3rem; font-size: 13rem; color: rgba(255,255,255,.12); line-height: 1; }
.cta-banner .inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(1.8rem, 6vw, 3rem); text-transform: uppercase; margin-bottom: .9rem; }
.cta-banner p { color: #ffe2e3; margin-bottom: 1.8rem; }

/* ===== VISIT ===== */
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.visit-info h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); text-transform: uppercase; margin-bottom: 1.6rem; }
.info-block { margin-bottom: 1.4rem; }
.info-block h4 { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--red); margin-bottom: .3rem; font-weight: 800; }
.info-block p { font-size: 1.05rem; }
.info-block a { color: var(--red); font-weight: 700; }
.visit-actions { margin-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.visit-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.visit-photo .map-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.96); border-radius: 100px; padding: .55rem 1rem;
  font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-soft);
}
.visit-photo .map-tag .pin { color: var(--red); }

/* ===== FOOTER ===== */
.footer { background: var(--charcoal); color: #b6bbc0; text-align: center; padding: 3rem 1.25rem 2.2rem; font-size: .9rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 900; font-size: 1.2rem; color: #fff; margin-bottom: 1rem; letter-spacing: .03em; text-transform: uppercase; }
.footer-brand .brand-star { color: var(--red); }
.footer p { margin-bottom: .4rem; }
.socials { display: flex; gap: .7rem; justify-content: center; margin: 1.3rem 0 1rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s ease, transform .2s ease; }
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.copyright { color: #6b7075; font-size: .82rem; margin-top: 1rem; }

/* ===== TABLET (>=680px) ===== */
@media (min-width: 680px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .special-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .gallery-grid img { height: 200px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-actions .btn { min-width: auto; }
}

/* ===== DESKTOP (>=900px) ===== */
@media (min-width: 900px) {
  .nav { padding: .8rem 2rem; gap: 1.5rem; }
  .brand { font-size: 1.18rem; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .special-grid { grid-template-columns: repeat(5, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .visit-photo img { height: 100%; }
  /* alternating service blocks */
  .svc { grid-template-columns: 1fr 1fr; }
  .svc.reverse .svc-media { order: 2; }
}

/* ===== MOBILE NAV (<900px) ===== */
@media (max-width: 899.98px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .3s ease, opacity .2s ease;
  }
  .nav-links a { padding: 1rem 1.5rem; border-top: 1px solid var(--line); font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-toggle:checked ~ .nav-links { max-height: 380px; opacity: 1; pointer-events: auto; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (min-width: 900px) {
  .nav-burger { display: none; }
}

/* ===== SMALL PHONES (<480px) ===== */
@media (max-width: 479.98px) {
  .brand-sub { display: none; }
  .hero-actions .btn, .visit-actions .btn, .svc-body .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 130px; }
  .nav-cta { padding: .55rem .9rem; font-size: .82rem; }
  .container { padding: 0 1.1rem; }
  /* keep decorative stars from looking like giant icons on phones */
  .cta-banner::after { font-size: 7rem; right: -.5rem; bottom: -1.5rem; }
  .special::before { font-size: 2.6rem; }
  .hero-badge { left: 0; }
}
