:root {
  --bg: #0d1527;
  --surface: #132440;
  --surface-soft: #16476a;
  --accent: #bf092f;
  --accent-soft: #3b9797;
  --text: #eef4ff;
  --text-soft: #b8c9e6;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --space-xs: 0.4rem;
  --space-sm: 0.75rem;
  --space-md: 1.1rem;
  --space-lg: 1.7rem;
  --space-xl: 2.5rem;
  --shadow: 0 0.8rem 2.4rem rgba(4, 8, 17, 0.35);
  --stroke: 0.08rem solid rgba(238, 244, 255, 0.16);
  --timing: 280ms ease;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 12% 8%, #16476a 0%, var(--bg) 40%, #0a1020 100%);
  color: var(--text);
  line-height: 1.45;
  font-size: 0.95rem;
}

a,
button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius-md);
}

h1{
  font-size: 1.25rem;
}
.site-shell {
  width: min(93%, 74rem);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 1500;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  border-bottom: var(--stroke);
  background: rgba(10, 16, 32, 0.78);
  backdrop-filter: blur(0.45rem);
}

.header-basic {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: background var(--timing), transform var(--timing);
  font-size: 0.85rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(59, 151, 151, 0.25);
  transform: translateY(-0.08rem);
}

.menu-toggle {
  border: var(--stroke);
  border-radius: var(--radius-sm);
  background: rgba(191, 9, 47, 0.2);
  color: var(--text);
  width: 2.3rem;
  height: 2.3rem;
  display: none;
  place-items: center;
  position: relative;
  z-index: 1601;
}

.hero {
  min-height: 66vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin: 0 0 var(--space-sm);
}

.hero-copy p {
  color: var(--text-soft);
  max-width: 38ch;
}

.hero-actions {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: var(--stroke);
  transition: transform var(--timing), background var(--timing);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.84rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-0.08rem);
}

.btn-accent {
  background: linear-gradient(130deg, var(--accent), #d30e44);
}

.btn-ghost {
  background: rgba(59, 151, 151, 0.2);
}

.hero-art {
  border: var(--stroke);
  border-radius: var(--radius-lg);
  background: rgba(19, 36, 64, 0.88);
  min-height: 25rem;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.section-block {
  margin-bottom: var(--space-xl);
}

.section-head h2 {
  margin: 0 0 var(--space-xs);
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  border: var(--stroke);
  background: rgba(19, 36, 64, 0.7);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.list-tight {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.photo-grid figure {
  margin: 0;
}

.photo-grid figcaption {
  margin-top: var(--space-xs);
  color: var(--text-soft);
  font-size: 0.78rem;
}

.asym-shell {
  position: relative;
}

.asym-shell::before {
  content: "";
  position: absolute;
  inset: -1rem 8% auto -4%;
  height: 7rem;
  background: linear-gradient(120deg, rgba(191, 9, 47, 0.28), rgba(59, 151, 151, 0.25));
  transform: rotate(-4deg);
  border-radius: var(--radius-md);
  z-index: -1;
}

.angled-panel {
  transform: rotate(-1.5deg);
}

.offset-panel {
  margin-left: 10%;
  margin-top: -1rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.contact-box {
  border: var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(19, 36, 64, 0.75);
  padding: var(--space-md);
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.contact-form label {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.3rem;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.07);
  border: var(--stroke);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.55rem 0.65rem;
}

.contact-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.consent-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.mini-footer {
  border-top: var(--stroke);
  padding: var(--space-md) 0 var(--space-lg);
  font-size: 0.8rem;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.mini-footer a {
  color: var(--text);
  text-decoration: none;
}

.policy-popup {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 22rem;
  border: var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(10, 16, 32, 0.96);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  z-index: 30;
  display: none;
}

.policy-popup.is-visible {
  display: block;
  animation: rise 360ms ease;
}

.policy-popup p {
  margin: 0 0 var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.policy-popup .btn {
  width: 100%;
  justify-content: center;
}

.map-frame {
  width: 100%;
  min-height: 16rem;
  border: 0;
  border-radius: var(--radius-md);
}

.page-title {
  margin-bottom: var(--space-lg);
}

.page-title h1 {
  margin: 0 0 var(--space-xs);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-family: var(--font-display);
}

.page-title p {
  margin: 0;
  color: var(--text-soft);
}

.price-table {
  display: grid;
  gap: var(--space-sm);
}

.price-row {
  border: var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(22, 71, 106, 0.38);
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
}

.legal-shell {
  display: grid;
  gap: var(--space-md);
}

.legal-shell section {
  border: var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(19, 36, 64, 0.7);
  padding: var(--space-md);
}

.system-center {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 58rem) {
  .hero,
  .split-layout,
  .contact-wrap,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0;
    background: rgba(10, 16, 32, 0.98);
    border-radius: 0;
    padding: var(--space-lg);
    z-index: 1600;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    font-size: 1rem;
    width: min(22rem, 90vw);
    text-align: center;
    padding: 0.7rem 0.9rem;
    background: rgba(59, 151, 151, 0.16);
  }

  .offset-panel {
    margin-left: 0;
    margin-top: 0;
  }

  .site-header {
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 48rem) {
  .site-shell {
    width: 94%;
  }

  .header-basic {
    padding: 0.65rem 0.8rem;
  }

  .hero {
    min-height: auto;
    gap: var(--space-md);
  }

  .hero-art {
    min-height: 20rem;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .policy-popup {
    left: 0.8rem;
    right: 0.8rem;
    max-width: none;
    bottom: 0.8rem;
  }
}

@media (max-width: 40rem) {
  html {
    font-size: 15.5px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .main-nav {
    width: min(15rem, 90vw);
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
  }

  .hero-copy p {
    font-size: 0.88rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-art {
    min-height: 16.5rem;
  }

  .card,
  .contact-box,
  .legal-shell section {
    padding: 0.85rem;
  }

  .map-frame {
    min-height: 13.5rem;
  }
}

@media (max-width: 24rem) {
  html {
    font-size: 15px;
  }

  .site-shell {
    width: 94%;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .menu-toggle {
    width: 2.05rem;
    height: 2.05rem;
  }

  .main-nav {
    width: 92vw;
  }

  .hero-copy h1 {
    font-size: 1.4rem;
  }

  .hero-copy p,
  .section-head p,
  .page-title p,
  .list-tight,
  .mini-footer {
    font-size: 0.8rem;
  }

  .hero-art {
    min-height: 14rem;
  }

  .page-title h1,
  .section-head h2 {
    font-size: 1.2rem;
  }

  .price-row {
    padding: 0.75rem;
  }
}

@media (max-width: 20rem) {
  html {
    font-size: 14px;
  }

  .site-shell {
    width: 95%;
  }

  .header-basic {
    gap: 0.35rem;
  }

  .hero {
    margin-bottom: var(--space-lg);
  }

  .hero-copy h1 {
    font-size: 1.22rem;
  }

  .hero-copy p {
    font-size: 0.78rem;
    max-width: 100%;
  }

  .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.77rem;
  }

  .hero-art {
    min-height: 12rem;
  }

  .section-block {
    margin-bottom: var(--space-lg);
  }

  .card,
  .contact-box,
  .legal-shell section {
    padding: 0.7rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.5rem 0.55rem;
  }

  .policy-popup {
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0.45rem;
    padding: 0.72rem;
  }
}
