:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --text: #2f3742;
  --muted: #687586;
  --line: rgba(67, 162, 240, 0.18);
  --brand: #43a2f0;
  --brand-deep: #1f7fd5;
  --shadow: 0 20px 50px rgba(31, 48, 71, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(67, 162, 240, 0.15), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 1.25rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.site-nav {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.5rem 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(67, 162, 240, 0.24);
  border-radius: 999px;
  box-shadow:
    0 18px 40px rgba(31, 48, 71, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-nav__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(67, 162, 240, 0.18));
}

.site-menu {
  position: relative;
  flex: 0 0 auto;
}

.site-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #1f7fd5 0%, #43a2f0 100%);
  border: 1px solid rgba(31, 127, 213, 0.5);
  box-shadow:
    0 12px 24px rgba(31, 127, 213, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

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

.site-menu summary:hover,
.site-menu summary:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 16px 28px rgba(31, 127, 213, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.site-menu[open] summary {
  filter: saturate(1.05);
}

.site-menu__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: min(88vw, 280px);
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(67, 162, 240, 0.18);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(31, 48, 71, 0.16);
  backdrop-filter: blur(14px);
}

.site-menu__panel a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  background: #f3f9ff;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.site-menu__panel a:hover,
.site-menu__panel a:focus-visible {
  transform: translateX(2px);
  background: linear-gradient(145deg, #e6f3ff 0%, #f7fbff 100%);
  color: var(--brand-deep);
}

.hero {
  display: grid;
  gap: 1rem;
}

.hero__brand,
.visual-card,
.option-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__brand {
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  text-align: center;
}

.hero__logo {
  width: min(220px, 72vw);
  margin: 0 auto 0.85rem;
}

.hero__eyebrow,
.hero__subtitle,
.hero__cta,
.option-card__text,
.site-footer {
  color: var(--muted);
}

.hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1;
}

.hero__subtitle {
  margin: 0.7rem 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.hero__support-copy {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero__cta {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.hero__visuals {
  display: grid;
  gap: 0.85rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.carousel-button {
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(67, 162, 240, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(31, 48, 71, 0.1);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(67, 162, 240, 0.36);
  box-shadow: 0 16px 26px rgba(31, 48, 71, 0.12);
}

.hero__visual-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.section-label {
  margin: 0 0 0.85rem;
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visual-carousel {
  position: relative;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.visual-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
  pointer-events: none;
}

.visual-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.visual-card--contain {
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.visual-card--contain img {
  object-fit: contain;
  padding: 0.75rem;
}

.visual-card--preview {
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.visual-card--preview img {
  object-fit: contain;
  padding: 0.5rem;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.visual-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.visual-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(67, 162, 240, 0.25);
  padding: 0;
  cursor: pointer;
}

.visual-dot.is-active {
  width: 28px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
}

.options {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.support,
.products {
  margin-top: 1rem;
}

.contact-panel-section,
.inquiry-section {
  margin-top: 1rem;
}

.support-grid,
.product-grid {
  display: grid;
  gap: 0.9rem;
}

.support-card,
.product-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.support-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem;
}

.support-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-soft);
  font-size: 1.35rem;
}

.support-card strong,
.product-card__body strong {
  font-size: 1.05rem;
}

.support-card span,
.product-card__body span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.option-card {
  display: grid;
  gap: 0.4rem;
  text-decoration: none;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  min-height: 132px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.option-card:hover,
.option-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(67, 162, 240, 0.34);
}

.option-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-soft);
  font-size: 1.45rem;
}

.option-card__title {
  font-size: 1.1rem;
  font-weight: 800;
}

.option-card__text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 320ms ease,
    transform 320ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: pointer;
}

.product-card__body {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem 1.1rem;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(67, 162, 240, 0.34);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  margin-top: 0.3rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.product-carousel {
  display: grid;
  gap: 0.85rem;
}

.product-track {
  position: relative;
  min-height: 360px;
}

.product-track .product-card {
  box-shadow:
    0 24px 56px rgba(31, 48, 71, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.visual-dots--products {
  margin-top: -0.1rem;
}

.contact-panel-section {
  margin-top: 1rem;
}

.contact-panel-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.contact-panel-card strong {
  font-size: 1.08rem;
}

.contact-panel-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.contact-panel-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.contact-panel-card__actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--surface-soft);
  font-weight: 700;
}

.inquiry-card {
  display: grid;
  gap: 0.6rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.inquiry-card strong {
  font-size: 1.08rem;
}

.inquiry-card span,
.inquiry-form__note {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.inquiry-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.inquiry-form__button {
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.inquiry-form__note {
  margin: 0;
}

.site-footer {
  width: min(calc(100% - 1.25rem), var(--max-width));
  margin: 0 auto 1.5rem;
  padding: 1.2rem 1.15rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer p,
.site-footer a {
  margin: 0;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 28, 39, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: min(96vw, 1400px);
  max-height: 84vh;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  object-fit: contain;
  background: #ffffff;
}

.lightbox__nav,
.lightbox__close {
  position: absolute;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

@media (max-width: 720px) {
  .lightbox__nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 1rem;
  }

  .lightbox__nav--next {
    right: 1rem;
  }
}

@media (min-width: 760px) {
  .page-shell {
    padding-top: 1.5rem;
  }

  .site-nav {
    padding: 0.5rem 0.6rem 0.5rem 0.75rem;
  }

  .site-nav__logo {
    width: 48px;
    height: 48px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .hero__brand {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.8rem;
  }

  .hero__logo {
    margin: 0 0 1rem;
    width: 240px;
  }

  .visual-carousel {
    min-height: 420px;
    aspect-ratio: 16 / 11;
  }

  .hero__visual-note {
    text-align: left;
  }

  .options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
  }

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

  .product-track {
    min-height: 480px;
  }

  .site-footer {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    text-align: left;
  }
}
