/* Twin Hammers Roofing — site styles
   Brand: black, green #11883F, and white.
   Gold #FFC834 is reserved for star ratings only.
   Type: Oswald headings, Poppins body
*/
:root {
  --green: #11883F;
  --green-dark: #0c6a31;
  --green-light: #e8f6ee;
  --black: #000000;
  --black-soft: #141414;
  --white: #ffffff;
  --gold: #FFC834;
  --bg: #f3f6f3;
  --text: #1c1c1c;
  --muted: #5a5f5a;
  --line: #d5ddd6;
  --line-dark: #222222;
  --text-on-dark: #f2f2f2;
  --muted-on-dark: #c5ccc5;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --header: 5.75rem;
  --bar: 4.25rem;
  --max: 72rem;
  --font-head: "Oswald", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
.container { width: min(100% - 1.5rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 0.5rem; top: -4rem; background: var(--black); color: var(--white);
  padding: 0.5rem 0.8rem; z-index: 100; border-radius: 4px;
}
.skip-link:focus { top: 0.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.2rem; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; transition: 0.15s ease;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-light:hover { background: var(--green-light); color: var(--green-dark); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--black-soft); color: var(--white); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}

/* Top bar + header */
.topbar { background: var(--green); color: var(--white); font-size: 0.85rem; font-weight: 600; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--black);
  box-shadow: 0 1px 0 rgba(17, 136, 63, 0.45);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header);
}
.logo { flex: 0 0 auto; }
.logo img { height: 5rem; width: auto; border-radius: 6px; }
@media (min-width: 980px) { .logo img { height: 4.6rem; } }
.nav-toggle {
  margin-left: auto; width: 2.6rem; height: 2.6rem; border: 0; background: none;
  display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0.4rem;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 1px solid var(--line-dark); box-shadow: 0 16px 30px rgba(0,0,0,.4);  max-height: calc(100vh - var(--header)); max-height: calc(100dvh - var(--header)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 5.5rem; }
@media (min-width: 980px) { .site-nav.is-open { max-height: none; overflow: visible; padding-bottom: 0; } }
.nav-list { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.nav-list > li > a {
  display: block; padding: 0.7rem 1.25rem; color: var(--white); font-weight: 600;
  text-decoration: none;
}
.nav-list > li > a:hover { color: var(--green); }
.nav-list a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 3px 0 0 var(--green);
}
.sub-nav { list-style: none; margin: 0; padding: 0 0 0.4rem 1rem; background: var(--black-soft); }
.sub-nav a { display: block; padding: 0.45rem 1.25rem; color: var(--text-on-dark); text-decoration: none; font-size: 0.95rem; }
.sub-nav a:hover { color: var(--green); }
.sub-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-on-dark); padding: 0.7rem 1.25rem 0.2rem; list-style: none;
}
.header-actions { display: none; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--white); text-decoration: none; font-size: 0.8rem;
}
.rating-badge:hover { color: var(--white); }
.stars { color: var(--gold); letter-spacing: -1px; font-size: 0.95rem; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .header-inner { gap: 1.25rem; }
  .site-nav { display: block; flex: 1 1 auto; }
  .nav-list { display: flex; align-items: center; justify-content: center; gap: 0.15rem; padding: 0; }
  .nav-list > li > a { padding: 0.5rem 0.65rem; font-size: 0.95rem; }
  .nav-list a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--green);
  }
  .has-sub { position: relative; }
  .has-sub > .sub-nav {
    display: none; position: absolute; top: 100%; left: 0; min-width: 16rem;
    padding: 0.5rem 0; background: var(--black); border-radius: 10px;
    box-shadow: 0 16px 30px rgba(0,0,0,.4); border: 1px solid var(--line-dark); z-index: 20;
  }
  .has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav { display: block; }
  .header-actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
  .header-phone { font-size: 0.85rem; padding: 0.55rem 0.8rem; }
  .site-header .btn-outline {
    color: var(--white);
    border-color: var(--green);
  }
  .site-header .btn-outline:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
  }
}

/* Hero */
.hero {
  position: relative; color: var(--white);
  min-height: 32rem; display: flex; align-items: center;
  padding: 2.5rem 0 3rem;
  background: var(--black) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.66) 55%, rgba(0,0,0,.52) 100%);
}
.hero-grid, .hero-copy { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.7rem;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero-lead { font-size: 1.05rem; max-width: 38rem; color: var(--text-on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.25rem 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; margin: 0 0 1rem; }
.hero-badges li {
  background: var(--green); color: var(--white); font-size: 0.8rem; font-weight: 600;
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.hero-grid { display: grid; gap: 1.5rem; width: min(100% - 1.5rem, var(--max)); margin-inline: auto; }
.hero-form-card {
  background: var(--white); color: var(--text); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
@media (min-width: 900px) {
  .hero { min-height: 36rem; padding: 3.5rem 0; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2.5rem; }
}

/* Trust + sections */
.trust-bar { background: var(--black); color: var(--text-on-dark); padding: 1.1rem 0; border-top: 1px solid var(--line-dark); }
.trust-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem;
  list-style: none; padding: 0; margin: 0; font-size: 0.9rem;
}
.trust-list li { padding-left: 0; }
.trust-list strong { color: var(--white); }
@media (min-width: 800px) {
  .trust-list { grid-template-columns: repeat(6, 1fr); text-align: center; }
}
.section { padding: 3.5rem 0; }
.section-muted { background: var(--bg); }
.section-dark {
  background: var(--black);
  color: var(--text-on-dark);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p,
.section-dark li { color: var(--text-on-dark); }
.section-dark .eyebrow { color: var(--green); }
.section-dark a:not(.btn):not(.card) { color: var(--green); }
.section-dark a:not(.btn):not(.card):hover { color: var(--white); }
.section-dark .btn-outline { color: var(--white); border-color: var(--green); }
.section-dark .btn-outline:hover { background: var(--green); color: var(--white); }
.section-dark .checklist li::before {
  box-shadow: inset 0 0 0 3px var(--black);
}
.section-intro { max-width: 44rem; margin-bottom: 2rem; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.4rem;
}

/* Service cards */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column;
  text-decoration: none; color: var(--text); transition: transform 0.15s ease;
}
a.card:hover { transform: translateY(-3px); color: var(--text); }
.card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.card-body { padding: 1.15rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.card-body h2, .card-body h3 { font-size: 1.3rem; margin-bottom: 0.4em; color: var(--black); }
.card-body p { color: var(--muted); flex: 1; }
.card-link { font-weight: 600; color: var(--green); margin-top: 0.5rem; }

/* Split */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative; padding: 0.35rem 0 0.35rem 1.7rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px var(--green-light);
}

/* Reviews */
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .review-grid { grid-template-columns: 1fr 1fr 1fr; } }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow);
}
.review .stars { color: var(--gold); }
.review p { font-size: 0.95rem; }
.review footer { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* FAQ */
.faq-list { display: grid; gap: 0.6rem; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 0.95rem 1.1rem; list-style: none;
  font-family: var(--font-head); font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--green); }
.faq-item .faq-body { padding: 0 1.1rem 1.1rem; }

/* Forms */
.quote-form { display: grid; gap: 0.75rem; }
.form-kicker { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; margin: 0; }
.form-row { display: grid; gap: 0.25rem; }
.form-row label { font-size: 0.85rem; font-weight: 600; }
.req { color: var(--green); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; padding: 0.65rem 0.7rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--green);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: 0.2rem 0 0; font-size: 0.9rem; }
.form-status.is-ok { color: var(--green-dark); }
.form-status.is-err { color: #9b1c1c; }
.form-page { display: grid; gap: 2rem; }
@media (min-width: 840px) { .form-page { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Offer / CTA */
.offer-banner { background: var(--green); color: var(--white); padding: 2.5rem 0; text-align: center; }
.offer-banner h2 { color: var(--white); }
.offer-banner p { color: var(--white); }
.offer-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.offer-disclaimer { font-size: 0.85rem; color: var(--muted); max-width: 40rem; margin-inline: auto; }
.offer-banner .offer-disclaimer { color: var(--white); }
.offer-banner .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.offer-banner .btn-primary:hover {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: var(--green-light);
}
.cta-band { background: var(--black); color: var(--white); padding: 2.75rem 0; border-top: 3px solid var(--green); }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band-inner { display: flex; flex-direction: column; gap: 1.2rem; }
@media (min-width: 800px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cta-band .btn-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.cta-band .btn-light:hover {
  background: var(--white);
  color: var(--black);
}

/* Page hero (interior) */
.page-hero {
  position: relative; color: var(--white); padding: 4rem 0 3rem;
  background: var(--black) center / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.62) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--text-on-dark); max-width: 40rem; }
.page-hero-plain {
  background: var(--black);
  color: var(--text-on-dark);
  padding: 2.5rem 0 1.5rem;
  border-bottom: 3px solid var(--green);
}
.page-hero-plain h1 { color: var(--white); }
.page-hero-plain p { color: var(--muted-on-dark); }
.page-hero-plain .eyebrow { color: var(--green); }
.page-hero-plain a { color: var(--green); }
.page-hero-plain a:hover { color: var(--white); }

/* Team / gallery */
.team-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr 1fr; } }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.team-card .card-body h2 { font-size: 1.35rem; margin-bottom: 0.35em; }
.gallery { display: grid; gap: 0.6rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }
.gallery a { border-radius: 8px; overflow: hidden; display: block; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; }
.blog-list { display: grid; gap: 1.25rem; }
.blog-item { display: grid; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .blog-item { grid-template-columns: 16rem 1fr; } }
.blog-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.blog-item .card-body { padding: 1.2rem; }
.meta { font-size: 0.85rem; color: var(--muted); }

/* About facts */
.facts { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr 1fr; } }
.fact { background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.2rem; border-top: 3px solid var(--green); }
.fact h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 0.4em; }

/* Footer */
.site-footer { background: var(--black); color: var(--text-on-dark); padding: 3rem 0 0; margin-bottom: var(--bar); border-top: 3px solid var(--green); }
@media (min-width: 980px) { .site-footer { margin-bottom: 0; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 0.9fr 1.2fr; } }
.site-footer h2 { color: var(--white); font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.3rem 0; }
.logo-light { display: inline-block; background: transparent; border-radius: 0; padding: 0; margin-bottom: 0.8rem; }
.logo-light img { height: 3.6rem; width: auto; border-radius: 6px; }
.footer-brands { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.footer-brands img { height: 36px; width: auto; background: var(--white); padding: 0.25rem 0.4rem; border-radius: 4px; }
.footer-areas { columns: 1; font-size: 0.9rem; }
.social { display: flex; gap: 1rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 2rem; padding: 1rem 0 1.2rem; font-size: 0.85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Mobile sticky bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--black); border-top: 1px solid rgba(17, 136, 63, 0.45); box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}
.mobile-bar .btn { font-size: 0.85rem; padding: 0.7rem 0.5rem; }
.mobile-bar .btn-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.mobile-bar .btn-dark:hover {
  background: var(--white);
  color: var(--black);
}
@media (min-width: 980px) { .mobile-bar { display: none; } }

.brand-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.brand-row img { height: 48px; width: auto; }

/* Breadcrumbs (SEO) */
.breadcrumbs { background: var(--black-soft); border-bottom: 1px solid var(--line-dark); font-size: 0.82rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; padding: 0.55rem 0; margin-block: 0; }
.breadcrumbs li { color: var(--muted-on-dark); }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--green); }
.breadcrumbs a { color: var(--text-on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--muted-on-dark); }

/* Area pages and related-link blocks */
.link-grid { list-style: none; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.link-grid a { display: block; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 600; text-decoration: none; color: var(--black); }
.link-grid a:hover { border-color: var(--green); color: var(--green); }
.link-grid a span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.section-dark .link-grid a { background: var(--black-soft); border-color: var(--line-dark); color: var(--white); }
.section-dark .link-grid a span { color: var(--muted-on-dark); }
.consider-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.consider { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.consider h3 { font-size: 1.15rem; }
.consider p { margin: 0; color: var(--text); }
.post-cta { background: var(--bg); border-left: 4px solid var(--green); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 1.75rem 0; }
.post-cta p:last-child { margin-bottom: 0; }
.cert-badges { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cert-badges li { background: var(--black); color: var(--white); border: 1px solid var(--green); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.82rem; font-weight: 600; }
.cert-badges li::before { content: "✓ "; color: var(--green); }
.section-dark .cert-badges li { background: var(--black-soft); }
.page-hero-plain .btn-primary, .page-hero-plain .btn-primary:hover { color: var(--white); }
.page-hero-plain .btn-light { color: var(--green-dark); }
@media (min-width: 980px) {
  .nav-list > li > a, .header-actions .btn, .rating-badge { white-space: nowrap; }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .rating-badge { display: none; }
}
.electrical-band { border-top: 3px solid var(--green); }
.license-card { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; text-align: center; border: 2px solid var(--green); box-shadow: var(--shadow); }
.license-card p { color: var(--text-on-dark); margin: 0.3rem 0; }
.license-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green) !important; }
.license-num { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; color: var(--white) !important; }

/* Lazy YouTube embeds */
.video-embed {
  position: relative;
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.25rem;
  height: 4.25rem;
  margin: -2.125rem 0 0 -2.125rem;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.video-play-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--white);
}
.video-play:hover .video-play-icon,
.video-play:focus-visible .video-play-icon {
  background: var(--green-dark);
  transform: scale(1.06);
}
.video-play:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
.video-grid-featured { grid-template-columns: 1fr; }
.video-grid-featured .video-card,
.video-featured {
  max-width: 56rem;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.video-card .video-embed { border-radius: var(--radius) var(--radius) 0 0; }
.video-card-body { padding: 1.15rem 1.2rem 1.3rem; }
.video-card-body h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.video-card-body p { color: var(--muted); }
.video-meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.section-dark .video-meta { color: var(--muted-on-dark); }

/* Wisetack financing banner (Christian's supplied code) */
.financing-wrap { padding: 1.5rem 1rem; }
.container-code-example { z-index: 1; display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1000px; margin-left: auto; margin-right: auto; }
.content-code-example-6 { font-family: inherit; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #eafafb; color: #111; border-radius: 8px; padding: 28px 40px; width: 100%; display: flex; justify-content: space-between; align-items: center; }
.box-code-example-6 { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; width: 100%; }
.title-code-example-xxsmall { margin: 0; font-size: 21px; line-height: 1.4; color: #111; }
.logo-code-example { height: 28px; width: auto; }
@media screen and (max-width: 767px) {
  .box-code-example-6 { flex-direction: column; gap: 16px; align-items: center; }
  .content-code-example-6 { text-align: center; flex-flow: column; padding: 24px; }
}
