/* ============================================================
   RINSE — Shared Stylesheet
   rinsecarwash.co.uk
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Nunito+Sans:ital,wght@0,300;0,400;0,600;1,300&display=swap');

:root {
  --sky: #38BDF8;
  --sky-dark: #0EA5E9;
  --sky-deeper: #0284C7;
  --sky-pale: #E0F5FF;
  --sky-soft: #F0FAFF;
  --white: #FFFFFF;
  --off-white: #F8FCFF;
  --gray-50: #F4F8FB;
  --gray-100: #E8F0F5;
  --gray-200: #C8D8E4;
  --gray-400: #7A95A8;
  --gray-600: #4A6578;
  --text-dark: #1A3444;
  --text-mid: #3D6070;
  --text-soft: #7A95A8;
  --mint: #10B981;
  --peach: #F97316;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --r-xl: 36px; --r-full: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  height: 66px; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 900; font-size: 24px;
  color: var(--text-dark); letter-spacing: -0.5px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto; list-style: none;
}
.nav-links a {
  font-size: 15px; font-weight: 600;
  color: var(--text-mid); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--sky-dark); }
.nav-links a.active { color: var(--sky-dark); }
.nav-cta {
  background: var(--sky-dark) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--r-full) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(14,165,233,.3);
  transition: all .2s !important;
}
.nav-cta:hover {
  background: var(--sky-deeper) !important;
  transform: translateY(-1px);
}
.nav-mobile-btn {
  display: none; background: none; border: none;
  cursor: pointer; margin-left: auto; padding: 4px;
}
.nav-mobile-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); margin: 5px 0;
  border-radius: 2px; transition: all .2s;
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  padding: 64px 24px 40px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { max-width: 260px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 14px;
}
.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 900; font-size: 22px;
  color: #fff; letter-spacing: -0.5px;
}
.footer-tagline {
  font-size: 14px; color: rgba(255,255,255,.45);
  font-weight: 400; line-height: 1.6; margin-bottom: 20px;
}
.footer-social {
  display: flex; gap: 10px;
}
.social-btn {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .2s;
}
.social-btn:hover { background: rgba(255,255,255,.14); }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 800;
  color: #fff; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-col-links {
  list-style: none; display: flex;
  flex-direction: column; gap: 10px;
}
.footer-col-links a {
  font-size: 14px; color: rgba(255,255,255,.45);
  text-decoration: none; font-weight: 400;
  transition: color .2s;
}
.footer-col-links a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-size: 12px; color: rgba(255,255,255,.25);
}
.footer-legal {
  display: flex; gap: 20px;
}
.footer-legal a {
  font-size: 12px; color: rgba(255,255,255,.25);
  text-decoration: none; transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ── SHARED SECTION STYLES ── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--sky-pale); color: var(--sky-deeper);
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-full);
  font-family: var(--font-head); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px,3.8vw,42px);
  font-weight: 900; line-height: 1.12;
  letter-spacing: -.8px; color: var(--text-dark);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px; color: var(--text-mid);
  font-weight: 400; max-width: 520px; line-height: 1.75;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky-dark); color: #fff;
  padding: 14px 28px; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 15px; font-weight: 800;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(14,165,233,.3);
  transition: all .2s;
}
.btn-primary:hover {
  background: var(--sky-deeper);
  box-shadow: 0 6px 22px rgba(14,165,233,.4);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--sky-dark);
  padding: 13px 28px; border-radius: var(--r-full);
  font-family: var(--font-head); font-size: 15px; font-weight: 800;
  text-decoration: none; border: 2px solid var(--sky-dark);
  cursor: pointer; transition: all .2s;
}
.btn-ghost:hover {
  background: var(--sky-pale);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--sky-soft);
  padding: 120px 24px 64px;
  border-bottom: 1px solid rgba(56,189,248,.15);
}
.page-hero-inner {
  max-width: 1100px; margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px,5vw,52px);
  font-weight: 900; letter-spacing: -1px;
  color: var(--text-dark); margin-bottom: 14px;
  line-height: 1.1;
}
.page-hero p {
  font-size: 17px; color: var(--text-mid);
  font-weight: 400; max-width: 560px; line-height: 1.75;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ── MOBILE ── */
@media(max-width:768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 66px 0 0;
    background: #fff; padding: 32px 24px;
    gap: 24px; z-index: 99;
    border-top: 1px solid var(--gray-100);
  }
  .nav-links.open a { font-size: 18px; color: var(--text-dark); }
  .nav-mobile-btn { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}
@media(max-width:480px) {
  .footer-top { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════
   RINSE — Character Enhancements
   Sky blue highlight, coloured keywords,
   green accents, bold emphasis
════════════════════════════════════════ */

/* Coloured keyword spans */
.kw-blue   { color: var(--sky-dark); font-weight: 800; }
.kw-green  { color: var(--mint); font-weight: 700; }
.kw-dark   { color: var(--text-dark); font-weight: 700; }
.kw-large  { font-size: 1.05em; }

/* Headline highlighter wash */
.hl-wash {
  background: linear-gradient(180deg, transparent 52%, rgba(56,189,248,.22) 52%);
  padding-bottom: 1px;
}

/* Underline accent on section titles */
.kw-underline {
  position: relative; display: inline;
}
.kw-underline::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 3px;
  background: var(--sky); border-radius: 2px; opacity: .65;
}

/* Hero top accent border */
.hero { border-top: 4px solid var(--sky-dark) !important; }

/* Section title accent words */
.section-title .accent-word { color: var(--sky-dark); }
.section-title .accent-line {
  position: relative; display: inline;
}
.section-title .accent-line::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: var(--sky); border-radius: 2px; opacity: .6;
}

/* Step card title accent */
.step-title .accent-word { color: var(--sky-dark); }

/* Guarantee body emphasis */
.guarantee-emphasis {
  color: var(--sky-dark); font-weight: 700;
}
.guarantee-emphasis-dark {
  color: var(--text-dark); font-weight: 700;
}

/* Stat card value pop */
.gstat-val { color: var(--sky-dark); }

/* Pricing free line stays green */
.pricing-free { color: var(--mint) !important; }

/* Trust badge pop */
.trust-badge {
  background: var(--sky-pale) !important;
  color: var(--sky-deeper) !important;
  border: 1px solid rgba(56,189,248,.35) !important;
  font-weight: 800 !important;
}

/* Nav bottom accent */
nav {
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 0 rgba(56,189,248,.1);
}

/* Section alternating bg for rhythm */
.how         { background: var(--off-white); }
.testimonials{ background: var(--sky-soft); }
.trust-section{ background: var(--white); }
.pricing     { background: var(--off-white); }
.guarantee   { background: var(--sky-soft); }
.areas       { background: var(--white); }

/* Paragraph emphasis */
p strong, p b {
  color: var(--text-dark);
  font-weight: 700;
}

/* Review stars colour */
.review-stars { color: #FBBF24; }

/* Blog featured hover accent */
.blog-featured:hover .blog-featured-title { color: var(--sky-dark); }

/* Contact method icon bg */
.contact-method-icon { background: var(--sky-pale) !important; }
.contact-method:hover .contact-method-icon { background: var(--sky-dark) !important; }
.contact-method:hover .contact-method-icon svg path,
.contact-method:hover .contact-method-icon svg rect { stroke: #fff !important; }

/* Area card active accent border */
.area-card.area-active {
  border-left: 3px solid var(--sky-dark) !important;
}
.area-card.area-soon {
  border-left: 3px solid var(--peach) !important;
}

/* Floating CTA pulse */
.float-cta a {
  animation: float-pulse 3s ease-in-out infinite;
}
@keyframes float-pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(14,165,233,.45); }
  50%      { box-shadow: 0 4px 36px rgba(14,165,233,.7); }
}

/* Hero badge pulse dot */
.badge-dot { animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }

/* Pricing featured card stronger accent */
.pricing-card.featured {
  border-color: var(--sky-dark) !important;
  box-shadow: 0 8px 40px rgba(14,165,233,.2) !important;
}

/* Step card hover — left accent bar */
.step-card {
  border-left: 3px solid transparent;
  transition: transform .22s, box-shadow .22s, border-color .22s !important;
}
.step-card:hover {
  border-left-color: var(--sky-dark) !important;
}

/* Comparison table rinse column stronger */
.comparison-table td:nth-child(3) {
  font-weight: 800 !important;
  color: var(--sky-deeper) !important;
}

/* Calculator result highlight */
.calc-result-card.highlight {
  background: var(--sky-dark) !important;
}

/* Page hero accent */
.page-hero {
  border-top: 4px solid var(--sky-dark);
  border-bottom: 1px solid rgba(56,189,248,.2) !important;
}

/* FAQ open item accent */
.faq-item.open {
  border-left: 3px solid var(--sky-dark) !important;
}

/* Section tag stronger */
.section-tag {
  font-weight: 900 !important;
  letter-spacing: .12em !important;
}
