/* ═══════════════════════════════════════════════════════════════════
   Pro-Wash 24/7 — marketing site
   Palette is the company's own: navy, sky, warm yellow, white. Yellow is
   rationed deliberately — it marks the one thing that matters on each
   screen, so it keeps its force.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --navy:   #0B2A4A;
  --sky:    #4A9FF5;
  --yellow: #FFBF3F;
  --white:  #FFFFFF;

  /* Neutrals derived from the navy so greys sit in the same family
     rather than looking imported from another palette. */
  --ink:    #0E1720;
  --slate:  #5C6B7A;
  --mist:   #F3F7FB;
  --line:   rgba(11, 42, 74, 0.12);

  --display: 'Familjen Grotesk', system-ui, sans-serif;
  --body:    'Public Sans', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
a { color: inherit; }

/* ── Opening ribbon ─────────────────────────────────────────────────
   Sits above the header so it is the first thing read. Yellow on navy
   rather than a soft tint: the shop is not open yet, and a visitor
   should not have to work that out from context. */
.ribbon { background: var(--navy); color: var(--white); }
.ribbon__in {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 0; font-size: 14px;
}
.ribbon strong { color: var(--yellow); font-weight: 600; }
.ribbon__sep { color: rgba(255,255,255,.35); }
.ribbon__in > span:last-child { color: rgba(255,255,255,.78); }
.ribbon__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--yellow);
  flex: none; animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 560px) {
  .ribbon__sep, .ribbon__in > span:last-child { display: none; }
}

/* ── Header ─────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__in { display: flex; align-items: center; gap: 24px; padding: 14px 0; }

.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
/* The logo contains the wordmark, so no text name sits beside it. Height is
   fixed and width follows, keeping the 2.47:1 artwork undistorted. */
.brand__logo { height: 42px; width: auto; display: block; }
@media (max-width: 480px) { .brand__logo { height: 34px; } }

.foot__logo { height: 36px; width: auto; display: block; margin-bottom: 14px; }

.nav { display: flex; gap: 26px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--slate);
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { color: var(--navy); border-bottom-color: var(--yellow); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--yellow); }
@media (max-width: 820px) { .nav { display: none; } }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn--solid { background: var(--navy); color: var(--white); }
.btn--solid:hover { transform: translateY(-1px); background: #071D34; }
.btn--gold   { background: var(--yellow); color: var(--navy); }
.btn--gold:hover { transform: translateY(-1px); background: #F2AF29; }
.btn--ghost  { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: rgba(11, 42, 74, .06); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ── Type ───────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 18px;
}
h1.page-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 60px); line-height: 1.04;
  letter-spacing: -0.035em; margin: 0 0 18px; color: var(--navy);
  text-wrap: balance;
}
h1.page-title em { font-style: normal; color: var(--yellow); }

.lede { font-size: 19px; color: var(--slate); max-width: 52ch; margin: 0; }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 76px 0; }
.section--tint { background: var(--mist); }
.section--rule { border-top: 1px solid var(--line); }
.section__head { max-width: 60ch; margin-bottom: 40px; }
.section h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1;
  letter-spacing: -0.03em; margin: 0 0 12px; color: var(--navy);
}

.page-head { padding: 64px 0 44px; }

/* ── Cards ──────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards, .cards--two { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 26px 26px;
}
.section--tint .card { background: var(--white); }
.card h3 {
  font-family: var(--display); font-weight: 600; font-size: 21px;
  letter-spacing: -0.02em; margin: 0 0 8px; color: var(--navy);
}
.card p { margin: 0 0 14px; color: var(--slate); font-size: 16px; }
.card p:last-child { margin-bottom: 0; }
.card__price { font-family: var(--mono); font-size: 13px; color: var(--navy); font-weight: 500; }

/* ── Tables ─────────────────────────────────────────────────────── */
.table-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
table.price { width: 100%; border-collapse: collapse; }
table.price caption {
  text-align: left; padding: 22px 24px 0;
  font-family: var(--display); font-weight: 600; font-size: 20px;
  color: var(--navy); letter-spacing: -0.02em;
}
table.price th, table.price td {
  padding: 13px 24px; text-align: left; font-size: 16px;
  border-bottom: 1px solid var(--line);
}
table.price thead th {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate); font-weight: 500;
  padding-top: 18px;
}
table.price tbody tr:last-child td { border-bottom: none; }
table.price td.num { font-family: var(--mono); font-weight: 500; text-align: right; white-space: nowrap; }
table.price tbody tr:hover { background: var(--mist); }

/* ── Banner ─────────────────────────────────────────────────────── */
.banner { background: var(--navy); color: var(--white); padding: 54px 0; text-align: center; }
.banner h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5vw, 52px); letter-spacing: -0.035em; margin: 0 0 10px;
}
.banner h2 em { font-style: normal; color: var(--yellow); }
.banner p { margin: 0 0 22px; color: rgba(255,255,255,.75); font-size: 17px; }

/* ── Notice ─────────────────────────────────────────────────────── */
.notice {
  border-left: 3px solid var(--yellow);
  background: var(--mist);
  padding: 16px 20px; border-radius: 0 10px 10px 0;
  font-size: 15px; color: var(--slate); margin-top: 28px;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-foot { padding: 46px 0 34px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; gap: 24px; } }
.foot h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 12px; font-weight: 500;
}
.foot p, .foot a {
  color: var(--slate); font-size: 15px; margin: 0 0 6px;
  text-decoration: none; display: block;
}
.foot a:hover { color: var(--navy); }
.foot__legal {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--slate);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
