:root {
  --blue: #062f86;
  --blue2: #0b56b6;
  --aqua: #14c7ea;
  --ink: #102033;
  --muted: #64748b;
  --line: #dbe8f3;
  --soft: #effbff;
  --green: #16a34a;
  --danger: #dc2626;
  --shadow: 0 18px 45px rgba(6, 47, 134, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, 92vw); margin-inline: auto; }

.topbar { background: var(--blue); color: #fff; font-size: 14px; }
.topbar .container,
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar a { margin-left: 16px; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 8px 25px rgba(15, 23, 42, .08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 900;
}
.brand img { width: 180px; height: auto; }
.nav { display: flex; align-items: center; gap: 23px; font-weight: 700; }
.nav a:hover,
.nav a.active { color: var(--aqua); }

.btn,
.btn-outline,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}
.btn { color: #fff; background: linear-gradient(135deg, var(--blue), var(--aqua)); }
.btn-outline { color: var(--blue); background: #fff; border: 1px solid var(--blue); }
.menu-toggle { display: none; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }

.hero { position: relative; overflow: hidden; background: var(--soft); }
.slide {
  position: relative;
  isolation: isolate;
  display: none;
  min-height: 650px;
  background-size: cover;
  background-position: center;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(2, 10, 31, .82) 0%, rgba(6, 47, 134, .58) 43%, rgba(255, 255, 255, .08) 100%);
}
.slide.active { display: flex; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 40px;
  min-height: 650px;
}
.eyebrow {
  color: var(--aqua);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #78efff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.hero h1,
.page-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  margin: 12px 0;
}
.hero h1 { color: #fff; text-shadow: 0 3px 16px rgba(0, 0, 0, .45); }
.page-hero h1 { color: var(--blue); }
.hero p {
  max-width: 680px;
  color: #edf8ff;
  font-size: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.section-head p,
.page-hero p { max-width: 680px; color: var(--muted); font-size: 18px; }
.hero-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-card strong { display: block; color: var(--blue); font-size: 34px; }
.hero-card p { color: #475569; text-shadow: none; }
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.slider-dots button { width: 12px; height: 12px; border: 0; border-radius: 99px; background: #9bdced; }
.slider-dots button.active { width: 34px; background: var(--blue); }

section { padding: 76px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2,
.page-title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.card > img,
.card picture > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-body { padding: 22px; }
.card h3 { margin: 0 0 10px; color: var(--blue); font-size: 21px; }
.card p { margin: 0 0 16px; color: var(--muted); }
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: var(--blue);
  background: var(--soft);
  border-radius: 8px;
  font-size: 23px;
}

.band { color: #fff; background: linear-gradient(135deg, #062f86, #0684cf); }
.band h2,
.band .section-head h2,
.band p { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 24px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; }
.stat strong { display: block; font-size: 38px; }

.form { display: grid; gap: 14px; }
.form-grid { grid-template-columns: repeat(2, 1fr); }
input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}
textarea { min-height: 120px; }
.alert { padding: 12px 14px; margin-bottom: 18px; border-radius: 7px; }
.alert-success { color: #166534; background: #dcfce7; }
.alert-error { color: #991b1b; background: #fee2e2; }

.page-hero { padding: 70px 0; background: linear-gradient(135deg, #eafcff, #fff); }
.breadcrumbs { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.product-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; }
.spec-list { white-space: pre-line; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination span,
.pagination a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; }
.pagination .active span { color: #fff; background: var(--blue); }

.site-footer,
.footer,
body > footer {
  clear: both;
  width: 100%;
  margin-top: 0;
  padding: 58px 0 22px;
  color: #dbeafe;
  background: #071f4d;
  border-top: 4px solid var(--aqua);
}
.site-footer .container,
.footer .container,
body > footer .container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}
.site-footer-grid,
.footer-grid,
body > footer > .container:first-child {
  display: grid;
  grid-template-columns: minmax(310px, 1.75fr) minmax(140px, .7fr) minmax(155px, .78fr) minmax(260px, 1.25fr);
  column-gap: 44px;
  row-gap: 30px;
  align-items: start;
}
.site-footer-grid > *,
.footer-grid > *,
body > footer > .container:first-child > * { min-width: 0; }
.site-footer-logo,
.footer .footer-grid > div:first-child > a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
  margin: 0 0 16px;
  background: #fff;
  border-radius: 8px;
}
.site-footer-logo img,
.footer img,
body > footer img {
  width: 190px;
  height: auto;
  max-height: 74px;
  object-fit: contain;
  margin: 0;
  background: transparent;
  border-radius: 0;
}
.site-footer-brand,
.footer .footer-grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer-brand p,
.footer p,
body > footer p {
  max-width: 470px;
  margin: 0;
  color: #c7dcf8;
  line-height: 1.72;
}
.site-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.site-footer-social a.social-facebook { background: #1877f2; border-color: #1877f2; }
.site-footer-social a.social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4); border-color: #dd2a7b; }
.site-footer-social a.social-youtube { background: #ff0000; border-color: #ff0000; }
.site-footer-social a.social-linkedin { background: #0a66c2; border-color: #0a66c2; }
.site-footer-social a.social-twitter { background: #111827; border-color: #111827; }
.site-footer-social a.social-facebook:hover,
.site-footer-social a.social-instagram:hover,
.site-footer-social a.social-youtube:hover,
.site-footer-social a.social-linkedin:hover,
.site-footer-social a.social-twitter:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .18);
}
.site-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.site-footer-col,
.footer .footer-grid > div,
.footer .footer-grid > nav,
body > footer > .container:first-child > div,
body > footer > .container:first-child > nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding-top: 8px;
}
.site-footer-col h3,
.footer h3,
body > footer h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}
.site-footer-col a,
.footer a,
body > footer a {
  width: fit-content;
  color: #dbeafe;
  border-radius: 7px;
  line-height: 1.45;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.site-footer-social a:hover,
.site-footer-col a:hover,
.footer a:hover,
body > footer a:hover { color: #fff; }
.site-footer-contact { gap: 13px; }
.site-footer-contact p {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  max-width: none;
  line-height: 1.55;
}
.site-footer-contact svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: var(--aqua);
}
.site-footer-contact span,
.site-footer-contact a { overflow-wrap: anywhere; }
.site-footer-bottom,
.footer > .container:last-child,
body > footer > .container:last-child {
  margin-top: 34px;
  padding-top: 18px;
  color: #a9c3ea;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
.whatsapp,
.call-float,
.back-top {
  position: fixed;
  right: 18px;
  z-index: 25;
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.float-icon { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; }
.float-icon svg { width: 23px; height: 23px; fill: currentColor; }
.whatsapp { bottom: 82px; background: var(--green); }
.call-float { bottom: 22px; background: var(--blue); }
.back-top { bottom: 146px; display: none; background: #0ea5e9; border: 0; }

.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: #f6f9fc; }
.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 22px;
  color: #dbeafe;
  background: #071f4d;
}
.admin-side img { width: 175px; margin-bottom: 18px; background: #fff; border-radius: 7px; }
.admin-side a { display: block; padding: 10px 12px; margin: 3px 0; border-radius: 7px; }
.admin-side a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.admin-side a.active { color: var(--blue); background: #fff; font-weight: 900; }
.admin-main { padding: 28px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel {
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.table { width: 100%; border-collapse: collapse; }
.table th,
.table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.badge {
  display: inline-flex;
  padding: 3px 9px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.danger { color: #fff; background: var(--danger); }
.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: linear-gradient(135deg, #eafcff, #fff 45%, #d6f7ff);
}
.login-card {
  width: min(420px, 92vw);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.login-card img { width: 220px; margin: auto auto 20px; }
.mobile-image { display: none; }

@media (max-width: 1024px) {
  .site-footer-grid,
  .footer-grid,
  body > footer > .container:first-child {
    grid-template-columns: 1.35fr 1fr 1fr;
    column-gap: 34px;
  }
  .site-footer-contact,
  .footer-grid > *:last-child,
  body > footer > .container:first-child > *:last-child {
    grid-column: 1 / -1;
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero-inner,
  .grid-2,
  .grid-3,
  .grid-4,
  .product-detail,
  .stats,
  .form-grid { grid-template-columns: 1fr; }
  .slide,
  .hero-inner { min-height: auto; }
  .slide::before { background: linear-gradient(90deg, rgba(2, 10, 31, .84), rgba(6, 47, 134, .62)); }
  .hero-inner { padding: 70px 0; }
  .hero-card { display: none; }
  .topbar .container { display: block; padding: 8px 0; }
  .brand img { width: 150px; }
  .section-head { display: block; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: relative; height: auto; }
  .admin-main { padding: 18px; }
  .desktop-image { display: none; }
  .mobile-image { display: block; }
}

@media (max-width: 760px) {
  .site-footer,
  .footer,
  body > footer { padding: 42px 0 18px; }
  .site-footer-grid,
  .footer-grid,
  body > footer > .container:first-child {
    grid-template-columns: 1fr 1fr;
    gap: 28px 26px;
  }
  .site-footer-brand,
  .footer-grid > *:first-child,
  body > footer > .container:first-child > *:first-child { grid-column: 1 / -1; }
  .site-footer-contact,
  .footer-grid > *:last-child,
  body > footer > .container:first-child > *:last-child {
    grid-column: auto;
    max-width: none;
  }
  .site-footer-logo img,
  .footer img,
  body > footer img { width: 165px; }
  .site-footer-bottom,
  .footer > .container:last-child,
  body > footer > .container:last-child { margin-top: 28px; }
}

@media (max-width: 560px) {
  .site-footer-grid,
  .footer-grid,
  body > footer > .container:first-child { grid-template-columns: 1fr; }
  .site-footer-col,
  .footer .footer-grid > div,
  .footer .footer-grid > nav,
  body > footer > .container:first-child > div,
  body > footer > .container:first-child > nav { padding-top: 0; }
  .site-footer-col a { width: 100%; padding: 4px 0; }
  .site-footer-contact p { grid-template-columns: 18px 1fr; }
  .site-footer-bottom,
  .footer > .container:last-child,
  body > footer > .container:last-child { font-size: 13px; }
}
