/* ===== Design tokens ===== */
:root {
  --bg: #07090f;
  --bg-elev: #0e1220;
  --bg-elev-2: #131829;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1fb;
  --text-dim: #a6adc4;
  --accent: #4d8dff;
  --accent-2: #6ee7ff;
  --accent-grad: linear-gradient(135deg, #6ee7ff 0%, #4d8dff 55%, #7b5bff 100%);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(560px 380px at 12% -5%, rgba(77, 141, 255, 0.20), transparent 60%),
    radial-gradient(620px 420px at 100% 10%, rgba(110, 231, 255, 0.12), transparent 60%),
    radial-gradient(500px 500px at 50% 100%, rgba(123, 91, 255, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; z-index: 1; }

/* ===== Headings / text ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
p { color: var(--text-dim); margin: 0 0 16px; }
.lede { font-size: 1.15rem; color: var(--text-dim); max-width: 620px; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color .25s var(--ease);
}
.btn-primary {
  background: var(--accent-grad);
  color: #04070f;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(77, 141, 255, 0.35); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand img { height: 40px; width: auto; mix-blend-mode: screen; }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: none;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.93rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-item.has-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 6px;
  margin-top: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.25);
  flex-direction: column;
  gap: 2px;
  z-index: 20;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown { display: flex; }
.nav-dropdown a { padding: 9px 14px; border-radius: 10px; white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.mobile-cta { display: none; }
.nav-phone {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--accent-2); }
.mobile-call-bar { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  body { padding-bottom: 56px; }
  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    background: var(--accent-grad);
  }
  .mobile-call-bar a {
    display: block;
    text-align: center;
    padding: 14px;
    color: #04070f;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 18px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-item.has-dropdown { position: static; }
  .nav-dropdown {
    display: flex;
    position: static;
    margin: 0 0 4px 14px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: none;
  }
  .nav-dropdown a { padding: 10px 14px; color: var(--text-dim); font-size: 0.88rem; }
  .nav-actions .btn-primary { display: none; }
  .nav-actions .nav-phone { display: none; }
  .nav-links.open .mobile-cta { display: inline-flex; margin-top: 8px; }
  .nav-links.open .nav-phone-mobile {
    justify-content: center;
    background: none;
    color: var(--accent-2);
    font-weight: 600;
    margin-top: 4px;
  }
}

/* ===== Hero ===== */
.hero {
  padding: 92px 0 70px;
  text-align: left;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.6rem; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats div span { font-size: 0.82rem; color: var(--text-dim); }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  background: conic-gradient(from 0deg, #6ee7ff, #4d8dff, #7b5bff, #6ee7ff);
  opacity: 0.18;
  filter: blur(30px);
  animation: spin 16s linear infinite;
}
.hero-art img {
  width: 78%;
  position: relative;
  z-index: 1;
  mix-blend-mode: screen;
  filter: drop-shadow(0 10px 30px rgba(77,141,255,0.4));
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at center, #000 55%, transparent 100%);
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; }
  .hero { text-align: center; padding-top: 48px; }
  .hero-actions, .hero-stats { justify-content: center; }
}

/* ===== Cards / grids ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(110, 231, 255, 0.35); background: var(--bg-elev-2); }
.card-photo {
  margin: -30px -30px 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-photo img { transform: scale(1.06); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-grad);
  color: #04070f;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.tag-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.tag-list li { padding: 6px 0 6px 22px; position: relative; color: var(--text-dim); font-size: 0.92rem; }
.tag-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.card-link { font-size: 0.9rem; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }

section.section { padding: 90px 0; }
section.alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== Pills / badges ===== */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #38e58a; box-shadow: 0 0 10px #38e58a; }

/* ===== Values / list rows ===== */
.value-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.value-row:last-child { border-bottom: none; }
.value-row .num { font-weight: 800; font-size: 1.1rem; color: var(--accent-2); min-width: 34px; }

/* ===== CTA band ===== */
.cta-band {
  border-radius: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 220px at 50% 0%, rgba(77,141,255,0.25), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 52px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { height: 34px; width: auto; mix-blend-mode: screen; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-dim); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: var(--text-dim);
}

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--accent-2); }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.form-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; }
.form-status { margin-top: 16px; font-size: 0.92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #38e58a; }
.form-status.error { color: #ff6b6b; }

/* ===== FAQ accordion ===== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--bg-elev);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}
.accordion-trigger .icon { transition: transform 0.3s var(--ease); font-size: 1.2rem; color: var(--accent-2); flex-shrink: 0; }
.accordion-item.open .accordion-trigger .icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion-panel-inner { padding: 0 24px 22px; color: var(--text-dim); }

/* ===== Contact split ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; }
.contact-info-card a { color: var(--accent-2); font-weight: 600; }
.contact-form-wrap { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 70px 0 50px; text-align: center; }
.page-hero p { max-width: 560px; margin: 0 auto; }

/* ===== reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== misc ===== */
.divider { height: 1px; background: var(--border); margin: 0; }
.center { text-align: center; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-grad);
  z-index: 300;
  box-shadow: 0 0 14px rgba(110, 231, 255, 0.55);
}

/* ===== Aurora animated background ===== */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: aurora-float 20s ease-in-out infinite;
  will-change: transform;
}
.aurora span:nth-child(1) { width: 380px; height: 380px; background: #4d8dff; top: -110px; left: -60px; animation-duration: 19s; }
.aurora span:nth-child(2) { width: 340px; height: 340px; background: #6ee7ff; top: 30%; right: -100px; animation-duration: 24s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 300px; height: 300px; background: #7b5bff; bottom: -130px; left: 34%; animation-duration: 22s; animation-delay: -12s; }

@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -34px) scale(1.12); }
  66% { transform: translate(-36px, 26px) scale(0.94); }
}

.hero > .container, .page-hero > .container, .cta-band > *:not(.aurora) { position: relative; z-index: 1; }

/* ===== Animated gradient text ===== */
.gradient-text {
  background: linear-gradient(90deg, #6ee7ff, #4d8dff, #7b5bff, #6ee7ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 7s ease infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Card tilt / magnetic interactions ===== */
.card, .contact-info-card {
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-primary { will-change: transform; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .aurora { display: none; }
}

/* ===== Booking modal (Microsoft Bookings embed) ===== */
body.modal-open { overflow: hidden; }

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
}
.booking-modal.open { display: block; }

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fade 0.25s var(--ease);
}

.booking-modal-dialog {
  position: relative;
  margin: 3vh auto;
  width: min(920px, 94vw);
  height: 90vh;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: modal-pop 0.3s var(--ease);
}

.booking-modal-body { width: 100%; height: 100%; background: #fff; }
.booking-modal-body iframe { width: 100%; height: 100%; border: 0; display: block; }

.booking-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(7, 9, 15, 0.75);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.booking-modal-close:hover { background: rgba(255, 255, 255, 0.15); transform: scale(1.08); }

.booking-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev);
  color: var(--text-dim);
  font-size: 0.9rem;
  gap: 10px;
}
.booking-modal-loading::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent-2);
  animation: modal-spin 0.8s linear infinite;
}
.booking-modal.loaded .booking-modal-loading { display: none; }

@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modal-spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  .booking-modal-dialog { width: 96vw; height: 94vh; margin: 3vh auto; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal-backdrop, .booking-modal-dialog { animation: none; }
}
