:root {
  --bg: #edf4f7;
  --bg-alt: #d6e5eb;
  --surface: #ffffff;
  --surface-2: #f4f9fb;
  --text: #122837;
  --text-muted: #536876;
  --primary: #007a96;
  --primary-deep: #0d3f53;
  --accent: #f68f2b;
  --ring: rgba(0, 122, 150, 0.28);
  --border: rgba(18, 40, 55, 0.15);
  --shadow-soft: 0 18px 35px rgba(12, 49, 65, 0.14);
  --shadow-card: 0 10px 25px rgba(14, 37, 51, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 122, 150, 0.14), transparent 38%),
    radial-gradient(circle at 92% 14%, rgba(246, 143, 43, 0.16), transparent 30%),
    linear-gradient(170deg, var(--bg) 0%, #f8fbfd 45%, var(--bg-alt) 100%);
  line-height: 1.55;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #0bb5cf, var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 80;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--primary-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(237, 244, 247, 0.82);
  border-bottom: 1px solid rgba(18, 40, 55, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 150, 0.5), transparent);
}

.site-header.is-scrolled {
  background: rgba(248, 252, 254, 0.92);
  box-shadow: 0 10px 24px rgba(13, 40, 55, 0.12);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
  transition: min-height 0.25s ease;
}

.site-header.is-scrolled .header-wrap {
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(13, 63, 83, 0.22));
}

.brand-text {
  font-size: 0.98rem;
}

.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  flex-direction: column;
  gap: 5px;
  padding: 0.45rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.section {
  padding: 5.25rem 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.72);
}

.section-band {
  position: relative;
  background: linear-gradient(160deg, rgba(13, 63, 83, 0.95), rgba(0, 122, 150, 0.9));
  color: #f4fbff;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.section-band .container {
  position: relative;
}

.section-head {
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
}

.section-band .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.hero {
  padding: 6.8rem 0 4.8rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(13, 63, 83, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 63, 83, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 30% 35%, black, transparent 85%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  z-index: -1;
}

.hero-glow-a {
  width: 390px;
  height: 390px;
  background: rgba(0, 122, 150, 0.18);
  top: -160px;
  left: -90px;
  animation: drift 10s ease-in-out infinite;
}

.hero-glow-b {
  width: 440px;
  height: 440px;
  background: rgba(246, 143, 43, 0.14);
  right: -170px;
  bottom: -240px;
  animation: drift 11s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.lead {
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 60ch;
}

.hero-badges {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(13, 63, 83, 0.16);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-deep);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(125deg, var(--primary), var(--primary-deep));
  box-shadow: var(--shadow-card);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 28px rgba(13, 63, 83, 0.3);
}

.btn-outline {
  color: var(--primary-deep);
  border-color: rgba(13, 63, 83, 0.25);
  background: rgba(255, 255, 255, 0.88);
}

.hero-panel {
  background: linear-gradient(160deg, #0e2937, #15485f);
  color: #f0f9ff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-panel h2 {
  font-size: 1.45rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.86rem;
  font-size: 0.95rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.hero-stats article {
  border-radius: var(--radius-sm);
  padding: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.counter {
  display: inline-block;
  min-width: 1.4ch;
}

.grid-two {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.section-copy p {
  color: var(--text-muted);
}

.info-card,
.service-card,
.product-card,
.step,
.quote-form,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tilt-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tilt-card:hover::after {
  opacity: 1;
}

.info-card {
  position: relative;
  padding: 1.5rem;
}

.info-card ul {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.info-card li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.info-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  position: absolute;
  left: 0;
  top: 0.52rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.product-card {
  position: relative;
  padding: 1.3rem;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(14, 37, 51, 0.16);
}

.service-card p,
.product-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eaf5fb;
  padding: 1.25rem;
}

.step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
}

.step p {
  color: rgba(234, 245, 251, 0.84);
  margin-bottom: 0;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #f86624);
}

.text-link {
  display: inline-block;
  margin-top: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.quote-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-card {
  margin-top: 1.2rem;
  padding: 1rem;
  background: var(--surface-2);
}

.contact-card p {
  margin-bottom: 0.55rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

.quote-form {
  padding: 1.4rem;
  display: grid;
  gap: 0.62rem;
  position: relative;
}

.quote-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.72rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
  border-color: var(--primary);
}

.form-actions {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.form-note {
  margin: 0.4rem 0 0;
  min-height: 1.3rem;
  color: var(--primary-deep);
  font-size: 0.9rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.quote-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.site-footer {
  background: #0d2230;
  color: #e5f4fb;
  padding-top: 3.5rem;
}

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

.site-footer h2,
.site-footer h3 {
  margin-bottom: 0.8rem;
}

.site-footer p,
.site-footer li {
  color: rgba(229, 244, 251, 0.86);
}

.site-footer ul {
  display: grid;
  gap: 0.65rem;
}

.site-footer a {
  color: #99e8ff;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(229, 244, 251, 0.18);
  padding: 1rem 0 1.7rem;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(16px, -12px);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-two,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .main-nav {
    position: absolute;
    right: 4vw;
    top: 76px;
    width: min(320px, 92vw);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

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

  .main-nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
  }

  .main-nav .nav-links li + li {
    border-top: 1px solid rgba(18, 40, 55, 0.08);
  }

  .main-nav .nav-links a {
    display: block;
    padding: 0.82rem 0.75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4.1rem 0;
  }

  .hero {
    padding: 5.4rem 0 3.7rem;
  }

  .hero-panel,
  .service-card,
  .product-card,
  .quote-form,
  .info-card,
  .step {
    padding: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

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