/* Morgan Plumbing — site styles */

:root {
  --red: #811616;          /* from logo */
  --red-dark: #641010;
  --red-tint: #f7ecec;
  --ink: #1f1f1f;
  --charcoal: #2b2b2b;
  --gray-700: #4a4a4a;
  --gray-500: #737373;
  --gray-300: #d4d4d4;
  --gray-100: #f3f3f3;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 106px; } /* sticky header (92px) + a little breathing room */

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

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

h1, h2, h3 {
  font-family: "Merriweather", Georgia, serif;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.4em;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px; /* the 200px logo is 53px tall, so this leaves ~19px above and below it */
}
.logo img { width: 200px; height: auto; filter: brightness(0) invert(1); } /* logo shown in white on the red header */

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  display: block;
  padding: 10px 14px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--white); border-radius: 6px 6px 0 0; }
.nav .nav-call a { background: var(--white); color: var(--red); margin-left: 8px; display: flex; align-items: center; gap: 8px; }
.nav .nav-call a:hover { background: var(--red-tint); color: var(--red-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  color: var(--white);
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* ---------- Hero ----------
   The water-heater lineup is a transparent PNG, so it can't be a plain background
   image: "cover" would crop the tanks and the dark overlay would sit on top and dull
   them. Instead the dark field is the background, and the product rides above it on
   ::after, standing on the bottom edge of the hero. Its left edge is masked so it
   dissolves into the background instead of stopping at a hard rectangle.
   To go back to the faucet photo, see the revert block at the end of this section. */
.hero {
  position: relative;
  color: var(--white);
  background: radial-gradient(70% 80% at 76% 108%, rgba(140, 140, 140, 0.30) 0%, rgba(140, 140, 140, 0) 65%),
              linear-gradient(90deg, #151515 0%, #1e1e1e 55%, #282828 100%);
  background-color: var(--charcoal);
}
.hero .container { position: relative; padding-top: 70px; padding-bottom: 70px; }
.hero .container > * { position: relative; z-index: 1; } /* text always above the product */
.hero .container::after {
  content: "";
  position: absolute;
  right: 20px;  /* line up with the container's own padding */
  bottom: 0;
  /* 46% keeps the product width-limited rather than height-limited, so it stays the
     same size whether the headline wraps to two lines or three -- at 50% a taller
     hero grew the image sideways until it touched the h1. */
  width: 46%;
  height: 90%;
  background: url("../images/waterheaters.png") right bottom / contain no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  pointer-events: none;
}
.hero h1 { color: var(--white); max-width: 12em; }   /* narrower than default: the right side is the product */
.hero p.lead { font-size: 1.2rem; max-width: 24em; color: #e6e6e6; }

/* --- REVERT TO THE FAUCET PHOTO ---------------------------------------------
   images/hero.jpg is still in place. To go back: delete the .hero rules above
   (keeping .eyebrow below) along with the .hero lines in the 960px, 820px and
   640px media queries, then uncomment these four rules.

.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.8) 50%, rgba(20, 20, 20, 0.45) 100%),
              url("../images/hero.jpg") right center / cover no-repeat;
  background-color: var(--charcoal);
  background-blend-mode: normal, luminosity;
}
.hero .container { padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: var(--white); max-width: 16em; }
.hero p.lead { font-size: 1.2rem; max-width: 34em; color: #e6e6e6; }

   ...and in the 640px query restore:
.hero .container { padding-top: 48px; padding-bottom: 48px; }
.hero { background: linear-gradient(rgba(20, 20, 20, 0.85), rgba(20, 20, 20, 0.85)), url("../images/hero.jpg") right center / cover no-repeat; background-color: var(--charcoal); }
--------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  border-bottom: 1px solid #000;
}
.page-hero .container { padding-top: 44px; padding-bottom: 44px; }
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: #d8d8d8; margin: 0; max-width: 40em; font-size: 1.1rem; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--gray-300);
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.97rem; line-height: 1.3; }
.trust .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--red-tint); color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head p { color: var(--gray-700); }

/* Service cards */
/* Four across on an eight-column grid (each card spans two), so a short last row can be
   centered: its first card is pushed right and the rest follow it. With the current eight
   services there is no short row; this only matters if a service is added or hidden. */
.cards {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 22px;
}
@media (min-width: 961px) {
  .cards > * { grid-column: span 2; }
  .cards > :nth-child(4n+1):nth-last-child(3) { grid-column: 2 / span 2; }
  .cards > :nth-child(4n+1):nth-last-child(2) { grid-column: 3 / span 2; }
  .cards > :nth-child(4n+1):nth-last-child(1) { grid-column: 4 / span 2; }
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
a.card:hover { border-color: var(--red); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin-bottom: 0.5em; } /* a little more room now that the price pill is gone */
.card p { color: var(--gray-700); margin: 0; font-size: 0.97rem; }
.card .more { margin-top: auto; padding-top: 14px; color: var(--red); font-weight: 700; font-size: 0.95rem; }
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.icon-badge .icon { width: 32px; height: 32px; }

/* Owner / about */
.about {
  display: grid;
  grid-template-columns: 219px 1fr;
  gap: 44px;
  align-items: center;
}
.about-photo img {
  width: 219px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 5px solid var(--red);
}
.about-photo figcaption { margin-top: 12px; font-weight: 700; }
.about-photo figcaption span { display: block; font-weight: 400; color: var(--gray-500); font-size: 0.93rem; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--red); width: 22px; height: 22px; margin-top: 2px; stroke-width: 2.4; }

/* Coupons */
.coupons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coupon {
  border: 2px dashed var(--gray-500);
  border-radius: var(--radius);
  padding: 8px;
  background: var(--white);
}
.coupon-inner {
  background: var(--red);
  color: var(--white);
  border-radius: 6px;
  padding: 22px 18px;
  text-align: center;
  height: 100%;
}
.coupon .tag { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.coupon .amount { font-family: "Merriweather", Georgia, serif; font-size: 2.3rem; font-weight: 700; line-height: 1.1; margin: 6px 0; }
.coupon .what { font-weight: 600; }
/* Hours & service area (home page) */
.areas { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.area-box { border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 22px 24px; background: var(--white); }
.area-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0 0 14px; }
.area-box h3 .icon { color: var(--red); width: 22px; height: 22px; }
.area-box p { color: var(--gray-700); margin: 0 0 10px; }
.area-box .hours { font-size: 1.05rem; color: var(--ink); }
.town-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; color: var(--gray-700); }
.town-list li { padding: 3px 0; break-inside: avoid; }
.site-footer small { display: block; opacity: 0.75; font-size: 0.85em; margin-top: 2px; }

.fine-print { color: var(--gray-500); font-size: 0.9rem; text-align: center; margin-top: 16px; }

/* CTA band */
.cta {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}
.cta .container { padding-top: 54px; padding-bottom: 54px; }
.cta h2 { color: var(--white); }
.cta p { color: #d0d0d0; }
.cta .phone-big {
  display: inline-block;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  margin: 6px 0 4px;
}
.cta .phone-big:hover { color: #f0c9c9; }

/* ---------- Services page ---------- */
.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.service-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 99px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
}
.service-nav a:hover { border-color: var(--red); color: var(--red); }
.service-nav .icon { color: var(--red); width: 20px; height: 20px; }

.service {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-300);
}
.service:last-child { border-bottom: 0; }
.service .icon-badge { width: 72px; height: 72px; margin: 0; }
.service .icon-badge .icon { width: 40px; height: 40px; }
.service h2 { font-size: 1.6rem; }
.service p { color: var(--gray-700); }
.service ul.checklist { grid-template-columns: 1fr; margin-top: 0; }
.service .panel {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 24px;
  align-self: start;
}
.service .panel h3 { font-size: 1rem; font-family: inherit; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-700); }
.service .price-link { display: inline-block; margin-top: 4px; font-weight: 700; }

/* ---------- Pricing page ---------- */
.price-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--red-tint);
  border-left: 5px solid var(--red);
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 36px;
  font-weight: 600;
}
.price-intro .icon { color: var(--red); width: 30px; height: 30px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: start;
}
.price-group {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.price-group header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--charcoal);
  color: var(--white);
}
.price-group header .icon-badge { margin: 0; background: var(--red); color: var(--white); width: 54px; height: 54px; }
.price-group header h2 { color: var(--white); font-size: 1.35rem; margin: 0; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: baseline;
  padding: 14px 22px;
  border-bottom: 1px solid var(--gray-100);
}
.price-list li:nth-child(even) { background: #fafafa; }
.price-list li:last-child { border-bottom: 0; }
.price-list .item { font-weight: 600; }
.price-list .price {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.price-list .note { grid-column: 1 / -1; color: var(--gray-500); font-size: 0.9rem; line-height: 1.4; }
.price-group .group-note {
  margin: 0;
  padding: 14px 22px;
  font-size: 0.92rem;
  color: var(--gray-700);
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
}
.price-disclaimer {
  margin-top: 30px;
  color: var(--gray-700);
  font-size: 0.95rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #181818;
  color: #bdbdbd;
  font-size: 0.95rem;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-top: 50px;
  padding-bottom: 36px;
}
.site-footer h3 { color: var(--white); font-family: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: #f0c9c9; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; display: flex; gap: 10px; align-items: flex-start; }
.site-footer li .icon { width: 20px; height: 20px; margin-top: 3px; color: #e08f8f; }
.footer-logo {
  background: var(--white);
  display: inline-block;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.footer-logo img { width: 170px; }
.footer-bottom {
  border-top: 1px solid #2e2e2e;
  text-align: center;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: #8a8a8a;
}

/* ---------- Mobile call bar ---------- */
.mobile-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  /* Pull the copy in and the product down so they keep clear of each other */
  .hero p.lead { max-width: 20em; }
  .hero .container::after { width: 44%; }
  .cards, .coupons { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: 1fr 1fr; }
  .areas .area-box:first-child { grid-column: 1 / -1; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 72px 1fr; }
  .service .panel { grid-column: 2; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  /* Too narrow to sit side by side: text first, then the product as a full-width
     band standing on the hero's bottom edge. */
  .hero h1 { max-width: 14em; }
  .hero p.lead { max-width: 34em; }
  .hero .container { padding-bottom: 0; }
  .hero .container::after {
    position: static;
    display: block;
    width: auto;
    height: 240px;
    margin: 30px -20px 0; /* bleed back out over the container padding */
    background-position: center bottom;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  .nav.open { display: block; }
  .nav a { color: var(--ink); }
  .nav a:hover { color: var(--red); background: var(--gray-100); }
  .nav a[aria-current="page"] { color: var(--red); box-shadow: none; border-radius: 6px; }
  .nav .nav-call a { background: var(--red); color: var(--white); }
  .nav .nav-call a:hover { background: var(--red-dark); color: var(--white); }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 2px; }
  .nav a { padding: 12px 10px; }
  .nav .nav-call a { margin: 8px 0 0; justify-content: center; }
  .logo img { width: 160px; }
  /* Smaller logo here, and a sticky bar costs more on a phone -- keep the shorter header. */
  .site-header .container { min-height: 76px; }
  html { scroll-padding-top: 90px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .section { padding: 46px 0; }
  .hero .container { padding-top: 48px; padding-bottom: 0; }
  .hero .container::after { height: 215px; margin-top: 24px; }
  .cards, .coupons, .checklist { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { display: flex; gap: 18px; align-items: center; }
  .about-photo img { width: 120px; }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service .panel { grid-column: auto; }
  .service .icon-badge { width: 56px; height: 56px; }
  .price-list li { padding: 12px 16px; }
  .price-group header { padding: 14px 16px; }
  .site-footer .container { grid-template-columns: 1fr; gap: 26px; }
  /* The fixed bar below covers calling at this width, so drop the number from the
     menu. It stays between 641-820px, where the menu is the only place it appears. */
  .nav .nav-call { display: none; }
  .mobile-call {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 56px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  }
  .mobile-call:hover { color: var(--white); }
  .mobile-call .icon { width: 22px; height: 22px; }
}

/* ---------- v2: individual service pages ---------- */
.breadcrumb { font-size: 0.9rem; margin-bottom: 10px; color: #bdbdbd; }
.breadcrumb a { color: #e8e8e8; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.page-hero .title-row { display: flex; align-items: center; gap: 18px; }
.page-hero .title-row .icon-badge { margin: 0; background: var(--red); color: var(--white); flex-shrink: 0; }

.service-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: start;
}
.service-layout .lead-text { font-size: 1.12rem; }
.service-layout p { color: var(--gray-700); }
.service-layout h2 { font-size: 1.35rem; margin-top: 1.4em; }
.service-layout .checklist { grid-template-columns: 1fr; }
.service-aside { display: grid; gap: 22px; }

/* Brand logos above the water heater text, in their own colors. Each logo's max-height
   is set inline by the builder. */
.brand-strip { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-300); }
/* Two even rows of three; each logo is centered in its cell. */
.brand-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 22px 24px;
}
.brand-logos img { width: auto; max-width: 100%; }
/* Three across gets too tight on phones (the wordmarks shrink, Rheem doesn't), so go two across. */
@media (max-width: 640px) {
  .brand-logos { grid-template-columns: repeat(2, 1fr); }
}

.estimate-box {
  border: 1px solid var(--gray-300);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.estimate-box h2 { font-size: 1.3rem; margin-top: 0; }
.estimate-box p { margin-bottom: 16px; }

.price-group .group-link {
  display: block;
  padding: 12px 22px;
  border-top: 1px solid var(--gray-300);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.price-group .group-link:hover { background: var(--gray-100); }

.other-services h2 { font-size: 1.3rem; text-align: center; margin-bottom: 18px; }

@media (max-width: 960px) {
  .service-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .page-hero .title-row .icon-badge { width: 48px; height: 48px; }
  .page-hero .title-row .icon-badge .icon { width: 28px; height: 28px; }
}

/* ---------- v2: Services dropdown ---------- */
.nav .has-sub { position: relative; }
.nav .has-sub > a { display: flex; align-items: center; gap: 4px; }
.nav .caret { width: 16px; height: 16px; stroke-width: 2.2; transition: transform 0.15s; }
.nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.nav .sub-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-weight: 600; color: var(--ink); }
.nav .sub-menu a:hover { color: var(--red); background: var(--gray-100); }
.nav .sub-menu a[aria-current="page"] { color: var(--red); box-shadow: none; border-radius: 6px; }
.nav .sub-menu .icon { width: 20px; height: 20px; color: var(--red); }
.nav .has-sub:hover > .sub-menu,
.nav .has-sub:focus-within > .sub-menu { display: flex; }
.nav .has-sub:hover .caret,
.nav .has-sub:focus-within .caret { transform: rotate(180deg); }

@media (max-width: 820px) {
  /* On phones the service list is always shown, indented under "Services" */
  .nav .caret { display: none; }
  .nav .sub-menu {
    display: flex;
    position: static;
    min-width: 0;
    padding: 0 0 6px 14px;
    border: 0;
    border-left: 2px solid var(--gray-300);
    margin-left: 10px;
    border-radius: 0;
    box-shadow: none;
  }
  .nav .sub-menu a { padding: 8px 10px; font-weight: 400; }
  .nav { max-height: calc(100vh - 76px); overflow-y: auto; }
}
