/* ==========================================================================
   Chester Water Heater Pros - main stylesheet (mobile-first)
   Colors: blue #0B3C5D | orange #E8590C | light #F4F8FB | text #14212B
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --blue: #0B3C5D;
  --blue-dark: #082B43;
  --orange: #E8590C;
  --orange-dark: #C74A06;
  --light: #F4F8FB;
  --text: #14212B;
  --muted: #4A5A68;
  --line: #D6E1EA;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11, 60, 92, 0.10);
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-dark);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--blue);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 48px 0;
}

.section--light {
  background: var(--light);
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 8px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 200;
}

.skip-link:focus {
  left: 8px;
}

/* ---------- Icons ---------- */
.icon {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn--call {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232, 89, 12, 0.35);
}

.btn--call:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--blue);
}

.btn--small {
  padding: 10px 18px;
  font-size: 1.2rem;
}

.btn-note {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link-more:hover {
  text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}

.logo img {
  height: 44px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--blue);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 26px;
  height: 26px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Navigation (mobile first: hidden panel) */
.main-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  padding: 8px 16px 20px;
}

.main-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.nav-link,
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue);
  background: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.nav-toggle .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.nav-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.dropdown {
  display: none;
  list-style: none;
  margin: 0 0 10px;
  padding: 0 0 0 12px;
}

.dropdown.is-open {
  display: block;
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  display: block;
  padding: 9px 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.97rem;
}

.dropdown a:hover {
  color: var(--orange-dark);
}

.nav-cta {
  margin-top: 16px;
}

.nav-cta .btn {
  width: 100%;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--light);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 10px 0;
}

.breadcrumbs li {
  margin: 0;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--blue-dark);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 43, 67, 0.93) 0%, rgba(11, 60, 92, 0.86) 55%, rgba(11, 60, 92, 0.72) 100%);
}

.hero-inner {
  position: relative;
  padding: 44px 0 52px;
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 0.95rem;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.hero-badges .icon {
  width: 1.2em;
  height: 1.2em;
  color: #FFB27D;
}

.gradient-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--blue);
}

.trust-item .icon {
  width: 32px;
  height: 32px;
  color: var(--orange-dark);
}

.trust-item span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 18px;
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.card h3 a {
  color: var(--blue);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.card p {
  margin-bottom: 12px;
  color: var(--muted);
}

.card .icon {
  color: var(--orange-dark);
}

.card--flat {
  box-shadow: none;
}

.pain-card h3 {
  font-size: 1.08rem;
}

/* ---------- Two-column blocks ---------- */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Lists ---------- */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list .icon {
  width: 1.3em;
  height: 1.3em;
  margin-top: 0.2em;
  color: var(--orange-dark);
}

.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-list li {
  margin: 0;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue);
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 70px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

caption {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--muted);
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) td {
  background: var(--light);
}

/* ---------- CTA bands ---------- */
.cta-band {
  text-align: center;
  padding: 52px 0;
}

.cta-band--orange-edge {
  border-top: 6px solid var(--orange);
}

.cta-band p {
  max-width: 640px;
  margin: 0 auto 22px;
  font-size: 1.1rem;
}

.cta-band--soft {
  background: var(--light);
  padding: 40px 0;
}

.cta-band--soft h2,
.cta-band--soft h3 {
  color: var(--blue);
}

.cta-inline {
  margin: 8px 0 24px;
}

/* ---------- Emergency block ---------- */
.emergency {
  background: var(--blue-dark);
  color: var(--white);
}

.emergency h2,
.emergency h3 {
  color: var(--white);
}

.emergency a:not(.btn) {
  color: #FFD0B0;
}

.emergency-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 20px;
}

.emergency-box h3 {
  font-size: 1.1rem;
}

.emergency-box ul {
  margin-bottom: 0;
}

/* ---------- Area links ---------- */
.area-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.area-links li {
  margin: 0;
}

.area-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.area-links a:hover {
  border-color: var(--orange);
}

.area-links .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--orange-dark);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--orange-dark);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq .faq-answer {
  padding: 0 18px 8px;
}

/* ---------- Related services ---------- */
.related-card h3 {
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-dark);
  color: #DCE7EF;
  padding: 48px 0 24px;
  font-size: 0.97rem;
}

.site-footer a {
  color: #DCE7EF;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.footer-logo {
  background: var(--white);
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-list .icon {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.25em;
  color: #FFB27D;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.social {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.social li {
  margin: 0;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.social a:hover {
  background: var(--orange);
}

.social .icon {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Floating call button ---------- */
.call-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 60px;
  height: 60px;
  padding: 0 18px;
  justify-content: center;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.call-float:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.call-float .icon {
  width: 28px;
  height: 28px;
}

.call-float-text {
  display: none;
}

/* ---------- 404 / simple pages ---------- */
.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 1.6em;
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */
@media (min-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .trust-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .call-float-text {
    display: inline;
  }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 1024px) {
  .logo img {
    height: 50px;
  }

  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .main-nav {
    display: block;
    position: static;
    border: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    margin-left: auto;
    margin-right: 18px;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav-list > li {
    position: relative;
    border: 0;
  }

  .nav-link,
  .nav-toggle {
    width: auto;
    padding: 10px 12px;
    gap: 6px;
    border-radius: 8px;
  }

  .nav-link:hover,
  .nav-toggle:hover {
    background: var(--light);
  }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 330px;
    margin: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .dropdown a {
    padding: 9px 12px;
    border-radius: 6px;
  }

  .dropdown a:hover {
    background: var(--light);
  }

  .nav-cta {
    display: none;
  }

  .hero-inner {
    padding: 84px 0 92px;
  }

  .hero-sub {
    font-size: 1.25rem;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .split--reverse .split-media {
    order: 2;
  }

  .area-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps li {
    padding: 70px 18px 20px;
  }

  .steps li::before {
    left: 18px;
    top: 18px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* ==========================================================================
   Inner pages (service pages, location pages, legal pages)
   ========================================================================== */
.hero--page {
  background:
    radial-gradient(circle at 85% 20%, rgba(232, 89, 12, 0.22), transparent 45%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.hero--page .hero-inner {
  padding: 40px 0 48px;
}

.related-card .link-more {
  margin-top: 4px;
}

.info-figure {
  max-width: 600px;
  margin: 0 0 1.5em;
}

.info-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-figure figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.inline-cta {
  background: var(--light);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 1.5em 0;
}

.inline-cta p {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--blue);
}

@media (min-width: 1024px) {
  .hero--page .hero-inner {
    padding: 64px 0 72px;
  }
}

/* ==========================================================================
   Navigation: Services / Service Areas are links, dropdown opens on hover
   ========================================================================== */
.has-dropdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.has-dropdown > .nav-link {
  flex: 1 1 auto;
  width: auto;
}

.has-dropdown > .nav-toggle {
  flex: 0 0 auto;
  width: auto;
  padding: 14px 10px;
}

.has-dropdown > .dropdown {
  flex: 1 1 100%;
}

@media (min-width: 1024px) {
  .nav-list > li.has-dropdown {
    flex-wrap: nowrap;
  }

  .has-dropdown > .nav-link {
    flex: 0 0 auto;
    padding: 10px 2px 10px 12px;
    border-radius: 8px 0 0 8px;
  }

  .has-dropdown > .nav-toggle {
    padding: 10px 10px 10px 4px;
    border-radius: 0 8px 8px 0;
  }

  .has-dropdown:hover > .nav-link,
  .has-dropdown:hover > .nav-toggle,
  .has-dropdown:focus-within > .nav-link,
  .has-dropdown:focus-within > .nav-toggle {
    background: var(--light);
  }

  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    display: block;
  }

  .has-dropdown > .dropdown {
    flex: none;
  }
}
