@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@700;800&display=swap');

:root {
  --bg-base: #020408;
  --bg-card: #060C14;
  --bg-section-alt: #030609;
  --accent-primary: #6366F1;
  --accent-secondary: #A78BFA;
  --text-primary: #F8FAFF;
  --text-muted: #6B7A99;
  --gradient-hero: linear-gradient(160deg, #020408 0%, #08102A 100%);
  --radius-card: 16px;
  --transition: 0.25s ease;
  --container: min(1120px, calc(100% - 3rem));
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
}

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

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.8rem;
}

p {
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section-alt {
  background: var(--bg-section-alt);
}

.section-heading {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 70px;
  backdrop-filter: blur(16px);
  background: rgba(2, 4, 8, 0.72);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
}

.site-header.is-scrolled {
  background: rgba(2, 4, 8, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  background: linear-gradient(90deg, #6366F1 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.96rem;
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(99, 102, 241, 0.5);
  border-radius: 9px;
  background: transparent;
  color: var(--text-primary);
  padding: 0.4rem 0.55rem;
  font-size: 1rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--gradient-hero) center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 15% 20%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(1px 1px at 85% 30%, rgba(255, 255, 255, 0.35), transparent 70%),
    radial-gradient(1.7px 1.7px at 70% 10%, rgba(255, 255, 255, 0.44), transparent 70%),
    radial-gradient(1.3px 1.3px at 25% 75%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(1px 1px at 60% 60%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(1.2px 1.2px at 30% 35%, rgba(255, 255, 255, 0.28), transparent 70%);
  animation: starsFloat 16s linear infinite;
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.08) 5%, rgba(2, 4, 8, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(7rem, 11vw, 9.5rem) 0 clamp(3.1rem, 7vw, 5rem);
  max-width: 760px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #b8c4df;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  min-height: 46px;
  padding: 0.82rem 1.45rem;
}

.btn-primary {
  background: linear-gradient(135deg, #6366F1, #A78BFA);
  color: #fff;
  padding: 14px 32px;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid #6366F1;
  color: #A78BFA;
  background: transparent;
}

.btn-secondary:hover {
  border-color: #a9acff;
  color: #d3c3ff;
}

.stats-strip {
  padding: 1.55rem 0;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  background: #02060f;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.stat-label {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.card {
  background: rgba(6, 12, 20, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
}

.card-body {
  padding: 1.1rem;
}

.price {
  display: inline-block;
  margin-top: 0.4rem;
  color: #c6cff8;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.bg-cover {
  position: relative;
  background: center/cover no-repeat;
}

.bg-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 4, 8, 0.88), rgba(2, 4, 8, 0.45));
}

.bg-cover > .container {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.staff-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.38);
  padding: 0.25rem 0.68rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 0.6rem;
  color: #d9e1fa;
}

.form-card {
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

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

label {
  display: block;
  margin-bottom: 0.32rem;
  color: #c4d0f1;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: 12px;
  background: rgba(3, 6, 11, 0.88);
  color: var(--text-primary);
  padding: 0.72rem 0.8rem;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.info-box {
  border-left: 3px solid var(--accent-primary);
  padding: 1rem 1rem 1rem 1.1rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 10px;
}

.policy-content {
  max-width: 900px;
}

.policy-content h2,
.policy-content h3 {
  margin-top: 1.2rem;
}

.policy-content ul {
  margin-top: 0.2rem;
  padding-left: 1.2rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 130;
  background: rgba(6, 12, 20, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.38);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  color: #d2dbf2;
}

.cookie-banner a {
  text-decoration: underline;
  color: var(--accent-secondary);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(1, 2, 6, 0.75);
  padding: 1rem;
}

.modal-box {
  width: min(500px, 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 16px;
  background: #070d17;
  padding: 1.5rem 1.3rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: #f2f5ff;
  font-size: 1.6rem;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  background: #010307;
  padding: 2rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #c9d2f7;
}

.footer-small {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.inner-hero {
  min-height: 58vh;
  align-items: end;
}

@keyframes starsFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(25px); }
}

@media (max-width: 1200px) {
  .container {
    width: min(1040px, calc(100% - 2rem));
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(1, 3, 7, 0.97);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    flex-direction: column;
    align-items: start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .site-nav a {
    width: 100%;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.08);
  }

  .site-nav.open {
    max-height: 420px;
  }

  .split {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .container {
    width: calc(100% - 1.4rem);
  }

  .grid-3,
  .gallery-grid,
  .staff-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .split img {
    min-height: 270px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-bottom: 2.3rem;
  }

  .btn {
    width: 100%;
  }

  .modal-box {
    padding: 1.2rem 1rem;
  }
}

/* Fix: backdrop-filter on the sticky header created a clipping context that
   hid the dropdown nav (positioned below the 70px header box). */
@media (max-width: 960px) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #020408;
  }
}
