:root {
  --color-bg: #0c0f14;
  --color-surface: #141a22;
  --color-surface-elevated: #1c2430;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8ecf1;
  --color-text-muted: #9aa8b8;
  --color-accent: #3b9eff;
  --color-accent-hover: #5cb0ff;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 12px;
  --header-h: 72px;
  --max-w: 1120px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-tagline {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: none;
}

@media (min-width: 640px) {
  .brand-tagline {
    display: block;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-text);
  background: var(--color-surface-elevated);
}

@media (max-width: 767px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1rem 4rem;
  background: var(--color-bg) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 15, 20, 0.75) 0%,
    rgba(12, 15, 20, 0.92) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(280px, 70vw);
  margin: 0 auto 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-phone {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
}

.hero-phone a {
  color: var(--color-text);
}

.hero-phone a:hover {
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 158, 255, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* Intro */
.intro {
  padding: 5rem 0;
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.intro-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

.intro-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.intro-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Contact */
.contact {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 36ch;
  margin-inline: auto;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.info-card strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.info-card a,
.info-card span {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-form-wrap {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.25rem;
}

.form-actions .btn {
  width: 100%;
}

@media (min-width: 540px) {
  .form-actions .btn {
    width: auto;
    min-width: 160px;
  }
}

.form-alert {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  display: none;
}

.form-alert.is-visible {
  display: block;
}

.form-alert--error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-alert--success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.form-alert[hidden] {
  display: none !important;
}

/* Map band */
.map-band {
  position: relative;
  padding: 4rem 0;
  text-align: center;
  background: var(--color-surface) center / cover no-repeat;
}

.map-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 15, 20, 0.88);
}

.map-band .container {
  position: relative;
  z-index: 1;
}

.map-band h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--color-text);
  font-weight: 600;
}
