/* =============================================================
   One Way Insurance — Main Stylesheet
   Brand: Prussian Blue / Shamrock / Burnt Peach / Tuscan Sun
   Typography: Inter (headings) + Roboto (body)
   Author: Web build per Brand Manual
   ============================================================= */

/* -------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   ------------------------------------------------------------- */
:root {
  /* Brand — primary */
  --c-prussian: #052642;      /* Prussian Blue */
  --c-prussian-700: #0a3457;
  --c-prussian-600: #114568;
  --c-shamrock: #01966d;      /* Shamrock green */
  --c-shamrock-600: #017f5d;
  --c-shamrock-700: #016a4e;

  /* Brand — secondary / accents */
  --c-peach: #d97b66;         /* Burnt Peach */
  --c-sun: #0ea47d;           /* Professional emerald accent (replaces Tuscan Sun yellow) */

  /* Ink & neutrals */
  --c-ink: #0d141c;           /* Near-black brand ink */
  --c-body: #3a4654;          /* Body text */
  --c-muted: #6b7785;         /* Muted text */
  --c-line: #e4e9ee;          /* Borders / dividers */
  --c-surface: #f5f8fa;       /* Soft surface */
  --c-surface-2: #eef3f6;
  --c-white: #ffffff;

  /* Functional */
  --c-success: #01966d;
  --c-error: #d64545;

  /* Typography */
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(5, 38, 66, 0.06);
  --shadow: 0 10px 30px rgba(5, 38, 66, 0.10);
  --shadow-lg: 0 24px 60px rgba(5, 38, 66, 0.16);

  /* Layout */
  --container: 1200px;
  --header-h: 80px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t: 0.3s;
}

/* -------------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

ul,
ol { list-style: none; padding: 0; }

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid var(--c-shamrock);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section--tight { padding-block: clamp(1.75rem, 4vw, 2.75rem); }

.section--surface { background: var(--c-surface); }

.section--ink {
  background: var(--c-prussian);
  color: rgba(255, 255, 255, 0.82);
}
.section--ink h1,
.section--ink h2,
.section--ink h3 { color: #fff; }

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px)  { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* -------------------------------------------------------------
   4. Typography utilities
   ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-shamrock);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-shamrock);
}
.section--ink .eyebrow,
.eyebrow--light { color: var(--c-sun); }
.section--ink .eyebrow::before,
.eyebrow--light::before { background: var(--c-sun); }

.display {
  font-size: clamp(2.2rem, 5.2vw, 3.75rem);
  line-height: 1.05;
}
.h-section {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--c-muted);
  max-width: 60ch;
}
.section--ink .lead { color: rgba(255, 255, 255, 0.78); }

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-6);
  text-align: center;
}
.section-head .lead { margin-inline: auto; }
.text-accent { color: var(--c-shamrock); }
.text-sun { color: var(--c-sun); }

/* -------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-shamrock);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(1, 150, 109, 0.32);
}
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--c-shamrock); }
.btn--primary:hover { background: var(--c-shamrock-600); }

.btn--sun {
  --btn-bg: #fff;
  --btn-fg: var(--c-prussian);
}
.btn--sun:hover { background: var(--c-surface); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-prussian);
  border-color: var(--c-line);
}
.btn--ghost:hover {
  background: var(--c-white);
  border-color: var(--c-shamrock);
  color: var(--c-shamrock);
  box-shadow: var(--shadow-sm);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  box-shadow: none;
}

.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.arrow { transition: transform var(--t) var(--ease); }
.btn:hover .arrow,
.link-arrow:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-shamrock);
}
.link-arrow:hover { color: var(--c-shamrock-700); }

/* -------------------------------------------------------------
   6. Header / Navigation
   ------------------------------------------------------------- */
.topbar {
  background: var(--c-prussian);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  padding-block: 0.4rem;
}
.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar a:hover { color: var(--c-sun); }
.topbar__social { display: flex; gap: 0.85rem; }
.topbar__social a:hover { color: var(--c-sun); }
@media (max-width: 768px) { .topbar { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand img { height: 46px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--c-prussian);
  padding-block: 0.5rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-shamrock);
  transition: width var(--t) var(--ease);
}
.nav__link:hover { color: var(--c-shamrock); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--c-shamrock); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

/* The in-menu CTA button is for the mobile slide-out only; hide on desktop */
.nav__menu > li:last-child { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--c-prussian);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 38, 66, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease);
  z-index: 90;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* Mobile navigation */
@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav__actions .btn { display: none; }
  .nav__menu > li:last-child { display: block; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: min(82vw, 340px);
    height: 100dvh;
    padding: calc(var(--header-h) + 1rem) 1.75rem 2rem;
    background: var(--c-white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--t) var(--ease);
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu .nav__link {
    width: 100%;
    font-size: 1.1rem;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--c-line);
  }
  .nav__menu .btn {
    display: inline-flex;
    margin-top: 1.25rem;
    width: 100%;
  }
}

/* -------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(1, 150, 109, 0.12), transparent 60%),
    linear-gradient(180deg, var(--c-surface), var(--c-white));
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.25rem, 5vw, 4rem);
}
@media (min-width: 992px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__title { margin-bottom: var(--space-5); }
.hero__text { margin-bottom: var(--space-6); max-width: 54ch; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--c-line);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--c-prussian);
  line-height: 1;
}
.hero__stat span { font-size: 0.85rem; color: var(--c-muted); }

.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.hero__badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__badge .icon-circle { background: var(--c-shamrock); color: #fff; }
.hero__badge strong { font-family: var(--font-head); color: var(--c-ink); display: block; }
.hero__badge span { font-size: 0.82rem; color: var(--c-muted); }
@media (max-width: 560px) { .hero__badge { display: none; } }

.icon-circle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-shamrock);
  flex-shrink: 0;
}

/* -------------------------------------------------------------
   8. Trust / logos bar
   ------------------------------------------------------------- */
.trustbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  opacity: 0.75;
}
.trustbar span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------
   9. Cards — products / features / blog
   ------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

/* Product card */
.product-card .card__icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(1, 150, 109, 0.12), rgba(5, 38, 66, 0.08));
  color: var(--c-shamrock);
  margin-bottom: var(--space-5);
}
.product-card h3 { font-size: 1.3rem; margin-bottom: var(--space-3); }
.product-card p { margin-bottom: var(--space-4); }
.product-card .card__list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: var(--space-5);
}
.product-card .card__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--c-body);
}
.product-card .card__list svg { color: var(--c-shamrock); flex-shrink: 0; }

/* Feature card */
.feature {
  display: flex;
  gap: 1.1rem;
}
.feature .icon-circle {
  width: 56px;
  height: 56px;
  background: rgba(1, 150, 109, 0.1);
}
.feature h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.feature p { font-size: 0.95rem; }

/* Step card */
.step {
  position: relative;
  padding-top: var(--space-6);
}
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--c-line);
  margin-bottom: var(--space-3);
}
.step h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }

/* Stat block */
.stat-block { text-align: center; }
.stat-block strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: #fff;
  line-height: 1;
}
.stat-block span { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

/* -------------------------------------------------------------
   10. Testimonials
   ------------------------------------------------------------- */
.testimonial {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast) var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.testimonial__stars { color: #e6bd4e; margin-bottom: var(--space-4); letter-spacing: 2px; }
.testimonial p { color: var(--c-body); font-size: 1.02rem; margin-bottom: var(--space-5); flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial__avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--c-prussian), var(--c-shamrock));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 0.95rem;
}
.testimonial__author strong { font-family: var(--font-head); color: var(--c-ink); display: block; font-size: 0.95rem; }
.testimonial__author span { font-size: 0.85rem; color: var(--c-muted); }

/* -------------------------------------------------------------
   11. CTA band
   ------------------------------------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(1, 150, 109, 0.35), transparent 55%),
    linear-gradient(120deg, var(--c-prussian), var(--c-prussian-700));
  color: #fff;
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
}
.cta-band__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 860px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; }
}
.cta-band h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 52ch; }

/* -------------------------------------------------------------
   12. Page hero (interior pages)
   ------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(1, 150, 109, 0.18), transparent 60%),
    linear-gradient(160deg, var(--c-prussian), var(--c-prussian-700));
  color: #fff;
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
}
.page-hero h1 { color: #fff; margin-bottom: var(--space-4); }
.page-hero p { color: rgba(255, 255, 255, 0.82); max-width: 60ch; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
}
.breadcrumb a:hover { color: var(--c-sun); }
.breadcrumb span { color: var(--c-sun); }

/* -------------------------------------------------------------
   13. Content / prose (about, blog post)
   ------------------------------------------------------------- */
.prose h2 { font-size: 1.7rem; margin: var(--space-7) 0 var(--space-4); }
.prose h3 { font-size: 1.3rem; margin: var(--space-6) 0 var(--space-3); }
.prose p { margin-bottom: var(--space-4); }
.prose ul { display: grid; gap: 0.6rem; margin-bottom: var(--space-5); }
.prose ul li { display: flex; gap: 0.6rem; }
.prose ul li::before { content: "✓"; color: var(--c-shamrock); font-weight: 700; }

.media-text {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .media-text { grid-template-columns: 1fr 1fr; }
  .media-text--reverse .media-text__media { order: 2; }
}
.media-text__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

/* Values / icon list */
.value-list { display: grid; gap: var(--space-5); }
.value-list .feature .icon-circle { background: rgba(242, 201, 76, 0.18); color: var(--c-peach); }

/* -------------------------------------------------------------
   14. Blog
   ------------------------------------------------------------- */
.post-card { padding: 0; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t) var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: var(--space-5) var(--space-6) var(--space-6); }
.post-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-bottom: var(--space-3);
}
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-shamrock);
  background: rgba(1, 150, 109, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.post-card h3 { font-size: 1.2rem; margin-block: var(--space-3); }

/* -------------------------------------------------------------
   15. Forms / Contact
   ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
}

.info-card {
  display: flex;
  gap: 1rem;
  padding: var(--space-5);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}
.info-card .icon-circle { background: rgba(1, 150, 109, 0.1); }
.info-card h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--c-body); }
.info-card a:hover { color: var(--c-shamrock); }

/* --- Refined contact column --- */
.contact-intro { color: var(--c-muted); max-width: 48ch; margin-bottom: var(--space-5); }
.contact-methods { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); }
.contact-methods .info-card { margin-bottom: 0; align-items: center; }
a.info-card {
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast) var(--ease);
}
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--c-shamrock); }
.info-card__text { display: grid; }
.info-card__text span { font-size: 0.95rem; color: var(--c-body); }
.info-card__go { margin-left: auto; color: var(--c-line); transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease); flex-shrink: 0; }
a.info-card:hover .info-card__go { color: var(--c-shamrock); transform: translateX(3px); }

/* WhatsApp highlight card */
.wa-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: var(--space-5);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #25d366 0%, #128c5e 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 140, 94, 0.28);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  margin-bottom: var(--space-4);
}
.wa-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(18, 140, 94, 0.4); color: #fff; }
.wa-cta__logo { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); border-radius: 50%; }
.wa-cta__text { display: grid; line-height: 1.35; }
.wa-cta__text strong { font-family: var(--font-head); font-size: 1.1rem; }
.wa-cta__text span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.88); }
.wa-cta__arrow { margin-left: auto; flex-shrink: 0; transition: transform var(--t-fast) var(--ease); }
.wa-cta:hover .wa-cta__arrow { transform: translateX(4px); }

/* Business hours */
.contact-hours { display: flex; align-items: center; gap: 0.6rem; color: var(--c-muted); font-size: 0.92rem; padding: 0.15rem 0.25rem; }
.contact-hours svg { color: var(--c-shamrock); flex-shrink: 0; }
.contact-hours strong { color: var(--c-ink); }

.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-ink);
}
.field .req { color: var(--c-error); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-shamrock);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field--full { grid-column: 1 / -1; }

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.field--check input { width: auto; margin-top: 0.25rem; }
.field--check label { font-weight: 400; font-family: var(--font-body); color: var(--c-muted); font-size: 0.88rem; line-height: 1.55; }
.field--check label a { color: var(--c-shamrock); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.field--check label a:hover { color: var(--c-shamrock-600); }
/* Consent checkbox error: message on its own line + highlighted box */
.field--check { flex-wrap: wrap; }
.field--check .error-msg { flex-basis: 100%; margin-top: 0.15rem; }
.field--check.has-error input { outline: 2px solid var(--c-error); outline-offset: 2px; }
.field--check.has-error label { color: var(--c-error); }

.form-note { font-size: 0.85rem; color: var(--c-muted); margin-top: var(--space-3); }

.form-status {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-top: var(--space-4);
}
.form-status.is-success { display: flex; background: rgba(1, 150, 109, 0.12); color: var(--c-shamrock-700); }
.form-status.is-error { display: flex; background: rgba(214, 69, 69, 0.1); color: var(--c-error); }

.field .error-msg { color: var(--c-error); font-size: 0.8rem; display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--c-error); }
.field.has-error .error-msg { display: block; }

/* Map */
.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  filter: grayscale(0.2);
}

/* FAQ accordion */
.faq { display: grid; gap: var(--space-3); max-width: 800px; margin-inline: auto; }
.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.4rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-ink);
}
.faq__q .plus { color: var(--c-shamrock); transition: transform var(--t) var(--ease); flex-shrink: 0; }
.faq__item.is-open .faq__q .plus { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t) var(--ease);
}
.faq__a-inner { padding: 0 1.4rem 1.25rem; color: var(--c-body); }

/* -------------------------------------------------------------
   16. Footer
   ------------------------------------------------------------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-8);
}
.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.footer-about img { height: 48px; margin-bottom: var(--space-4); }
.footer-about p { font-size: 0.92rem; max-width: 38ch; margin-bottom: var(--space-5); }
.footer-links { display: grid; gap: 0.7rem; }
.footer-links a { font-size: 0.93rem; }
.footer-links a:hover { color: var(--c-sun); padding-left: 4px; }

.footer-contact li { display: flex; gap: 0.7rem; margin-bottom: var(--space-4); font-size: 0.92rem; }
.footer-contact svg { color: var(--c-shamrock); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--c-sun); }

.footer-social { display: flex; gap: 0.7rem; margin-top: var(--space-5); }
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--c-shamrock); transform: translateY(-3px); }

.footer-bottom {
  margin-top: var(--space-8);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--c-sun); }

/* -------------------------------------------------------------
   17. Floating action buttons (WhatsApp + Payment)
   ------------------------------------------------------------- */
.fab-stack {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-end;
}
.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.fab svg, .fab img { width: 28px; height: 28px; flex-shrink: 0; }
.fab:hover { transform: translateY(-3px) scale(1.06); }
.fab--whatsapp { background: #25d366; }
/* Payment button: metallic gold so it always stands out from the page */
.fab--pay { background: linear-gradient(140deg, #e6bd4e 0%, #c5901c 100%); color: #fff; }
.fab--pay svg { color: #fff; }
.fab--pay:hover { box-shadow: var(--shadow-lg), 0 0 0 6px rgba(214, 160, 30, 0.22); }

/* Labels are hidden — buttons are icon-only circles (accessible via aria-label) */
.fab__label { display: none; }
.fab--whatsapp { animation: fab-pulse 2.4s infinite; }
@keyframes fab-pulse {
  0%   { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: var(--shadow-lg), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* -------------------------------------------------------------
   18. Scroll reveal animation
   ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------
   19. Utilities
   ------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =============================================================
   20. "ONE WAY" ROUTE CONCEPT
   Directional/route visual language: route-node eyebrows,
   directional marquee, hero route path, road-style process,
   numbered product "exits".
   ============================================================= */

/* --- 20.1 Route-node eyebrow (overrides the plain dash) --- */
.eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-shamrock);
  box-shadow: 0 0 0 4px rgba(1, 150, 109, 0.18);
}
.eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-shamrock), transparent);
}
.section--ink .eyebrow::before,
.eyebrow--light::before { background: var(--c-sun); box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.22); }
.section--ink .eyebrow::after,
.eyebrow--light::after { background: linear-gradient(90deg, var(--c-sun), transparent); }

/* --- 20.2 Directional marquee band --- */
.routestrip {
  background: var(--c-prussian);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding-block: 0.9rem;
}
.routestrip__track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  will-change: transform;
  animation: routescroll 28s linear infinite;
}
.routestrip:hover .routestrip__track { animation-play-state: paused; }
.routestrip__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.routestrip__item .sep { color: var(--c-sun); display: inline-flex; }
.routestrip__item .muted { color: rgba(255, 255, 255, 0.45); }
@keyframes routescroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- 20.3 Hero route path + signpost --- */
.hero { position: relative; }
.hero__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.road-dash { stroke-dasharray: 2 14; }
.hero__inner { position: relative; z-index: 1; }

.hero__signpost {
  position: absolute;
  bottom: -22px;
  left: -22px;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__signpost .exit {
  display: grid;
  place-items: center;
  padding: 0 1.1rem;
  background: var(--c-prussian);
  color: #fff;
  font-family: var(--font-head);
  text-align: center;
}
.hero__signpost .exit small { display: block; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--c-sun); }
.hero__signpost .exit b { font-size: 1.6rem; line-height: 1; }
.hero__signpost .dest { display: grid; align-content: center; padding: 0.85rem 1.25rem 0.85rem 1rem; }
.hero__signpost .dest strong { font-family: var(--font-head); color: var(--c-ink); display: block; }
.hero__signpost .dest span { font-size: 0.82rem; color: var(--c-muted); }
@media (max-width: 560px) { .hero__signpost { display: none; } }

/* Eyebrow as a route marker variant used in hero */
.routemark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-shamrock);
  background: rgba(1, 150, 109, 0.09);
  border: 1px solid rgba(1, 150, 109, 0.2);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.routemark svg { color: var(--c-shamrock); }

/* --- 20.4 Process as a route / road --- */
.route {
  position: relative;
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .route { grid-template-columns: repeat(3, 1fr); gap: var(--space-7); }
  /* the road line behind the nodes */
  .route::before {
    content: "";
    position: absolute;
    top: 31px;
    left: 8%;
    right: 8%;
    height: 3px;
    background-image: linear-gradient(90deg, var(--c-shamrock) 0 60%, transparent 0);
    background-size: 22px 3px;
    background-repeat: repeat-x;
    opacity: 0.5;
    z-index: 0;
  }
}
.route__stop { position: relative; z-index: 1; text-align: center; padding-inline: 0.5rem; }
.route__node {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-white);
  border: 3px solid var(--c-shamrock);
  color: var(--c-prussian);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: var(--space-4);
  box-shadow: 0 8px 22px rgba(1, 150, 109, 0.18);
}
.route__mile {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-shamrock);
  margin-bottom: 0.35rem;
}
.route__stop h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.route__chevron {
  position: absolute;
  top: 18px;
  right: -6px;
  color: var(--c-sun);
  display: none;
}
@media (min-width: 768px) {
  .route__stop:not(:last-child) .route__chevron { display: block; }
}

/* --- 20.5 Numbered product "exits" + directional accent --- */
/* Exit numbering is scoped to the Home products grid only */
#products .grid { counter-reset: exit; }
.product-card { overflow: hidden; }
#products .product-card::before {
  counter-increment: exit;
  content: "0" counter(exit);
  position: absolute;
  top: 1.1rem;
  right: 1.35rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-line);
  letter-spacing: 0.02em;
  transition: color var(--t) var(--ease);
}
#products .product-card:hover::before { color: var(--c-shamrock); }
#products .product-card.is-cta::before { content: none; }

/* Directional left accent on hover — applies to all product cards */
.product-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-shamrock), var(--c-sun));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t) var(--ease);
}
.product-card:hover::after { transform: scaleY(1); }
.product-card.is-cta::after { content: none; }

/* --- 20.6 Page-hero route accent (interior pages) --- */
.page-hero { position: relative; overflow: hidden; }
.page-hero__route {
  position: absolute;
  right: -24px;
  top: -16px;
  height: 150px;
  width: auto;
  opacity: 0.3;
  pointer-events: none;
}
@media (max-width: 768px) { .page-hero__route { display: none; } }
.page-hero .container { position: relative; z-index: 1; }

/* --- 20.7 Section "you are here" heading accent --- */
.section-head .eyebrow { justify-content: center; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-shamrock);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   21. BLOG (text-only cards) + ARTICLE PAGES
   ============================================================= */
/* Image-free blog cards */
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.article-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t) var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-6) var(--space-6); flex: 1; }
.article-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-shamrock), var(--c-sun));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t) var(--ease);
}
.article-card:hover::before { transform: scaleY(1); }
.article-card .tag { align-self: flex-start; }
.article-card h3 { font-size: 1.3rem; line-height: 1.32; }
.article-card h3 a:hover { color: var(--c-shamrock); }
.article-card p { color: var(--c-muted); flex: 1; }
.article-card__meta { display: flex; gap: 0.6rem; align-items: center; font-size: 0.82rem; color: var(--c-muted); }

/* Featured (first) post — wider band */
.article-feature {
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(140deg, var(--c-prussian), var(--c-prussian-700));
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-feature .tag { align-self: flex-start; background: rgba(255,255,255,0.14); color: #fff; }
.article-feature h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
.article-feature p { color: rgba(255,255,255,0.82); max-width: 70ch; }
.article-feature__meta { display: flex; gap: 0.8rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* Article page */
.article-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(1, 150, 109, 0.18), transparent 60%),
    linear-gradient(160deg, var(--c-prussian), var(--c-prussian-700));
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.article-hero .container { max-width: 820px; }
.article-hero .tag { background: rgba(255,255,255,0.14); color: #fff; margin-bottom: var(--space-3); }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: var(--space-4); }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

.article-body { max-width: 820px; margin: 0 auto; }
.article-body > p:first-of-type { font-size: 1.15rem; color: var(--c-body); }
.article-body h2 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--c-prussian);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: var(--space-7) 0 var(--space-3);
  scroll-margin-top: 100px;
}
.article-body h3 { font-family: var(--font-head); font-size: 1.2rem; margin: var(--space-5) 0 var(--space-2); color: var(--c-ink); }
.article-body p { margin-bottom: var(--space-4); }
.article-body ul, .article-body ol { display: grid; gap: 0.5rem; margin: 0 0 var(--space-5); padding-left: 1.3rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li::marker { color: var(--c-shamrock); }
.article-body strong { color: var(--c-ink); }
.article-body a:not(.btn) { color: var(--c-shamrock); text-decoration: underline; text-underline-offset: 2px; }

.article-callout {
  background: var(--c-surface);
  border-left: 4px solid var(--c-shamrock);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin: var(--space-5) 0;
}
.article-callout h3 { margin: 0 0 0.4rem; }
.article-callout p:last-child { margin-bottom: 0; }

.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-5) 0;
}
.article-stat {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}
.article-stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--c-shamrock); line-height: 1; }
.article-stat span { font-size: 0.85rem; color: var(--c-muted); }
@media (max-width: 560px) { .article-stats { grid-template-columns: 1fr; } }

.article-steps { counter-reset: step; display: grid; gap: var(--space-4); margin: var(--space-5) 0; }
.article-step { position: relative; padding-left: 3.4rem; }
.article-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--c-shamrock);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800;
}
.article-step h3 { margin: 0.2rem 0 0.3rem; }
.article-step p { margin-bottom: 0; }

.article-table { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; font-size: 0.95rem; }
.article-table th, .article-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.article-table th { background: var(--c-surface); font-family: var(--font-head); color: var(--c-prussian); }
.article-table tbody tr:hover { background: var(--c-surface); }
@media (max-width: 640px) { .article-table { display: block; overflow-x: auto; white-space: nowrap; } }

.article-share { display: flex; align-items: center; gap: 0.75rem; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--c-line); flex-wrap: wrap; }
.article-share span { font-family: var(--font-head); font-weight: 700; color: var(--c-prussian); }

/* =============================================================
   22. HERO BACKGROUND IMAGES (blurred photo + dark overlay)
   Applies to the home hero, interior page heroes and article heroes.
   ============================================================= */
.hero,
.page-hero,
.article-hero {
  position: relative;
  isolation: isolate;          /* contain the negative-z pseudo layers */
  overflow: hidden;
  background-color: var(--c-prussian);
}
/* Blurred photo layer */
.hero::before,
.page-hero::before,
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-img) center / cover no-repeat;
  filter: blur(5px) saturate(1.05);
  transform: scale(1.12);      /* hide blurred edges */
}
/* Dark navy overlay for text contrast */
.hero::after,
.page-hero::after,
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(5, 38, 66, 0.94) 0%, rgba(5, 38, 66, 0.82) 42%, rgba(5, 38, 66, 0.58) 100%);
}
/* Keep content above the layers */
.hero__inner,
.page-hero > .container,
.article-hero > .container { position: relative; z-index: 1; }

/* Per-page background images (paths relative to this stylesheet in /css) */
.hero { --hero-img: url("../assets/images/hero-bg-home.webp"); }
.page-hero--about    { --hero-img: url("../assets/images/hero-bg-about.webp"); }
.page-hero--products { --hero-img: url("../assets/images/hero-bg-products.webp"); }
.page-hero--services { --hero-img: url("../assets/images/hero-bg-services.webp"); }
.page-hero--blog     { --hero-img: url("../assets/images/hero-bg-blog.webp"); }
.page-hero--contact  { --hero-img: url("../assets/images/hero-bg-contact.webp"); }
.article-hero--truck  { --hero-img: url("../assets/images/blog-truck-telematics.webp"); }
.article-hero--home   { --hero-img: url("../assets/images/blog-home-coverage.webp"); }
.article-hero--bundle { --hero-img: url("../assets/images/blog-bundle-save.webp"); }

/* The dotted route accent is replaced by the photo background */
.page-hero__route { display: none !important; }

/* Home hero now sits on a dark photo — switch text to light */
.hero .hero__title { color: #fff; }
.hero .hero__text { color: rgba(255, 255, 255, 0.85); }
.hero .text-accent { color: var(--c-sun); }
.hero .routemark {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
.hero .routemark svg { color: var(--c-sun); }
.hero .hero__stat strong { color: #fff; }
.hero .hero__stat span { color: rgba(255, 255, 255, 0.72); }
.hero .hero__trust { border-top-color: rgba(255, 255, 255, 0.18); }

/* Slightly taller interior heroes now that they carry a photo */
.page-hero { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }

/* Featured blog post — photo behind the navy overlay */
.article-feature {
  background:
    linear-gradient(120deg, rgba(5, 38, 66, 0.93) 0%, rgba(5, 38, 66, 0.78) 50%, rgba(5, 38, 66, 0.55) 100%),
    url("../assets/images/blog-truck-telematics.webp") center / cover no-repeat;
}

/* =============================================================
   23. LEGAL PAGES (Privacy Policy · SMS Terms)
   ============================================================= */
.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--c-prussian), var(--c-prussian-700));
  padding-block: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(720px 320px at 80% -10%, rgba(1, 150, 109, 0.28), transparent 60%);
}
.legal-hero .breadcrumb { justify-content: center; color: rgba(255, 255, 255, 0.7); }
.legal-hero .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.legal-hero__icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-4);
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-sun);
}
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: var(--space-3); }
.legal-hero__subtitle { color: rgba(255, 255, 255, 0.82); max-width: 62ch; margin: 0 auto var(--space-4); }
.legal-hero__meta { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.legal-hero__meta span { display: inline-flex; gap: 0.4rem; align-items: center; }

/* Quick summary strip (SMS page) */
.legal-summary { background: var(--c-ink); color: #fff; }
.legal-summary__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-6); padding-block: var(--space-4); }
.legal-summary__item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.legal-summary__item svg { color: var(--c-sun); flex-shrink: 0; }
.legal-summary__item strong { color: #fff; }

/* Layout: sticky TOC + content */
.legal-layout { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 270px 1fr; gap: var(--space-7); } }

.legal-toc { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .legal-toc { position: sticky; top: 100px; } }
.legal-toc__title { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: var(--space-3); display: flex; gap: 0.5rem; align-items: center; }
.legal-toc ol { display: grid; gap: 0.1rem; counter-reset: toc; }
.legal-toc a { display: block; padding: 0.5rem 0.65rem; border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--c-body); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.legal-toc a:hover, .legal-toc a.is-active { background: rgba(1, 150, 109, 0.09); color: var(--c-shamrock); font-weight: 600; }
.legal-toc__cta { margin-top: var(--space-4); display: flex; gap: 0.5rem; align-items: center; justify-content: center; padding: 0.7rem; border-radius: var(--radius-pill); background: var(--c-prussian); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; }
.legal-toc__cta:hover { background: var(--c-prussian-600); color: #fff; }

/* Content */
.legal-intro { display: flex; gap: var(--space-4); background: var(--c-surface); border-left: 4px solid var(--c-shamrock); border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-5); }
.legal-intro__icon { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(1, 150, 109, 0.12); color: var(--c-shamrock); }
.legal-intro p { margin-bottom: 0.6rem; }
.legal-intro p:last-child { margin-bottom: 0; }

.legal-section { padding-block: var(--space-6); border-top: 1px solid var(--c-line); scroll-margin-top: 100px; }
.legal-section:first-of-type { border-top: 0; padding-top: var(--space-2); }
.legal-section__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.legal-section__num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, var(--c-shamrock), var(--c-sun)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.legal-section__head h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); color: var(--c-prussian); }
.legal-section__body p { margin-bottom: var(--space-4); }
.legal-section__body p:last-child { margin-bottom: 0; }
.legal-section__body a:not(.btn):not(.legal-toc__cta) { color: var(--c-shamrock); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

.legal-list { display: grid; gap: 0.7rem; margin-bottom: var(--space-4); }
.legal-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.legal-list li svg { color: var(--c-shamrock); flex-shrink: 0; margin-top: 3px; }

.legal-note { display: flex; gap: 0.9rem; align-items: flex-start; border-radius: var(--radius); padding: var(--space-4) var(--space-5); margin: var(--space-4) 0; }
.legal-note svg { flex-shrink: 0; margin-top: 2px; }
.legal-note p { margin: 0; }
.legal-note--emerald { background: rgba(1, 150, 109, 0.08); border: 1px solid rgba(1, 150, 109, 0.2); }
.legal-note--emerald svg { color: var(--c-shamrock); }
.legal-note--navy { background: rgba(5, 38, 66, 0.05); border: 1px solid rgba(5, 38, 66, 0.12); }
.legal-note--navy svg { color: var(--c-prussian); }

.legal-grid { display: grid; gap: var(--space-4); margin: var(--space-4) 0; }
@media (min-width: 560px) {
  .legal-grid--2 { grid-template-columns: 1fr 1fr; }
  .legal-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.legal-subcard { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--space-5); }
.legal-subcard__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(1, 150, 109, 0.12); color: var(--c-shamrock); margin-bottom: var(--space-3); }
.legal-subcard h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.legal-subcard p { font-size: 0.92rem; color: var(--c-muted); margin: 0; }

.legal-code { font-family: var(--font-head); font-weight: 700; background: var(--c-prussian); color: #fff; padding: 0.08rem 0.45rem; border-radius: 6px; font-size: 0.85em; letter-spacing: 0.03em; }

/* SMS example bubble */
.sms-example { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; margin: var(--space-3) 0; }
.sms-example__head { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; background: var(--c-surface); font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--c-prussian); }
.sms-example__head .tag { margin-left: auto; }
.sms-example__body { padding: var(--space-4) var(--space-5); }
.sms-example__body p { background: rgba(1, 150, 109, 0.07); border-radius: 4px 14px 14px 14px; padding: 0.9rem 1.1rem; margin: 0; color: var(--c-body); font-size: 0.95rem; }

/* Keyword / disclosure rows */
.legal-keywords { display: grid; gap: 0.6rem; margin-top: var(--space-3); }
.legal-keyword { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); background: var(--c-surface); font-size: 0.92rem; }
.legal-keyword .legal-code { flex-shrink: 0; }

.legal-step { display: flex; gap: var(--space-4); margin-bottom: var(--space-4); }
.legal-step__badge { flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c-prussian); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.legal-step h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.legal-step p { margin-bottom: 0.5rem; }

/* =============================================================
   24. STATES INDICATOR + TESTIMONIALS CAROUSEL
   ============================================================= */
.topbar__states { display: inline-flex; align-items: center; gap: 0.45rem; color: rgba(255, 255, 255, 0.85); }
.topbar__states svg { color: var(--c-sun); flex-shrink: 0; }

.footer-license { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); margin-bottom: var(--space-4); }
.footer-license svg { color: var(--c-shamrock); flex-shrink: 0; }

.stat-block--states strong { font-size: clamp(1.15rem, 2.4vw, 1.6rem); letter-spacing: 0.02em; }

/* Carousel (testimonials) */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  margin: -0.5rem -0.25rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 86%; scroll-snap-align: start; }
@media (min-width: 600px) { .carousel__track > * { flex-basis: calc((100% - var(--space-5)) / 2); } }
@media (min-width: 900px) { .carousel__track > * { flex-basis: calc((100% - 2 * var(--space-5)) / 3); } }
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-prussian);
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 3;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.carousel__btn:hover { background: var(--c-shamrock); color: #fff; border-color: var(--c-shamrock); }
.carousel__btn--prev { left: -8px; }
.carousel__btn--next { right: -8px; }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
@media (min-width: 1100px) {
  .carousel__btn--prev { left: -22px; }
  .carousel__btn--next { right: -22px; }
}
