/* Sanoe public website. Separate from the back office styles. */
:root {
  --navy: #0b2a3c;
  --navy-2: #0f3a52;
  --navy-3: #12455f;
  --sky: #1ea7ee;
  --amber: #f5b301;
  --amber-2: #ffc629;
  --ink: #14212b;
  --ink-2: #4b5b66;
  --line: #e1e7ec;
  --soft: #f3f6f9;
  --white: #fff;
  --radius: 10px;
  --head: "Montserrat", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body.sw { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.55; }
.sw a { color: inherit; }
.sw :focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.sw h1, .sw h2, .sw h3 { font-family: var(--head); margin: 0; letter-spacing: -0.015em; line-height: 1.08; }
.sw p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { width: 20px; height: 20px; flex: none; }
.sw-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Accent bars above headings */
.sw-bars { display: flex; gap: 8px; margin-bottom: 14px; }
.sw-bars i { display: block; height: 5px; border-radius: 3px; width: 64px; background: var(--amber); }
.sw-bars i.b { width: 40px; background: var(--sky); }

/* Buttons */
.sw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.sw-btn-amber { background: var(--amber); color: #1b1400; }
.sw-btn-amber:hover { background: var(--amber-2); }
.sw-btn-line { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.sw-btn-line:hover { background: rgba(255,255,255,.1); }
.sw-btn-dark { background: var(--navy); color: #fff !important; min-height: 40px; padding: 8px 16px; font-size: 14px; }
.sw-btn-dark:hover { background: var(--navy-3); }

/* Top bar */
.sw-bar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.sw-bar-in { display: flex; align-items: center; min-height: 68px; gap: 24px; }
.sw-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 17px; color: var(--navy) !important; }
.sw-brand img { width: 42px; height: 42px; object-fit: contain; }
.sw-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.sw-nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.sw-nav a:hover { color: var(--navy); }
.sw-signin { margin-left: 4px; }
.sw-signin .ic { width: 16px; height: 16px; }
.sw-menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.sw-menu i { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.sw-hero {
  position: relative; color: #fff; background-color: var(--navy);
  background-repeat: no-repeat; background-size: auto 100%; background-position: right center;
}
.sw-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 34%, rgba(11,42,60,.78) 48%, rgba(11,42,60,.2) 70%, rgba(11,42,60,0) 100%),
              linear-gradient(0deg, rgba(11,42,60,.75) 0%, rgba(11,42,60,0) 30%);
}
.sw-hero-in { position: relative; padding-top: 56px; padding-bottom: 34px; }
.sw-hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 900; max-width: 11.5ch; color: #fff; }
.sw-hero h1 span { color: var(--sky); }
.sw-lead { font-size: clamp(17px, 1.7vw, 20px); margin: 18px 0 28px !important; max-width: 31ch; color: #e7eef3; }
.sw-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.sw-points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 34px; flex-wrap: wrap; }
.sw-points li { display: grid; grid-template-columns: 46px auto; column-gap: 12px; align-items: center; }
.sw-points b { font-size: 15px; grid-column: 2; line-height: 1.2; }
.sw-points small { font-size: 12.5px; color: #c6d4dd; grid-column: 2; }
.sw-ring { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); display: grid; place-items: center; }
.sw-ring .ic { width: 22px; height: 22px; }

/* Section heading row */
.sw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.sw-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--ink); }
.sw-head p { color: var(--ink-2); font-size: 14px; max-width: 42ch; }

/* What we supply */
.sw-supply { padding: 18px 0 18px; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.sw-supply-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 24px; align-items: stretch; padding-top: 18px; }
.sw-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sw-product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(11,42,60,.06); }
.sw-product-img { height: 120px; background: var(--navy-2) center / cover no-repeat; }
.sw-product-body { padding: 16px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.sw-product h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; color: var(--navy); }
.sw-product p { color: var(--ink-2); font-size: 14px; }
.sw-product-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--navy) !important; }
.sw-go { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.sw-go .ic { width: 16px; height: 16px; }
.sw-product-foot:hover .sw-go { background: var(--sky); }

.sw-promise {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px;
  background: #dfeaf3 right center / cover no-repeat;
}
.sw-promise::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #eef4f9 0%, rgba(238,244,249,.95) 42%, rgba(238,244,249,.55) 70%, rgba(238,244,249,.15) 100%); }
.sw-promise-in { position: relative; padding: 30px 26px; max-width: 300px; }
.sw-promise h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.sw-promise p { color: var(--ink-2); font-size: 14px; margin-bottom: 16px !important; }
.sw-promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sw-promise li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.sw-promise li .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--navy); color: #fff; stroke-width: 2.6; }

/* Products & services tiles */
.sw-services { padding: 30px 0 28px; background: var(--soft); }
.sw-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sw-tile { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.sw-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11,42,60,.1); }
.sw-tile-img { height: 100px; background: var(--navy-2) center / cover no-repeat; }
.sw-tile-label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; color: var(--navy); }
.sw-chev { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; color: var(--ink-2); line-height: 1; }

/* Bottom: deliver + stats + contact */
.sw-bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--soft); }
.sw-deliver { background: radial-gradient(120% 90% at 0% 100%, #143f58 0%, var(--navy) 55%, #08202f 100%); color: #fff; }
.sw-deliver-in { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 18px; align-items: center; padding: 34px 26px 30px max(28px, calc((100vw - 1180px) / 2 + 28px)); }
.sw-deliver h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.sw-deliver-copy > p { color: #d7e3ea; font-size: 14px; }
.sw-counties { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; gap: 4px; }
.sw-counties button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: #fff; font: inherit; font-size: 14.5px; padding: 2px 0; cursor: pointer; }
.sw-counties .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--sky); color: #fff; stroke-width: 3; }
.sw-counties button:hover, .sw-counties button[aria-pressed="true"] { color: var(--amber); }
.sw-small { color: #c2d2dc; font-size: 13px; }
.sw-status { min-height: 1.4em; color: var(--amber); font-weight: 600; font-size: 14px; margin-top: 8px !important; }
.sw-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: #d7e3ea; margin-top: 10px; }
.sw-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw-legend i { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.sw-legend i.on { background: #1d5675; border-color: #e8f1f6; }
.sw-map { margin: 0; }
.sw-map svg { width: 100%; height: auto; display: block; max-height: 520px; }
.site-county { fill: #f4f7f9; stroke: #9fb9c8; stroke-width: 1; cursor: pointer; transition: fill .12s; }
.site-county.is-served { fill: #1d5675; stroke: #e8f1f6; stroke-width: 1.4; }
.site-county:hover, .site-county:focus-visible { fill: var(--sky); outline: none; }
.site-county.is-selected { fill: var(--amber); }
.sw-map-labels text { font: 600 15px var(--body); text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke-width: 3px; stroke-linejoin: round; }
.sw-map-labels .on { fill: #fff; stroke: rgba(11,42,60,.8); }
.sw-map-labels .off { fill: var(--navy); stroke: rgba(255,255,255,.9); }
.sw-map-labels .short { display: none; }

.sw-side { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 14px max(28px, calc((100vw - 1180px) / 2 + 28px)) 14px 14px; }
.sw-stats { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(11,42,60,.08); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 10px; }
.sw-stats > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 0 12px; border-left: 1px solid var(--line); }
.sw-stats > div:first-child { border-left: 0; }
.sw-stat-ic { grid-row: span 2; color: var(--sky); }
.sw-stat-ic .ic { width: 34px; height: 34px; stroke-width: 2; }
.sw-stats dd { margin: 0; grid-row: 1; grid-column: 2; font-family: var(--head); font-weight: 800; font-size: 28px; color: var(--navy); line-height: 1; }
.sw-stats dt { grid-row: 2; grid-column: 2; font-size: 12px; color: var(--ink-2); }

.sw-contact { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy) right center / cover no-repeat; min-height: 230px; }
.sw-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,42,60,.94) 48%, rgba(11,42,60,.55) 75%, rgba(11,42,60,.25) 100%); }
.sw-contact-in { position: relative; padding: 26px 24px; }
.sw-contact h2 { font-size: clamp(22px, 2.3vw, 27px); font-weight: 800; color: #fff; max-width: 15ch; margin-bottom: 12px; }
.sw-contact p { color: #d7e3ea; font-size: 14px; max-width: 36ch; margin-bottom: 18px !important; }
.sw-contact .sw-btn { min-height: 44px; font-size: 14.5px; padding: 10px 16px; }
.sw-addr { display: flex; align-items: center; gap: 8px; margin: 14px 0 0 !important; font-size: 13px !important; }
.sw-addr .ic { width: 16px; height: 16px; color: var(--amber); }

/* Footer */
.sw-foot { background: var(--navy); color: #c9d6de; font-size: 13.5px; }
.sw-foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.sw-foot-co { display: grid; gap: 3px; }
.sw-foot-co strong { color: #fff; font-family: var(--head); font-weight: 800; font-size: 14px; }
.sw-foot-nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.sw-foot-nav a { text-decoration: none; color: #fff; }
.sw-foot-nav a:hover { color: var(--amber); }
.sw-foot-end { display: grid; gap: 4px; justify-items: end; text-align: right; font-size: 12.5px; }
.sw-foot-end a { color: #fff; text-decoration: none; }
.sw-social { display: flex; gap: 12px; margin-bottom: 6px; }
.sw-social a { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; }
.sw-social .ic { width: 17px; height: 17px; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .sw-supply-in { grid-template-columns: 1fr; }
  .sw-promise { min-height: 240px; }
  .sw-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw-bottom { grid-template-columns: 1fr; }
  .sw-deliver-in { padding: 36px 28px; }
  .sw-side { padding: 18px 28px 28px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .sw-wrap { padding: 0 16px; }
  .sw-menu { display: flex; }
  .sw-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(11,42,60,.12);
  }
  .sw-nav.open { display: flex; }
  .sw-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .sw-nav .sw-signin { margin: 12px 0 0; border: 0; justify-content: center; min-height: 46px; }
  .sw-bar-in { min-height: 60px; position: relative; }
  .sw-brand { font-size: 14.5px; gap: 10px; line-height: 1.15; }
  .sw-brand img { width: 36px; height: 36px; }

  .sw-hero { background-size: cover; background-position: 70% center; }
  .sw-hero::before { background: linear-gradient(180deg, rgba(11,42,60,.82) 0%, rgba(11,42,60,.9) 55%, var(--navy) 100%); }
  .sw-hero-in { padding-top: 40px; padding-bottom: 30px; }
  .sw-cta { flex-direction: column; }
  .sw-cta .sw-btn { width: 100%; }
  .sw-points { flex-direction: column; gap: 14px; margin-top: 30px; }

  .sw-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sw-products { grid-template-columns: 1fr; }
  .sw-product-img { height: 150px; }
  .sw-promise::before { background: linear-gradient(180deg, rgba(238,244,249,.97) 0%, rgba(238,244,249,.9) 60%, rgba(238,244,249,.7) 100%); }
  .sw-promise-in { max-width: none; }
  .sw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-tile:last-child { grid-column: span 2; }
  .sw-tile-img { height: 110px; }

  .sw-deliver-in { grid-template-columns: 1fr; padding: 32px 16px; gap: 18px; }
  .sw-counties { grid-template-columns: 1fr 1fr; }
  .sw-map-labels .full { display: none; }
  .sw-map-labels .short { display: inline; font-size: 20px; stroke-width: 4px; }
  .sw-side { padding: 16px; }
  .sw-stats { grid-template-columns: 1fr; padding: 6px 16px; }
  .sw-stats > div { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0; }
  .sw-stats > div:first-child { border-top: 0; }
  .sw-contact::before { background: linear-gradient(180deg, rgba(11,42,60,.92) 0%, rgba(11,42,60,.95) 100%); }
  .sw-contact .sw-btn { white-space: normal; word-break: break-all; }

  .sw-foot-in { grid-template-columns: 1fr; text-align: left; }
  .sw-foot-nav { justify-content: flex-start; }
  .sw-foot-end { justify-items: start; text-align: left; }
}
