/* Blink VisionCare - static site.
   Palette (client request, Sep 2026): warm ivory, charcoal and muted burgundy,
   matched to the store interior. `--red` keeps its name across the stylesheet
   but now holds the muted burgundy accent. */
:root {
  --red: #7e2b38;        /* muted burgundy - accent, links, buttons */
  --red-dark: #63212c;
  --ink: #2c2a28;        /* charcoal */
  --soft: #6b645d;
  --paper: #fbf8f3;      /* warm ivory */
  --warm: #f4efe7;       /* deeper ivory for alternating bands */
  --line: #e6ded2;
  --card: #ffffff;
  --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav .logo img { height: 44px; width: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin-left: auto; align-items: center; }
.nav ul a { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.nav ul a:hover, .nav ul a.on { color: var(--red); }
.btn {
  display: inline-block; background: var(--red); color: #fff !important; font-weight: 700;
  font-size: 14px; letter-spacing: .03em; padding: 12px 22px; border-radius: 999px;
  transition: background .15s;
}
.btn:hover { background: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ── Home banner (brand campaign slider) ──
   These are supplier campaign images with their OWN logos and models baked in,
   so they are shown whole: no overlay, no text on top, no cropping. Fixed 2:1
   at native 1200px width (sharp; never upscaled). The headline sits BELOW, as
   the client specified. Slides are <img> so each brand gets real alt text. */
.hero-banner { padding: 28px 0 0; }
.hero-frame {
  position: relative; aspect-ratio: 2 / 1; max-width: 1200px; margin: 0 auto;
  border-radius: 16px; overflow: hidden; background: var(--warm);
  box-shadow: 0 18px 50px rgba(44,42,40,.14);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.on { opacity: 1; }
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; cursor: pointer;
  background: rgba(44,42,40,.24); transition: all .3s;
}
.hero-dots button.on { background: var(--red); width: 26px; }

/* Intro directly under the banner */
.intro { padding: 54px 0 64px; text-align: center; border-bottom: 1px solid var(--line); }
.intro h1 { margin: 0 auto; }
.intro .lead { margin: 20px auto 30px; font-size: 1.15rem; color: var(--soft); max-width: 640px; }
.intro .cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Accolades strip */
.accolades { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.accolade {
  display: inline-flex; align-items: center; gap: 7px; background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  font-size: .8rem; font-weight: 700; color: var(--ink); letter-spacing: .01em;
}
.accolade .star { color: var(--red); }

/* Meet the team */
.team { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.team img { border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.13); }
.kicker {
  display: inline-block; color: var(--red); font-size: 12.5px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }

/* ── Sections ── */
section { padding: 78px 0; }
section.alt { background: var(--warm); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.015em; line-height: 1.15; margin-bottom: 14px; }
.sub { color: var(--soft); max-width: 660px; }
.two { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.two img { border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.13); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0,0,0,.08); }
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--soft); }
.card .go { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 700; }

/* Brand tiles */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.brand {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px 10px; text-align: center;
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: var(--ink); background: var(--card);
}
.brand.logo-tile { padding: 0; overflow: hidden; aspect-ratio: 21 / 11; display: grid; place-items: center; }
.brand.logo-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); opacity: .82; transition: filter .2s, opacity .2s;
}
.brand.logo-tile:hover img { filter: none; opacity: 1; }

/* Full-width page photo (under page heads) */
.page-photo { width: 100%; max-height: 430px; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.13); }

/* ── Review carousel (scroll-snap + autoplay) ── */
.carousel { position: relative; margin-top: 40px; }
.car-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track .review { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.car-btn {
  position: absolute; top: 42%; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.12);
  font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.car-btn:hover { color: var(--red); border-color: var(--red); }
.car-btn.prev { left: -12px; } .car-btn.next { right: -12px; }
.car-dots { display: flex; gap: 7px; justify-content: center; margin-top: 18px; }
.car-dots button { width: 8px; height: 8px; border-radius: 99px; background: #ddd; border: 0; cursor: pointer; padding: 0; transition: all .25s; }
.car-dots button.on { background: var(--red); width: 24px; }

/* ── Infinite brand marquee (home) ── */
.marquee {
  overflow: hidden; margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: mslide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .brand { flex: 0 0 200px; }
@keyframes mslide { to { transform: translateX(calc(-50% - 7px)); } }

/* ── Rotating quote fader (Book page band) ── */
.fade-quotes { min-height: 96px; }
.fade-quotes .fq { display: none; }
.fade-quotes .fq.on { display: block; animation: fqin .8s ease; }
@keyframes fqin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Scroll-reveal + hero entrance ── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.intro .wrap > * { animation: rise .7s ease backwards; }
.intro .wrap > :nth-child(2) { animation-delay: .12s; }
.intro .wrap > :nth-child(3) { animation-delay: .24s; }
.intro .wrap > :nth-child(4) { animation-delay: .36s; }

@media (max-width: 900px) { .car-track .review { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .car-track .review { flex-basis: 94%; } .car-btn { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .intro .wrap > * { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* Reviews */
.agg { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 6px; }
.agg .score { font-size: 2.9rem; font-weight: 800; letter-spacing: -.02em; }
.stars { color: var(--red); letter-spacing: 3px; font-size: 1.1rem; }
.agg .of { color: var(--soft); font-size: .95rem; }
.review .quote { font-size: .95rem; color: #333; }
.review .who { margin-top: 14px; font-weight: 700; font-size: .88rem; }
.review .src { color: #999; font-weight: 400; }
.quote-strip { border-left: 3px solid var(--red); padding: 6px 0 6px 18px; margin: 26px auto; max-width: 620px; text-align: left; }
.quote-strip p { font-size: 1.02rem; color: #333; font-style: italic; }
.quote-strip .who { font-size: .85rem; color: var(--soft); margin-top: 6px; font-style: normal; font-weight: 700; }

/* Info strip */
.info3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.info3 .card h3 { display: flex; align-items: center; gap: 8px; }
.info3 .card h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

/* Long-form pages */
.page-head { background: var(--warm); border-bottom: 1px solid var(--line); padding: 64px 0 52px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin: 30px 0 8px; font-size: 1.15rem; }
.prose p { margin: 12px 0; color: #333; }
.prose ul { margin: 12px 0 12px 22px; color: #333; }
.rule { height: 3px; width: 56px; background: var(--red); border-radius: 2px; margin: 16px 0 6px; }

/* CTA band */
.band { background: var(--ink); color: #fff; text-align: center; padding: 64px 22px; }
.band h2 { color: #fff; }
.band p { color: #cfcfcf; margin: 10px auto 26px; max-width: 560px; }
.band .tel { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: .02em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.map { border: 0; width: 100%; height: 420px; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.12); }
form .row { margin-bottom: 14px; }
form label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 5px; letter-spacing: .03em; }
form input, form textarea, form select {
  width: 100%; border: 1px solid #d7d3cd; border-radius: 9px; padding: 11px 13px;
  font: inherit; background: #fff;
}
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--red); border-color: transparent; }
form .row.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { form .row.two-up { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--warm); border-top: 1px solid var(--line); padding: 54px 0 30px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.foot ul { list-style: none; }
.foot li { margin: 6px 0; }
.foot a { color: var(--ink); }
.foot a:hover { color: var(--red); }
.foot .logo img { height: 40px; margin-bottom: 12px; }
.copy { text-align: center; color: #999; margin-top: 40px; font-size: .8rem; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .two, .contact-grid, .team { grid-template-columns: 1fr; gap: 30px; }
  .grid3, .info3 { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu-btn { display: block; }
  .nav ul {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 18px 22px 24px; gap: 16px; border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .nav ul.open { display: flex; }
  .grid3, .info3 { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr 1fr; }
  .hero-banner { padding-top: 16px; } .hero-frame { border-radius: 10px; } .intro { padding: 38px 0 46px; }
}
