/* ==========================================================================
   AI portal visual system
   ========================================================================== */

:root {
  --color-bg: #f6f8fb;
  --color-bg-soft: #eef4f7;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fbfd;
  --color-ink: #15202b;
  --color-text: #243241;
  --color-muted: #64748b;
  --color-primary: #245bff;
  --color-primary-dark: #173c9f;
  --color-secondary: #0f9f8f;
  --color-accent: #f2a51a;
  --color-pink: #de3c7b;
  --color-line: #dce5ee;
  --color-line-strong: #b8c7d8;
  --color-white: #ffffff;
  --radius-card: 8px;
  --radius-large: 8px;
  --shadow-card: 0 18px 48px rgba(21, 32, 43, 0.08);
  --shadow-hover: 0 24px 64px rgba(21, 32, 43, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

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

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

body {
  min-width: 320px;
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(90deg, rgba(36, 91, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 159, 143, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #f8fafc 0%, #eef5f8 46%, #ffffff 100%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::selection {
  color: var(--color-white);
  background: var(--color-primary);
}

img, svg {
  max-width: 100%;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(36, 91, 255, 0.28);
  outline-offset: 4px;
}

.main-content {
  padding-left: 88px;
}

.u-sp-only {
  display: none;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(36, 91, 255, 0.18);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(36, 91, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.badge--sm {
  min-height: 24px;
  padding: 3px 9px;
  font-size: 0.72rem;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out), background 0.28s var(--ease-out), color 0.28s var(--ease-out);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.42) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

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

.btn:hover::after {
  transform: translateX(120%);
}

.btn__arrow {
  flex: 0 0 auto;
  transition: transform 0.28s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  box-shadow: 0 14px 32px rgba(36, 91, 255, 0.23);
}

.btn--primary:hover {
  box-shadow: 0 18px 42px rgba(15, 159, 143, 0.25);
}

.btn--secondary {
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 91, 255, 0.2);
  box-shadow: 0 10px 28px rgba(21, 32, 43, 0.06);
}

.btn--secondary:hover {
  color: var(--color-primary);
  border-color: rgba(36, 91, 255, 0.36);
  box-shadow: 0 16px 40px rgba(21, 32, 43, 0.1);
}

.btn--white {
  color: var(--color-primary-dark);
  background: var(--color-white);
  box-shadow: 0 14px 36px rgba(6, 18, 44, 0.16);
}

.btn--white:hover {
  color: var(--color-primary);
}

.btn--outline-white {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline-white:hover {
  color: var(--color-ink);
  background: var(--color-white);
}

.btn--full {
  width: 100%;
}

.btn--header {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

/* Left rail and menu */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: 88px;
  height: 100vh;
  padding: 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  border-right: 1px solid rgba(184, 199, 216, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 12px 0 36px rgba(21, 32, 43, 0.06);
}

.sidebar__logo-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-primary) 55%, var(--color-secondary) 100%);
  box-shadow: 0 14px 32px rgba(36, 91, 255, 0.22);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sidebar__menu-trigger {
  width: 100%;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
}

.hamburger-lines {
  position: relative;
  width: 26px;
  height: 16px;
}

.hamburger-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: top 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

.hamburger-lines span:nth-child(1) {
  top: 3px;
}

.hamburger-lines span:nth-child(2) {
  top: 11px;
}

.sidebar__menu-trigger.is-active .hamburger-lines span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.sidebar__menu-trigger.is-active .hamburger-lines span:nth-child(2) {
  top: 7px;
  transform: rotate(-45deg);
}

.sidebar__menu-text {
  writing-mode: vertical-rl;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sidebar__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar__cta-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 199, 216, 0.9);
  border-radius: 12px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.68);
  transition: transform 0.28s var(--ease-out), color 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.sidebar__cta-link:hover {
  color: var(--color-secondary);
  border-color: rgba(15, 159, 143, 0.35);
  box-shadow: 0 12px 30px rgba(15, 159, 143, 0.14);
  transform: translateY(-2px);
}

.mega-nav {
  position: fixed;
  top: 0;
  left: -380px;
  z-index: 99;
  width: 360px;
  height: 100vh;
  padding: 78px 44px 38px;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 248, 250, 0.96) 100%);
  border-right: 1px solid rgba(184, 199, 216, 0.7);
  box-shadow: 24px 0 72px rgba(21, 32, 43, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: left 0.42s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}

.mega-nav.is-active {
  left: 88px;
  opacity: 1;
  visibility: visible;
}

.mega-nav__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-nav__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-nav__en {
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.mega-nav__jp,
.mega-nav__footer {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.mega-nav__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 52px 0;
}

.mega-nav__link {
  position: relative;
  display: block;
  padding: 15px 0;
  color: var(--color-ink);
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0;
  transition: color 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

.mega-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-line-strong), transparent);
}

.mega-nav__link:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 72px 42px 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(244, 249, 251, 0.92) 45%, rgba(232, 243, 242, 0.86) 100%);
  border-bottom: 1px solid rgba(184, 199, 216, 0.6);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0%, transparent 28%, rgba(36, 91, 255, 0.06) 28%, rgba(36, 91, 255, 0.06) 30%, transparent 30%, transparent 100%),
    linear-gradient(90deg, rgba(21, 32, 43, 0.04) 1px, transparent 1px);
  background-size: 180px 180px, 42px 42px;
  pointer-events: none;
}

.hero__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: 54px;
}

.hero__header {
  max-width: 590px;
  text-align: left;
  animation: heroRise 0.8s var(--ease-out) both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(36, 91, 255, 0.18);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px rgba(21, 32, 43, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(15, 159, 143, 0.13);
}

.hero__title {
  margin-bottom: 22px;
  color: var(--color-ink);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero__title-sub {
  display: block;
  margin-top: 10px;
  color: var(--color-primary-dark);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: 0;
}

.hero__desc {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__map-container {
  width: 100%;
}

.hero__map-wrapper {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(184, 199, 216, 0.72);
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow:
    0 24px 70px rgba(21, 32, 43, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  isolation: isolate;
}

.hero__map-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center 52%;
  background-repeat: no-repeat;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease-out), filter 0.42s var(--ease-out);
}

.hero__map-wrapper:hover .hero__map-bg {
  transform: scale(1.035);
}

.hero__map-wrapper:has(.map-spot:hover) .hero__map-bg {
  filter: saturate(0.88) contrast(0.98);
}

.hero__map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 52% 46%, rgba(255, 255, 255, 0) 0%, rgba(246, 250, 252, 0.08) 48%, rgba(246, 250, 252, 0.36) 100%),
    linear-gradient(90deg, rgba(36, 91, 255, 0.06), transparent 42%, rgba(15, 159, 143, 0.08));
  pointer-events: none;
}

.map-drone {
  position: absolute;
  left: 12%;
  top: 72%;
  z-index: 4;
  width: 58px;
  height: 42px;
  pointer-events: none;
  filter: drop-shadow(0 18px 20px rgba(21, 32, 43, 0.18));
  animation: droneRoute 16s var(--ease-out) infinite;
}

.map-drone__body {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 14px;
  border: 1px solid rgba(36, 91, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #dff6ff);
  box-shadow: 0 4px 10px rgba(36, 91, 255, 0.18);
  transform: translate(-50%, -50%);
}

.map-drone__body::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(15, 159, 143, 0.12);
  transform: translate(-50%, -50%);
}

.map-drone__rotor {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(36, 91, 255, 0.2);
  border-top-color: rgba(36, 91, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  animation: rotorSpin 0.5s linear infinite;
}

.map-drone__rotor--tl {
  left: 0;
  top: 0;
}

.map-drone__rotor--tr {
  right: 0;
  top: 0;
}

.map-drone__rotor--bl {
  left: 3px;
  bottom: 0;
}

.map-drone__rotor--br {
  right: 3px;
  bottom: 0;
}

.map-drone__beam {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 38px;
  height: 58px;
  background: radial-gradient(ellipse at top, rgba(36, 91, 255, 0.2), rgba(15, 159, 143, 0.08) 46%, transparent 72%);
  transform: translateX(-50%);
}

@keyframes rotorSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes droneRoute {
  0% {
    left: 9%;
    top: 76%;
    transform: translate(-50%, -50%) rotate(-7deg) scale(0.92);
  }
  18% {
    left: 24%;
    top: 17%;
    transform: translate(-50%, -50%) rotate(4deg) scale(1);
  }
  36% {
    left: 49%;
    top: 12%;
    transform: translate(-50%, -50%) rotate(8deg) scale(0.96);
  }
  55% {
    left: 78%;
    top: 15%;
    transform: translate(-50%, -50%) rotate(-5deg) scale(0.9);
  }
  72% {
    left: 88%;
    top: 82%;
    transform: translate(-50%, -50%) rotate(7deg) scale(1.02);
  }
  88% {
    left: 38%;
    top: 82%;
    transform: translate(-50%, -50%) rotate(-4deg) scale(0.96);
  }
  100% {
    left: 9%;
    top: 76%;
    transform: translate(-50%, -50%) rotate(-7deg) scale(0.92);
  }
}

.hero__map-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.map-spot {
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  z-index: 10;
  --spot-accent: var(--color-primary);
  --spot-accent-2: var(--color-secondary);
  --spot-ring: rgba(36, 91, 255, 0.24);
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.map-spot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(50% + 40px);
  z-index: 1;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(21, 32, 43, 0.2), rgba(21, 32, 43, 0.06) 54%, transparent 74%);
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.map-spot[data-spot-index="2"] {
  --spot-accent: #0f9f8f;
  --spot-accent-2: #245bff;
  --spot-ring: rgba(15, 159, 143, 0.24);
}

.map-spot[data-spot-index="3"] {
  --spot-accent: #f3a51c;
  --spot-accent-2: #245bff;
  --spot-ring: rgba(243, 165, 28, 0.24);
}

.map-spot[data-spot-index="4"] {
  --spot-accent: #245bff;
  --spot-accent-2: #00a8c8;
  --spot-ring: rgba(36, 91, 255, 0.24);
}

.map-spot[data-spot-index="5"] {
  --spot-accent: #159b82;
  --spot-accent-2: #f3a51c;
  --spot-ring: rgba(21, 155, 130, 0.24);
}

.map-spot[data-spot-index="6"] {
  --spot-accent: #5865f2;
  --spot-accent-2: #0f9f8f;
  --spot-ring: rgba(88, 101, 242, 0.24);
}

.hero__map-wrapper:has(.map-spot:hover) .map-spot:not(:hover) {
  opacity: 0.46;
  filter: grayscale(0.28);
}

.map-spot:hover {
  z-index: 30;
  transform: translate(-50%, -50%) scale(1.08);
}

.map-spot:hover::after {
  opacity: 0.72;
  transform: translateX(-50%) scale(1.08);
}

.map-spot__pin {
  position: relative;
  z-index: 2;
  width: 91px;
  height: 91px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--spot-accent) 34%, rgba(255, 255, 255, 0.62));
  border-radius: 24px;
  color: var(--spot-accent);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.16) 32%, transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 255, 0.82));
  box-shadow:
    0 22px 44px rgba(21, 32, 43, 0.18),
    0 0 0 10px rgba(255, 255, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.map-spot__pin::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--spot-accent) 14%, transparent), transparent 42%),
    radial-gradient(circle at 70% 76%, color-mix(in srgb, var(--spot-accent-2) 18%, transparent), transparent 44%);
  opacity: 0.9;
  pointer-events: none;
}

.map-spot__pin::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid color-mix(in srgb, var(--spot-accent) 18%, rgba(255, 255, 255, 0.68));
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.map-spot__icon-svg {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1;
  stroke: currentColor;
  stroke-width: 1.55;
  overflow: visible;
  filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--spot-accent) 22%, transparent));
}

.map-spot:hover .map-spot__pin {
  color: var(--color-white);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(135deg, var(--spot-accent), var(--spot-accent-2));
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 24px 54px color-mix(in srgb, var(--spot-accent) 34%, rgba(21, 32, 43, 0.12)),
    0 0 0 12px rgba(255, 255, 255, 0.36);
  transform: translateY(-3px);
}

.map-spot__ping {
  position: absolute;
  inset: -12px;
  border: 1px solid var(--spot-ring);
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
}

.map-spot:hover .map-spot__ping {
  animation: spotPing 1.8s ease-out infinite;
}

@keyframes spotPing {
  0% {
    opacity: 0.75;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

.map-spot__popup {
  position: absolute;
  left: 50%;
  bottom: 108px;
  min-width: 190px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(184, 199, 216, 0.76);
  border-radius: var(--radius-card);
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(21, 32, 43, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}

.map-spot[data-spot-index="4"] .map-spot__popup {
  top: 108px;
  bottom: auto;
}

.map-spot:hover .map-spot__popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.map-spot__category {
  color: var(--color-secondary);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

.map-spot__name {
  color: var(--color-ink);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.45;
}

/* Affiliate notice */
.affiliate-notice {
  border-top: 1px solid rgba(184, 199, 216, 0.58);
  border-bottom: 1px solid rgba(184, 199, 216, 0.58);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.affiliate-notice__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
}

.affiliate-notice__text {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.65;
  text-align: center;
}

/* Sections */
.section {
  position: relative;
  padding: 92px 0;
  scroll-margin-top: 92px;
}

.section--bg {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(238, 246, 247, 0.82)),
    linear-gradient(90deg, rgba(36, 91, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px;
  border-top: 1px solid rgba(184, 199, 216, 0.42);
  border-bottom: 1px solid rgba(184, 199, 216, 0.42);
}

.section__inner {
  width: min(100%, 1232px);
  margin: 0 auto;
  padding: 0 32px;
}

.section__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.section__eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.section__title {
  margin-bottom: 14px;
  color: var(--color-ink);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.section__lead {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.section__footer {
  margin-top: 44px;
  text-align: center;
}

.card {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(184, 199, 216, 0.72);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(21, 32, 43, 0.06);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out), background 0.28s var(--ease-out);
}

.card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: linear-gradient(90deg, var(--card-accent, var(--color-primary)), transparent);
  opacity: 0.9;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(36, 91, 255, 0.28);
  background: var(--color-white);
  box-shadow: var(--shadow-hover);
}

.card-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 91, 255, 0.18);
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(36, 91, 255, 0.06);
  transition: transform 0.28s var(--ease-out), color 0.28s var(--ease-out), background 0.28s var(--ease-out);
}

.card:hover .card-arrow {
  color: var(--color-white);
  background: var(--color-primary);
  transform: translateX(3px);
}

/* Category cards */
.category-card {
  --card-accent: var(--color-primary);
  padding-bottom: 86px;
}

.category-card:nth-child(3n + 2) {
  --card-accent: var(--color-secondary);
}

.category-card:nth-child(3n) {
  --card-accent: var(--color-accent);
}

.category-card__num {
  margin-bottom: 18px;
  color: var(--card-accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.category-card__icon-wrap {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(184, 199, 216, 0.72);
  border-radius: 16px;
  color: var(--card-accent);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.9));
  box-shadow:
    0 14px 26px rgba(21, 32, 43, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.category-card__icon-svg,
.category-card__icon-img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  color: currentColor;
  stroke: currentColor;
  stroke-width: 1.75;
  overflow: visible;
}

.category-card:hover .category-card__icon-wrap {
  border-color: currentColor;
  box-shadow:
    0 18px 34px rgba(21, 32, 43, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

.category-card__label {
  margin-bottom: 7px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
}

.category-card__title {
  margin-bottom: 12px;
  color: var(--color-ink);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.42;
}

.category-card__desc {
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* LP cards */
.lp-card {
  --card-accent: var(--color-secondary);
  min-height: 340px;
  padding: 28px;
}

.lp-card__badge-wrap {
  margin-bottom: 18px;
}

.lp-card__title {
  margin-bottom: 12px;
  color: var(--color-ink);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.48;
}

.lp-card__desc {
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1 1 auto;
}

.lp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(184, 199, 216, 0.62);
}

.lp-card__tag {
  color: var(--color-muted);
  background: rgba(100, 116, 139, 0.08);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.lp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 900;
}

.lp-card__link svg {
  transition: transform 0.24s var(--ease-out);
}

.lp-card:hover .lp-card__link svg {
  transform: translateX(4px);
}

/* Ranking */
.ranking-card {
  --card-accent: var(--color-primary);
  padding: 30px;
}

.ranking-card:nth-child(2) {
  --card-accent: var(--color-secondary);
}

.ranking-card:nth-child(3) {
  --card-accent: var(--color-pink);
}

.ranking-card__badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid rgba(36, 91, 255, 0.2);
  border-radius: 999px;
  color: var(--card-accent);
  background: rgba(36, 91, 255, 0.07);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0;
}

.ranking-card__title {
  margin-bottom: 24px;
  color: var(--color-ink);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.45;
}

.ranking-card__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
  flex: 1 1 auto;
}

.ranking-card__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.ranking-card__rank {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--color-primary);
}

.ranking-card__rank--1 {
  background: linear-gradient(135deg, #f2a51a, #ec6f2d);
}

.ranking-card__rank--2 {
  background: linear-gradient(135deg, #0f9f8f, #22b8c8);
}

.ranking-card__rank--3 {
  background: linear-gradient(135deg, #245bff, #6b8cff);
}

.ranking-card__item-name {
  display: block;
  margin-bottom: 2px;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.45;
}

.ranking-card__item-desc {
  display: block;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.ranking-card__action {
  margin-top: auto;
}

/* Reviews */
.review-card {
  --card-accent: var(--color-accent);
  min-height: 260px;
  padding-bottom: 86px;
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.review-card__date {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.review-card__title {
  margin-bottom: 12px;
  color: var(--color-ink);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.5;
}

.review-card__link-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.review-card__desc {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* Lab log */
.lab-card {
  --card-accent: var(--color-secondary);
  padding: 0;
  overflow: hidden;
}

.lab-card:nth-child(2) {
  --card-accent: var(--color-pink);
}

.lab-card:nth-child(3) {
  --card-accent: var(--color-accent);
}

.lab-card:nth-child(4) {
  --card-accent: var(--color-primary);
}

.lab-card__img-placeholder {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--card-accent);
  background:
    linear-gradient(135deg, rgba(36, 91, 255, 0.12), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(21, 32, 43, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.lab-card__img-placeholder::after {
  content: '';
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--card-accent), transparent);
}

.lab-card__content {
  padding: 24px;
}

.lab-card__category {
  display: block;
  margin-bottom: 8px;
  color: var(--card-accent);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0;
}

.lab-card__title {
  margin-bottom: 9px;
  color: var(--color-ink);
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.45;
}

.lab-card__desc {
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Policy */
.policy-card {
  --card-accent: var(--color-primary);
  padding: 26px;
}

.policy-card:nth-child(2n) {
  --card-accent: var(--color-secondary);
}

.policy-card:nth-child(3n) {
  --card-accent: var(--color-accent);
}

.policy-card__icon-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(184, 199, 216, 0.72);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 244, 255, 0.92));
  box-shadow: 0 12px 24px rgba(21, 32, 43, 0.08);
}

.policy-card__icon {
  font-size: 1.3rem;
  line-height: 1;
}

.policy-card__icon-svg {
  width: 28px;
  height: 28px;
  stroke: var(--card-accent);
  stroke-width: 1.8;
  fill: none;
  overflow: visible;
}

.policy-card__title {
  margin-bottom: 10px;
  color: var(--color-ink);
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.48;
}

.policy-card__desc {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

/* About */
.about-container {
  padding: 38px;
  border: 1px solid rgba(184, 199, 216, 0.72);
  border-radius: var(--radius-large);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 252, 0.9));
  box-shadow: var(--shadow-card);
}

.about-info {
  max-width: 860px;
}

.about-info__text {
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.9;
}

.about-info__action {
  margin-top: 28px;
}

/* News */
.news-list {
  border-top: 1px solid rgba(184, 199, 216, 0.72);
}

.news-item {
  border-bottom: 1px solid rgba(184, 199, 216, 0.72);
}

.news-item__link {
  display: grid;
  grid-template-columns: 110px auto minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  padding: 20px 6px;
  transition: background 0.24s var(--ease-out);
}

.news-item__link:hover {
  background: rgba(255, 255, 255, 0.6);
}

.news-item__date {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.news-item__title {
  color: var(--color-ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.55;
  transition: transform 0.24s var(--ease-out), color 0.24s var(--ease-out);
}

.news-item__arrow {
  display: grid;
  place-items: center;
  color: var(--color-primary);
  transition: transform 0.24s var(--ease-out);
}

.news-item__link:hover .news-item__title {
  color: var(--color-primary);
  transform: translateX(4px);
}

.news-item__link:hover .news-item__arrow {
  transform: translateX(3px);
}

/* CTA */
.section--cta {
  padding-bottom: 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 58px 42px;
  border-radius: var(--radius-large);
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(21, 32, 43, 0.98) 0%, rgba(36, 91, 255, 0.95) 54%, rgba(15, 159, 143, 0.95) 100%);
  box-shadow: 0 28px 70px rgba(21, 32, 43, 0.18);
  text-align: center;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.28;
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box__eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.cta-box__title {
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.cta-box__desc {
  max-width: 640px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}

.cta-box__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer {
  margin-top: 92px;
  padding: 68px 0 32px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(180deg, #15202b 0%, #0f1720 100%);
}

.footer__inner {
  width: min(100%, 1232px);
  margin: 0 auto;
  padding: 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer__logo {
  max-width: 330px;
}

.footer__logo-link {
  display: block;
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer__nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__nav-group {
  min-width: 136px;
}

.footer__nav-title {
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  transition: color 0.22s var(--ease-out);
}

.footer__nav-list a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__notice {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  line-height: 1.65;
  text-align: center;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}

/* Reveal */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}

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

/* Responsive */
@media (max-width: 1180px) {
  .grid--4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__inner-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__header {
    max-width: 820px;
  }

  .hero__map-wrapper {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 920px) {
  .grid--3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding: 112px 24px 46px;
  }

  .hero__title {
    font-size: 2.7rem;
  }

  .hero__title-sub {
    font-size: 1.28rem;
  }

  .section {
    padding: 74px 0;
  }

  .section__title {
    font-size: 1.95rem;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-left: 0;
  }

  .u-sp-only {
    display: block;
  }

  .u-pc-only {
    display: none;
  }

  .sidebar {
    width: 100%;
    height: 72px;
    inset: 0 0 auto 0;
    padding: 0 18px;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(184, 199, 216, 0.72);
  }

  .sidebar__logo-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .sidebar__menu-trigger {
    width: auto;
    flex-direction: row;
    padding: 10px;
  }

  .sidebar__menu-text {
    writing-mode: initial;
    font-size: 0.72rem;
  }

  .sidebar__cta {
    flex-direction: row;
    gap: 8px;
  }

  .sidebar__cta-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .mega-nav {
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    padding: 32px 28px;
    transform: translateY(-12px);
    transition: transform 0.34s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
  }

  .mega-nav.is-active {
    left: 0;
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    padding: 116px 20px 42px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__title-sub {
    font-size: 1.12rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__map-wrapper {
    aspect-ratio: 4 / 3;
  }

  .hero__map-bg {
    background-position: center;
  }

  .map-drone {
    width: 46px;
    height: 34px;
  }

  .map-spot[data-spot-index="1"] {
    left: 21%;
    top: 30%;
  }

  .map-spot[data-spot-index="2"] {
    left: 75%;
    top: 53%;
  }

  .map-spot[data-spot-index="3"] {
    left: 88%;
    top: 33%;
  }

  .map-spot[data-spot-index="4"] {
    left: 52%;
    top: 21%;
  }

  .map-spot[data-spot-index="5"] {
    left: 65%;
    top: 78%;
  }

  .map-spot[data-spot-index="6"] {
    left: 18%;
    top: 59%;
  }

  .map-spot__pin {
    width: 64px;
    height: 64px;
    border-radius: 17px;
  }

  .map-spot::after {
    top: calc(50% + 30px);
    width: 44px;
    height: 11px;
  }

  .map-spot__pin::before {
    inset: 8px;
    border-radius: 13px;
  }

  .map-spot__pin::after {
    inset: 8px;
    border-radius: 13px;
  }

  .map-spot__icon-svg {
    width: 32px;
    height: 32px;
  }

  .map-spot__popup {
    bottom: 84px;
    min-width: 150px;
    padding: 9px 10px;
  }

  .map-spot[data-spot-index="4"] .map-spot__popup {
    top: 84px;
  }

  .map-spot__name {
    font-size: 0.76rem;
  }

  .grid--2col,
  .grid--3col,
  .grid--4col {
    grid-template-columns: 1fr;
  }

  .section__inner,
  .footer__inner {
    padding: 0 20px;
  }

  .section__header {
    margin-bottom: 30px;
  }

  .card {
    padding: 24px;
  }

  .category-card {
    padding-bottom: 78px;
  }

  .lp-card {
    min-height: 0;
  }

  .news-item__link {
    grid-template-columns: 1fr 34px;
    gap: 8px 14px;
    padding: 18px 0;
  }

  .news-item__date,
  .news-item__badge,
  .news-item__title {
    grid-column: 1 / 2;
  }

  .news-item__arrow {
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    align-self: center;
  }

  .about-container {
    padding: 26px;
  }

  .cta-box {
    padding: 42px 22px;
  }

  .cta-box__title {
    font-size: 1.55rem;
  }

  .cta-box__actions {
    flex-direction: column;
  }

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

  .footer {
    margin-top: 72px;
    padding-top: 52px;
  }

  .footer__top,
  .footer__nav {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .sidebar {
    padding: 0 12px;
  }

  .sidebar__cta {
    display: none;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 28px;
  }

  .hero__title {
    font-size: 1.82rem;
    line-height: 1.24;
  }

  .hero__title-sub {
    font-size: 1rem;
  }

  .hero__desc {
    margin-bottom: 24px;
    font-size: 0.94rem;
  }

  .hero__map-wrapper {
    min-height: 300px;
    aspect-ratio: auto;
  }

  .map-spot__pin {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .map-spot::after {
    top: calc(50% + 22px);
    width: 34px;
    height: 9px;
  }

  .map-spot__pin::before {
    inset: 7px;
    border-radius: 10px;
  }

  .map-spot__pin::after {
    inset: 7px;
    border-radius: 10px;
  }

  .map-spot__icon-svg {
    width: 26px;
    height: 26px;
  }

  .map-drone {
    width: 38px;
    height: 28px;
  }

  .map-spot[data-spot-index="1"] {
    left: 22%;
    top: 32%;
  }

  .map-spot[data-spot-index="2"] {
    left: 71%;
    top: 55%;
  }

  .map-spot[data-spot-index="3"] {
    left: 88%;
    top: 35%;
  }

  .map-spot[data-spot-index="4"] {
    left: 51%;
    top: 22%;
  }

  .map-spot[data-spot-index="5"] {
    left: 64%;
    top: 78%;
  }

  .map-spot[data-spot-index="6"] {
    left: 18%;
    top: 59%;
  }

  .section {
    padding: 62px 0;
  }

  .section__title {
    font-size: 1.62rem;
  }

  .section__inner,
  .footer__inner {
    padding: 0 16px;
  }

  .map-spot__popup {
    display: none;
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn:hover,
  .map-spot:hover {
    transform: none;
  }

  .map-drone,
  .map-drone__rotor {
    animation: none !important;
  }
}


/* portal intro update */
.hero--boot .hero__header,
.hero--boot .hero__map-wrapper {
  animation: none;
  opacity: 0;
  transform: translateY(46px);
}
.hero--boot .hero__map-wrapper {
  transform: translateY(58px) scale(0.985);
}
.hero--entered .hero__header,
.hero--entered .hero__map-wrapper {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 1.1s ease, transform 1.45s cubic-bezier(0.35, 0.34, 0.22, 0.99);
}
.hero--entered .hero__map-wrapper {
  transition-delay: 0.22s;
}
.hero--boot .portal-intro,
.hero--boot .map-drone,
.hero--boot .map-spot {
  opacity: 0;
}
.hero--entered .portal-intro,
.hero--entered .map-drone,
.hero--entered .map-spot {
  opacity: 1;
  transition: opacity 0.7s ease;
}
.hero--entered .portal-intro {
  transition-delay: 0.85s;
}
.hero--entered .map-drone {
  transition-delay: 1.1s;
}
.hero--entered .map-spot {
  transition-delay: calc(1.15s + (var(--spot-order, 1) * 0.08s));
}
.portal-intro {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 8;
  width: min(430px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  pointer-events: none;
}
.portal-intro__avatar {
  width: 54px;
  height: 54px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(21, 32, 43, 0.16);
  animation: messageAvatarIn 0.52s var(--ease-out) both;
}
.portal-intro__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.portal-intro__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.portal-intro__bubble {
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid rgba(184, 199, 216, 0.7);
  border-radius: 8px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(21, 32, 43, 0.13);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px);
  animation: messageBubbleIn 0.58s var(--ease-out) forwards;
}
.portal-intro__bubble:nth-child(2) {
  color: var(--color-primary-dark);
  animation-delay: 0.42s;
}
.hero--typing-complete .portal-intro__bubble {
  box-shadow: 0 16px 36px rgba(21, 32, 43, 0.13), 0 0 0 1px rgba(36, 91, 255, 0.08) inset;
}
.portal-intro__type {
  white-space: normal;
}
.portal-intro__type.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 3px;
  background: var(--color-secondary);
  vertical-align: -0.18em;
  animation: typingCaret 0.72s steps(1) infinite;
}
@keyframes typingCaret {
  50% { opacity: 0; }
}
@keyframes messageAvatarIn {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes messageBubbleIn {
  to { opacity: 1; transform: translateY(0); }
}
.map-spot:hover,
.map-spot--active {
  z-index: 30;
  transform: translate(-50%, -50%) scale(1.08);
}
.map-spot:hover::after,
.map-spot--active::after {
  opacity: 0.72;
  transform: translateX(-50%) scale(1.08);
}
.map-spot__icon-svg,
.map-spot__icon-img {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1;
  stroke: currentColor;
  stroke-width: 1.55;
  overflow: visible;
  filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--spot-accent) 22%, transparent));
}
.map-spot__icon-img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(21, 32, 43, 0.12);
}
.map-spot:hover .map-spot__pin,
.map-spot--active .map-spot__pin {
  color: var(--color-white);
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.32), transparent 34%), linear-gradient(135deg, var(--spot-accent), var(--spot-accent-2));
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 54px color-mix(in srgb, var(--spot-accent) 34%, rgba(21, 32, 43, 0.12)), 0 0 0 12px rgba(255, 255, 255, 0.36);
  transform: translateY(-3px);
}
.map-spot:hover .map-spot__ping,
.map-spot--active .map-spot__ping {
  animation: spotPing 1.8s ease-out infinite;
}
.map-spot:hover .map-spot__popup,
.map-spot--active .map-spot__popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.category-card__icon-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  overflow: hidden;
}
@media (max-width: 768px) {
  .portal-intro {
    left: 16px;
    top: 16px;
    width: min(360px, calc(100% - 32px));
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }
  .portal-intro__avatar {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }
  .portal-intro__avatar img {
    border-radius: 11px;
  }
  .portal-intro__bubble {
    padding: 8px 10px;
    font-size: 0.74rem;
    line-height: 1.5;
  }
  .map-spot__icon-svg,
  .map-spot__icon-img {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  .portal-intro {
    left: 12px;
    top: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .portal-intro__avatar {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
  .portal-intro__bubble {
    font-size: 0.68rem;
  }
  .map-spot__icon-svg,
  .map-spot__icon-img {
    width: 26px;
    height: 26px;
  }
  .map-spot__popup {
    display: flex;
    min-width: 132px;
    padding: 8px 9px;
    white-space: normal;
  }
  .map-spot--active .map-spot__popup {
    opacity: 1;
    visibility: visible;
  }
}
