:root {
  --red: #e31b23;
  --red-dark: #b90f16;
  --black: #08090b;
  --charcoal: #11151a;
  --charcoal-2: #191f26;
  --white: #ffffff;
  --muted: #66707a;
  --line: #e8e8e8;
  --shadow: 0 18px 45px rgba(0,0,0,.10);
  --radius: 14px;
  --container: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: #15181c; background: #fff; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-dark { background: var(--black); color: #fff; }
.kicker { display: inline-block; margin-bottom: 8px; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kicker-light { color: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading h2, .promise-copy h2, .contact-heading h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading.on-dark p { color: #c4cbd2; }

.site-header { position: sticky; top: 0; z-index: 99; background: rgba(5,7,9,.96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.nav-wrap { height: 78px; display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 28px; }
.brand img { width: 220px; height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 26px; }
.main-nav a { position: relative; color: #fff; font-size: .84rem; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -12px; height: 2px; background: var(--red); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }
.nav-toggle .nav-menu-icon { width: 28px; height: 28px; color: #fff; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: .83rem; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(227,27,35,.25); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(0,0,0,.25); }
.btn-dark { width: 100%; color: #fff; background: #090b0d; }

.hero { position: relative; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,6,8,.98) 0%, rgba(4,6,8,.84) 39%, rgba(4,6,8,.32) 68%, rgba(4,6,8,.10) 100%); }
.hero-grid { position: relative; z-index: 2; min-height: 640px; display: flex; align-items: center; justify-content: flex-start; }
.hero-copy { width: min(680px, 100%); padding: 48px 0 52px; }
.eyebrow { color: #ff7a80; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 11px; }
.hero h1 { margin: 0; max-width: 680px; color: #fff; font-size: clamp(3.25rem, 4.7vw, 5.25rem); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 .hero-red { color: var(--red); }
.red-rule { width: 58px; height: 4px; background: var(--red); margin: 18px 0 17px; }
.hero-copy > p { max-width: 560px; margin: 0 0 22px; color: #d8dde1; font-size: 1.05rem; line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 27px; max-width: 555px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-trust > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 9px; align-items: center; }
.hero-trust .mini-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: var(--red); font-weight: 900; }
.hero-trust strong { font-size: .84rem; }
.hero-trust small { color: #aeb6bf; }

.cards { display: grid; gap: 20px; }
.four-col { grid-template-columns: repeat(4, 1fr); }
.service-card { min-height: 330px; padding: 32px 28px; border: 1px solid #ededed; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(0,0,0,.14); }
.service-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 12px; background: rgba(227,27,35,.09); color: var(--red); font-size: 2.1rem; font-weight: 900; }
.service-card h3 { margin: 0; min-height: 56px; font-size: 1.15rem; line-height: 1.25; text-transform: uppercase; }
.card-rule { width: 36px; height: 3px; background: var(--red); margin: 16px 0; }
.service-card p { color: #5c646c; font-size: .95rem; }
.service-card a { display: inline-block; margin-top: 8px; color: var(--red); font-size: .86rem; font-weight: 800; }

.work-gallery { background: #f5f6f7; overflow: hidden; }
.work-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.work-heading-copy { max-width: 760px; }
.work-heading-copy h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.work-heading-copy p { margin: 0; color: var(--muted); }
.work-carousel-nav { flex: 0 0 auto; display: flex; gap: 10px; padding-bottom: 3px; }
.work-carousel-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #d9dde1; border-radius: 50%; background: #fff; color: #12161a; box-shadow: 0 10px 28px rgba(0,0,0,.08); font-size: 1.2rem; font-weight: 900; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.work-carousel-btn:hover:not(:disabled) { transform: translateY(-2px); color: #fff; background: var(--red); border-color: var(--red); }
.work-carousel-btn:disabled { opacity: .34; cursor: default; box-shadow: none; }
.work-carousel { position: relative; }
.work-carousel-viewport { overflow: hidden; }
.work-carousel-track { display: flex; gap: 22px; transition: transform .48s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.work-slide { position: relative; flex: 0 0 calc((100% - 66px) / 4); overflow: hidden; margin: 0; aspect-ratio: 1.28 / 1; border-radius: 16px; background: #11151a; box-shadow: 0 16px 38px rgba(0,0,0,.12); isolation: isolate; }
.work-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.work-slide::after { display: none; }
.work-slide::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 1px solid rgba(255,255,255,.12); border-radius: inherit; pointer-events: none; }
.work-slide:hover img { transform: scale(1.035); }
.work-slide figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 3; color: #fff; }
.work-slide figcaption span { display: block; margin-bottom: 5px; color: #ff7a80; font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.work-slide figcaption strong { display: block; max-width: 92%; font-size: 1.08rem; line-height: 1.2; }
.work-carousel-dots { min-height: 12px; display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.work-carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #c8cdd2; cursor: pointer; transition: width .2s ease, background .2s ease; }
.work-carousel-dot.active { width: 26px; background: var(--red); }

.why-us { position: relative; padding: 72px 0; overflow: hidden; }
.why-us::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(115deg, transparent 0 54%, rgba(227,27,35,.08) 54% 55%, transparent 55%); background-size: 420px 280px; }
.why-us .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 6px 22px; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: 0; }
.stat-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; color: var(--red); border: 1px solid rgba(227,27,35,.55); border-radius: 50%; font-weight: 900; }
.stat strong { display: block; color: #fff; font-size: 1.8rem; line-height: 1; }
.stat h3 { margin: 8px 0 7px; color: var(--red); font-size: .94rem; text-transform: uppercase; }
.stat p { margin: 0; color: #b9c0c7; font-size: .85rem; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 55px; align-items: center; }
.image-panel { overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); }
.image-panel img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.promise-copy p { color: #5b646d; }
.promise-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.promise-points > div { display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; }
.promise-points span { grid-row: 1 / span 2; display: grid; place-items: center; width: 32px; height: 32px; color: var(--red); border: 1px solid rgba(227,27,35,.45); border-radius: 50%; }
.promise-points small { color: #747d86; }

.testimonials { padding: 78px 0; background-image: linear-gradient(rgba(8,9,11,.96), rgba(8,9,11,.96)), radial-gradient(circle at 25% 0%, rgba(227,27,35,.2), transparent 35%); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; width: 100%; max-width: none; margin: 0; }
.testimonial { position: relative; margin: 0; padding: 30px 32px; border-radius: var(--radius); background: #fff; color: #25282b; box-shadow: var(--shadow); }
.quote { position: absolute; top: 12px; left: 18px; color: var(--red); font-size: 3rem; line-height: 1; }
.testimonial p { margin: 26px 0 14px; }
.testimonial footer { color: #626a72; font-size: .88rem; font-weight: 700; }

.faq-section { background: #fff; }
.faq-layout { max-width: 900px; }
.faq-section .section-heading { margin-bottom: 30px; }
.faq-column { padding: 0; }
.accordion { border-top: 1px solid var(--line); }
.faq-item { width: 100%; display: flex; justify-content: space-between; gap: 18px; padding: 20px 2px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: #171a1e; font-weight: 750; cursor: pointer; }
.faq-icon { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; color: var(--red); transition: transform .2s ease; }
.faq-item[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > p { overflow: hidden; margin: 0; color: #626a72; }
.faq-answer.open { grid-template-rows: 1fr; }
.faq-answer.open > p { padding: 13px 0 20px; }

.contact-section { position: relative; overflow: hidden; background: #0a0c0f; color: #fff; }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(227,27,35,.19), transparent 36%), linear-gradient(115deg, transparent 0 54%, rgba(227,27,35,.06) 54% 55%, transparent 55%); background-size: auto, 440px 300px; pointer-events: none; }
.contact-section .container { position: relative; z-index: 1; }
.contact-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.contact-heading p { margin: 0 auto; max-width: 680px; color: #b8c0c8; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 24px; align-items: stretch; }
.contact-form-card, .contact-details-card { border-radius: 16px; box-shadow: 0 24px 65px rgba(0,0,0,.24); }
.contact-form-card { padding: 40px; background: linear-gradient(135deg, var(--red-dark), var(--red)); color: #fff; }
.contact-form-card h3 { margin: 0 0 7px; font-size: 1.55rem; }
.contact-form-card > p { margin: 0 0 25px; color: rgba(255,255,255,.82); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
form input, form textarea { width: 100%; border: 0; outline: none; border-radius: 6px; padding: 13px 14px; margin-bottom: 10px; background: #fff; color: #111; box-shadow: inset 0 0 0 1px rgba(0,0,0,.07); }
form textarea { resize: vertical; }
.form-note { min-height: 20px; margin-top: 8px; color: #fff; font-size: .85rem; }
.contact-details-card { padding: 40px; background: #14181d; border: 1px solid rgba(255,255,255,.08); }
.contact-label { display: inline-block; margin-bottom: 9px; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-details-card h3 { margin: 0 0 24px; font-size: 1.55rem; }
.contact-details p { margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.11); color: #c7cdd3; }
.contact-details p:first-of-type { padding-top: 0; }
.contact-details a { color: #fff; text-decoration: none; }
.contact-details a:hover { color: #ff8a8f; }
.contact-cta { padding-top: 24px; }
.contact-cta .btn { width: 100%; }

.site-footer { background: #090b0e; color: #fff; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr 1fr; gap: 45px; padding-bottom: 44px; }
.footer-logo { width: 250px; height: 82px; object-fit: contain; object-position: left center; margin-bottom: 12px; }
.footer-grid p, .footer-grid span, .footer-grid a { display: block; color: #aeb6bf; margin: 8px 0; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid h4 { margin: 0 0 13px; font-size: .9rem; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, #b80f16, #e31b23); }
.footer-bottom .container { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .78rem; }
.floating-call { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); box-shadow: 0 12px 30px rgba(227,27,35,.35); font-size: 1.25rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .nav-wrap { grid-template-columns: 210px auto auto; }
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; align-items: stretch; padding: 20px; background: #08090b; border-top: 1px solid rgba(255,255,255,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .nav-toggle { display: block; justify-self: end; }
  .header-cta { justify-self: end; }
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .work-slide { flex-basis: calc((100% - 22px) / 2); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .stat:nth-child(3) { border-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 68px 0; }
  .nav-wrap { height: 72px; grid-template-columns: 1fr auto; }
  .brand img { width: 190px; height: 52px; }
  .header-cta { display: none; }
  .main-nav { top: 72px; }
  .hero { min-height: 610px; }
  .hero-grid { min-height: 610px; }
  .hero-copy { width: 100%; padding: 44px 0 48px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,6,8,.98), rgba(4,6,8,.78)); }
  .hero h1 { max-width: 100%; font-size: clamp(2.75rem, 13vw, 4.35rem); line-height: .98; }
  .red-rule { margin: 16px 0; }
  .hero-copy > p { margin-bottom: 20px; }
  .hero-trust { grid-template-columns: 1fr; max-width: 300px; margin-top: 24px; padding-top: 18px; }
  .four-col { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .work-heading-row { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 26px; }
  .work-heading-copy { max-width: 100%; }
  .work-carousel-nav { align-self: flex-end; }
  .work-carousel-btn { width: 44px; height: 44px; }
  .work-carousel-track { gap: 16px; }
  .work-slide { flex-basis: 100%; aspect-ratio: 1.18 / 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .promise-points { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-form-card, .contact-details-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { padding: 12px 0; flex-direction: column; justify-content: center; text-align: center; }
}

/* ===== V8: performance, popup quote form, WhatsApp, clean contact page, animations ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-media {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Floating contact actions */
.floating-call {
  right: 22px;
  bottom: 86px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 91;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .34);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

/* Quote popup */
body.modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.quote-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 6, .78);
  backdrop-filter: blur(8px);
}

.quote-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: #0b0e12;
  color: #fff;
  box-shadow: 0 38px 110px rgba(0, 0, 0, .52);
  transform: translateY(18px) scale(.985);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}

.quote-modal.is-open .quote-modal-dialog {
  transform: none;
}

.quote-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.quote-modal-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.quote-modal-brand {
  min-height: 108px;
  display: flex;
  align-items: center;
  padding: 18px 74px 18px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: #07090c;
}

.quote-modal-brand img {
  width: 238px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.quote-modal-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr;
}

.quote-modal-form,
.quote-modal-details {
  padding: 36px;
}

.quote-modal-form {
  background: linear-gradient(145deg, #10151b, #0b0e12);
}

.quote-modal-form h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.quote-modal-form > p {
  margin: 0 0 24px;
  color: #b8c0c8;
}

.quote-modal-form .btn {
  width: 100%;
}

.quote-modal-details {
  border-left: 1px solid rgba(255, 255, 255, .09);
  background: #12171d;
}

.quote-modal-details h3 {
  margin: 0 0 20px;
  font-size: 1.35rem;
}

.quote-modal-details p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #b8c0c8;
}

.quote-modal-details a:not(.btn) {
  color: #fff;
}

.modal-call {
  width: 100%;
  margin-top: 24px;
}

/* Dedicated Contact page */
.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 92px;
  background:
    radial-gradient(circle at 82% 20%, rgba(227, 27, 35, .18), transparent 34%),
    linear-gradient(120deg, #07090c, #161c23);
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: linear-gradient(115deg, transparent 0 54%, rgba(227, 27, 35, .09) 54% 55%, transparent 55%);
  background-size: 420px 280px;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.inner-hero h1 {
  max-width: 790px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.inner-hero p {
  max-width: 680px;
  margin: 0;
  color: #c4cbd2;
  font-size: 1.05rem;
}

.contact-page-section {
  min-height: 620px;
}

/* Entrance animations apply to content only, not section backgrounds/header/footer. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .62s ease var(--reveal-delay, 0ms),
    transform .62s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal[data-anim="fade-left"] {
  transform: translateX(-28px);
}

.js .reveal[data-anim="fade-right"] {
  transform: translateX(28px);
}

.js .reveal[data-anim="scale-in"] {
  transform: scale(.975);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.is-visible,
  .quote-modal-dialog,
  .work-carousel-track {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 760px) {
  .floating-call {
    right: 16px;
    bottom: 80px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .quote-modal {
    padding: 12px;
  }

  .quote-modal-dialog {
    max-height: calc(100vh - 24px);
  }

  .quote-modal-brand {
    min-height: 88px;
    padding: 12px 60px 12px 22px;
  }

  .quote-modal-brand img {
    width: 200px;
    height: 58px;
  }

  .quote-modal-grid {
    grid-template-columns: 1fr;
  }

  .quote-modal-form,
  .quote-modal-details {
    padding: 26px 22px;
  }

  .quote-modal-details {
    border-top: 1px solid rgba(255, 255, 255, .09);
    border-left: 0;
  }

  .inner-hero {
    padding: 76px 0 68px;
  }

  .inner-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }
}


/* ===== V9: SVG icon system + questionnaire content audit ===== */
.icon { width: 1.15em; height: 1.15em; display: inline-block; flex: 0 0 auto; vertical-align: -0.18em; fill: none; }
.icon-inline { width: 1.05rem; height: 1.05rem; }
.service-svg { width: 34px; height: 34px; }
.stat-svg { width: 28px; height: 28px; }
.promise-svg { width: 18px; height: 18px; }
.carousel-control-icon { width: 21px; height: 21px; }
.icon-link-arrow { width: .95rem; height: .95rem; margin-left: 4px; transition: transform .2s ease; }
.service-card a:hover .icon-link-arrow { transform: translateX(3px); }
.faq-plus-icon { width: 20px; height: 20px; }
.floating-action-icon { width: 25px; height: 25px; }
.modal-close-icon { width: 22px; height: 22px; }
.service-icon, .stat-icon, .promise-points span, .mini-icon { font-size: initial; }
.work-carousel-btn { font-size: initial; }
.floating-call { font-size: initial; }
.quote-modal-close { font-size: initial; }
.promise-copy > p { margin-top: 0; margin-bottom: 15px; }

/* ===== V10: one-page navigation + final SVG/content audit ===== */
.testimonial-quote-icon { width: 2.2rem; height: 2.2rem; }
.testimonial .quote { display: block; line-height: 1; margin-bottom: 22px; }
.testimonial .quote + p { margin-top: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* ===== V11: animated lightning cursor ===== */
.storm-cursor,
.storm-cursor-effects {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  html.storm-cursor-enabled,
  html.storm-cursor-enabled body,
  html.storm-cursor-enabled a,
  html.storm-cursor-enabled button,
  html.storm-cursor-enabled [role="button"],
  html.storm-cursor-enabled summary,
  html.storm-cursor-enabled label {
    cursor: none !important;
  }

  html.storm-cursor-enabled input,
  html.storm-cursor-enabled textarea,
  html.storm-cursor-enabled [contenteditable="true"] {
    cursor: text !important;
  }

  html.storm-cursor-enabled select,
  html.storm-cursor-enabled option {
    cursor: default !important;
  }

  .storm-cursor {
    --cursor-scale: 1;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483646;
    width: 28px;
    height: 40px;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0) scale(var(--cursor-scale));
    transform-origin: 34% 16%;
    transition: opacity .12s ease, filter .16s ease;
    will-change: transform;
    filter: drop-shadow(0 0 4px rgba(227, 27, 35, .55));
  }

  .storm-cursor.is-visible {
    opacity: 1;
  }

  .storm-cursor.is-suspended {
    opacity: 0;
  }

  .storm-cursor.is-hovering {
    --cursor-scale: 1.18;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, .65)) drop-shadow(0 0 9px rgba(227, 27, 35, .85));
  }

  .storm-cursor.is-clicking {
    --cursor-scale: .9;
  }

  .storm-cursor-bolt {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(-6deg);
    transform-origin: center;
    animation: stormCursorFlicker 1.35s steps(1, end) infinite;
  }

  .storm-cursor-bolt-shadow {
    fill: rgba(0, 0, 0, .82);
    stroke: rgba(255, 255, 255, .3);
    stroke-width: 2.6;
    stroke-linejoin: round;
  }

  .storm-cursor-bolt-main {
    fill: #e31b23;
    stroke: #fff;
    stroke-width: 1.25;
    stroke-linejoin: round;
  }

  .storm-cursor-bolt-flash {
    fill: rgba(255, 255, 255, .92);
    opacity: .18;
    transform-origin: center;
    animation: stormCursorFlash 1.35s steps(1, end) infinite;
  }

  .storm-cursor-core {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 5px;
    height: 5px;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: #e31b23;
    box-shadow: 0 0 7px rgba(227, 27, 35, .95);
    opacity: .75;
  }

  .storm-cursor-effects {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2147483645;
    pointer-events: none;
    overflow: hidden;
  }

  .storm-cursor-spark {
    position: fixed;
    width: var(--spark-length, 14px);
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(227,27,35,.9), rgba(227,27,35,0));
    transform-origin: 0 50%;
    transform: translate3d(var(--spark-x), var(--spark-y), 0) rotate(var(--spark-angle)) scaleX(1);
    opacity: .9;
    animation: stormCursorSpark .34s ease-out forwards;
  }

  .storm-cursor-pulse {
    position: fixed;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 1.5px solid rgba(227, 27, 35, .9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(227, 27, 35, .45);
    transform: translate3d(var(--pulse-x), var(--pulse-y), 0) scale(.35);
    opacity: .95;
    animation: stormCursorPulse .42s cubic-bezier(.15,.7,.25,1) forwards;
  }

  .storm-cursor-click-bolt {
    position: fixed;
    left: 0;
    top: 0;
    width: 12px;
    height: 18px;
    color: #fff;
    transform: translate3d(var(--bolt-x), var(--bolt-y), 0) rotate(var(--bolt-angle)) scale(.5);
    transform-origin: center;
    opacity: 1;
    animation: stormCursorClickBolt .38s ease-out forwards;
  }

  .storm-cursor-click-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
  }
}

@keyframes stormCursorFlicker {
  0%, 82%, 100% { transform: rotate(-6deg) translate(0, 0); }
  84% { transform: rotate(-5deg) translate(.5px, -.5px); }
  86% { transform: rotate(-7deg) translate(-.5px, .5px); }
  88% { transform: rotate(-6deg) translate(0, 0); }
}

@keyframes stormCursorFlash {
  0%, 81%, 89%, 100% { opacity: .16; }
  83%, 87% { opacity: .8; }
  85% { opacity: .32; }
}

@keyframes stormCursorSpark {
  0% { opacity: .9; filter: blur(0); }
  100% { opacity: 0; filter: blur(.6px); transform: translate3d(var(--spark-end-x), var(--spark-end-y), 0) rotate(var(--spark-angle)) scaleX(.2); }
}

@keyframes stormCursorPulse {
  0% { opacity: .95; transform: translate3d(var(--pulse-x), var(--pulse-y), 0) scale(.35); }
  100% { opacity: 0; transform: translate3d(var(--pulse-x), var(--pulse-y), 0) scale(2.45); }
}

@keyframes stormCursorClickBolt {
  0% { opacity: 1; transform: translate3d(var(--bolt-x), var(--bolt-y), 0) rotate(var(--bolt-angle)) scale(.5); }
  100% { opacity: 0; transform: translate3d(var(--bolt-end-x), var(--bolt-end-y), 0) rotate(var(--bolt-angle)) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .storm-cursor,
  .storm-cursor-effects {
    display: none !important;
  }

  html.storm-cursor-enabled,
  html.storm-cursor-enabled body,
  html.storm-cursor-enabled a,
  html.storm-cursor-enabled button,
  html.storm-cursor-enabled [role="button"],
  html.storm-cursor-enabled summary,
  html.storm-cursor-enabled label {
    cursor: auto !important;
  }

  html.storm-cursor-enabled input,
  html.storm-cursor-enabled textarea,
  html.storm-cursor-enabled [contenteditable="true"] {
    cursor: text !important;
  }
}


/* ===== V12: Mission, Vision & Promise section ===== */
.mission-vision-layout { align-items: stretch; }
.mission-vision-image { min-height: 540px; }
.mission-vision-image img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.mission-vision-copy { align-self: center; }
.mission-vision-copy > p { max-width: 650px; margin: 0 0 24px; color: #5b646d; }
.mvp-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.mvp-card { position: relative; overflow: hidden; padding: 20px 22px 20px 25px; border: 1px solid #e8eaed; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.07); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.mvp-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); }
.mvp-card:hover { transform: translateY(-3px); border-color: rgba(227,27,35,.22); box-shadow: 0 18px 38px rgba(0,0,0,.11); }
.mvp-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mvp-heading h3 { margin: 0; color: #15181c; font-size: 1.02rem; line-height: 1.2; letter-spacing: .015em; text-transform: uppercase; }
.mvp-icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(227,27,35,.28); border-radius: 10px; background: rgba(227,27,35,.08); color: var(--red); }
.mvp-svg { width: 22px; height: 22px; }
.mvp-card p { margin: 0; color: #66707a; font-size: .95rem; line-height: 1.58; }

@media (max-width: 760px) {
  .mission-vision-image { min-height: 0; }
  .mission-vision-image img { height: auto; aspect-ratio: 1.35; }
  .mission-vision-copy > p { margin-bottom: 20px; }
  .mvp-grid { gap: 12px; margin-top: 20px; }
  .mvp-card { padding: 18px 18px 18px 21px; }
  .mvp-icon { width: 40px; height: 40px; }
}


/* ===== V13: client-requested layout and content refinements ===== */
/* Full-width section descriptions while retaining centred headings. */
.contact-heading,
.testimonials .section-heading,
.why-us .section-heading,
.work-heading-copy { max-width: 100%; width: 100%; }
.contact-heading p,
.testimonials .section-heading p,
.why-us .section-heading p,
.work-heading-copy p { width: 100%; max-width: none; }
.testimonials .section-heading p,
.why-us .section-heading p { color: #c4cbd2; }

/* Service cards: keep every icon, heading, rule, description and CTA on the same baseline. */
.four-col { align-items: stretch; }
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card h3 { min-height: 58px; }
.service-card p { flex: 1 1 auto; margin: 0 0 18px; }
.service-card a { margin-top: auto; }

/* Our Work: centred heading and controls beneath the images, no pagination dots. */
.work-heading-row { display: block; margin-bottom: 34px; text-align: center; }
.work-heading-copy { margin: 0 auto; text-align: center; }
.work-carousel-nav { justify-content: center; align-items: center; padding: 0; margin-top: 24px; }
.work-carousel-dots { display: none !important; }

/* Why Choose Us and testimonial descriptions stay comfortably readable at full section width. */
.why-us .section-heading p,
.testimonials .section-heading p { margin-inline: auto; }

/* Contact detail labels use matching SVG icons beside each heading. */
.contact-detail-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; color: #fff; }
.contact-detail-icon { width: 20px; height: 20px; color: var(--red); }
.contact-detail-value { display: block; color: #c7cdd3; }
.contact-details-card .contact-detail-value { color: #c7cdd3; }
.quote-modal-details .contact-detail-heading { color: #fff; }
.quote-modal-details .contact-detail-value { color: #c7cdd3; }

/* First FAQ is open on initial page load, and the accordion always keeps one answer open. */
.faq-item[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-item[aria-expanded="true"] + .faq-answer > p { padding: 13px 0 20px; }

@media (max-width: 760px) {
  .work-carousel-nav { align-self: auto; justify-content: center; margin-top: 20px; }
  .service-card h3 { min-height: 0; }
}


/* ===== V14: hero, full-width services heading, autoplay gallery, testimonial placeholders ===== */
.services .section-heading {
  width: 100%;
  max-width: none;
}
.services .section-heading h2,
.services .section-heading p {
  width: 100%;
  max-width: none;
}

/* Keep placeholder testimonials visually consistent while making their temporary status clear. */
.testimonial-placeholder footer {
  margin-top: 16px;
  color: #8a929a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .025em;
}

/* ===== V18: testimonial quote spacing correction ===== */
.testimonial .quote {
  position: static;
  top: auto;
  left: auto;
  display: block;
  width: fit-content;
  margin: 0 0 24px;
  line-height: 1;
}
.testimonial .quote + p,
.testimonial p {
  margin-top: 0;
}


/* ===== V19: real Our Work gallery images ===== */
/* All gallery source files are standardised to 1200 x 1600 (3:4).
   The card ratio matches the files so every photo has the same visible size
   without stretching or distortion. */
.work-slide { aspect-ratio: 3 / 4; }
.work-slide img { object-fit: cover; object-position: center; }
@media (max-width: 760px) {
  .work-slide { aspect-ratio: 3 / 4; }
}


/* ===== V22: client refinement pass ===== */
/* Service CTAs use the same button system as the rest of the website. */
.service-card .service-card-cta {
  width: fit-content;
  min-height: 46px;
  margin-top: auto;
  padding: 0 18px;
  color: #fff;
  font-size: .78rem;
}
.service-card .service-card-cta:hover { color: #fff; }
.service-card .service-card-cta .icon-link-arrow { width: 17px; height: 17px; }

/* Floating actions: smaller and exactly matched. */
.floating-call,
.floating-whatsapp {
  right: 18px;
  width: 46px;
  height: 46px;
}
.floating-whatsapp { bottom: 18px; }
.floating-call { bottom: 74px; }
.floating-action-icon,
.floating-whatsapp svg { width: 24px; height: 24px; }

/* Shared centred CTA rows under content blocks. */
.section-cta-center { display: flex; justify-content: center; margin-top: 34px; }
.why-us-cta { position: relative; z-index: 2; }
.testimonial-cta { margin-top: 34px; }

/* New services video section. */
.service-video-section { background: #f5f6f7; }
.service-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .65fr);
  gap: 64px;
  align-items: center;
}
.service-video-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.service-video-copy p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #5f6872;
  font-size: 1rem;
  line-height: 1.7;
}
.service-video-media {
  justify-self: center;
  width: min(100%, 430px);
  overflow: hidden;
  border-radius: 18px;
  background: #08090b;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.service-video-media video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #08090b;
}

/* About section: image and content occupy one aligned grid row. */
.mission-vision-layout { align-items: stretch; }
.mission-vision-image { min-height: 0; height: 100%; align-self: stretch; }
.mission-vision-image img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.mission-vision-copy { display: flex; flex-direction: column; justify-content: center; align-self: stretch; }

/* Testimonials: logo replaces the quote icon and stays centered. */
.testimonial { display: flex; flex-direction: column; justify-content: flex-start; }
.testimonial-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(210px, 72%);
  min-height: 68px;
  margin: 0 auto 26px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #08090b;
}
.testimonial-logo { width: 180px; height: 52px; object-fit: contain; object-position: center; }
.testimonial p { margin: 0; }

/* Quote popup: logo centered for every CTA that opens the shared popup. */
.quote-modal-brand {
  justify-content: center;
  padding-left: 74px;
  padding-right: 74px;
  text-align: center;
}
.quote-modal-brand img { object-position: center; margin-inline: auto; }

/* Exact-map address links keep the current visual styling. */
.contact-detail-value:hover,
.site-footer a[href*="maps.app.goo.gl"]:hover { color: var(--red); }

@media (max-width: 900px) {
  .service-video-layout { grid-template-columns: 1fr; gap: 34px; }
  .service-video-copy { text-align: center; }
  .service-video-copy p { margin-inline: auto; }
  .service-video-media { width: min(100%, 390px); }
}

@media (max-width: 760px) {
  .floating-call,
  .floating-whatsapp { right: 14px; width: 44px; height: 44px; }
  .floating-whatsapp { bottom: 14px; }
  .floating-call { bottom: 68px; }
  .quote-modal-brand { justify-content: center; padding-left: 60px; padding-right: 60px; }
  .quote-modal-brand img { width: 190px; height: 56px; }
  .service-card .service-card-cta { width: 100%; }
}

/* ===== V23: logo-inspired LIGHTNING typography ===== */
:root {
  --storm-display-font: "Michroma", "Eurostile Extended", "Microgramma D Extended", "Bank Gothic", "Arial Narrow", Arial, sans-serif;
}

/* Section subheadings / eyebrow labels echo the LIGHTNING wordmark. */
.kicker,
.eyebrow,
.contact-label {
  font-family: var(--storm-display-font);
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1.35;
}

/* All text-based CTA buttons use the same logo-inspired display face. */
.btn {
  font-family: var(--storm-display-font);
  font-weight: 400;
  letter-spacing: .07em;
  line-height: 1.2;
}

/* Keep smaller service buttons readable with the wider display face. */
.service-card .service-card-cta {
  letter-spacing: .055em;
}

@media (max-width: 760px) {
  .btn { letter-spacing: .055em; }
  .kicker, .eyebrow, .contact-label { letter-spacing: .12em; }
}


/* Live PHP form integration */
.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.recaptcha-slot:empty{display:none}.recaptcha-slot{margin:0 0 16px;min-height:0}.js-template-form .btn[disabled]{opacity:.62;cursor:wait;transform:none;box-shadow:none}


/* ===== V25: service CTA, video preview/modal, testimonial logo refinement ===== */
/* Service-card CTAs match the shared button system and keep the icon on one line. */
.service-card .service-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  color: #fff;
  font-size: clamp(.66rem, .78vw, .76rem);
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
}
.service-card .service-card-cta .icon-link-arrow {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

/* The video copy and preview share one aligned row. */
.service-video-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: stretch;
}
.service-video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 22px 0;
}
.service-video-copy .btn { align-self: flex-start; }
.service-video-media {
  position: relative;
  justify-self: stretch;
  width: 100%;
  min-height: 430px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #08090b;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  cursor: pointer;
  isolation: isolate;
}
.service-video-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}
.service-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3,5,7,.12), rgba(3,5,7,.42));
  transition: background .25s ease;
}
.service-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  color: #fff;
  background: rgba(227,27,35,.92);
  box-shadow: 0 16px 34px rgba(0,0,0,.3);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, background .25s ease;
}
.service-video-play-icon { width: 34px; height: 34px; margin-left: 3px; }
.service-video-hint {
  position: absolute;
  left: 50%;
  top: calc(50% + 58px);
  z-index: 2;
  color: #fff;
  font-family: var(--storm-display-font);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}
.service-video-trigger:hover img { transform: scale(1.035); }
.service-video-trigger:hover .service-video-overlay { background: linear-gradient(180deg, rgba(3,5,7,.2), rgba(3,5,7,.54)); }
.service-video-trigger:hover .service-video-play { transform: translate(-50%, -50%) scale(1.06); background: var(--red-dark); }
.service-video-trigger:focus-visible { outline: 3px solid rgba(227,27,35,.35); outline-offset: 5px; }

/* Dedicated video lightbox. */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(8px);
}
.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 52px));
  max-height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: #08090b;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.video-modal-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  color: #fff;
  background: linear-gradient(145deg, #10151b, #0b0e12);
}
.video-modal-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}
.video-modal-player {
  display: block;
  width: 100%;
  height: min(76vh, 720px);
  object-fit: contain;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.55);
  cursor: pointer;
}
.video-modal-close:hover { background: var(--red); border-color: var(--red); }

/* Use the supplied black-on-white logo treatment inside testimonial cards. */
.testimonial-logo-wrap {
  width: min(250px, 76%);
  min-height: 82px;
  margin: 0 auto 30px;
  padding: 0;
  border-radius: 0;
  background: #fff;
}
.testimonial-logo {
  width: 240px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .service-video-layout { grid-template-columns: 1fr; gap: 30px; }
  .service-video-copy { min-height: 0; padding: 0; text-align: center; }
  .service-video-copy .btn { align-self: center; }
  .service-video-media { min-height: 420px; }
  .video-modal-dialog { grid-template-columns: 1fr; width: min(680px, calc(100vw - 36px)); overflow-y: auto; }
  .video-modal-heading { padding: 30px 66px 24px 28px; }
  .video-modal-player { height: min(65vh, 650px); }
}

@media (max-width: 560px) {
  .service-card .service-card-cta { font-size: .7rem; }
  .service-video-media { min-height: 360px; }
  .service-video-play { width: 66px; height: 66px; }
  .video-modal { padding: 14px; }
  .video-modal-dialog { width: calc(100vw - 28px); max-height: calc(100vh - 28px); }
  .video-modal-heading { padding: 26px 56px 20px 22px; }
  .video-modal-player { height: 62vh; }
}

/* ===== V27: About image vertically centred against content column ===== */
@media (min-width: 761px) {
  .mission-vision-layout {
    align-items: center;
  }

  .mission-vision-image {
    align-self: center;
    height: clamp(560px, 44vw, 700px);
    min-height: 0;
  }

  .mission-vision-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .mission-vision-copy {
    align-self: center;
  }
}


/* ===== V30: force-centred hero + targeted attention wiggle ===== */
.hero-grid {
  min-height: 640px;
  display: grid;
  place-items: center;
  justify-content: stretch;
  align-items: center;
}

.hero-copy {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
}

.hero .eyebrow,
.hero h1,
.hero-copy > p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  max-width: 760px;
}

.hero .red-rule {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy > p {
  max-width: 720px;
}

.hero-actions {
  justify-content: center;
  align-items: center;
}

.hero-trust {
  width: min(620px, 100%);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(4,6,8,.58) 0%, rgba(4,6,8,.74) 100%);
}

@keyframes stormAttentionWiggle {
  0%, 68%, 100% { transform: rotate(0deg) translateX(0) scale(1); }
  72% { transform: rotate(-3deg) translateX(-2px) scale(1.015); }
  76% { transform: rotate(3deg) translateX(2px) scale(1.015); }
  80% { transform: rotate(-2.5deg) translateX(-2px) scale(1.01); }
  84% { transform: rotate(2.5deg) translateX(2px) scale(1.01); }
  88% { transform: rotate(-1.5deg) translateX(-1px) scale(1.005); }
  92% { transform: rotate(1.5deg) translateX(1px) scale(1.005); }
  96% { transform: rotate(0deg) translateX(0) scale(1); }
}

.attention-wiggle {
  animation: stormAttentionWiggle 3s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .attention-wiggle {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    min-height: 610px;
  }

  .hero-copy {
    padding: 42px 0;
  }

  .hero-trust {
    width: min(320px, 100%);
    max-width: 320px;
  }
}


/* ===== V31: hero heading locked to two lines ===== */
.hero h1 .hero-heading-line {
  display: block;
  color: #fff;
  white-space: nowrap;
}
.hero h1 .hero-red {
  color: var(--red);
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2rem, 9.5vw, 3.5rem);
  }
}

/* V32: vertically centre the video-section copy against the actual video card. */
@media (min-width: 901px) {
  .service-video-layout {
    align-items: center;
  }

  .service-video-copy {
    align-self: center;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .service-video-media {
    align-self: center;
  }
}


/* ===== V33: About alignment, testimonial logo sizing, full-screen desktop hero ===== */
@media (min-width: 761px) {
  /* Keep the full About image card visually centred against the complete text/card column. */
  .mission-vision-layout {
    align-items: center !important;
  }

  .mission-vision-image {
    align-self: center !important;
    height: clamp(500px, 36vw, 580px) !important;
    min-height: 0 !important;
  }

  .mission-vision-image img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    object-fit: cover;
  }

  .mission-vision-copy {
    align-self: center !important;
  }

  /* Header + hero together fill the visible screen on laptop and wider displays. */
  .hero,
  .hero-grid {
    min-height: calc(100vh - 78px) !important;
    min-height: calc(100dvh - 78px) !important;
  }
}

/* Slightly reduce the testimonial logo without changing the card layout. */
.testimonial-logo-wrap {
  width: min(205px, 64%) !important;
  min-height: 68px !important;
  margin-bottom: 26px !important;
}

.testimonial-logo {
  width: 195px !important;
  max-height: 72px !important;
}


/* ===== V34: wider sections, STORM-inspired headings, four-up work carousel ===== */
:root {
  --storm-heading-font: "Orbitron", "Eurostile Extended", "Microgramma D Extended", "Bank Gothic", Arial, sans-serif;
}

/* Use the wide, geometric STORM logo character for primary page headings. */
h1,
h2 {
  font-family: var(--storm-heading-font) !important;
  font-weight: 800 !important;
  font-style: normal;
  text-transform: uppercase !important;
  letter-spacing: .015em !important;
}

/* Give the centred hero heading enough room for the wider display face. */
.hero-copy {
  width: min(1080px, 100%);
}
.hero h1 {
  max-width: 1080px;
  font-size: clamp(2.9rem, 4.15vw, 4.85rem);
  line-height: 1.02;
}

/* Four project images visible at once on desktop. */
.work-slide {
  flex-basis: calc((100% - 66px) / 4);
}

@media (max-width: 1050px) {
  .work-slide {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 760px) {
  .work-slide {
    flex-basis: 100%;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.8vw, 3.25rem);
    letter-spacing: .005em !important;
  }
}

/* ===== V35: About image matches full content-column height ===== */
@media (min-width: 761px) {
  .mission-vision-layout {
    align-items: stretch !important;
  }

  .mission-vision-image {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
  }

  .mission-vision-image img {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center;
  }

  .mission-vision-copy {
    align-self: stretch !important;
  }
}

/* ===== V36: exact cross-column alignment for About and video sections ===== */
@media (min-width: 901px) {
  /* Let the text/content column define the About row height. The image is then
     cropped inside that exact height instead of imposing its portrait ratio. */
  .mission-vision-layout {
    align-items: stretch !important;
  }

  .mission-vision-copy {
    align-self: stretch !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
  }

  .mission-vision-image {
    position: relative;
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
  }

  .mission-vision-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center;
  }

  /* Let the video text column define the row height and stretch the preview to
     the same top and bottom edges. */
  .service-video-layout {
    align-items: stretch !important;
  }

  .service-video-copy {
    align-self: stretch !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    justify-content: center;
  }

  .service-video-media {
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* ===== V38: mobile readability, section alignment, FAQ title, video preview ===== */
/* Keep the FAQ title on a single line on tablet/desktop while preserving a
   comfortable accordion width below it. */
@media (min-width: 761px) {
  .faq-layout {
    max-width: var(--container);
  }

  .faq-section .section-heading {
    width: 100%;
    max-width: 1200px;
  }

  .faq-section .section-heading h2 {
    white-space: nowrap;
    font-size: clamp(2rem, 3.4vw, 3rem);
  }

  .faq-column {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
  }
}

/* Keep the services explainer poster focused on the presenter before play. */
.service-video-media img {
  object-position: center center !important;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  /* Reduce only the size/spacing of the existing display headings. The font,
     weight and wording remain unchanged. */
  .section-heading h2,
  .promise-copy h2,
  .contact-heading h2,
  .work-heading-copy h2,
  .service-video-copy h2 {
    font-size: clamp(1.7rem, 7.2vw, 2.15rem) !important;
    line-height: 1.08 !important;
    letter-spacing: .005em !important;
  }

  .kicker,
  .eyebrow,
  .contact-label {
    font-size: .7rem;
    line-height: 1.45;
  }

  /* Mobile hero: retain the centred design but stop the wide display face from
     overflowing the viewport. */
  .hero {
    min-height: calc(100vh - 72px) !important;
    min-height: calc(100dvh - 72px) !important;
    height: auto !important;
  }

  .hero-grid {
    min-height: calc(100vh - 72px) !important;
    min-height: calc(100dvh - 72px) !important;
    width: 100%;
    padding: 30px 0 34px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
    line-height: 1.03 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero h1 .hero-heading-line {
    display: block;
    white-space: normal !important;
  }

  .hero-copy > p {
    width: 100%;
    max-width: 100%;
    font-size: .94rem;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(100%, 290px);
  }

  .hero-trust {
    width: min(100%, 300px);
    max-width: 300px;
  }

  .hero-media {
    object-position: center center;
  }

  /* Requested mobile-only left alignment for section introductions. */
  .services .section-heading,
  .service-video-copy,
  .work-heading-copy,
  .why-us .section-heading,
  .testimonials .section-heading,
  .faq-section .section-heading,
  .contact-heading {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .services .section-heading p,
  .service-video-copy p,
  .work-heading-copy p,
  .why-us .section-heading p,
  .testimonials .section-heading p,
  .faq-section .section-heading p,
  .contact-heading p {
    width: 100%;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .work-heading-row {
    display: block;
    text-align: left !important;
  }

  .work-heading-copy {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .service-video-copy .btn {
    align-self: flex-start !important;
  }

  .testimonial-cta {
    justify-content: flex-start !important;
  }

  /* Why Choose Us: one block per row on mobile, in the original order. */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .stat,
  .stat:nth-child(2n),
  .stat:nth-child(3),
  .stat:last-child {
    grid-column: auto !important;
    width: 100%;
    padding: 26px 12px;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  /* Desktop FAQ is one line; mobile returns to natural wrapping at the smaller
     mobile heading size so it stays inside the screen. */
  .faq-section .section-heading h2 {
    white-space: normal !important;
  }
}

/* ===== V39: centre hero trust items beneath divider ===== */
.hero-trust > div {
  grid-template-columns: 34px auto;
  justify-self: center;
  width: max-content;
  max-width: 100%;
}

@media (max-width: 760px) {
  .hero-trust > div {
    justify-self: center;
  }
}

/* ===== V41: mobile hero trust items share one fixed alignment axis ===== */
@media (max-width: 760px) {
  .hero-trust > div {
    width: 230px !important;
    max-width: 230px !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    justify-self: center !important;
    column-gap: 12px;
  }

  .hero-trust > div .mini-icon {
    justify-self: start;
  }

  .hero-trust > div strong,
  .hero-trust > div small {
    justify-self: start;
    text-align: left;
  }
}

/* ===== V42: lock all three mobile hero trust items to one shared axis ===== */
@media (max-width: 760px) {
  .hero-trust {
    width: 240px !important;
    max-width: 240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
  }

  .hero-trust > div {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    align-items: center !important;
  }

  .hero-trust > div .mini-icon {
    width: 32px !important;
    height: 32px !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  .hero-trust > div strong,
  .hero-trust > div small {
    justify-self: start !important;
    text-align: left !important;
    margin-left: 0 !important;
  }
}

/* ===== V43: mobile hero trust group centred with shared columns ===== */
@media (max-width: 760px) {
  .hero-trust {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .hero-trust > div {
    width: 230px !important;
    max-width: 230px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    grid-template-columns: 42px 160px !important;
    column-gap: 14px !important;
    align-items: center !important;
  }

  .hero-trust > div .mini-icon {
    width: 32px !important;
    height: 32px !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  .hero-trust > div strong,
  .hero-trust > div small {
    width: 160px !important;
    justify-self: start !important;
    text-align: left !important;
    margin: 0 !important;
  }
}


/* ===== V44: Our Work video slide ===== */
.work-video-slide {
  background: #08090b;
}
.work-video-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  color: #fff;
  background: #08090b;
  cursor: pointer;
  font: inherit;
}
.work-video-trigger img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.work-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3,5,7,.12), rgba(3,5,7,.48));
  transition: background .25s ease;
}
.work-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  color: #fff;
  background: rgba(227,27,35,.94);
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, background .25s ease;
}
.work-video-play-icon {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
.work-video-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 50px);
  z-index: 2;
  color: #fff;
  font-family: var(--storm-display-font);
  font-size: .65rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}
.work-video-trigger:hover .work-video-overlay {
  background: linear-gradient(180deg, rgba(3,5,7,.2), rgba(3,5,7,.58));
}
.work-video-trigger:hover .work-video-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--red-dark);
}
.work-video-trigger:focus-visible {
  outline: 3px solid rgba(227,27,35,.45);
  outline-offset: -5px;
}
@media (max-width: 760px) {
  .work-video-play {
    width: 68px;
    height: 68px;
  }
  .work-video-play-icon {
    width: 30px;
    height: 30px;
  }
  .work-video-label {
    top: calc(50% + 54px);
  }
}


/* ===== V45: section order + true portrait Services Explainer video ===== */
.service-video-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px) !important;
  gap: clamp(42px, 6vw, 86px) !important;
  align-items: center !important;
}
.service-video-copy {
  align-self: center !important;
  min-height: 0 !important;
  padding-block: 0 !important;
}
.service-video-media {
  justify-self: end !important;
  align-self: center !important;
  width: min(100%, 430px) !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 9 / 16 !important;
  border-radius: 20px;
}
.service-video-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 900px) {
  .service-video-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    align-items: start !important;
  }
  .service-video-media {
    justify-self: center !important;
    width: min(100%, 380px) !important;
    aspect-ratio: 9 / 16 !important;
  }
}

@media (max-width: 560px) {
  .service-video-media {
    width: min(100%, 330px) !important;
    min-height: 0 !important;
    aspect-ratio: 9 / 16 !important;
  }
}

/* ===== V46: align portrait explainer video with the content column ===== */
@media (min-width: 901px) {
  .service-video-layout {
    align-items: start !important;
  }

  .service-video-copy,
  .service-video-media {
    align-self: start !important;
  }

  .service-video-copy {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}


/* ===== V47: approved white quote form integrated into hero ===== */
@media (min-width: 1051px) {
  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 440px) !important;
    gap: clamp(42px, 4.5vw, 72px) !important;
    place-items: initial !important;
    align-items: center !important;
    justify-content: stretch !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 820px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy > p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero h1 {
    max-width: 820px !important;
    font-size: clamp(2.7rem, 3.65vw, 4.45rem) !important;
  }

  .hero .red-rule {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-actions {
    justify-content: flex-start !important;
  }

  .hero-trust {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.hero-form-card {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 32px 30px 28px;
  border: 1px solid rgba(18, 24, 31, .08);
  border-radius: 18px;
  background: #fff;
  color: #15181c;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}

.hero-form-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--red);
  font-family: var(--storm-display-font);
  font-size: .7rem;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-form-card h2 {
  margin: 0 0 10px;
  color: #15181c;
  font-size: clamp(1.45rem, 2vw, 1.8rem) !important;
  line-height: 1.08 !important;
  text-transform: uppercase !important;
}

.hero-form-card > p {
  margin: 0 0 20px;
  color: #65707a;
  font-size: .9rem;
  line-height: 1.55;
}

.hero-form-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-form-fields.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-form-card input,
.hero-form-card textarea {
  width: 100%;
  border: 1px solid #dfe3e7;
  border-radius: 9px;
  background: #f6f7f8;
  color: #15181c;
  padding: 12px 13px;
  outline: 0;
  font: inherit;
  font-size: .88rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-form-card textarea {
  display: block;
  min-height: 94px;
  margin-bottom: 12px;
  resize: vertical;
}

.hero-form-card input:focus,
.hero-form-card textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227, 27, 35, .11);
}

.hero-form-submit {
  width: 100%;
  justify-content: center;
}

.hero-form-card .form-note {
  min-height: 18px;
  margin-top: 10px;
  color: #5f6973;
  font-size: .78rem;
  line-height: 1.4;
}

.hero-form-card .recaptcha-slot:not(:empty) {
  margin-bottom: 10px;
}

@media (max-width: 1050px) {
  .hero {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-grid {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    place-items: initial !important;
    align-items: start !important;
    padding-top: 46px !important;
    padding-bottom: 52px !important;
  }

  .hero-form-card {
    width: min(100%, 680px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    gap: 28px !important;
    padding-top: 34px !important;
    padding-bottom: 42px !important;
  }

  .hero-form-card {
    width: 100%;
    padding: 25px 20px 22px;
    border-radius: 15px;
  }

  .hero-form-card h2 {
    font-size: 1.38rem !important;
  }

  .hero-form-fields.two-col {
    grid-template-columns: 1fr;
  }

  .hero-form-card input,
  .hero-form-card textarea {
    font-size: .92rem;
    padding: 13px 14px;
  }
}

/* ===== V48: exact height alignment for the portrait Lightning Protection Explained video ===== */
@media (min-width: 901px) {
  .service-video-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px) !important;
    align-items: start !important;
  }

  .service-video-copy {
    align-self: start !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .service-video-media {
    justify-self: end !important;
    align-self: start !important;
    width: var(--service-video-sync-width, 260px) !important;
    height: var(--service-video-sync-height, 462px) !important;
    min-height: 0 !important;
    max-width: 430px !important;
    aspect-ratio: 9 / 16 !important;
  }

  .service-video-media img {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 900px) {
  .service-video-media {
    --service-video-sync-width: initial;
    --service-video-sync-height: initial;
  }
}


/* ===== V49: hero contact form wording + mobile side spacing ===== */
@media (max-width: 760px) {
  .hero-form-card {
    width: calc(100% - 16px) !important;
    max-width: 560px;
    margin-inline: auto !important;
    justify-self: center !important;
  }
}

/* ===== V50: larger, balanced portrait explainer video ===== */
@media (min-width: 1101px) {
  .service-video-layout {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    column-gap: clamp(52px, 5vw, 82px) !important;
    align-items: stretch !important;
  }

  .service-video-copy {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .service-video-copy .btn {
    margin-top: auto !important;
    align-self: flex-start !important;
  }

  .service-video-media {
    justify-self: end !important;
    align-self: start !important;
    width: 320px !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    aspect-ratio: 9 / 16 !important;
  }

  .service-video-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .service-video-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    column-gap: 42px !important;
    align-items: stretch !important;
  }

  .service-video-copy {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .service-video-copy .btn {
    margin-top: auto !important;
    align-self: flex-start !important;
  }

  .service-video-media {
    justify-self: end !important;
    align-self: start !important;
    width: 280px !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    aspect-ratio: 9 / 16 !important;
  }
}

/* ===== V51: rebalance Lightning Protection Explained section ===== */
@media (min-width: 1101px) {
  .service-video-section .service-video-layout {
    width: min(100%, 1240px) !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 760px) 340px !important;
    column-gap: 70px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .service-video-section .service-video-copy {
    display: block !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 760px !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .service-video-section .service-video-copy p {
    max-width: 740px !important;
    margin-bottom: 28px !important;
  }

  .service-video-section .service-video-copy .btn {
    margin-top: 0 !important;
    align-self: auto !important;
  }

  .service-video-section .service-video-media {
    justify-self: end !important;
    align-self: center !important;
    width: 340px !important;
    height: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 9 / 16 !important;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .service-video-section .service-video-layout {
    width: min(100%, 920px) !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 520px) 280px !important;
    column-gap: 40px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .service-video-section .service-video-copy {
    display: block !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 520px !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .service-video-section .service-video-copy p {
    margin-bottom: 26px !important;
  }

  .service-video-section .service-video-copy .btn {
    margin-top: 0 !important;
  }

  .service-video-section .service-video-media {
    justify-self: end !important;
    align-self: center !important;
    width: 280px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 9 / 16 !important;
  }
}

@media (max-width: 900px) {
  .service-video-section .service-video-layout {
    width: 100% !important;
    margin-inline: auto !important;
  }

  .service-video-section .service-video-copy .btn {
    margin-top: 0 !important;
  }
}

/* ===== V52: responsive hero composition across desktop, laptop, tablet and mobile ===== */
/*
   The hero is treated as one responsive composition rather than a fixed desktop mockup.
   Desktop keeps copy + contact card side by side; smaller screens stack cleanly.
*/
@media (min-width: 1181px) {
  .hero {
    height: calc(100vh - 78px) !important;
    height: calc(100dvh - 78px) !important;
    min-height: 610px !important;
    max-height: 920px;
    display: flex !important;
    align-items: center !important;
  }

  .hero-grid {
    width: min(var(--container), calc(100% - 48px)) !important;
    min-height: 100% !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(370px, 29vw, 430px) !important;
    column-gap: clamp(38px, 4.2vw, 70px) !important;
    align-items: center !important;
    justify-content: stretch !important;
    place-items: initial !important;
    padding-top: clamp(24px, 4vh, 42px) !important;
    padding-bottom: clamp(24px, 4vh, 42px) !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 850px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy > p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero .eyebrow {
    font-size: clamp(.66rem, .72vw, .78rem) !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 850px !important;
    font-size: clamp(3rem, 3.35vw, 4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: .005em !important;
  }

  .hero h1 .hero-heading-line {
    white-space: nowrap !important;
  }

  .hero .red-rule {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-copy > p {
    width: 100% !important;
    max-width: 720px !important;
    font-size: clamp(.92rem, 1vw, 1.04rem) !important;
    line-height: 1.55 !important;
  }

  .hero-actions {
    justify-content: flex-start !important;
  }

  .hero-trust {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-form-card {
    width: 100% !important;
    max-width: 430px !important;
    justify-self: end !important;
    align-self: center !important;
    padding: clamp(24px, 2.2vw, 32px) clamp(22px, 2vw, 30px) clamp(22px, 2vw, 28px) !important;
  }

  .hero-form-card > p {
    font-size: clamp(.8rem, .82vw, .9rem) !important;
  }
}

/* Compact desktop / short laptop screens: preserve the same composition while
   reducing vertical density so the full hero still fits in the viewport. */
@media (min-width: 1181px) and (max-height: 760px) {
  .hero {
    min-height: 560px !important;
  }

  .hero-grid {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    grid-template-columns: minmax(0, 1fr) clamp(350px, 27vw, 400px) !important;
    column-gap: clamp(34px, 3.5vw, 54px) !important;
  }

  .hero .eyebrow {
    margin-bottom: 8px !important;
    font-size: .64rem !important;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 3vw, 3.35rem) !important;
    line-height: 1 !important;
  }

  .hero .red-rule {
    margin-top: 13px !important;
    margin-bottom: 13px !important;
  }

  .hero-copy > p {
    max-width: 680px !important;
    margin-bottom: 16px !important;
    font-size: .88rem !important;
    line-height: 1.5 !important;
  }

  .hero-actions .btn {
    min-height: 44px !important;
    padding-inline: 18px !important;
    font-size: .74rem !important;
  }

  .hero-trust {
    margin-top: 18px !important;
    padding-top: 16px !important;
    gap: 12px !important;
  }

  .hero-trust strong {
    font-size: .77rem !important;
  }

  .hero-trust small {
    font-size: .72rem !important;
  }

  .hero-form-card {
    max-width: 400px !important;
    padding: 20px 22px 18px !important;
    border-radius: 16px !important;
  }

  .hero-form-kicker {
    margin-bottom: 4px !important;
    font-size: .61rem !important;
  }

  .hero-form-card h2 {
    margin-bottom: 7px !important;
    font-size: 1.35rem !important;
  }

  .hero-form-card > p {
    margin-bottom: 12px !important;
    font-size: .75rem !important;
    line-height: 1.42 !important;
  }

  .hero-form-fields {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .hero-form-card input,
  .hero-form-card textarea {
    padding: 9px 10px !important;
    font-size: .78rem !important;
  }

  .hero-form-card textarea {
    min-height: 72px !important;
    margin-bottom: 8px !important;
  }

  .hero-form-submit {
    min-height: 42px !important;
    font-size: .72rem !important;
  }

  .hero-form-card .form-note {
    min-height: 12px !important;
    margin-top: 5px !important;
  }
}

/* Mid-size laptop / landscape tablet: stack before the two columns become cramped. */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-grid {
    width: min(var(--container), calc(100% - 40px)) !important;
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    align-items: start !important;
    justify-items: center !important;
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  .hero-copy {
    width: min(100%, 820px) !important;
    max-width: 820px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy > p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 820px !important;
    font-size: clamp(2.65rem, 6vw, 3.75rem) !important;
    line-height: 1.02 !important;
  }

  .hero h1 .hero-heading-line {
    white-space: nowrap !important;
  }

  .hero .red-rule {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-copy > p {
    max-width: 700px !important;
  }

  .hero-actions {
    justify-content: center !important;
  }

  .hero-trust {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-form-card {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    justify-self: center !important;
    margin-inline: auto !important;
  }
}

/* Mobile: keep the existing centred hero, but guarantee comfortable gutters
   around the contact card and avoid any viewport-edge contact. */
@media (max-width: 760px) {
  .hero-grid {
    width: 100% !important;
    max-width: none !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-form-card {
    width: calc(100% - 12px) !important;
    max-width: 560px !important;
    margin-inline: auto !important;
    justify-self: center !important;
  }
}

/* ===== V53: aligned Lightning Protection Explained preview ===== */
/* The source video remains portrait in the lightbox. The inline preview is intentionally
   cropped to the content height so both columns form one clean, balanced row. */
@media (min-width: 761px) {
  .service-video-section .service-video-layout {
    width: min(100%, 1400px) !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(300px, 31vw, 460px) !important;
    gap: clamp(34px, 5vw, 72px) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .service-video-section .service-video-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .service-video-section .service-video-copy p {
    max-width: 780px !important;
    margin-bottom: 28px !important;
  }

  .service-video-section .service-video-copy .btn {
    align-self: flex-start !important;
    margin-top: 0 !important;
  }

  .service-video-section .service-video-media {
    position: relative !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 20px !important;
  }

  .service-video-section .service-video-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 30% !important;
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .service-video-section .service-video-layout {
    grid-template-columns: minmax(0, 1fr) clamp(260px, 34vw, 340px) !important;
    gap: 32px !important;
  }
}

@media (max-width: 760px) {
  .service-video-section .service-video-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .service-video-section .service-video-copy {
    text-align: left !important;
  }

  .service-video-section .service-video-copy .btn {
    align-self: flex-start !important;
  }

  .service-video-section .service-video-media {
    width: min(100%, 430px) !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    justify-self: center !important;
  }

  .service-video-section .service-video-media img {
    object-fit: cover !important;
    object-position: 50% 30% !important;
  }
}

/* ===== V54: repair hero vertical composition across desktop screen heights ===== */
/* Keep the hero as one full-screen composition and centre the content row itself,
   not only the individual grid cells. This prevents the copy from riding at the
   top on some desktop/laptop viewport heights. */
@media (min-width: 1181px) {
  .hero {
    height: auto !important;
    min-height: calc(100vh - 78px) !important;
    min-height: calc(100svh - 78px) !important;
    min-height: calc(100dvh - 78px) !important;
    max-height: none !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .hero-grid {
    flex: 1 1 auto !important;
    align-self: stretch !important;
    width: min(var(--container), calc(100% - 48px)) !important;
    min-height: calc(100vh - 78px) !important;
    min-height: calc(100svh - 78px) !important;
    min-height: calc(100dvh - 78px) !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(370px, 29vw, 430px) !important;
    grid-template-rows: auto !important;
    column-gap: clamp(38px, 4.2vw, 70px) !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: stretch !important;
    place-items: initial !important;
    padding-top: clamp(22px, 3vh, 36px) !important;
    padding-bottom: clamp(22px, 3vh, 36px) !important;
  }

  .hero-copy,
  .hero-form-card {
    align-self: center !important;
  }
}

@media (min-width: 1181px) and (max-height: 760px) {
  .hero,
  .hero-grid {
    min-height: calc(100vh - 78px) !important;
    min-height: calc(100svh - 78px) !important;
    min-height: calc(100dvh - 78px) !important;
  }

  .hero-grid {
    align-content: center !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}


/* ===== V55: video-only Services Explainer lightbox ===== */
/* When the Lightning Protection Explained preview is opened, show the portrait
   video by itself. The generic Our Work video modal keeps its existing layout. */
#service-video-popup .service-video-only {
  display: block !important;
  width: auto !important;
  max-width: calc(100vw - 48px) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: hidden !important;
  background: #000 !important;
}

#service-video-popup .service-video-only .video-modal-player {
  display: block !important;
  width: auto !important;
  height: min(86vh, 880px) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: calc(100vh - 48px) !important;
  aspect-ratio: 9 / 16 !important;
  object-fit: contain !important;
  background: #000 !important;
}

@media (max-width: 760px) {
  #service-video-popup {
    padding: 14px !important;
  }

  #service-video-popup .service-video-only {
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 28px) !important;
  }

  #service-video-popup .service-video-only .video-modal-player {
    width: auto !important;
    height: min(84vh, 760px) !important;
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 28px) !important;
  }
}

/* ===== V56: centre the complete hero composition horizontally ===== */
/* Keep the copy + contact card as one centred unit with balanced outer gutters.
   This is deliberately the final desktop hero override so earlier responsive
   rules cannot pull either column towards a viewport edge. */
@media (min-width: 1181px) {
  .hero-grid {
    width: min(1400px, calc(100% - clamp(56px, 6vw, 112px))) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: minmax(0, 820px) minmax(360px, 430px) !important;
    column-gap: clamp(42px, 4vw, 64px) !important;
    justify-content: center !important;
    justify-items: stretch !important;
    box-sizing: border-box !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 820px !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: start !important;
  }

  .hero-form-card {
    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: end !important;
  }
}

@media (min-width: 1181px) and (max-width: 1380px) {
  .hero-grid {
    width: calc(100% - 48px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 390px) !important;
    column-gap: 38px !important;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 3.35vw, 3.45rem) !important;
  }
}

/* ===== V57: mobile spacing for Lightning Protection Explained ===== */
/* Mobile only: give the whole section consistent gutters and compact the
   vertical rhythm so the copy, CTA and video read as one connected block. */
@media (max-width: 760px) {
  .service-video-section {
    padding-top: 42px !important;
    padding-bottom: 50px !important;
  }

  .service-video-section .service-video-layout {
    width: min(calc(100% - 36px), 520px) !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
  }

  .service-video-section .service-video-copy {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .service-video-section .service-video-copy .kicker {
    margin-bottom: 10px !important;
  }

  .service-video-section .service-video-copy h2 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }

  .service-video-section .service-video-copy p {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  .service-video-section .service-video-copy .btn {
    margin: 0 !important;
    align-self: flex-start !important;
  }

  .service-video-section .service-video-media {
    width: 100% !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 420px) {
  .service-video-section {
    padding-top: 36px !important;
    padding-bottom: 44px !important;
  }

  .service-video-section .service-video-layout {
    width: calc(100% - 32px) !important;
    gap: 26px !important;
  }
}

/* ===== V58: unified responsive hero + balanced Lightning Protection Explained ===== */
/* Final responsive pass. The hero now uses one proportional layout system across
   desktop widths/heights instead of switching to a heavily compressed short-screen
   version. When a viewport is too short, the section is allowed to grow rather than
   clipping or distorting the composition. */
@media (min-width: 1100px) {
  .hero {
    height: auto !important;
    min-height: calc(100vh - 78px) !important;
    min-height: calc(100svh - 78px) !important;
    min-height: calc(100dvh - 78px) !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .hero-grid {
    width: min(1400px, calc(100% - clamp(56px, 5vw, 96px))) !important;
    max-width: 1400px !important;
    min-height: calc(100vh - 78px) !important;
    min-height: calc(100svh - 78px) !important;
    min-height: calc(100dvh - 78px) !important;
    height: auto !important;
    margin-inline: auto !important;
    padding: clamp(30px, 4vh, 50px) 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(370px, 27vw, 430px) !important;
    column-gap: clamp(38px, 4vw, 64px) !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: center !important;
    justify-items: stretch !important;
    box-sizing: border-box !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 820px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
    align-self: center !important;
    text-align: left !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy > p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero .eyebrow {
    margin-bottom: 10px !important;
    font-size: clamp(.64rem, .68vw, .76rem) !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 820px !important;
    margin-bottom: 0 !important;
    font-size: clamp(2.8rem, 3.15vw, 3.95rem) !important;
    line-height: 1.01 !important;
    letter-spacing: .004em !important;
  }

  .hero h1 .hero-heading-line {
    display: block !important;
    white-space: nowrap !important;
  }

  .hero .red-rule {
    margin: 16px 0 !important;
  }

  .hero-copy > p {
    width: 100% !important;
    max-width: 720px !important;
    margin-bottom: 20px !important;
    font-size: clamp(.9rem, .92vw, 1rem) !important;
    line-height: 1.55 !important;
  }

  .hero-actions {
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .hero-actions .btn {
    min-height: 48px !important;
    padding-inline: 22px !important;
    font-size: .78rem !important;
  }

  .hero-trust {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    margin: 22px 0 0 !important;
    padding-top: 18px !important;
    gap: 14px !important;
  }

  .hero-trust strong {
    font-size: .8rem !important;
  }

  .hero-trust small {
    font-size: .76rem !important;
  }

  .hero-form-card {
    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: clamp(24px, 2vw, 30px) clamp(22px, 1.8vw, 28px) clamp(22px, 1.8vw, 27px) !important;
    justify-self: end !important;
    align-self: center !important;
    border-radius: 18px !important;
  }

  .hero-form-kicker {
    margin-bottom: 6px !important;
    font-size: .65rem !important;
  }

  .hero-form-card h2 {
    margin-bottom: 8px !important;
    font-size: clamp(1.35rem, 1.55vw, 1.65rem) !important;
  }

  .hero-form-card > p {
    margin-bottom: 15px !important;
    font-size: clamp(.76rem, .78vw, .86rem) !important;
    line-height: 1.48 !important;
  }

  .hero-form-fields {
    gap: 9px !important;
    margin-bottom: 9px !important;
  }

  .hero-form-card input,
  .hero-form-card textarea {
    padding: 10px 11px !important;
    font-size: .82rem !important;
  }

  .hero-form-card textarea {
    min-height: 88px !important;
    margin-bottom: 9px !important;
  }

  .hero-form-submit {
    min-height: 46px !important;
    font-size: .76rem !important;
  }
}

/* Narrow desktop/laptop widths: keep two columns, but scale the typography and form
   proportionally so neither side crowds the other. */
@media (min-width: 1100px) and (max-width: 1399px) {
  .hero-grid {
    width: calc(100% - 48px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 390px) !important;
    column-gap: clamp(32px, 3vw, 44px) !important;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 3vw, 3.2rem) !important;
  }

  .hero-form-card {
    max-width: 390px !important;
  }
}

/* Short desktop screens: do not crush the hero. Let it become slightly taller than
   the viewport if required so every control remains visible and aligned. */
@media (min-width: 1100px) and (max-height: 740px) {
  .hero,
  .hero-grid {
    min-height: calc(100vh - 78px) !important;
    min-height: calc(100svh - 78px) !important;
    min-height: calc(100dvh - 78px) !important;
  }

  .hero-grid {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* Tablet / compact landscape: stack the two hero columns before they become cramped. */
@media (min-width: 761px) and (max-width: 1099px) {
  .hero {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-grid {
    width: min(900px, calc(100% - 44px)) !important;
    max-width: 900px !important;
    min-height: 0 !important;
    height: auto !important;
    margin-inline: auto !important;
    padding: 54px 0 58px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    justify-items: center !important;
    align-items: start !important;
  }

  .hero-copy {
    width: min(100%, 820px) !important;
    max-width: 820px !important;
    margin-inline: auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy > p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero h1 {
    max-width: 820px !important;
    font-size: clamp(2.55rem, 5.6vw, 3.55rem) !important;
    line-height: 1.02 !important;
  }

  .hero h1 .hero-heading-line {
    display: block !important;
    white-space: nowrap !important;
  }

  .hero .red-rule {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-copy > p {
    max-width: 700px !important;
  }

  .hero-actions {
    justify-content: center !important;
  }

  .hero-trust {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-form-card {
    width: min(100%, 600px) !important;
    max-width: 600px !important;
    margin-inline: auto !important;
    justify-self: center !important;
  }
}

/* Mobile keeps the centred hero design with guaranteed outer gutters. */
@media (max-width: 760px) {
  .hero-grid {
    width: calc(100% - 28px) !important;
    max-width: 620px !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-copy,
  .hero-form-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .hero-form-card {
    justify-self: center !important;
  }
}

/* Lightning Protection Explained: pure white background and a taller, balanced
   preview card. The copy column and video column share the same visual height so
   their top/bottom edges feel deliberate on desktop and tablet. */
.service-video-section {
  background: #fff !important;
}

@media (min-width: 1100px) {
  .service-video-section .service-video-layout {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: 1320px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 760px) clamp(340px, 30vw, 420px) !important;
    column-gap: clamp(52px, 5vw, 76px) !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  .service-video-section .service-video-copy {
    min-height: clamp(500px, 34vw, 550px) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 760px !important;
    padding: 24px 0 34px !important;
    text-align: left !important;
  }

  .service-video-section .service-video-copy p {
    max-width: 740px !important;
    margin-bottom: 28px !important;
  }

  .service-video-section .service-video-copy .btn {
    align-self: flex-start !important;
    margin-top: 0 !important;
  }

  .service-video-section .service-video-media {
    width: 100% !important;
    max-width: 420px !important;
    min-height: clamp(500px, 34vw, 550px) !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    align-self: stretch !important;
    justify-self: end !important;
    border-radius: 20px !important;
  }

  .service-video-section .service-video-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 30% !important;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .service-video-section .service-video-layout {
    width: min(920px, calc(100% - 44px)) !important;
    max-width: 920px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px) !important;
    gap: 36px !important;
    align-items: stretch !important;
  }

  .service-video-section .service-video-copy,
  .service-video-section .service-video-media {
    min-height: 460px !important;
    height: auto !important;
    align-self: stretch !important;
  }

  .service-video-section .service-video-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 20px 0 30px !important;
    text-align: left !important;
  }

  .service-video-section .service-video-copy p {
    margin-inline: 0 !important;
    margin-bottom: 24px !important;
  }

  .service-video-section .service-video-copy .btn {
    align-self: flex-start !important;
  }

  .service-video-section .service-video-media {
    width: 100% !important;
    max-width: 330px !important;
    aspect-ratio: auto !important;
    justify-self: end !important;
  }

  .service-video-section .service-video-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 30% !important;
  }
}

@media (max-width: 760px) {
  .service-video-section {
    padding-top: 42px !important;
    padding-bottom: 52px !important;
  }

  .service-video-section .service-video-layout {
    width: calc(100% - 36px) !important;
    max-width: 520px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  .service-video-section .service-video-copy {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .service-video-section .service-video-copy p {
    margin-inline: 0 !important;
    margin-bottom: 22px !important;
  }

  .service-video-section .service-video-copy .btn {
    align-self: flex-start !important;
  }

  .service-video-section .service-video-media {
    position: relative !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: 0 !important;
    height: auto !important;
    margin-inline: auto !important;
    aspect-ratio: 3 / 4 !important;
    justify-self: center !important;
    border-radius: 18px !important;
  }

  .service-video-section .service-video-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 30% !important;
  }
}


/* ===== V59: tighter hero composition + full-width explainer with benefits ===== */
/* Keep the two hero columns close enough to read as one centred composition. */
@media (min-width: 1400px) {
  .hero-grid {
    width: min(1400px, calc(100% - 56px)) !important;
    grid-template-columns: minmax(0, 820px) minmax(470px, 500px) !important;
    column-gap: clamp(26px, 1.8vw, 34px) !important;
    justify-content: center !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 820px !important;
  }

  .hero-form-card {
    width: 100% !important;
    max-width: 500px !important;
    justify-self: stretch !important;
  }
}

@media (min-width: 1100px) and (max-width: 1399px) {
  .hero-grid {
    width: calc(100% - 48px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 440px) !important;
    column-gap: clamp(24px, 2vw, 30px) !important;
    justify-content: center !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 820px !important;
  }

  .hero-form-card {
    width: 100% !important;
    max-width: 440px !important;
    justify-self: stretch !important;
  }
}

/* The explainer now uses the exact same outer container width as the rest of the site. */
.service-video-section .service-video-layout {
  width: min(var(--container), calc(100% - 40px)) !important;
  max-width: var(--container) !important;
  margin-inline: auto !important;
}

.service-video-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  margin: 0 0 24px;
}

.service-video-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #2d3339;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-video-benefit-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227,27,35,.28);
  border-radius: 50%;
  background: rgba(227,27,35,.07);
  color: var(--red);
}

.service-video-benefit-icon .icon {
  width: 18px;
  height: 18px;
}

@media (min-width: 1100px) {
  .service-video-section .service-video-layout {
    grid-template-columns: minmax(0, 1fr) clamp(410px, 31vw, 460px) !important;
    column-gap: clamp(40px, 3vw, 56px) !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  .service-video-section .service-video-copy,
  .service-video-section .service-video-media {
    min-height: 590px !important;
    height: 590px !important;
    align-self: stretch !important;
  }

  .service-video-section .service-video-copy {
    max-width: none !important;
    padding: 34px 0 !important;
    justify-content: center !important;
  }

  .service-video-section .service-video-copy p {
    max-width: 780px !important;
    margin-bottom: 22px !important;
  }

  .service-video-section .service-video-media {
    width: 100% !important;
    max-width: 460px !important;
    justify-self: end !important;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .service-video-section .service-video-layout {
    width: min(var(--container), calc(100% - 40px)) !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 350px) !important;
    gap: 30px !important;
  }

  .service-video-section .service-video-copy,
  .service-video-section .service-video-media {
    min-height: 500px !important;
    height: 500px !important;
  }

  .service-video-section .service-video-copy {
    padding: 24px 0 !important;
    justify-content: center !important;
  }

  .service-video-benefits {
    gap: 8px;
    margin-bottom: 20px;
  }

  .service-video-benefit {
    min-height: 40px;
    font-size: .88rem;
  }

  .service-video-benefit-icon {
    width: 31px;
    height: 31px;
  }
}

@media (max-width: 900px) {
  .service-video-section .service-video-layout {
    width: min(var(--container), calc(100% - 28px)) !important;
  }
}

@media (max-width: 760px) {
  .service-video-section .service-video-layout {
    width: min(var(--container), calc(100% - 28px)) !important;
    gap: 26px !important;
  }

  .service-video-benefits {
    gap: 9px;
    margin: 0 0 22px !important;
  }

  .service-video-benefit {
    min-height: 42px;
    font-size: .9rem;
  }

  .service-video-section .service-video-media {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 3 / 4.15 !important;
  }
}


/* ===== V60: successful form submission confirmation popup ===== */
.form-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.form-success-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.form-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 6, .82);
  backdrop-filter: blur(9px);
}

.form-success-dialog {
  position: relative;
  z-index: 1;
  width: min(570px, 100%);
  overflow: hidden;
  padding: 36px 42px 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 22px;
  background: #fff;
  color: #15181c;
  text-align: center;
  box-shadow: 0 38px 110px rgba(0, 0, 0, .5);
  transform: translateY(18px) scale(.985);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}

.form-success-dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--red);
}

.form-success-modal.is-open .form-success-dialog {
  transform: none;
}

.form-success-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #dfe2e5;
  border-radius: 50%;
  background: #fff;
  color: #15181c;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.form-success-close:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: rotate(4deg);
}

.form-success-close .icon {
  width: 20px;
  height: 20px;
}

.form-success-brand {
  display: flex;
  justify-content: center;
  margin: 2px auto 20px;
}

.form-success-brand img {
  width: 180px;
  height: auto;
  max-height: 74px;
  object-fit: contain;
}

.form-success-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(227, 27, 35, .3);
  border-radius: 50%;
  background: rgba(227, 27, 35, .08);
  color: var(--red);
}

.form-success-icon .icon {
  width: 34px;
  height: 34px;
}

.form-success-kicker {
  display: block;
  margin: 0 0 9px;
  color: var(--red);
  font-family: var(--storm-heading-font);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.form-success-dialog h2 {
  max-width: 470px;
  margin: 0 auto 14px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.form-success-dialog p {
  max-width: 440px;
  margin: 0 auto 26px;
  color: #626d77;
  font-size: 1rem;
  line-height: 1.65;
}

.form-success-button {
  min-width: 230px;
}

@media (max-width: 600px) {
  .form-success-modal {
    padding: 18px;
  }

  .form-success-dialog {
    padding: 30px 22px 28px;
    border-radius: 18px;
  }

  .form-success-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .form-success-brand {
    margin-bottom: 16px;
  }

  .form-success-brand img {
    width: 154px;
  }

  .form-success-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }

  .form-success-icon .icon {
    width: 30px;
    height: 30px;
  }

  .form-success-dialog h2 {
    font-size: clamp(1.4rem, 7vw, 1.75rem);
  }

  .form-success-dialog p {
    margin-bottom: 22px;
    font-size: .94rem;
  }

  .form-success-button {
    width: 100%;
    min-width: 0;
  }
}

/* ===== V63: wider-screen hero breathing room ===== */
/* Keep the current laptop composition unchanged. On larger desktop displays,
   increase only the space between the copy and contact card while keeping the
   complete two-column hero centred inside the same 1400px site container. */
@media (min-width: 1500px) {
  .hero-grid {
    grid-template-columns: minmax(0, 820px) minmax(470px, 500px) !important;
    column-gap: clamp(46px, 3vw, 56px) !important;
    justify-content: center !important;
  }

  .hero-copy {
    max-width: 820px !important;
  }

  .hero-form-card {
    max-width: 500px !important;
  }
}


/* ===== V68: footer legal links + legal pages ===== */
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.footer-legal-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity .2s ease;
}
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  opacity: .78;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal-links > span {
  opacity: .7;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 10%, rgba(227,27,35,.12), transparent 28%),
    #070b10;
  color: #f3f5f7;
}
.legal-header {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,11,16,.96);
}
.legal-header .container {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand img {
  display: block;
  width: 235px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.legal-back:hover,
.legal-back:focus-visible {
  background: #e31b23;
  border-color: #e31b23;
}
.legal-hero {
  padding: 78px 0 36px;
}
.legal-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #ff343c;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal-hero h1 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
}
.legal-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #aeb6bf;
  line-height: 1.75;
}
.legal-content {
  padding: 20px 0 88px;
}
.legal-card {
  max-width: 980px;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: #0d1218;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.legal-card h2 {
  margin: 34px 0 12px;
  font-size: 1.2rem;
  color: #fff;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p,
.legal-card li {
  color: #bdc4cb;
  line-height: 1.8;
}
.legal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}
.legal-card a {
  color: #ff454c;
}
.legal-updated {
  margin-top: 0;
  color: #8d969f !important;
  font-size: .9rem;
}
.legal-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, #b80f16, #e31b23);
}
.legal-footer .container {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .8rem;
}
.legal-footer a { color: #fff; font-weight: 700; }

@media (max-width: 760px) {
  .footer-legal-links { flex-wrap: wrap; justify-content: center; }
  .legal-header .container { min-height: 76px; }
  .legal-brand img { width: 185px; height: 58px; }
  .legal-back { padding: 0 14px; font-size: .85rem; }
  .legal-hero { padding: 56px 0 28px; }
  .legal-footer .container { padding: 14px 0; flex-direction: column; text-align: center; }
}
