:root {
  --bg: #ffffff;
  --bg-soft: #f5f9ff;
  --card: #ffffff;
  --text: #111111;
  --muted: #4f5b6d;
  --line: #d7e4f4;
  --primary: #6aa9d8;
  --primary-strong: #5599cd;
  --black-accent: #0f1721;
  --radius: 14px;
  --shadow-soft: 0 8px 22px rgba(30, 66, 115, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

main {
  overflow-x: clip;
}

.container {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (max-width: 760px) {
  .container {
    width: 100%;
    padding-inline: 0.9rem;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.8rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 200;
}

.announcement {
  background: #edf5ff;
  border-bottom: 1px solid #d5e6f7;
}

.announcement p {
  text-align: center;
  font-size: 0.9rem;
  padding: 0.62rem 1rem;
  color: #1f3249;
}

.announcement a {
  color: #1f6ea8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 18px rgba(20, 45, 78, 0.06);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  min-width: 0;
  overflow: hidden;
}

.brand-text strong {
  font-size: 1.04rem;
  color: var(--black-accent);
}

.brand-text small {
  color: #6a7690;
  font-size: 0.75rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.main-nav a {
  text-decoration: none;
  color: #2f3d53;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #0f1721;
}

.theme-toggle {
  border: 1px solid #bfd2e7;
  background: #ffffff;
  color: #17304b;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.theme-toggle:hover {
  background: #f1f7ff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111111;
  margin: 4px 0;
}

.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;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0.76rem 1rem;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.btn-sm {
  padding: 0.55rem 0.9rem;
}

.btn-primary {
  color: #0d223a;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: #4b8cbc;
}

.btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #13253d;
  border-color: #bfcfe4;
  background: #ffffff;
}

.btn-ghost:hover {
  background: #f7fbff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35px;
  font-size: 0.76rem;
  color: #3f84b8;
  font-weight: 700;
}

.hero {
  padding: 3.7rem 0 2.7rem;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-inline: auto;
  max-width: 23ch;
  color: #101820;
}


.hero-lead {
  margin: 0.95rem auto 0;
  max-width: 66ch;
  color: #3e4c61;
  font-size: 1.04rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.stats-strip {
  background: var(--bg-soft);
  border-top: 1px solid #dbe8f8;
  border-bottom: 1px solid #dbe8f8;
}

.stats-grid {
  padding: 1.18rem 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  border: 1px solid #d4e2f2;
  border-radius: 12px;
  padding: 0.9rem;
  background: #ffffff;
}

.stat strong {
  display: block;
  color: #102033;
  font-size: 1rem;
}

.stat span {
  color: #54637c;
  font-size: 0.84rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f8fbff;
  border-top: 1px solid #e2ebf7;
  border-bottom: 1px solid #e2ebf7;
}

.section-head {
  max-width: 72ch;
}

.section-head h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  color: #0f1721;
}

.cards {
  margin-top: 1.45rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid #d7e4f3;
  background: var(--card);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1rem;
  color: #152235;
}

.card p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  margin: 0;
  border: 1px solid #d9e5f4;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-photo {
  cursor: zoom-in;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.social-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.process {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.process-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid #bfd4ea;
  background: #ffffff;
  color: #1b334f;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.2s ease;
}

.process-arrow:hover {
  border-color: #86b6dc;
  background: #eef6ff;
}

.process-track {
  position: relative;
  min-height: 190px;
}

.process-card {
  border: 1px solid #d2e1f1;
  border-left: 6px solid #a7cae9;
  border-radius: 14px;
  background: #ffffff;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.process-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.process-card span {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: #3f84b8;
  margin-bottom: 0.4rem;
}

.process-card h3 {
  font-size: 1.1rem;
  color: #111111;
}

.process-card p {
  margin-top: 0.45rem;
  color: #49596f;
}

.process-dots {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #c6d8eb;
  cursor: pointer;
}

.dot.is-active {
  background: #5fa3d5;
  transform: scale(1.15);
}

.reviews {
  margin-top: 1.45rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reviews article {
  border: 1px solid #d3e2f2;
  border-radius: 12px;
  padding: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

blockquote {
  margin: 0;
  color: #1f2d40;
}

.reviews p {
  margin-top: 0.7rem;
  color: #5a6a82;
  font-size: 0.83rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.contact-cards {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  border: 1px solid #d4e2f2;
  border-radius: 12px;
  padding: 0.96rem;
  text-decoration: none;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.contact-card:hover {
  border-color: #9ec3e4;
}

.contact-card h3 {
  font-size: 0.96rem;
  color: #111111;
}

.contact-card p {
  margin-top: 0.25rem;
  color: #32445d;
}

.lead-form {
  border: 1px solid #d4e2f2;
  border-radius: 14px;
  padding: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.84rem;
}

.lead-form > p {
  color: #53627a;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #1b2c42;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d9eb;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 0.73rem 0.8rem;
  font-family: inherit;
  font-size: 0.92rem;
}

textarea {
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #70aad7;
  outline-offset: 2px;
}

.grid-2 {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
}

.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #5fa3d5;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.form-note {
  color: #5e7089;
  font-size: 0.8rem;
}

.location {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.95fr 1.05fr;
}

.company-data {
  margin-top: 0.95rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: #2e3f57;
}

.map-frame {
  border: 1px solid #d4e2f2;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  max-width: 100%;
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #dbe8f8;
  padding-top: 2.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-brand {
  font-weight: 700;
  color: #111111;
  margin-bottom: 0.45rem;
}

.site-footer p {
  color: #42536c;
}

.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.footer-contact p strong,
.footer-links p strong {
  color: #111111;
}

.footer-contact a,
.footer-links a {
  color: #3c7db3;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid #dbe8f8;
  margin-top: 1.2rem;
  padding: 0.8rem 0 1.4rem;
  color: #607089;
  font-size: 0.85rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.88);
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: min(1200px, 96vw);
  max-height: 88vh;
  text-align: center;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  object-fit: contain;
  background: transparent;
}

.lightbox-content p {
  margin-top: 0.6rem;
  color: #ebf3ff;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-prev {
  margin-right: 1rem;
}

.lightbox-next {
  margin-left: 1rem;
}

html[data-theme="dark"] body {
  background: #0d1522;
  color: #e7efff;
}

html[data-theme="dark"] .announcement {
  background: #13263f;
  border-bottom-color: #27426a;
}

html[data-theme="dark"] .announcement p {
  color: #c8dcf6;
}

html[data-theme="dark"] .announcement a {
  color: #9fcbf1;
}

html[data-theme="dark"] .site-header {
  background: rgba(12, 20, 34, 0.95);
}

html[data-theme="dark"] .site-header.scrolled {
  border-bottom-color: #2b4061;
}

html[data-theme="dark"] .brand-logo {
  background: #0e1724;
  border-color: #2d466b;
}

html[data-theme="dark"] .brand-text strong {
  color: #edf4ff;
}

html[data-theme="dark"] .brand-text small {
  color: #9fb2ce;
}

html[data-theme="dark"] .main-nav a {
  color: #c2d2ea;
}

html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a:focus-visible {
  color: #ffffff;
}

html[data-theme="dark"] .theme-toggle {
  border-color: #365379;
  background: #132237;
  color: #dbe9ff;
}

html[data-theme="dark"] .theme-toggle:hover {
  background: #1a2d47;
}

html[data-theme="dark"] .menu-toggle {
  background: #122135;
  border-color: #314c71;
  color: #ffffff;
}

html[data-theme="dark"] .menu-toggle span {
  background: #ffffff;
}

html[data-theme="dark"] .hero h1 {
  color: #f2f7ff;
}

html[data-theme="dark"] .hero-lead {
  color: #b4c6de;
}

html[data-theme="dark"] .stats-strip {
  background: #101b2c;
  border-color: #263d5f;
}

html[data-theme="dark"] .section-alt {
  background: #111c2e;
  border-color: #253c5f;
}

html[data-theme="dark"] .section-head h2 {
  color: #eef4ff;
}

html[data-theme="dark"] .stat,
html[data-theme="dark"] .card,
html[data-theme="dark"] .gallery-item,
html[data-theme="dark"] .process-card,
html[data-theme="dark"] .reviews article,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .lead-form,
html[data-theme="dark"] .map-frame {
  background: #142238;
  border-color: #2d466b;
  box-shadow: none;
}

html[data-theme="dark"] .stat strong,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .contact-card h3,
html[data-theme="dark"] .process-card h3 {
  color: #f0f6ff;
}

html[data-theme="dark"] .stat span,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .reviews p,
html[data-theme="dark"] .contact-card p,
html[data-theme="dark"] .process-card p,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .company-data,
html[data-theme="dark"] .site-footer p {
  color: #b6c8e0;
}

html[data-theme="dark"] blockquote {
  color: #deebff;
}

html[data-theme="dark"] .btn-ghost {
  color: #d8e6fb;
  border-color: #39567e;
  background: #132237;
}

html[data-theme="dark"] .btn-ghost:hover {
  background: #1b2e49;
}

html[data-theme="dark"] .process-arrow {
  border-color: #3a577f;
  background: #132237;
  color: #e8f1ff;
}

html[data-theme="dark"] .process-arrow:hover {
  background: #1b2f4a;
}

html[data-theme="dark"] .dot {
  background: #50719c;
}

html[data-theme="dark"] .dot.is-active {
  background: #8ec2ee;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #0f1a2a;
  border-color: #324c71;
  color: #e8f0ff;
}

html[data-theme="dark"] label {
  color: #d9e7fb;
}

html[data-theme="dark"] .site-footer {
  background: #0f1a2b;
  border-top-color: #2a4368;
}

html[data-theme="dark"] .footer-brand {
  color: #edf4ff;
}

html[data-theme="dark"] .footer-contact p strong,
html[data-theme="dark"] .footer-links p strong {
  color: #edf4ff;
}

html[data-theme="dark"] .footer-contact a,
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .site-footer a {
  color: #9dcbf1;
}

html[data-theme="dark"] .footer-bottom {
  border-top-color: #2a4368;
  color: #9fb3ce;
}

html[data-theme="dark"] .floating-cta a {
  border-color: #37537b;
  color: #e7f0ff;
  background: #132237;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  gap: 0.45rem;
  z-index: 90;
}

.floating-cta a {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #a8c6e1;
  font-size: 0.84rem;
  font-weight: 700;
  color: #12253d;
  background: #ffffff;
  padding: 0.58rem 0.88rem;
  box-shadow: var(--shadow-soft);
}

.floating-cta a:first-child {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: #4b8cbc;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(14px);
  border: 1px solid #c2d6eb;
  background: #ffffff;
  color: #17304d;
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  font-size: 0.85rem;
  opacity: 0;
  transition: 0.25s ease;
  pointer-events: none;
  z-index: 130;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1000px) {
  .stats-grid,
  .cards,
  .gallery-grid,
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .location {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 84px;
    z-index: 120;
    background: #ffffff;
    border: 1px solid #d4e3f4;
    border-radius: 12px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    box-shadow: var(--shadow-soft);
  }

  html[data-theme="dark"] .main-nav {
    background: #122136;
    border-color: #30496f;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.35rem;
  }

  .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .stats-grid,
  .cards,
  .gallery-grid,
  .reviews,
  .footer-grid,
  .grid-2,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  /* Extra breathing room on phone edges */
  .stats-strip .container,
  .site-footer .container {
    padding-inline: 1.25rem;
  }

  .stat,
  .footer-grid > *,
  .footer-bottom p {
    min-width: 0;
  }

  .footer-bottom p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-bottom {
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process-arrow {
    width: 100%;
    border-radius: 10px;
    height: 40px;
  }

  .process-track {
    min-height: 210px;
  }

  .lightbox {
    padding: 0.5rem;
  }

  .lightbox-content {
    max-width: 92vw;
  }

  .lightbox-content img {
    max-height: 72vh;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    margin-right: 0.45rem;
  }

  .lightbox-next {
    margin-left: 0.45rem;
  }

  .floating-cta {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
