:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef3f9;
  --ink: #0b1220;
  --muted: #5d6b80;
  --line: #dce5ef;
  --primary: #0b6ed0;
  --primary-dark: #084f95;
  --accent: #18a0fb;
  --warning: #f5b301;
  --shadow: 0 24px 80px rgba(7, 18, 32, 0.13);
  --shadow-soft: 0 16px 50px rgba(7, 18, 32, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
ul,
figure {
  margin-top: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid rgba(220, 229, 239, 0.75);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 40px rgba(7, 18, 32, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 14px 34px rgba(11, 110, 208, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #243246;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
  background: #e9f3ff;
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 30px rgba(7, 18, 32, 0.14);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--primary);
  color: white;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  padding: 11px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../img/hero-panel.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroPan 22s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    radial-gradient(circle at 84% 20%, rgba(24, 160, 251, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(4, 12, 24, 0.92), rgba(4, 12, 24, 0.72) 45%, rgba(4, 12, 24, 0.38));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  padding-block: 108px;
}

.hero-content {
  max-width: 740px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9fd4ff;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 18px 40px rgba(11, 110, 208, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 54px rgba(11, 110, 208, 0.42);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.hero-card > div {
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card > div:first-child {
  padding-top: 0;
}

.hero-card > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat,
.stat-plus,
.stat-text {
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.stat-plus {
  color: #9fd4ff;
}

.stat-text {
  display: block;
}

.hero-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-item,
.service-card,
.process-step,
.contact-form,
.gallery-item,
.feature-card {
  border: 1px solid rgba(220, 229, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.trust-item {
  min-height: 172px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.trust-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #e9f3ff;
  color: var(--primary);
  font-weight: 900;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  padding-block: clamp(72px, 10vw, 130px);
}

.two-column,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading p,
.intro-copy p,
.about-copy p,
.contact-copy p,
.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy p:last-child,
.about-copy p:last-child,
.contact-copy p:last-child,
.feature-copy p:last-child {
  margin-bottom: 0;
}

.services-section {
  background: linear-gradient(180deg, var(--surface), var(--surface-strong));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(11, 110, 208, 0.10), rgba(24, 160, 251, 0.18));
  transition: transform 220ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 110, 208, 0.3);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  transform: scale(1.18);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 17px;
  background: #e9f3ff;
  color: var(--primary);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
}

.service-card a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 900;
}

.service-card a::after,
.text-link::after {
  content: "->";
  transition: transform 180ms ease;
}

.service-card a:hover::after,
.text-link:hover::after {
  transform: translateX(4px);
}

.emergency-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(11, 110, 208, 0.14), transparent 28%),
    #0a1423;
  color: white;
}

.emergency-section .eyebrow {
  color: #9fd4ff;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.24);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.84);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.28);
}

.feature-image img,
.about-image img,
.gallery-item img {
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.feature-image img {
  height: 360px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.process-step {
  padding: 28px;
  border-radius: var(--radius-md);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-section {
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  margin-bottom: 0;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.gallery-item img {
  height: 280px;
}

.gallery-item figcaption {
  padding: 16px 8px 6px;
  color: var(--ink);
  font-weight: 900;
}

.about-section {
  background: linear-gradient(180deg, var(--surface-strong), var(--bg));
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-image img {
  height: 430px;
}

.contact-section {
  background:
    radial-gradient(circle at 92% 10%, rgba(24, 160, 251, 0.16), transparent 30%),
    var(--ink);
  color: white;
}

.contact-section .eyebrow {
  color: #9fd4ff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 180ms ease, transform 180ms ease;
}

.contact-list a:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.contact-list span {
  color: #b6dfff;
  font-weight: 900;
}

address {
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

address strong {
  color: white;
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: white;
  color: var(--ink);
}

.contact-form h3 {
  margin-bottom: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #334155;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fafc;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(11, 110, 208, 0.13);
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding-top: 64px;
  background: #050b14;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-brand {
  color: white;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  max-width: 420px;
  margin: 20px 0 0;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: white;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 9px;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes heroPan {
  from {
    transform: scale(1.08) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(1.5%, 0.5%, 0);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .feature-card,
  .about-grid,
  .contact-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 720px;
  }

  .services-grid,
  .gallery-grid,
  .process-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-image img,
  .about-image img {
    height: 340px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: translateY(-12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(4, 12, 24, 0.91), rgba(4, 12, 24, 0.74));
  }

  .hero-grid {
    gap: 28px;
    padding-block: 88px 110px;
  }

  .hero-card {
    padding: 22px;
  }

  .trust-strip {
    margin-top: -50px;
  }

  .services-grid,
  .gallery-grid,
  .process-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 70px;
  }

  .service-card {
    min-height: auto;
  }

  .feature-image img,
  .about-image img,
  .gallery-item img {
    height: 260px;
  }

  .contact-list a {
    display: grid;
  }

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

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .stat,
  .stat-plus,
  .stat-text {
    font-size: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* WordPress fallback page styling */
.wp-page {
  background: var(--bg);
}

.wp-page-card {
  max-width: 900px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.wp-page-card h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.wp-page-content {
  margin-top: 28px;
  color: var(--muted);
}

.wp-page-content a {
  color: var(--primary);
  font-weight: 800;
}
