:root {
  --bg: #070b14;
  --bg-soft: #111a2f;
  --card: rgba(255, 255, 255, 0.04);
  --text: #ecf2ff;
  --muted: #aebddb;
  --primary: #58c9fb;
  --primary-2: #7d73ff;
  --border: rgba(255, 255, 255, 0.16);
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% -10%, #1a2f54 0%, transparent 44%),
    radial-gradient(circle at 90% 10%, rgba(125, 115, 255, 0.2) 0%, transparent 38%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before,
body::after {
  content: '';
  position: fixed;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  animation: floatBlob 18s ease-in-out infinite;
}
body::before {
  top: -8rem;
  left: -6rem;
  background: rgba(88, 201, 251, 0.42);
}
body::after {
  right: -8rem;
  top: 22rem;
  background: rgba(125, 115, 255, 0.35);
  animation-delay: -7s;
}

@keyframes floatBlob {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -28px, 0) scale(1.08); }
}

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

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; color: #000; padding: .5rem .75rem; border-radius: .5rem; z-index: 50; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 11, 20, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { min-height: 4.8rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand img { height: 2.2rem; }
.menu { display: flex; align-items: center; gap: 1.15rem; }
.menu a {
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color .25s ease;
}
.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  transition: transform .25s ease;
}
.menu a:hover,
.menu a:focus-visible { color: var(--text); }
.menu a:hover::after,
.menu a:focus-visible::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 2.8rem; height: 2.8rem; border: 1px solid var(--border);
  border-radius: .75rem; background: transparent; cursor: pointer;
}
.menu-toggle span { width: 1.2rem; height: 2px; background: #fff; display: block; margin: .24rem auto; }
.sr-only { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }

.hero { padding: 4rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.eyebrow { color: var(--primary); letter-spacing: .09em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
h1, h2, h3 { line-height: 1.2; margin: .35rem 0 .8rem; }
h1 { font-family: 'PT Serif', serif; font-size: clamp(2rem, 4.2vw, 3.45rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); }
.lead { color: var(--muted); max-width: 56ch; }

.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin: 1.35rem 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  border: 0; border-radius: .8rem; padding: .72rem 1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #04131d;
  box-shadow: 0 8px 28px rgba(96, 146, 255, .35);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transition: transform .45s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(96, 146, 255, .42); }
.btn:hover::before,
.btn:focus-visible::before { transform: translateX(110%); }

.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-small { padding: .52rem .84rem; font-size: .88rem; border-radius: .65rem; }

.hero-visual {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.4);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .35s ease;
}
.hero-visual img {
  transform: scale(1.02);
  transition: transform .7s ease;
}
.hero-visual:hover img { transform: scale(1.08); }

.section { padding: 4.1rem 0; }
.section-dark {
  background: linear-gradient(180deg, rgba(17, 26, 47, 0.35), rgba(17, 26, 47, 0.9));
  border-block: 1px solid var(--border);
}
.section-head { max-width: 760px; }

.cards, .reviews-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.2rem;
}
.card, .review-card, .gallery-item {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  backdrop-filter: blur(8px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover,
.review-card:hover,
.steps li:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  border-color: rgba(125, 115, 255, 0.45);
}
.card p, .review-card p { color: var(--muted); }
.review-card span { font-size: .9rem; color: var(--muted); }
.review-callout { display: flex; flex-direction: column; justify-content: space-between; }

.gallery-item {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 8, 17, .65) 100%);
  opacity: .9;
  pointer-events: none;
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item figcaption {
  position: absolute;
  left: .95rem;
  bottom: .8rem;
  z-index: 1;
  color: #e6f0ff;
  font-size: .92rem;
  font-weight: 600;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(0,0,0,.5); }

.steps {
  margin: 1.5rem 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  counter-reset: step;
}
.steps li {
  padding: 1.2rem; border: 1px solid var(--border); border-radius: 1rem;
  background: rgba(255,255,255,.03); counter-increment: step;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.steps li h3::before {
  content: "0" counter(step) " ";
  color: var(--primary); font-weight: 800; margin-right: .35rem;
}
.steps li p { color: var(--muted); margin: 0; }

.cta-box {
  padding: 1.45rem; border: 1px solid var(--border); border-radius: 1.2rem;
  background: linear-gradient(160deg, rgba(88, 201, 251, .11), rgba(125, 115, 255, .09));
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.4rem;
  box-shadow: 0 15px 40px rgba(10, 17, 33, 0.4);
}
.contact-list { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; color: var(--muted); }
.contact-list a { color: var(--text); }

.contact-form { display: grid; gap: .7rem; }
.contact-form label { display: grid; gap: .35rem; color: var(--muted); font-size: .9rem; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: .7rem; padding: .65rem .75rem;
  background: rgba(5,10,20,.8); color: #fff; font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: rgba(88, 201, 251, .7);
  box-shadow: 0 0 0 3px rgba(88, 201, 251, 0.18);
}

.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner {
  min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; color: var(--muted); font-size: .95rem;
}
.footer-links { display: flex; gap: .9rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

[data-animate] {
  opacity: 0;
  transform: translateY(26px) scale(.98);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.65,.2,1);
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 920px) {
  .hero-grid, .cards, .steps, .reviews-grid, .cta-box, .gallery-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .menu {
    position: absolute; inset: calc(100% + .25rem) 1rem auto;
    display: none; flex-direction: column; align-items: stretch;
    padding: .85rem; border-radius: 1rem; border: 1px solid var(--border); background: #10192d;
  }
  .menu.open { display: flex; }
  .gallery-item img { height: 220px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: .75rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}
