:root {
  --bg: #0a1628;
  --bg-2: #0f1f38;
  --card: #13284a;
  --line: rgba(148, 197, 255, .14);
  --text: #e6eefb;
  --muted: #9fb2cf;
  --accent: #22d3ee;
  --accent-2: #6366f1;
  --radius: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #04121f; font-weight: 700; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1;
  color: #04121f;
  background: linear-gradient(135deg, var(--accent), #67e8f9);
  box-shadow: 0 8px 30px -8px rgba(34, 211, 238, .55);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(34, 211, 238, .7); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 22, 40, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s, box-shadow .25s;
}
.nav.scrolled { background: rgba(10, 22, 40, .92); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.menu { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.menu a:not(.btn) { color: var(--muted); transition: color .2s; }
.menu a:not(.btn):hover, .menu a.active { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: .25s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 140px 0 110px; min-height: min(92vh, 900px); display: flex; align-items: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, .96) 0%, rgba(10, 22, 40, .82) 42%, rgba(10, 22, 40, .35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(99, 102, 241, .3), transparent 50%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.slide {
  position: absolute; inset: 0; background: center/cover no-repeat;
  opacity: 0; transform: scale(1.12); filter: saturate(1.1);
  transition: opacity 1.6s ease, transform 8s linear;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide-dots { position: absolute; right: 24px; bottom: 28px; display: flex; gap: 8px; }
.slide-dots span { width: 22px; height: 3px; border-radius: 3px; background: rgba(230, 238, 251, .3); transition: background .4s, width .4s; }
.slide-dots span.active { width: 40px; background: var(--accent); }
.hero-inner { position: relative; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; max-width: 22ch; margin-bottom: 40px; }
h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.grad { background: linear-gradient(90deg, var(--accent), #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 58ch; margin: 24px 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 48px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 14px; }

/* light pulses in fibers */
.fibers { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.fibers span {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  overflow: hidden;
}
.fibers span::after {
  content: ""; position: absolute; top: -1px; left: -20%; width: 18%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: drop-shadow(0 0 6px var(--accent));
  animation: pulse 5s linear infinite;
}
.fibers span:nth-child(1) { top: 22%; }
.fibers span:nth-child(2) { top: 38%; } .fibers span:nth-child(2)::after { animation-delay: -1.8s; animation-duration: 6.5s; }
.fibers span:nth-child(3) { top: 58%; } .fibers span:nth-child(3)::after { animation-delay: -3.2s; }
.fibers span:nth-child(4) { top: 74%; } .fibers span:nth-child(4)::after { animation-delay: -.9s; animation-duration: 7s; }
.fibers span:nth-child(5) { top: 90%; } .fibers span:nth-child(5)::after { animation-delay: -4.1s; animation-duration: 5.8s; }
@keyframes pulse { to { left: 110%; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--card), rgba(19, 40, 74, .4));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .45); }
.card p { color: var(--muted); font-size: 15px; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.steps span { color: var(--accent); font-weight: 800; font-size: 14px; }
.steps p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > div > p { color: var(--muted); }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(34, 211, 238, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Booking ---------- */
.split:has(.form) { align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list a, .contact-list p { color: var(--text); }
.contact-list strong { display: block; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: var(--text); width: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18); }
.form input[type="date"] { color-scheme: dark; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; }
.form .consent input { width: auto; margin-top: 3px; accent-color: var(--accent); }
.form .btn { justify-self: start; }
.form-status { font-size: 14px; min-height: 1em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-inner > a:last-child { color: var(--accent); font-weight: 600; }
.footer-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-contact a:hover { color: var(--text); }

/* ---------- Floating call button (mobile) ---------- */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center;
  color: #04121f; background: linear-gradient(135deg, var(--accent), #67e8f9);
  box-shadow: 0 10px 30px -6px rgba(34, 211, 238, .6);
}
.call-fab svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .fibers { display: none; }
  .draw { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; }
  .hero { padding: 80px 0 72px; }
  .section { padding: 80px 0; }
  .grid.cards, .steps, .form .row { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .form { padding: 22px; }
  .form .btn { justify-self: stretch; }
  .call-fab { display: grid; }
  .footer { padding-bottom: 96px; }
}

/* ---------- Clients ---------- */
.clients { padding: 56px 0; }
.clients-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.clients .eyebrow { margin: 0; }
.client-logos { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
.client-logos li {
  width: 200px; height: 104px; display: grid; place-items: center; padding: 18px 26px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 16px 36px -22px rgba(0, 0, 0, .8);
  transition: transform .25s, box-shadow .25s;
}
.client-logos li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(34, 211, 238, .45); }
.client-logos img { max-width: 100%; max-height: 64px; width: auto; height: auto; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -.02em; padding: 0 28px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); margin-right: -32px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Gallery ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-note { color: var(--muted); max-width: 40ch; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 14px; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); grid-row: span 2; }
.shot.tall { grid-row: span 3; }
.shot.wide { grid-column: span 2; }
.shot a { display: block; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.9) brightness(.92); }
.shot::before { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(103, 232, 249, .28) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 1s ease;
}
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 22, 40, .92) 0%, rgba(10, 22, 40, 0) 55%); }
.shot figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; pointer-events: none; }
.shot figcaption strong { display: block; font-size: 17px; }
.shot figcaption span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s; }
.shot:hover img, .shot:focus-within img { transform: scale(1.07); filter: saturate(1.1) brightness(1); }
.shot:hover::before { transform: translateX(120%); }
.shot:hover figcaption span, .shot:focus-within figcaption span { max-height: 80px; opacity: 1; }
.shot:hover { border-color: rgba(34, 211, 238, .45); }

/* ---------- Parallax band ---------- */
.band { position: relative; overflow: hidden; padding: 160px 0; isolation: isolate; }
.band-bg {
  position: absolute; inset: -20% 0; z-index: -1;
  background: linear-gradient(rgba(10, 22, 40, .72), rgba(10, 22, 40, .72)), url(images/village-lg.webp) center 18%/cover;
  will-change: transform;
}
.band blockquote { font-size: clamp(30px, 5vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; max-width: 18ch; }

/* ---------- About photos ---------- */
.about-visual { position: relative; background: none; border: 0; padding: 0 0 60px 0; }
.about-visual img { border-radius: 20px; border: 1px solid var(--line); object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.av-main { width: 78%; aspect-ratio: 4 / 5; margin-left: auto; }
.av-float { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; outline: 6px solid var(--bg); }
.av-badge {
  position: absolute; right: 6%; bottom: 20px; background: rgba(15, 31, 56, .85); backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 211, 238, .35); border-radius: 14px; padding: 14px 18px;
}
.av-badge strong { display: block; font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.av-badge span { font-size: 13px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 12, 24, .94); backdrop-filter: blur(8px); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; padding: 24px 0; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 12px; }
.lightbox figcaption { color: var(--muted); text-align: center; font-size: 15px; }
.lightbox button { background: none; border: 0; color: var(--text); font-size: 44px; cursor: pointer; height: 64px; opacity: .7; transition: opacity .2s, color .2s; }
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lb-close { position: absolute; top: 12px; right: 16px; }
@keyframes fade { from { opacity: 0; } }

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-visual { max-width: 520px; }
}
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 22, 40, .8) 40%, rgba(10, 22, 40, .7) 100%); }
  .gallery { grid-auto-rows: 130px; gap: 10px; }
  .shot.wide { grid-column: span 2; }
  .shot figcaption { left: 12px; right: 12px; bottom: 10px; }
  .shot figcaption strong { font-size: 14px; }
  .band { padding: 110px 0; }
  .lightbox { grid-template-columns: 40px 1fr 40px; }
  .client-logos { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .client-logos li { width: auto; height: 76px; padding: 12px; }
  .client-logos img { max-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transform: none; }
  .ticker-track { animation: none; }
}
