:root {
  --background: 250 30% 8%;
  --foreground: 60 30% 96%;
  --card: 250 25% 12%;
  --card-foreground: 60 30% 96%;
  --primary: 270 60% 70%;
  --primary-foreground: 250 30% 8%;
  --secondary: 48 95% 65%;
  --secondary-foreground: 250 30% 8%;
  --muted-foreground: 250 10% 60%;
  --border: 250 20% 20%;

  --gradient-hero: linear-gradient(135deg, hsl(270 60% 70%), hsl(48 95% 65%));
  --shadow-card: 0 8px 32px hsl(250 30% 4% / 0.5);
  --shadow-cta: 0 0 30px hsl(48 95% 65% / 0.4);
  --shadow-cta-hover: 0 0 45px hsl(48 95% 65% / 0.6);
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

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

.page {
  min-height: 100vh;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    radial-gradient(circle at 30% 40%, hsl(270 60% 70% / 0.4), transparent 50%),
    radial-gradient(circle at 70% 60%, hsl(48 95% 65% / 0.3), transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  margin: 0 0 2.5rem;
  line-height: 1.65;
}

.cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-cta-hover);
}

.cta:active {
  transform: scale(0.97);
}

/* ---------- About ---------- */
.about {
  padding: 5rem 1.5rem;
  display: flex;
  justify-content: center;
}

.about-card {
  max-width: 42rem;
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .about-card {
    padding: 3rem;
  }
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
}

.about-text {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 1.125rem;
  }
}

.accent-primary {
  color: hsl(var(--primary));
  font-weight: 600;
}

.accent-secondary {
  color: hsl(var(--secondary));
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

.footer-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
}

@media (min-width: 768px) {
  .contacts {
    flex-direction: row;
  }
}

.contact-link {
  transition: color 0.2s ease;
}

.contact-link.email:hover {
  color: hsl(var(--primary));
}

.contact-link.phone:hover {
  color: hsl(var(--secondary));
}

.map-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  margin: 0 auto;
  max-width: 48rem;
  box-shadow: var(--shadow-card);
}

.map-wrap iframe {
  display: block;
}

.legal-links {
  padding-top: 1rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.legal-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: hsl(var(--primary));
}

.copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  padding-top: 0.5rem;
  margin: 0;
}

/* ---------- Reveal animations ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .cta {
    transition: none;
  }
  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
