:root {
  --font-heading: "Montserrat", "Poppins", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --brand-green: #008000;
  --brand-green-dark: #064617;
  --brand-wood: #8b4b1f;
  --brand-cream: #f7f2e8;
  --brand-dark: #071b10;
  --brand-gold: #d98900;
  --danger: #c71916;
  --text: #111c15;
  --muted: #5d665f;
  --line: #d8d3c6;
  --surface: #fffdf7;
  --shadow: 0 20px 50px rgba(7, 27, 16, 0.18);
  --shadow-soft: 0 16px 40px rgba(7, 27, 16, 0.14);
  --shadow-strong: 0 22px 54px rgba(7, 27, 16, 0.26);
  --premium-glow: 0 0 0 1px rgba(32, 212, 72, 0.14), 0 16px 38px rgba(4, 17, 10, 0.22);
  --hero-copy-fade: rgba(255, 253, 247, 0.72);
  --hero-image-fade: rgba(255, 253, 247, 0.28);
  --home-dark: #071b10;
  --home-deep: #04110a;
  --home-panel: rgba(7, 27, 16, 0.92);
  --home-card: rgba(9, 34, 19, 0.88);
  --home-line: rgba(255, 255, 255, 0.16);
  --home-text: #fffaf0;
  --home-muted: rgba(255, 250, 240, 0.78);
  --mode-bg: #f7f2e8;
  --nav-bg: rgba(255, 253, 247, 0.98);
  --nav-text: #071b10;
  --content-bg: #f4efe3;
  --service-card-bg: #071b10;
  --service-card-border: rgba(255, 255, 255, 0.16);
  --service-title: #20d448;
  --service-copy: rgba(255, 250, 240, 0.78);
  --service-icon-filter: none;
  --icon-frame-bg: rgba(255, 250, 240, 0.08);
  --icon-frame-border: rgba(255, 255, 255, 0.12);
}


[data-theme="dark"] {
  --brand-cream: #071b10;
  --surface: #0e1c13;
  --brand-green: #21c94c;
  --brand-green-dark: #5af07b;
  --text: #f7f2e8;
  --muted: #c5d0c7;
  --line: #2b4a34;
  --hero-copy-fade: rgba(14, 28, 19, 0.82);
  --hero-image-fade: rgba(14, 28, 19, 0.2);
  --mode-bg: #071b10;
  --nav-bg: rgba(4, 17, 10, 0.98);
  --nav-text: #fffaf0;
  --content-bg: #04110a;
  --service-card-bg: #fffdf7;
  --service-card-border: #d8d3c6;
  --service-title: #087a27;
  --service-copy: #24352a;
  --service-icon-filter: none;
  --icon-frame-bg: rgba(0, 128, 0, 0.06);
  --icon-frame-border: rgba(0, 128, 0, 0.16);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    url("/shared/assets/production/decor/background_light_subtle.svg"),
    var(--mode-bg);
  color: var(--text);
  font-family: var(--font-body);
  min-width: 0;
  overflow-x: hidden;
}

body[data-modal-open="true"] {
  overflow: hidden;
}

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 24%, rgba(32, 212, 72, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(4, 17, 10, 0.98), rgba(7, 27, 16, 0.98));
  transition: opacity 420ms ease, visibility 420ms ease;
}

.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-card {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 41, 20, 0.92), rgba(4, 17, 10, 0.98));
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.preloader-mark {
  width: 104px;
  height: 104px;
  position: relative;
  display: grid;
  place-items: center;
}

.preloader-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--brand-gold);
  border-right-color: rgba(32, 212, 72, 0.72);
  animation: spin360 1.2s linear infinite;
}

.preloader-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.preloader-logo.dark {
  display: none;
}

[data-theme="dark"] .preloader-logo.light {
  display: none;
}

[data-theme="dark"] .preloader-logo.dark {
  display: block;
}

.preloader-card strong {
  color: var(--home-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.preloader-card span {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 700;
}

.preloader-bar {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.preloader-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-gold));
  animation: loaderSweep 1.2s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img,
svg,
video {
  max-width: 100%;
}

.site-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--mode-bg);
  overflow-x: hidden;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  min-height: 34px;
  padding: 6px 16px;
  background:
    linear-gradient(90deg, rgba(55, 25, 8, 0.62), rgba(139, 75, 31, 0.92), rgba(55, 25, 8, 0.62)),
    url("/shared/assets/production/decor/wood_texture_strip.svg");
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.top-strip > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  line-height: 1.25;
}

.top-strip a {
  white-space: normal;
  text-decoration: none;
}

.public-nav {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 132px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 6px clamp(18px, 4vw, 46px);
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(7, 27, 16, 0.14);
}

.brand-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  min-width: 0;
}

.brand-seal img {
  display: block;
  object-fit: contain;
}

.brand-mark {
  position: relative;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  display: grid;
  place-items: center;
}

.brand-seal .logo-light,
.brand-seal .logo-dark {
  width: 84px;
  height: 84px;
}

.brand-wordmark {
  display: grid;
  gap: 3px;
  color: var(--nav-text);
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-wordmark strong {
  color: var(--brand-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  letter-spacing: 0;
}

.brand-wordmark small {
  display: block;
  color: var(--nav-text);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

[data-theme="dark"] .brand-wordmark strong {
  color: var(--home-text);
}

[data-theme="light"] .brand-seal .logo-dark,
[data-theme="dark"] .brand-seal .logo-light {
  display: none;
}

[data-theme="dark"] .public-nav {
  border-bottom-color: var(--home-line);
}

.public-nav nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
  flex-wrap: nowrap;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  color: var(--nav-text);
}

.public-nav nav a {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.public-nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--brand-green), transparent);
  transition: transform 200ms ease;
}

.public-nav nav a:hover,
.public-nav nav a:focus-visible {
  color: var(--brand-green);
  transform: translateY(-1px);
}

.public-nav nav a:hover::after,
.public-nav nav a:focus-visible::after {
  transform: scaleX(1);
}

.schedule-link {
  border-radius: 10px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #f4b11c, var(--brand-gold));
  color: var(--brand-green-dark);
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(217, 137, 0, 0.22);
}

.schedule-link:hover,
.schedule-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(217, 137, 0, 0.28);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--nav-text);
}

.lang-toggle,
.theme-toggle,
.mobile-lang-toggle {
  min-height: 36px;
  border: 1px solid rgba(7, 27, 16, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--nav-text);
  font-weight: 900;
}

.lang-toggle,
.mobile-lang-toggle {
  white-space: nowrap;
}

.theme-toggle {
  width: 40px;
  color: var(--brand-gold);
}

[data-theme="dark"] .lang-toggle,
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .mobile-lang-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--home-text);
}

.hero-approved {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.05fr);
  min-height: 360px;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 128, 0, 0.28), transparent 32%),
    linear-gradient(90deg, var(--home-deep), var(--home-dark));
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px 24px 34px 48px;
  background:
    linear-gradient(90deg, rgba(4, 17, 10, 0.98) 0 68%, rgba(4, 17, 10, 0.42) 100%);
  z-index: 1;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  color: var(--home-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.1vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h1 .title-accent {
  display: block;
  color: #20d448;
}

.hero-copy h1 .title-base {
  display: inline;
  color: var(--home-text);
}

.hero-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.hero-copy .hero-service-note {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(32, 212, 72, 0.34);
  border-radius: 7px;
  padding: 7px 10px;
  background: rgba(0, 128, 0, 0.16);
  color: #fffaf0;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 648px;
}

.cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  text-wrap: balance;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--premium-glow);
}

.cta img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.cta span {
  display: block;
  min-width: 0;
}

.phone-cta {
  max-width: none;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
  line-height: 1.18;
}

.phone-cta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cta.primary {
  background: var(--brand-green);
  border-color: #18b342;
  color: white;
}

.cta.primary img {
  filter: brightness(0) invert(1);
}

.cta.danger {
  background: var(--danger);
  border-color: #ef4a43;
  color: white;
}

.cta.danger img {
  filter: brightness(0) invert(1);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 560px;
}

.hero-trust > span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--home-line);
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-trust img {
  width: 18px;
  height: 18px;
  filter: none;
}

.hero-photo {
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(4, 17, 10, 0.32), rgba(4, 17, 10, 0) 25%),
    linear-gradient(180deg, rgba(4, 17, 10, 0), rgba(4, 17, 10, 0.18)),
    url("/shared/assets/production/hero-arborist-clean.jpg") center / cover no-repeat;
}

.discount-band {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 2px solid var(--brand-wood);
  border-radius: 12px;
  overflow: hidden;
  background: var(--home-card);
  box-shadow: var(--shadow-soft);
}

.discount-band article {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto auto;
  gap: 2px 14px;
  align-content: center;
  padding: 16px 16px 14px;
  border-right: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(11, 56, 27, 0.96), rgba(4, 17, 10, 0.98));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.discount-band article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(242, 165, 26, 0.94), transparent);
  opacity: 0.78;
}

.discount-band article:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 18px 28px rgba(4, 17, 10, 0.22);
}

.discount-band article:last-child {
  border-right: 0;
}

.discount-band img {
  grid-row: 1 / 4;
  width: 40px;
  height: 40px;
  align-self: center;
  filter: none;
}

.discount-band strong {
  color: var(--brand-green);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.05;
}

.discount-band span {
  color: var(--home-text);
  font-weight: 850;
  font-size: 13px;
  line-height: 1.1;
}

.discount-band small {
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.22;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(286px, 340px);
  gap: clamp(16px, 1.6vw, 28px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px clamp(16px, 4vw, 64px) 34px;
  background: var(--content-bg);
}

.main-column {
  display: contents;
  align-content: start;
  align-self: start;
  gap: 16px;
  min-width: 0;
}

.side-column {
  align-self: start;
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.discount-band,
.services-section {
  grid-column: 1;
}

.gallery-section,
.reviews-section {
  grid-column: 1 / -1;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 16px;
  color: #20d448;
  text-transform: uppercase;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  min-width: 0;
}

.section-heading-row .section-title {
  flex: 1;
  margin-bottom: 0;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-action,
.text-action {
  min-height: 34px;
  border: 1px solid var(--service-card-border);
  border-radius: 7px;
  background: var(--service-card-bg);
  color: var(--service-title);
  font-weight: 950;
  cursor: pointer;
}

.icon-action {
  width: 34px;
  font-size: 22px;
  line-height: 1;
}

.text-action {
  padding: 0 10px;
  font-size: 11px;
  text-transform: uppercase;
}

.section-title span {
  width: 28px;
  height: 1px;
  background: #20d448;
}

.section-title h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0;
  text-align: center;
}

.services-section,
.service-grid {
  min-width: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.service-grid article {
  min-height: 194px;
  display: grid;
  grid-template-rows: 88px auto 1fr;
  justify-items: center;
  text-align: center;
  gap: 8px;
  align-content: start;
  border: 1px solid var(--service-card-border);
  border-radius: 14px;
  padding: 20px 16px 18px;
  background: linear-gradient(180deg, rgba(7, 27, 16, 0.97), rgba(4, 17, 10, 0.98));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  overflow: hidden;
}

[data-theme="dark"] .service-grid article {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(245, 239, 227, 0.98));
}

.service-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(32, 212, 72, 0.6);
  box-shadow: 0 18px 34px rgba(7, 27, 16, 0.2);
}

.service-grid article:hover img {
  transform: scale(1.06);
}

.service-grid img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: var(--service-icon-filter);
  transition: transform 180ms ease;
}

.service-card[data-service-icon="tree-removal"] img,
.service-card[data-service-icon="crown-reduction"] img,
.service-card[data-service-icon="seasonal-cleanup"] img {
  padding: 7px;
}

.service-card[data-service-icon="tree-cabling"] img,
.service-card[data-service-icon="root-services"] img {
  padding: 10px;
}


.service-grid strong {
  color: var(--service-title);
  font-size: 14px;
  line-height: 1.18;
}

.service-grid span {
  color: var(--service-copy);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.gallery-section,
.reviews-section {
  display: grid;
  gap: 0;
  min-width: 0;
}

.gallery-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 12px;
  padding-bottom: 4px;
  scrollbar-width: none;
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
}

.gallery-grid::-webkit-scrollbar,
.review-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex: 0 0 clamp(300px, 28vw, 520px);
  max-width: calc(100vw - 36px);
  scroll-snap-align: start;
  position: relative;
  min-height: 224px;
  overflow: hidden;
  border: 1px solid var(--service-card-border);
  border-radius: 8px;
  background: var(--service-card-bg);
}

.gallery-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(32, 212, 72, 0.34);
}

.gallery-card:hover > img {
  transform: scale(1.035);
}

.gallery-card > img {
  transition: transform 400ms ease;
}

.gallery-large {
  flex-basis: clamp(440px, 38vw, 680px);
  min-height: 224px;
}

.gallery-card > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.gallery-card > div:not(.video-frame) {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: 42px 14px 14px;
  background: linear-gradient(180deg, rgba(4, 17, 10, 0), rgba(4, 17, 10, 0.9) 48%, rgba(4, 17, 10, 0.98));
}

.gallery-card strong,
.review-card strong {
  color: #20d448;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-card span {
  color: var(--home-text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.video-card {
  flex-basis: clamp(360px, 34vw, 560px);
  max-width: calc(100vw - 36px);
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  min-height: 134px;
}

.video-frame {
  min-height: 134px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 128, 0, 0.24), rgba(139, 75, 31, 0.2)),
    url("/shared/assets/production/decor/wood_ring_badge.svg") center / 92px no-repeat,
    var(--home-deep);
}

.video-frame img {
  width: 38px;
  height: 38px;
  filter: brightness(0) invert(1);
}

.video-card > div:not(.video-frame) {
  position: static;
  align-content: center;
  padding: 16px;
  background: linear-gradient(90deg, rgba(4, 17, 10, 0.92), rgba(4, 17, 10, 0.98));
}

.review-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 12px;
  padding-bottom: 4px;
  scrollbar-width: none;
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
}

.review-card {
  flex: 0 0 min(380px, 82vw);
  max-width: calc(100vw - 36px);
  scroll-snap-align: start;
  min-height: 260px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-content: stretch;
  gap: 8px;
  border: 1px solid var(--service-card-border);
  border-radius: 8px;
  padding: 16px;
  background: var(--service-card-bg);
  animation: cardRise 420ms ease both;
}

.review-card-accent {
  border-color: rgba(217, 137, 0, 0.55);
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stars {
  color: var(--brand-gold);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
}

.review-card p {
  margin: 0;
  color: var(--service-copy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-meta {
  color: var(--brand-gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.review-link {
  border: 1px solid rgba(32, 212, 72, 0.42);
  background: transparent;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(32, 212, 72, 0.42);
  border-radius: 7px;
  padding: 0 10px;
  color: #20d448;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.review-link.secondary {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.side-column {
  display: grid;
  gap: 14px;
}

.quick-estimate-card,
.coverage-card {
  border: 1px solid rgba(7, 27, 16, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 250, 240, 0.97);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.short-estimate-card {
  position: sticky;
  top: 12px;
}

.form-kicker {
  margin: 0 0 4px;
  color: #087a27;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-estimate-card h2,
.coverage-card h3 {
  margin: 0 0 6px;
  color: #087a27;
  font-size: 17px;
}

.quick-estimate-card p,
.coverage-card p {
  margin: 0 0 10px;
  color: #142117;
  font-size: 12px;
  font-weight: 650;
}

.form-grid.compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid.quick-only {
  grid-template-columns: 1fr;
}

.availability-board {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(8, 122, 39, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(0, 128, 0, 0.055);
}

.availability-intro {
  display: grid;
  gap: 3px;
}

.availability-intro strong {
  color: #064617;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.availability-intro span {
  color: #425146;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.35;
}

.availability-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.availability-day {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.availability-day header {
  border-bottom: 1px solid rgba(8, 122, 39, 0.16);
  padding-bottom: 4px;
  color: #087a27;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.availability-day > div {
  display: grid;
  gap: 6px;
}

.availability-slot {
  min-height: 72px;
  display: grid;
  gap: 3px;
  align-content: center;
  border: 1px solid rgba(8, 122, 39, 0.2);
  border-radius: 7px;
  padding: 7px;
  background: #fffdf7;
  color: #142117;
  cursor: pointer;
}

.availability-slot span,
.availability-slot strong,
.availability-slot small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.availability-slot span {
  color: #087a27;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.availability-slot strong {
  font-size: 11px;
  font-weight: 900;
}

.availability-slot small {
  width: fit-content;
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(0, 128, 0, 0.1);
  color: #064617;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.availability-slot small[data-status="limited"] {
  background: rgba(242, 165, 26, 0.16);
  color: #7b4700;
}

.availability-slot.is-selected {
  border-color: #087a27;
  background: linear-gradient(135deg, #087a27, #008000);
  color: white;
  box-shadow: 0 10px 22px rgba(0, 128, 0, 0.2);
}

.availability-slot.is-selected span,
.availability-slot.is-selected strong {
  color: white;
}

.availability-slot.is-selected small {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.quick-estimate-card label {
  display: grid;
  gap: 4px;
  color: #142117;
  font-size: 11px;
  font-weight: 800;
}

.quick-estimate-card input,
.quick-estimate-card select,
.quick-estimate-card textarea,
.estimate-dialog input,
.estimate-dialog select,
.estimate-dialog textarea,
.emergency-dialog input,
.emergency-dialog select,
.emergency-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px;
  background: white;
  color: #142117;
  font-size: 12px;
}

.estimate-dialog label,
.emergency-dialog label,
.request-form label {
  display: grid;
  gap: 5px;
  color: #142117;
  font-size: 12px;
  font-weight: 850;
}

.address-autocomplete-anchor {
  position: relative;
  z-index: 6;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 4px;
  max-height: min(300px, 48vh);
  overflow: auto;
  border: 1px solid rgba(8, 122, 39, 0.28);
  border-radius: 7px;
  padding: 6px;
  background: #fffdf7;
  box-shadow: 0 18px 34px rgba(7, 27, 16, 0.22);
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestions button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 9px 10px;
  background: transparent;
  color: #142117;
  text-align: left;
  cursor: pointer;
}

.address-suggestions button.is-exact {
  border-left: 4px solid #087a27;
}

.address-suggestions button.is-approximate {
  border-left: 4px solid var(--brand-gold);
}


.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  border-color: rgba(8, 122, 39, 0.3);
  outline: none;
  background: rgba(8, 122, 39, 0.08);
}

.address-suggestions span {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-suggestions em {
  grid-column: 1 / -1;
  min-width: 0;
  color: #536058;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-suggestions small {
  border-radius: 999px;
  padding: 3px 6px;
  background: rgba(8, 122, 39, 0.12);
  color: #087a27;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.address-suggestion-empty {
  padding: 10px;
  color: #526157;
  font-size: 12px;
  font-weight: 800;
}

.estimate-dialog input[type="checkbox"],
.emergency-dialog input[type="checkbox"] {
  width: auto;
}

.mini-checks {
  display: flex;
  gap: 12px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.mini-checks label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.terms-check {
  display: flex !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 8px !important;
  margin: 8px 0;
  line-height: 1.3;
}

.terms-check input {
  width: auto;
  margin-top: 2px;
}

.submit-estimate,
.emergency-dialog form > button[type="submit"] {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #c66d00, #e08a00);
  color: white;
  font-weight: 950;
}

.secure-note,
[role="status"] {
  min-height: 18px;
  color: #4f5d54;
  font-size: 11px;
  font-weight: 800;
}

.map-preview {
  min-height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    radial-gradient(circle at center, rgba(0, 128, 0, 0.18) 0 38%, transparent 39%),
    linear-gradient(90deg, rgba(0, 128, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 128, 0, 0.08) 1px, transparent 1px),
    #f3eadc;
  background-size: auto, 22px 22px, 22px 22px, auto;
  color: var(--brand-green);
  font-weight: 950;
}

.trust-cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(210px, 1.1fr) minmax(190px, 0.9fr);
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--home-deep);
}

.trust-cta-strip article,
.trust-cta-strip a {
  min-height: 82px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding: 13px 16px;
  color: var(--home-text);
  background: linear-gradient(180deg, rgba(8, 65, 25, 0.82), rgba(4, 17, 10, 0.98));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.trust-cta-strip article:hover,
.trust-cta-strip a:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.trust-cta-strip article:last-child,
.trust-cta-strip a:last-child {
  border-right: 0;
}

.trust-cta-strip img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.trust-cta-strip strong,
.trust-cta-strip span {
  display: block;
}

.trust-cta-strip strong {
  color: var(--home-text);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.trust-cta-strip span {
  margin-top: 3px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.trust-cta-strip .strip-phone {
  background:
    linear-gradient(90deg, rgba(65, 30, 9, 0.72), rgba(139, 75, 31, 0.92)),
    url("/shared/assets/production/decor/wood_texture_strip.svg") center / cover;
}

.trust-cta-strip .strip-estimate {
  background: linear-gradient(135deg, #c87900, var(--brand-gold));
}

.trust-cta-strip .strip-estimate img {
  filter: brightness(0) invert(1);
}

.trust-cta-strip .strip-estimate strong,
.trust-cta-strip .strip-estimate span {
  color: white;
}


.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

button.is-busy,
.submit-estimate.is-busy,
.request-form button[type="submit"].is-busy {
  position: relative;
  pointer-events: none;
  opacity: 0.88;
}

button.is-busy::after,
.submit-estimate.is-busy::after,
.request-form button[type="submit"].is-busy::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  display: inline-block;
  vertical-align: -2px;
  animation: spin360 0.8s linear infinite;
}

.carousel-active {
  scroll-behavior: smooth;
}

@keyframes spin360 {
  to { transform: rotate(360deg); }
}

@keyframes loaderSweep {
  0% { transform: translateX(-110%); }
  55% { transform: translateX(140%); }
  100% { transform: translateX(140%); }
}
@media (min-width: 901px) {
  body {
    padding-bottom: 84px;
  }

  .trust-cta-strip {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    box-shadow: 0 -14px 34px rgba(7, 27, 16, 0.24);
  }
}

.public-footer {
  border-top: 4px solid var(--brand-wood);
  background:
    linear-gradient(180deg, rgba(4, 17, 10, 0.96), rgba(4, 17, 10, 1)),
    url("/shared/assets/production/decor/leaves_pattern.svg") center / 520px;
  color: var(--home-text);
}

.footer-inner {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(20px, 2vw, 34px);
  margin: 0;
  padding: 34px clamp(16px, 4vw, 64px) 28px;
}

.public-footer section {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 4px;
}

.public-footer h3 {
  margin: 0 0 6px;
  color: #20d448;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-footer p,
.public-footer span,
.public-footer a {
  color: rgba(255, 250, 240, 0.84);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.public-footer a {
  width: fit-content;
}

.public-footer a:hover {
  color: #20d448;
}

.footer-phone {
  color: white;
  font-size: 24px;
  font-weight: 950;
}

.footer-phone.secondary {
  font-size: 17px;
  color: rgba(255, 250, 240, 0.86);
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.social-link img {
  width: 19px;
  height: 19px;
  filter: none;
}

.footer-bottom {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px clamp(16px, 4vw, 64px) 22px;
}

.footer-bottom a {
  color: white;
  font-weight: 950;
}

.mobile-approved {
  display: none;
}

.mobile-menu {
  display: none;
}

.emergency-modal[hidden] {
  display: none;
}

.emergency-modal,
.estimate-modal,
.gallery-modal,
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 17, 10, 0.74);
}

.estimate-modal[hidden],
.gallery-modal[hidden],
.review-modal[hidden] {
  display: none;
}

.emergency-dialog,
.estimate-dialog,
.gallery-dialog,
.review-dialog {
  position: relative;
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  border: 2px solid var(--danger);
  border-radius: 8px;
  padding: 22px;
  background: #fff9ef;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.estimate-dialog {
  width: min(980px, 100%);
  grid-template-columns: 260px minmax(0, 1fr);
  max-height: min(92vh, 860px);
  overflow: auto;
}

.request-dialog {
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 1fr);
  max-height: min(94vh, 940px);
  overflow: auto;
  border-color: rgba(0, 128, 0, 0.75);
}

.emergency-dialog.request-dialog {
  border-color: var(--danger);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.98), rgba(255, 244, 232, 0.98)),
    radial-gradient(circle at top right, rgba(198, 40, 40, 0.16), transparent 36%);
}

.estimate-dialog-copy {
  border-right: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 48px 16px 0;
}

.request-dialog .estimate-dialog-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 8px 28px;
  align-items: end;
}

.request-dialog .estimate-dialog-copy .form-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.request-dialog .estimate-dialog-copy p:not(.form-kicker) {
  margin: 0;
  max-width: 560px;
  align-self: end;
  color: #24372b;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.emergency-dialog-copy {
  border-bottom-color: rgba(198, 40, 40, 0.24);
}

.estimate-dialog-copy h2,
.review-dialog h2 {
  margin: 0 0 10px;
  color: #064617;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.estimate-dialog form {
  display: grid;
  gap: 10px;
}

.request-form {
  display: grid;
  gap: 16px;
}

.request-block {
  display: grid;
  gap: 13px;
  border: 1px solid rgba(8, 122, 39, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 253, 247, 0.78);
}

.request-block h3 {
  margin: 0;
  color: #087a27;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.emergency-block {
  border-color: rgba(198, 40, 40, 0.22);
}

.emergency-block h3,
.emergency-service-dropdown summary {
  color: var(--danger);
}


.field-hint {
  margin-top: -2px;
  color: #5a665d;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}

.field-hint.emergency-hint {
  color: #7d2b22;
}

.media-error-title,
.media-preview li {
  color: var(--danger);
}

.media-preview ul {
  margin: 0;
  padding-left: 18px;
}

.map-confirmation[data-location-quality="approximate"] {
  border-color: rgba(242, 165, 26, 0.38);
}

.map-confirmation[data-location-quality="manual"] {
  border-color: rgba(8, 122, 39, 0.48);
}

.address-grid {
  grid-template-columns: minmax(0, 2fr) minmax(150px, 0.8fr) minmax(92px, 0.42fr) minmax(130px, 0.55fr);
}

.wide-field,
.wide-option {
  grid-column: 1 / -1;
}

.map-confirmation {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  align-items: stretch;
  border: 1px solid rgba(8, 122, 39, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(247, 243, 232, 0.82);
}

.map-visual {
  min-height: clamp(320px, 42vh, 470px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    radial-gradient(circle at 58% 48%, rgba(0, 128, 0, 0.2) 0 20%, transparent 21%),
    linear-gradient(90deg, rgba(0, 128, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 128, 0, 0.08) 1px, transparent 1px),
    #f3eadc;
  background-size: auto, var(--map-grid-size, 28px) var(--map-grid-size, 28px), var(--map-grid-size, 28px) var(--map-grid-size, 28px), auto;
}

.map-confirmation > div:not(.map-visual) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.map-zoom-controls {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 16, 0.16);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(7, 27, 16, 0.18);
}

.map-zoom-controls button {
  width: 36px;
  height: 36px;
  border: 0;
  border-bottom: 1px solid rgba(7, 27, 16, 0.16);
  background: rgba(255, 253, 247, 0.96);
  color: #064617;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.map-zoom-controls button:last-child {
  border-bottom: 0;
}

.emergency-map .map-zoom-controls button {
  color: var(--danger);
}

.emergency-map .map-visual {
  background:
    radial-gradient(circle at 58% 48%, rgba(198, 40, 40, 0.18) 0 20%, transparent 21%),
    linear-gradient(90deg, rgba(198, 40, 40, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(198, 40, 40, 0.08) 1px, transparent 1px),
    #fff4e8;
}

.map-visual > .fallback-map-pin {
  width: 28px;
  height: 28px;
  border: 8px solid #087a27;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(var(--map-pin-scale, 1));
  box-shadow: 0 8px 18px rgba(7, 27, 16, 0.18);
}

.emergency-map .map-visual > .fallback-map-pin {
  border-color: var(--danger);
}

.map-visual strong {
  position: absolute;
  left: 10px;
  bottom: 8px;
  color: #064617;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-visual.leaflet-container {
  display: block;
  z-index: 0;
}

.map-visual.leaflet-container > .map-zoom-controls,
.map-visual.leaflet-container > .fallback-map-pin {
  display: none;
}

.map-visual.leaflet-container > strong {
  pointer-events: none;
}

.map-visual.leaflet-container strong {
  z-index: 500;
  border-radius: 6px;
  padding: 4px 6px;
  background: rgba(255, 253, 247, 0.9);
}

.map-visual .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(7, 27, 16, 0.2);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(7, 27, 16, 0.18);
}

.map-visual .leaflet-control-zoom a,
.map-visual .leaflet-control-zoom a:hover {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 1px solid rgba(7, 27, 16, 0.15);
  border-radius: 0;
  background: rgba(255, 253, 247, 0.98);
  color: #064617;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  text-indent: 0;
}

.map-visual .leaflet-control-zoom a:last-child {
  border-bottom: 0;
}

.emergency-map .map-visual .leaflet-control-zoom {
  border-color: rgba(198, 40, 40, 0.28);
}

.emergency-map .map-visual .leaflet-control-zoom a,
.emergency-map .map-visual .leaflet-control-zoom a:hover {
  color: var(--danger);
}

.gio-map-marker {
  width: 30px !important;
  height: 38px !important;
  background: transparent;
  border: 0;
}

.gio-map-marker::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 24px;
  height: 24px;
  border: 7px solid #087a27;
  border-radius: 50% 50% 50% 0;
  background: #fffdf7;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(7, 27, 16, 0.24);
}

.gio-map-marker.emergency::before {
  border-color: var(--danger);
}

.map-confirmation p {
  margin: 0;
  color: #24372b;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.coverage-result {
  border-left: 4px solid #087a27;
  border-radius: 6px;
  padding: 7px 8px;
  background: rgba(0, 128, 0, 0.08);
  color: #064617 !important;
  font-weight: 950 !important;
  text-transform: none !important;
}

.coverage-result[data-coverage-status="review"] {
  border-left-color: var(--brand-gold);
  background: rgba(242, 165, 26, 0.14);
}

.coverage-result[data-coverage-status="out_of_area"] {
  border-left-color: var(--danger);
  background: rgba(198, 40, 40, 0.1);
  color: #7d1c16 !important;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-actions button,
.map-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 122, 39, 0.28);
  border-radius: 7px;
  padding: 0 10px;
  background: white;
  color: #087a27;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.emergency-map .map-actions button,
.emergency-map .map-actions a {
  border-color: rgba(198, 40, 40, 0.28);
  color: var(--danger);
}

.map-check {
  margin-bottom: 0;
}

.media-preview {
  min-height: 54px;
  display: grid;
  gap: 10px;
  border: 1px dashed rgba(8, 122, 39, 0.32);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 253, 247, 0.78);
  color: #4f5d54;
  font-size: 12px;
  font-weight: 800;
}

.emergency-block .media-preview {
  border-color: rgba(198, 40, 40, 0.32);
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}

.media-preview-card {
  display: grid;
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
}

.media-preview-card img,
.media-preview-card video {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  background: #071b10;
}

.media-preview-card span {
  padding: 0 8px 8px;
  color: #142117;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin: 0;
}

.service-choice legend {
  padding: 0 6px;
  color: #087a27;
  font-weight: 950;
  text-transform: uppercase;
}

.service-choice label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #142117;
  font-size: 12px;
  font-weight: 850;
}

.service-choice input {
  width: auto;
}

.request-options,
.emergency-triage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin: 0;
}

.request-options legend,
.emergency-triage legend {
  padding: 0 6px;
  color: #087a27;
  font-weight: 950;
  text-transform: uppercase;
}

.emergency-triage legend,
.emergency-options legend {
  color: var(--danger);
}

.request-options label,
.emergency-triage label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #142117;
  font-size: 12px;
  font-weight: 850;
}

.request-options .wide-option {
  display: grid;
  align-items: stretch;
}

.service-dropdown {
  border: 1px solid rgba(198, 40, 40, 0.3);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

.service-dropdown summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.service-dropdown-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid rgba(198, 40, 40, 0.18);
  padding: 12px;
}

.service-dropdown-list label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.safety-alert {
  display: grid;
  gap: 5px;
  border: 2px solid var(--danger);
  border-radius: 8px;
  padding: 12px;
  background: #fff0ec;
  color: var(--danger);
}

.safety-alert[hidden] {
  display: none;
}

.safety-alert strong {
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.safety-alert span {
  color: #571515;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.gallery-dialog,
.review-dialog {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: 1fr;
}

.gallery-more-grid,
.review-destination-grid,
.review-full-list {
  display: grid;
  gap: 12px;
}

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

.gallery-more-grid img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.review-full-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 52vh;
  overflow: auto;
  padding-right: 4px;
}

.review-full-list article {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffdf7;
  color: #142117;
}

.review-full-list strong {
  color: #087a27;
  font-size: 15px;
}

.review-full-list p {
  margin: 0;
  color: #142117;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.review-destination-grid a {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f7f2e8;
  color: #064617;
}

.review-destination-grid strong {
  color: #087a27;
  font-size: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--danger);
  color: white;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.emergency-dialog-copy > .form-kicker {
  margin: 0 0 6px;
  color: var(--danger);
  font-weight: 950;
  text-transform: uppercase;
}

.emergency-dialog-copy > p:not(.form-kicker) {
  margin: 0;
  color: #571515;
  font-weight: 820;
  line-height: 1.45;
  text-transform: none;
}

.emergency-dialog-copy h2 {
  margin: 0;
  padding-right: 38px;
  color: #064617;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.emergency-dialog form {
  display: grid;
  gap: 16px;
}

.emergency-dialog form > button[type="submit"] {
  background: var(--danger);
}

@media (max-width: 1180px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .main-column {
    display: grid;
    align-content: start;
    align-self: start;
    gap: 16px;
    min-width: 0;
  }

  .discount-band,
  .services-section,
  .gallery-section,
  .reviews-section,
  .side-column {
    grid-column: auto;
    grid-row: auto;
  }

  .side-column {
    order: -1;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
    align-items: start;
  }

  .short-estimate-card {
    position: static;
  }

  .gallery-card {
    flex-basis: clamp(300px, 36vw, 430px);
  }

  .gallery-large {
    flex-basis: clamp(440px, 52vw, 600px);
  }

  .video-card {
    flex-basis: clamp(360px, 44vw, 540px);
  }

  .review-card {
    flex-basis: min(360px, 42vw);
  }
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .public-nav {
    grid-template-columns: 190px 1fr;
    padding: 12px 18px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .brand-seal .logo-light,
  .brand-seal .logo-dark {
    width: 72px;
    height: 72px;
  }

  .brand-wordmark strong {
    font-size: 24px;
  }

  .brand-wordmark small {
    font-size: 12px;
  }

  .nav-tools {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .hero-approved,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .side-column {
    order: -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .discount-band {
    width: 100%;
    margin-left: 0;
  }

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

  .trust-cta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-cta-strip article,
  .trust-cta-strip a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .review-card {
    flex-basis: min(360px, 72vw);
  }
}

@media (max-width: 980px) {
  .top-strip {
    gap: 16px;
    text-align: center;
  }

  .public-nav {
    grid-template-columns: minmax(180px, 1fr) auto;
  }

  .public-nav nav {
    grid-column: 1 / -1;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .nav-tools {
    grid-column: auto;
  }

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

  .section-heading-row {
    display: grid;
    justify-items: center;
  }

  .section-actions {
    justify-content: center;
  }

  .gallery-large {
    flex-basis: min(420px, calc(100vw - 36px));
  }

  .gallery-card,
  .video-card {
    flex-basis: min(360px, calc(100vw - 36px));
  }
}

@media (min-width: 901px) and (max-width: 1050px) {
  body {
    padding-bottom: 78px;
  }

  .trust-cta-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .trust-cta-strip article,
  .trust-cta-strip a {
    min-height: 76px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    border-bottom: 0;
    padding: 10px 8px;
  }

  .trust-cta-strip img {
    width: 30px;
    height: 30px;
  }

  .trust-cta-strip strong {
    font-size: 10px;
  }

  .trust-cta-strip span {
    font-size: 9px;
  }
}

@media (max-width: 900px) {
  body {
    background: var(--brand-cream);
  }

  .site-shell {
    padding: 0;
  }

  .top-strip,
  .hero-approved,
  .discount-band {
    display: none;
  }

  .public-nav {
    display: none;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  .mobile-approved {
    order: 0;
    display: block;
    padding: 0;
    background: var(--mode-bg);
  }

  .content-grid {
    order: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px 96px;
    max-width: none;
    background: var(--mode-bg);
  }

  .side-column {
    order: -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-grid.compact {
    grid-template-columns: 1fr;
  }

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

  .gallery-large {
    min-height: 190px;
  }

  .video-card {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 142px;
    padding: 12px 10px;
  }

  .service-grid img {
    width: 54px;
    height: 54px;
  }

  .phone-card {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-bottom: 78px;
    background: var(--surface);
  }

  .mobile-top-actions {
    display: grid;
    grid-template-columns: 0.74fr 1.26fr;
    min-height: 30px;
    background: var(--brand-green);
    color: white;
    font-size: 10px;
    font-weight: 950;
    text-align: center;
  }

  .mobile-top-actions span {
    display: grid;
    place-items: center;
    padding: 4px;
    line-height: 1.1;
  }

  .mobile-nav {
    height: 88px;
    display: grid;
    grid-template-columns: 44px 1fr 78px 40px;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--surface);
  }

  .mobile-nav button {
    border: 0;
    background: transparent;
    color: var(--brand-dark);
    font-size: 25px;
    font-weight: 900;
  }

  [data-theme="dark"] .mobile-nav button {
    color: var(--text);
  }

  .mobile-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }

  .mobile-brand img {
    justify-self: center;
    width: 94px;
    height: 94px;
    object-fit: contain;
  }

  .mobile-brand .logo-dark {
    display: none;
  }

  [data-theme="dark"] .mobile-brand .logo-light {
    display: none;
  }

  [data-theme="dark"] .mobile-brand .logo-dark {
    display: block;
  }

  .mobile-lang-toggle {
    min-height: 36px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: transparent;
    font-size: 12px;
    font-weight: 950;
  }

  .mobile-menu:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 14px 14px;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-menu a {
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--brand-green-dark);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-hero {
    height: 185px;
    background: url("/shared/assets/production/hero-arborist-clean.jpg") center / cover no-repeat;
  }

  .mobile-message {
    position: relative;
    z-index: 1;
    width: calc(100% - 28px);
    margin: -22px auto 0;
    border-radius: 8px;
    padding: 18px 14px 12px;
    background: var(--surface);
    box-shadow: 0 8px 28px rgba(7, 27, 16, 0.16);
    text-align: center;
  }

  .mobile-message h2 {
    margin: 0 0 12px;
    color: var(--brand-green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.15;
  }

  .trust-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 12px;
  }

  .trust-chips span {
    display: grid;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 4px;
    color: var(--brand-green-dark);
    background: rgba(0, 128, 0, 0.03);
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    text-align: center;
  }

  .trust-chips img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .trust-chips em {
    font-style: normal;
    line-height: 1.15;
  }

  .mobile-primary,
  .mobile-secondary {
    min-height: 46px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    margin-top: 8px;
    padding: 0 14px;
    font-weight: 950;
    text-transform: uppercase;
    text-align: left;
  }

  .mobile-primary {
    background: var(--brand-green);
    color: white;
  }

  .mobile-primary img,
  .mobile-secondary img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .mobile-primary img {
    filter: brightness(0) invert(1);
  }

  .mobile-secondary {
    border: 1px solid var(--brand-green);
    color: var(--brand-green-dark);
    background: transparent;
  }

  .mobile-primary span,
  .mobile-secondary span {
    display: block;
    min-width: 0;
    line-height: 1.15;
  }

  .mobile-call-secondary span {
    overflow-wrap: anywhere;
  }

  .mobile-discounts {
    width: calc(100% - 28px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 12px auto;
    border: 1px solid var(--brand-wood);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
  }

  .mobile-discounts span {
    min-height: 96px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    border-right: 1px solid var(--line);
    padding: 10px 4px;
    color: var(--brand-green-dark);
    font-size: 10px;
    font-weight: 950;
    text-align: center;
  }

  .mobile-discounts img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .mobile-discounts em {
    font-style: normal;
    line-height: 1.15;
  }

  .mobile-discounts span:last-child {
    border-right: 0;
  }

  .mobile-services {
    width: calc(100% - 28px);
    margin: 0 auto;
  }

  .mobile-services strong {
    display: flex;
    justify-content: space-between;
    color: var(--brand-green);
    font-size: 14px;
    text-transform: uppercase;
  }

  .mobile-services strong a {
    color: var(--text);
    font-size: 12px;
    text-transform: none;
  }

  .mobile-services div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 8px;
  }

  .mobile-services span {
    min-height: 94px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 6px;
    color: var(--brand-green-dark);
    background: rgba(0, 128, 0, 0.03);
    font-size: 10px;
    font-weight: 900;
    text-align: center;
  }

  .mobile-services img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .mobile-services em {
    font-style: normal;
    line-height: 1.15;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--brand-green);
    box-shadow: 0 -8px 22px rgba(7, 27, 16, 0.2);
  }

  .mobile-tabbar a {
    min-height: 62px;
    display: grid;
    place-items: center;
    padding: 0 8px;
    color: white;
    font-weight: 950;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.05;
  }

  .mobile-tabbar a:nth-child(2) {
    background: var(--brand-gold);
  }

  .public-footer {
    display: block;
    margin-bottom: 62px;
  }

  .trust-cta-strip {
    grid-template-columns: 1fr;
    max-width: none;
    margin-bottom: 0;
  }

  .trust-cta-strip article,
  .trust-cta-strip a {
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px 14px;
  }

  .trust-cta-strip img {
    width: 32px;
    height: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 16px 20px;
  }

  .footer-brand img {
    width: 190px;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 16px 22px;
  }

  .emergency-dialog,
  .request-dialog {
    grid-template-columns: 1fr;
    padding: 20px 14px 14px;
  }

  .estimate-dialog,
  .gallery-dialog,
  .review-dialog {
    grid-template-columns: 1fr;
    padding: 20px 14px 14px;
  }

  .estimate-dialog-copy,
  .emergency-dialog-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 34px 12px 0;
  }

  .request-dialog .estimate-dialog-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-choice,
  .service-dropdown-list,
  .request-options,
  .emergency-triage,
  .availability-days,
  .gallery-more-grid,
  .review-destination-grid,
  .review-full-list {
    grid-template-columns: 1fr;
  }

  .form-grid.compact,
  .address-grid,
  .map-confirmation {
    grid-template-columns: 1fr;
  }

  .map-visual {
    min-height: 224px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    justify-items: stretch;
  }
}

@media (max-width: 520px) {
  .emergency-modal,
  .estimate-modal,
  .gallery-modal,
  .review-modal {
    padding: 10px;
  }

  .request-dialog,
  .estimate-dialog,
  .emergency-dialog {
    padding: 18px 12px 12px;
  }

  .request-block {
    padding: 13px;
  }

  .estimate-dialog-copy,
  .emergency-dialog-copy {
    padding-right: 28px;
  }

  .map-visual {
    min-height: 280px;
  }

  .gallery-card,
  .gallery-large {
    min-height: 176px;
  }

  .map-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 9px;
  }

  .service-grid article {
    min-height: 146px;
    padding: 12px 8px;
  }

  .service-grid strong {
    font-size: 12px;
  }

  .service-grid span {
    font-size: 10px;
  }

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

  .mobile-discounts span:nth-child(2) {
    border-right: 0;
  }

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

/* ========================================================================== */
/* HOME V30D — regression-safe visual correction                              */
/* Restores approved V30B icon family and prevents overlays/cropped content.  */
/* ========================================================================== */

/* The information remains elsewhere on the page; remove the top ribbon to
   recover vertical space and keep the hero actions fully visible. */
.top-strip {
  display: none !important;
}

/* Never cover Home content with the trust/contact strip. It now lives directly
   below the hero as a normal document section. */
body {
  padding-bottom: 0 !important;
}

.trust-cta-strip {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  margin: 0 !important;
  box-shadow: 0 14px 34px rgba(7, 27, 16, 0.16);
}

/* Gold CTA must maintain a controlled, readable dark-forest text in every
   theme. It must never inherit the bright-green dark-theme token. */
.schedule-link,
[data-theme="dark"] .schedule-link,
[data-theme="light"] .schedule-link {
  color: #071b10 !important;
  background: linear-gradient(180deg, #f6b62a 0%, #d98900 100%) !important;
  border: 1px solid rgba(109, 63, 0, 0.36);
  text-shadow: none !important;
}

.schedule-link:hover,
.schedule-link:focus-visible {
  color: #071b10 !important;
  background: linear-gradient(180deg, #ffc94b 0%, #e59a08 100%) !important;
}

/* Restore the exact approved V30B service-card treatment. */
[data-theme="light"] {
  --service-card-bg: #fffdf7;
  --service-card-border: #d8d3c6;
  --service-title: #0f3b1d;
  --service-copy: #26372c;
  --service-icon-filter: none;
  --icon-frame-bg: transparent;
  --icon-frame-border: transparent;
}

[data-theme="dark"] {
  --service-card-bg: #071b10;
  --service-card-border: rgba(247, 243, 232, 0.2);
  --service-title: #f7f3e8;
  --service-copy: rgba(247, 243, 232, 0.82);
  --service-icon-filter: brightness(0) saturate(100%) invert(96%) sepia(11%) saturate(400%) hue-rotate(336deg) brightness(106%) contrast(94%);
  --icon-frame-bg: transparent;
  --icon-frame-border: transparent;
}

.service-grid {
  gap: 14px;
}

.service-grid article,
[data-theme="dark"] .service-grid article,
[data-theme="light"] .service-grid article {
  min-height: 218px;
  grid-template-rows: 108px auto 1fr;
  gap: 9px;
  border-radius: 12px;
  padding: 17px 15px 16px;
  background: var(--service-card-bg) !important;
  box-shadow: 0 8px 20px rgba(7, 27, 16, 0.07);
}

.service-grid .service-card img {
  width: 102px;
  height: 102px;
  max-width: 100%;
  object-fit: contain;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: var(--service-icon-filter);
}

.service-grid strong {
  color: var(--service-title);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.16;
}

.service-grid span {
  color: var(--service-copy);
  font-size: 12px;
  line-height: 1.36;
}

/* Approved promotional icon family. */
.discount-band img {
  width: 46px;
  height: 46px;
  filter: none !important;
}

[data-theme="dark"] .discount-band img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(91%) saturate(2089%) hue-rotate(77deg) brightness(105%) contrast(105%) !important;
}

.hero-trust img,
.trust-cta-strip img {
  filter: brightness(0) invert(1) !important;
}

/* Compact, deterministic gallery height. These explicit heights override all
   earlier min-height rules and prevent a regression to oversized photography. */
.gallery-card,
.gallery-large,
.video-card {
  height: 190px !important;
  min-height: 190px !important;
}

.gallery-card > img {
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
}

.video-frame {
  min-height: 190px !important;
}

.gallery-card {
  flex-basis: clamp(280px, 23vw, 390px);
}

.gallery-large {
  flex-basis: clamp(350px, 30vw, 480px);
}

.video-card {
  flex-basis: clamp(320px, 28vw, 440px);
}

@media (min-width: 1181px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-grid article:last-child {
    grid-column: 2 / span 2;
    width: min(100%, 470px);
    justify-self: center;
  }
}

@media (max-width: 1050px) and (min-width: 901px) {
  .public-nav {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .brand-mark,
  .brand-seal .logo-light,
  .brand-seal .logo-dark {
    width: 68px;
    height: 68px;
  }

  .brand-mark {
    flex-basis: 68px;
  }

  .brand-wordmark strong {
    font-size: 23px;
  }

  .brand-wordmark small {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .trust-cta-strip {
    order: 2;
  }

  .service-grid article,
  [data-theme="dark"] .service-grid article,
  [data-theme="light"] .service-grid article {
    min-height: 180px;
    grid-template-rows: 74px auto 1fr;
    padding: 13px 10px;
  }

  .service-grid .service-card img {
    width: 70px;
    height: 70px;
  }

  .gallery-card,
  .gallery-large,
  .video-card {
    height: 166px !important;
    min-height: 166px !important;
    flex-basis: min(315px, calc(100vw - 36px));
  }

  .video-frame {
    min-height: 166px !important;
  }
}

@media (max-width: 520px) {
  .service-grid article,
  [data-theme="dark"] .service-grid article,
  [data-theme="light"] .service-grid article {
    min-height: 170px;
    grid-template-rows: 66px auto 1fr;
    gap: 6px;
  }

  .service-grid .service-card img {
    width: 62px;
    height: 62px;
  }

  .gallery-card,
  .gallery-large,
  .video-card {
    height: 154px !important;
    min-height: 154px !important;
  }

  .video-frame {
    min-height: 154px !important;
  }
}

/* GIOVANNIS_HOME_V30D2_ANTI_REGRESSION */
