:root {
  --bg: #07111c;
  --bg-2: #0c1a2b;
  --card: rgba(255, 255, 255, 0.05);
  --stroke: rgba(148, 191, 226, 0.18);
  --text: #e8f1f8;
  --muted: #9bb3c7;
  --accent: #3d8ec9;
  --accent-2: #7eb8e0;
  --accent-deep: #1a4a7a;
  --white: #f7fbff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Outfit", "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus {
  left: 8px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(760px, calc(100% - 32px));
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: linear-gradient(90deg, #12385c, #1e6aa3);
  font-size: 0.9rem;
}

.topbar p {
  margin: 0;
  opacity: 0.9;
}

.topbar a {
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 28, 0.78);
  border-bottom: 1px solid var(--stroke);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 4px;
}

.brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #5aa7d8, #2f7db8);
  color: #041018;
  box-shadow: 0 10px 24px rgba(61, 142, 201, 0.35);
}

.btn-outline,
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--stroke);
}

.btn-lg {
  padding: 14px 22px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 520px;
  background:
    radial-gradient(circle at 20% 20%, rgba(61, 142, 201, 0.28), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(126, 184, 224, 0.18), transparent 36%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.lead,
.section-head p,
.section p {
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-pills li {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-visual {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.logo-stage {
  width: min(380px, 100%);
  border-radius: 32px;
  background: #f7f6f3;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 179, 106, 0.35);
  overflow: hidden;
  padding: 10px 12px 16px;
}

.logo-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-card {
  width: min(360px, 100%);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 18px 20px;
}

.hero-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-card strong {
  display: block;
  font-size: 1.4rem;
  margin: 4px 0 6px;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.stats {
  padding: 10px 0 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stats article {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 22px;
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
}

.stats span {
  color: var(--muted);
}

.section {
  padding: 72px 0;
  scroll-margin-top: 96px;
}

.faq details {
  scroll-margin-top: 96px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 56, 92, 0.28), transparent);
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.tag-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tag-card,
.service,
.product,
.panel-form,
.contact-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.tag-card,
.service,
.product {
  padding: 22px;
}

.tag-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 12px;
}

.tag-green .tag-dot { background: #2ecc71; box-shadow: 0 0 16px #2ecc71; }
.tag-blue .tag-dot { background: #3498db; box-shadow: 0 0 16px #3498db; }
.tag-yellow .tag-dot { background: #f1c40f; box-shadow: 0 0 16px #f1c40f; }
.tag-red .tag-dot { background: #e74c3c; box-shadow: 0 0 16px #e74c3c; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.checklist,
.promise-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.checklist li,
.promise-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--muted);
}

.checklist li::before,
.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.promise-list li {
  border-bottom: 1px solid var(--stroke);
}

.promise-list strong {
  display: block;
  color: var(--white);
}

.panel-form {
  padding: 24px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  background: rgba(7, 17, 28, 0.65);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.file-drop {
  position: relative;
  border: 1px dashed var(--accent-2);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  background: rgba(61, 142, 201, 0.08);
  overflow: hidden;
}

.file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop-text small,
.file-name {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--accent-2);
  font-weight: 600;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service.featured {
  grid-column: span 2;
  background:
    linear-gradient(160deg, rgba(61, 142, 201, 0.28), rgba(7, 17, 28, 0.4)),
    var(--card);
}

.service a {
  color: var(--accent-2);
  font-weight: 700;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-visual {
  width: 100%;
  height: 188px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  margin-bottom: 14px;
  display: block;
}

.product-visual-cabin {
  object-position: center 32%;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.badge-row span {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
}

.steps span {
  font-family: var(--display);
  color: var(--accent-2);
  font-size: 1.4rem;
  font-weight: 800;
}

.faq details {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 8px 18px;
  margin-bottom: 10px;
  background: var(--card);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 10px 0;
}

.faq p {
  margin: 0 0 12px;
}

.contact-cards {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-card {
  padding: 16px 18px;
  text-decoration: none;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-card strong {
  display: block;
  font-size: 1.15rem;
}

.contact-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.map-block {
  margin-top: 40px;
}

.map-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.map-head h2,
.map-head p {
  margin-bottom: 8px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  min-height: 360px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 0 96px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 10px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--white);
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 3px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: #06210f;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  z-index: 12;
}

@media (max-width: 1100px) {
  .site-header {
    position: sticky;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 16px;
    background: #0c1a2b;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    z-index: 40;
  }

  body.menu-open .nav {
    display: flex;
  }

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

  .hero {
    padding: 40px 0 28px;
  }

  .hero-grid,
  .split,
  .bento,
  .field-row,
  .map-head {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .tag-grid,
  .product-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .service.featured {
    grid-column: auto;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .stats article {
    padding: 16px;
  }

  .logo-stage {
    width: min(300px, 100%);
  }
}

@media (max-width: 768px) {
  .wrap {
    width: min(1120px, calc(100% - 24px));
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 52px 0;
  }

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

  .map-frame iframe {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .stats-grid,
  .tag-grid,
  .product-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-primary {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .wa-float {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 12px 16px;
  }

  .site-footer {
    padding-bottom: 110px;
  }
}

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