:root {
  color-scheme: light;
  --blue: #0f6fff;
  --blue-2: #1e88ff;
  --navy: #071b3a;
  --muted: #5e6b7d;
  --soft: #f7f9fc;
  --white: #ffffff;
  --line: rgba(7, 27, 58, 0.1);
  --shadow: 0 24px 70px rgba(7, 27, 58, 0.12);
  --radius: 8px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

body.dark {
  color-scheme: dark;
  --navy: #f4f8ff;
  --muted: #b8c5d8;
  --soft: #081933;
  --white: #061329;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  scroll-margin-top: var(--header-h);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

body.dark .site-header {
  background: rgba(6, 19, 41, 0.82);
}

.navbar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 111, 255, 0.18);
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-panel a:not(.btn):hover {
  color: var(--blue);
}

.nav-toggle,
.theme-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: block;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--blue) 50%, transparent 50%);
  border: 2px solid var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 32px rgba(15, 111, 255, 0.28);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

body.dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  background:
    radial-gradient(circle at 82% 22%, rgba(30, 136, 255, 0.22), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, var(--white) 78%);
}

body.dark .hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(30, 136, 255, 0.22), transparent 32%),
    linear-gradient(180deg, #061329 0%, #081933 78%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 111, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 111, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
}

.hero-grid,
.two-column,
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-copy p,
.section-copy p,
.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.target-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.target-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

body.dark .target-strip span {
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.glass-card,
.vision-card,
.service-card,
.portfolio-card,
.contact-form,
.product-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.dark .glass-card,
body.dark .vision-card,
body.dark .service-card,
body.dark .portfolio-card,
body.dark .contact-form,
body.dark .product-shell {
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  width: min(310px, 86%);
  padding: 18px;
}

.hero-card strong,
.hero-card span {
  display: block;
}

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

.about,
.services,
.portfolio {
  background: var(--soft);
}

.vision-card {
  padding: 34px;
}

.vision-card p,
.check-list {
  color: var(--muted);
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.why-item {
  position: relative;
  padding-left: 28px;
  margin-top: 14px;
}

.check-list li::before,
.why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 0 4px rgba(15, 111, 255, 0.12);
}

.section-head {
  width: min(720px, 100%);
  margin-bottom: 38px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 230px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 111, 255, 0.35);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 13px;
  font-weight: 800;
}

.service-card p,
.product-grid p,
.portfolio-card p {
  color: var(--muted);
  font-size: 14px;
}

.product-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 420px;
  overflow: hidden;
}

.product-sidebar {
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.96), rgba(15, 111, 255, 0.9)),
    url("assets/hero-hadinusa.png") center/cover;
}

.dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.dot.active {
  background: #fff;
}

.product-sidebar strong {
  display: block;
  margin-top: 250px;
  font-size: 24px;
  line-height: 1.15;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 26px;
}

.product-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.74);
}

body.dark .product-grid article {
  background: rgba(255, 255, 255, 0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.why-item {
  margin: 0;
  padding-top: 2px;
  color: var(--muted);
  font-weight: 700;
}

.stats {
  padding: 58px 0;
  color: #fff;
  background: linear-gradient(135deg, #071b3a, #0f6fff);
}

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

.stats-grid div {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.stats-grid strong {
  display: block;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

.portfolio-card {
  overflow: hidden;
}

.portfolio-card h3,
.portfolio-card p {
  padding: 0 22px;
}

.portfolio-card p {
  padding-bottom: 22px;
}

.portfolio-art {
  position: relative;
  overflow: hidden;
  height: 160px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(15, 111, 255, 0.76), rgba(7, 27, 58, 0.9));
}

.portfolio-art::before,
.portfolio-art::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.portfolio-web::before {
  left: 22px;
  top: 28px;
  width: 118px;
  height: 82px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 140px 10px 0 -26px rgba(255, 255, 255, 0.48);
}

.portfolio-web::after {
  left: 38px;
  top: 48px;
  width: 86px;
  height: 8px;
  background: var(--blue);
  box-shadow: 0 22px 0 rgba(15, 111, 255, 0.2), 148px 32px 0 6px rgba(255, 255, 255, 0.56);
}

.portfolio-graduation {
  background:
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(7, 27, 58, 0.96), rgba(30, 136, 255, 0.84));
}

.portfolio-graduation::before {
  left: 34px;
  top: 34px;
  width: 118px;
  height: 72px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.portfolio-graduation::after {
  right: 36px;
  bottom: 34px;
  width: 86px;
  height: 86px;
  border: 12px solid rgba(255, 255, 255, 0.82);
  border-left-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.portfolio-report {
  background:
    linear-gradient(135deg, rgba(15, 111, 255, 0.84), rgba(247, 249, 252, 0.16)),
    #071b3a;
}

.portfolio-report::before {
  left: 28px;
  top: 22px;
  width: 94px;
  height: 116px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 112px 24px 0 -12px rgba(255, 255, 255, 0.34);
}

.portfolio-report::after {
  left: 46px;
  top: 48px;
  width: 58px;
  height: 8px;
  background: var(--blue);
  box-shadow: 0 22px 0 rgba(15, 111, 255, 0.24), 0 44px 0 rgba(15, 111, 255, 0.24);
}

.portfolio-education {
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.95), rgba(15, 111, 255, 0.88)),
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.14) 49%, transparent 50%);
}

.portfolio-education::before {
  left: 28px;
  top: 34px;
  width: 94px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: 118px 8px 0 -14px rgba(255, 255, 255, 0.26);
}

.portfolio-education::after {
  right: 34px;
  top: 30px;
  width: 74px;
  height: 74px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.78) 47%, transparent 52%),
    linear-gradient(transparent 46%, rgba(255, 255, 255, 0.78) 47%, transparent 52%);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.contact-grid {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 700;
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--navy);
  background: rgba(247, 249, 252, 0.82);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: rgba(255, 255, 255, 0.06);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15, 111, 255, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #22c55e;
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.34);
  font-weight: 800;
}

.footer {
  padding: 54px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #071b3a;
}

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

.footer h3,
.footer .brand strong {
  color: #fff;
}

.footer .brand-logo {
  width: 52px;
  height: 52px;
}

.footer .brand small,
.footer p {
  color: rgba(255, 255, 255, 0.68);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  color: #fff;
  font-weight: 700;
}

.reveal {
  opacity: 1;
  transform: translateY(14px);
  transition: transform 0.7s ease;
}

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

@media (max-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .nav-panel a:not(.btn) {
    padding: 10px 8px;
  }

  .theme-toggle,
  .nav-cta {
    width: 100%;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .product-sidebar strong {
    margin-top: 80px;
  }

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

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

  .section {
    padding: 72px 0;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy p,
  .section-copy p {
    font-size: 16px;
  }

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

  .hero-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .card-grid,
  .product-grid,
  .portfolio-grid,
  .why-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 22px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.maintenance-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 18%, rgba(30, 136, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 82%);
}

.maintenance-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
}

.maintenance-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 111, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 111, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.maintenance-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(30px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.maintenance-brand {
  margin-bottom: 42px;
}

.maintenance-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 111, 255, 0.16);
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(15, 111, 255, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.maintenance-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(15, 111, 255, 0.14);
}

.maintenance-card h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1.03;
}

.maintenance-card p {
  width: min(620px, 100%);
  color: var(--muted);
  font-size: 18px;
}

.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.maintenance-info {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.maintenance-info div {
  display: grid;
  gap: 4px;
}

.maintenance-info strong {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--blue);
}

.maintenance-info span {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 640px) {
  .maintenance-page {
    padding: 18px;
  }

  .maintenance-brand {
    margin-bottom: 32px;
  }

  .maintenance-actions .btn,
  .maintenance-info {
    width: 100%;
  }

  .maintenance-info {
    grid-template-columns: 1fr;
  }
}
