:root {
  --color-deep: #050E3C;
  --color-mid: #002455;
  --color-accent: #DC0000;
  --color-bright: #FF3838;
  --color-ink: #f4f7ff;
  --color-soft: #d9e2ff;
  --glass: rgba(5, 14, 60, 0.78);
  --shadow-soft: 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1rem;
  --space-lg: 1.6rem;
  --space-xl: 2.3rem;
  --text-xs: 0.75rem;
  --text-sm: 0.86rem;
  --text-md: 0.96rem;
  --text-lg: 1.2rem;
  --text-xl: 1.9rem;
  --transition: 0.3s ease;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: var(--text-sm);
  line-height: 1.5;
  background: radial-gradient(circle at 15% 20%, #0b1f72 0%, var(--color-deep) 42%, #040825 100%);
  color: var(--color-ink);
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}
.site-shell {
  width: min(92%, 74rem);
  margin: 0 auto;
  padding-bottom: 3rem;
}
.site-header {
  position: relative;
  width: 100%;
  z-index: 15;
  border-bottom: 0.06rem solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 14, 60, 0.9);
}
.site-header.header-hidden {
  transform: none;
  opacity: 1;
}
.nav-box {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.75rem 1rem;
}
.logo-word {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.menu-toggle {
  border: 0;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.09);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: none;
}
.nav-links {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: var(--text-xs);
  padding: 0.45rem 0.68rem;
  border-radius: 1rem;
  background: transparent;
  transition: background var(--transition);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}
.hero {
  min-height: 34rem;
  position: relative;
  padding: 6rem 0 var(--space-lg);
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(90%, 52rem);
  margin: 4rem auto 0;
  background: rgba(5, 14, 60, 0.58);
  border: 0.07rem solid rgba(255, 255, 255, 0.19);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
h1,
.h2-display {
  font-family: "Sora", sans-serif;
  margin: 0 0 var(--space-sm);
}
h1 {
  font-size: clamp(1.5rem, 4.8vw, 2.8rem);
}
.h2-display {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}
.compact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.panel {
  background: rgba(0, 36, 85, 0.53);
  border: 0.06rem solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.panel p,
.panel li {
  color: var(--color-soft);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.photo-card {
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-link,
button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  border-radius: 1rem;
  border: 0.06rem solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(100deg, var(--color-accent), var(--color-bright));
  color: #fff;
  padding: 0.48rem 0.8rem;
  cursor: pointer;
}
section {
  scroll-margin-top: 6rem;
}
.skew-wrap {
  position: relative;
  transform: skewY(-3deg);
  margin: 1.2rem 0;
}
.skew-wrap > * {
  transform: skewY(3deg);
}
.asym-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.asym-stack .panel {
  flex: 1 1 18rem;
}
.offset-panel {
  margin-top: 2.2rem;
}
.product-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.product-card {
  flex: 1 1 14rem;
}
.map-box iframe {
  width: 100%;
  border: 0;
  min-height: 16rem;
  border-radius: var(--radius-md);
}
form {
  display: grid;
  gap: var(--space-sm);
}
input,
textarea {
  width: 100%;
  border: 0.06rem solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  padding: 0.6rem;
}
textarea {
  min-height: 7rem;
  resize: vertical;
}
label {
  display: grid;
  gap: 0.25rem;
  font-size: var(--text-xs);
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.checkbox-line input {
  width: auto;
}
.mini-footer {
  margin-top: var(--space-xl);
  border-top: 0.06rem solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-md);
  font-size: var(--text-xs);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.popup {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  width: min(92%, 22rem);
  border-radius: var(--radius-md);
  background: rgba(0, 36, 85, 0.95);
  border: 0.06rem solid rgba(255, 255, 255, 0.2);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  z-index: 30;
}
.popup.hidden {
  display: none;
}
@media (max-width: 75rem) {
  .site-shell {
    width: min(94%, 66rem);
  }
  .hero-content {
    width: min(92%, 46rem);
  }
}
@media (max-width: 64rem) {
  .hero {
    min-height: 30rem;
    padding-top: 5.2rem;
  }
  .compact-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  .panel {
    padding: 0.9rem;
  }
  .offset-panel {
    margin-top: 1.2rem;
  }
}
@media (max-width: 56rem) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
    width: 100%;
    padding: 0.55rem 0 0.2rem;
    position: static;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: transparent;
    gap: 0.45rem;
  }
  .nav-box.open .nav-links {
    display: flex;
  }
  .nav-box.open .nav-links a {
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
  }
  .nav-box {
    flex-wrap: wrap;
    padding: 0.65rem 0;
  }
  .compact-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .hero-content {
    margin-top: 3.2rem;
  }
  .mini-footer {
    justify-content: flex-start;
  }
}
@media (max-width: 48rem) {
  .hero {
    min-height: 26rem;
  }
  .hero-content {
    width: min(94%, 34rem);
    padding: 0.95rem;
  }
  .asym-stack .panel,
  .product-card {
    flex: 1 1 100%;
  }
  .offset-panel {
    margin-top: 0;
  }
  .map-box iframe {
    min-height: 14rem;
  }
  .popup {
    right: 0.6rem;
    bottom: 0.6rem;
    width: min(95%, 21rem);
  }
}
@media (max-width: 40rem) {
  :root {
    --space-lg: 1.2rem;
    --space-md: 0.8rem;
    --text-sm: 0.82rem;
  }
  .logo-word {
    font-size: 1rem;
  }
  .nav-links a {
    font-size: 0.72rem;
    padding: 0.38rem 0.55rem;
  }
  .compact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .btn-link,
  button {
    padding: 0.42rem 0.66rem;
  }
}
@media (max-width: 32rem) {
  body {
    font-size: var(--text-xs);
  }
  .site-shell {
    width: min(95%, 32rem);
    padding-bottom: 2rem;
  }
  .site-header {
    width: 100%;
  }
  .nav-box {
    padding: 0.5rem 0.7rem;
  }
  .hero-content {
    padding: 0.75rem;
    margin-top: 2.8rem;
  }
  .compact-grid {
    grid-template-columns: 1fr;
  }
  input,
  textarea {
    padding: 0.5rem;
  }
  .map-box iframe {
    min-height: 12.5rem;
  }
}
@media (max-width: 23.4375rem) {
  .hero {
    min-height: 23rem;
    padding-top: 4.6rem;
  }
  h1 {
    font-size: clamp(1.25rem, 7vw, 1.7rem);
  }
  .h2-display {
    font-size: clamp(1rem, 5.5vw, 1.3rem);
  }
  .mini-footer {
    gap: 0.35rem;
  }
}
@media (max-width: 19rem) {
  :root {
    --space-sm: 0.55rem;
    --space-md: 0.7rem;
    --text-xs: 0.7rem;
    --text-sm: 0.78rem;
  }
  .site-shell {
    width: 95%;
    padding-bottom: 1.6rem;
  }
  .site-header {
    width: 96%;
  }
  .nav-links {
    width: 100%;
  }
  .nav-box.open .nav-links a {
    width: 100%;
    font-size: 0.78rem;
    padding: 0.48rem 0.55rem;
  }
  .hero-content {
    width: 95%;
    padding: 0.65rem;
    margin-top: 2.1rem;
  }
  .hero {
    min-height: 21rem;
    padding-top: 4.2rem;
  }
  .compact-grid,
  .asym-stack,
  .product-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .panel,
  .asym-stack .panel,
  .product-card {
    width: 100%;
    min-width: 0;
  }
  .photo-card img {
    min-height: 10.5rem;
    object-fit: cover;
  }
  .map-box iframe {
    min-height: 10.5rem;
  }
  form {
    gap: 0.5rem;
  }
  input,
  textarea {
    font-size: 0.78rem;
    padding: 0.48rem;
  }
  .checkbox-line {
    align-items: flex-start;
  }
  .btn-link,
  button {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
    padding: 0.48rem 0.58rem;
  }
  .mini-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo-word {
    font-size: 0.92rem;
  }
  .menu-toggle {
    width: 1.95rem;
    height: 1.95rem;
  }
  .popup {
    left: 0.45rem;
    right: 0.45rem;
    width: auto;
    padding: 0.7rem;
  }
}
