:root {
  --bg: #0b1220;
  --surface: #ffffff;
  --muted: #5b6474;
  --text: #202531;
  --primary: #e11d2e;
  --primary-dark: #bb1625;
  --alt: #f3f6fb;
  --border: #dfe5ef;
  --shadow: 0 8px 24px rgba(11, 18, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.logo-image {
  width: 109px;
  max-width: 46vw;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  background:
    linear-gradient(120deg, rgba(11, 18, 32, 0.78) 0%, rgba(21, 31, 54, 0.72) 60%, rgba(31, 46, 82, 0.74) 100%),
    url("slider.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.4fr 1fr;
}

.badge {
  display: inline-block;
  margin: 0 0 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

.lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 68ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.notice-strip {
  background: #fff6bf;
  border-top: 1px solid #f2dc78;
  border-bottom: 1px solid #f2dc78;
}

.notice-wrap {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
}

.notice-image {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8cf63;
}

.notice-text p {
  margin: 0;
  color: #3f3400;
  line-height: 1.35;
}

.notice-text p + p {
  margin-top: 0.2rem;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--alt);
}

.section-text {
  max-width: 75ch;
  color: var(--muted);
}

.cards {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--border);
}

.product-meta {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.product-meta li + li {
  margin-top: 0.2rem;
}

.product-note {
  font-weight: 600;
  color: #374151;
}

.blog-home-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-home-btn {
  margin-top: 1rem;
}

.blog-hero {
  background: linear-gradient(120deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding-top: 86px;
  padding-bottom: 56px;
}

.blog-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.blog-hero .section-text {
  color: rgba(255, 255, 255, 0.9);
}

.blog-list-wrap {
  max-width: 820px;
}

.blog-list {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.blog-list li + li {
  margin-top: 0.35rem;
}

.blog-list a {
  color: #0f3b8f;
  font-weight: 600;
  text-decoration: none;
}

.blog-list a:hover {
  text-decoration: underline;
}

.blog-content {
  display: grid;
  gap: 1rem;
}

.blog-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.blog-article h2 {
  font-size: 1.35rem;
}

.blog-article p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.technical-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical-item {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.technical-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.technical-summary::-webkit-details-marker {
  display: none;
}

.technical-summary h3 {
  margin: 0 0 0.35rem;
}

.technical-summary p {
  margin: 0;
  color: var(--muted);
}

.technical-summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
}

.technical-item[open] .technical-summary::after {
  content: "-";
}

.technical-detail {
  padding: 0 1rem 1rem;
  border-top: 1px dashed var(--border);
}

.technical-detail p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.technical-detail ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.technical-detail li + li {
  margin-top: 0.2rem;
}

.technical-note {
  font-weight: 600;
  color: #374151;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.66rem 1rem;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-sm {
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1faa54;
  border-color: #1faa54;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  background: #25d366;
  border: 1px solid #1faa54;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover {
  background: #1faa54;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
}

.footer {
  background: #0d1322;
  color: #e5eaf5;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer a {
  color: #fff;
}

.footer-bottom {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
  font-size: 0.92rem;
  color: #c4cfe4;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .blog-home-list,
  .technical-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 84px;
  }

  .notice-wrap {
    grid-template-columns: 90px 1fr;
  }

  .notice-image {
    height: 56px;
  }
}

@media (max-width: 760px) {
  .logo-image {
    width: 83px;
    max-width: 55vw;
  }

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

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 4%;
  }

  .nav.open {
    display: flex;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
  }
}
