/* ============================================
   Lucid Motion Studio — lucidmotionstudio.com
   Dark theme • Brand gradient: blue → teal → green
   ============================================ */

:root {
  --blue: #3090e0;
  --teal: #10d0d0;
  --green: #70d050;
  --grad: linear-gradient(100deg, var(--blue), var(--teal), var(--green));
  --bg: #070c12;
  --bg-2: #0c1420;
  --bg-3: #101b2a;
  --card: #0e1826;
  --line: rgba(120, 180, 220, 0.14);
  --text: #e8f1f8;
  --muted: #9db2c4;
  --radius: 18px;
  --max: 1180px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

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

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

section { padding: 58px 0; position: relative; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(48,144,224,.12), rgba(16,208,208,.12), rgba(112,208,80,.12));
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}
.topbar span b { color: var(--text); font-weight: 600; }
.topbar a { color: var(--teal); font-weight: 600; }

/* ---------- Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 12, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.nav .logo { display: flex; align-items: center; gap: 12px; }
.nav .logo img { height: 46px; width: auto; }
.nav .logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}
.nav .logo-name small { display: block; font-size: 0.62rem; letter-spacing: 0.28em; color: var(--teal); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--grad); border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-head);
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--grad);
  color: #06131a;
  box-shadow: 0 8px 28px rgba(16, 208, 208, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(16, 208, 208, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 16px 36px; font-size: 1.02rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(48,144,224,.22), rgba(16,208,208,.10) 45%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { max-width: 900px; margin: 0 auto 24px; }
.hero .lead { margin: 0 auto 38px; max-width: 700px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  max-width: 820px;
  margin: 0 auto;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-2);
}
.marquee-track { display: inline-block; animation: marquee 28s linear infinite; }
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  margin: 0 34px;
}
.marquee-track span::after { content: '✦'; margin-left: 34px; color: var(--teal); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 208, 208, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(48,144,224,.18), rgba(112,208,80,.18));
  border: 1px solid var(--line);
  margin-bottom: 22px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-weight: 600; font-size: 0.9rem;
  color: var(--teal);
}
.card .card-link:hover { gap: 10px; }

/* section header block */
.sec-head { max-width: 1000px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: 16px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--teal); }
.filter-btn.active {
  background: var(--grad);
  color: #06131a;
  border-color: transparent;
  font-weight: 600;
}

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .25s, border-color .25s;
}
.work-item:hover { transform: translateY(-5px); border-color: rgba(16,208,208,.45); }
.work-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.work-thumb video, .work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-thumb .play {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(7, 12, 18, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  transition: .25s;
}
.work-item:hover .play { background: var(--grad); border-color: transparent; }
.work-thumb .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.work-item:hover .play svg { fill: #06131a; }
.work-meta { padding: 18px 20px; }
.work-meta h3 { font-size: 1.05rem; margin-bottom: 4px; }
.work-meta span { font-size: 0.82rem; color: var(--teal); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* placeholder gradient thumbs */
.ph-1 { background: linear-gradient(135deg, #123a5e, #0c6a72); }
.ph-2 { background: linear-gradient(135deg, #0c5c52, #2a7a34); }
.ph-3 { background: linear-gradient(135deg, #14345c, #3c8a3c); }
.ph-4 { background: linear-gradient(135deg, #0a4a6e, #10a0a0); }
.ph-5 { background: linear-gradient(135deg, #164a2e, #1080b0); }
.ph-6 { background: linear-gradient(135deg, #0e2a4e, #50a040); }
.work-thumb .ph-label {
  position: absolute; bottom: 12px; left: 14px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 600;
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Why us ---------- */
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item .tick {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(48,144,224,.2), rgba(112,208,80,.25));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}
.why-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial .stars { color: var(--green); letter-spacing: 3px; margin-bottom: 16px; }
.testimonial p { color: var(--text); font-size: 0.98rem; margin-bottom: 20px; }
.testimonial .who { display: flex; align-items: center; gap: 14px; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #06131a;
}
.testimonial .who b { display: block; font-size: 0.95rem; }
.testimonial .who span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  transform: scale(1.03);
}
.price-card .tier { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.price-card .price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; }
.price-card .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-card .desc { color: var(--muted); font-size: .93rem; margin: 12px 0 26px; }
.price-card ul { list-style: none; margin-bottom: 30px; flex: 1; }
.price-card li { padding: 9px 0; font-size: .94rem; color: var(--text); border-bottom: 1px dashed var(--line); }
.price-card li::before { content: '✓  '; color: var(--green); font-weight: 700; }
/* Detailed subscription cards */
.price-card .perfect { color: var(--muted); font-size: .9rem; margin: 8px 0 18px; min-height: 42px; }
.price-card .plan-grp { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin: 18px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.sub-card ul { flex: none !important; margin-bottom: 2px; }
.sub-card li { border-bottom: none; padding: 6px 0; }
.sub-card .btn { margin: 4px 0 6px; width: 100%; }
.badge-pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #06131a;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: var(--card); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--teal); transition: .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(48,144,224,.25), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(112,208,80,.18), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 70px 40px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }
textarea { min-height: 140px; resize: vertical; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 42px 0 20px;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 10px; }
.footer-grid .brand img { height: 54px; margin-bottom: 18px; }
.footer-grid .brand p { color: var(--muted); font-size: .92rem; max-width: 300px; }
.footer-grid h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: .85rem;
}

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

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 90px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: '';
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(16,208,208,.16), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 18px; }
.page-hero .lead { margin: 0 auto; }

/* ---------- Dropdown nav ---------- */
.nav-links .has-drop { position: relative; padding: 14px 0; margin: -14px 0; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  min-width: 240px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  z-index: 60;
}
.has-drop:hover .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .9rem; color: var(--muted); }
.dropdown a:hover { background: var(--bg-3); color: var(--text); }
.drop-arrow { font-size: .6rem; margin-left: 5px; color: var(--teal); }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 11px 22px; font-size: .88rem; }

/* 5-column footer */
.footer-grid { grid-template-columns: 1.8fr 1.1fr 1fr 1fr 1.5fr; }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a { color: var(--muted); }
.footer-bottom .legal a:hover { color: var(--teal); }

/* ============================================
   V2 SECTIONS (reference-image redesign)
   ============================================ */

/* ---------- Hero v2: text left, showreel right ---------- */
.hero2 { padding: 60px 0 56px; position: relative; overflow: hidden; }
.hero2::before {
  content: '';
  position: absolute; top: -200px; left: -150px;
  width: 700px; height: 550px;
  background: radial-gradient(ellipse at center, rgba(48,144,224,.16), transparent 65%);
  pointer-events: none;
}
.hero2::after {
  content: '';
  position: absolute; bottom: -220px; right: -120px;
  width: 650px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(112,208,80,.10), transparent 65%);
  pointer-events: none;
}
.hero2-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero2 h1 {
  font-size: clamp(2rem, 3.35vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero2 .lead { margin-bottom: 32px; max-width: 520px; }
.hero2 .hero-cta { justify-content: flex-start; margin-bottom: 44px; }

/* Desktop: keep the headline on two clean lines, like the reference design */
@media (min-width: 1025px) {
  .hero2 h1 { white-space: nowrap; }
}

.hero-stats2 {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 920px;
  margin: 64px auto 0;
  padding: 26px 8px;
  background: linear-gradient(180deg, rgba(16,26,40,.6), rgba(12,20,32,.4));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}
.stat2 .s-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(16,208,208,.35);
  background: rgba(16,208,208,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 12px;
  box-shadow: 0 0 18px rgba(16,208,208,.15);
}
.stat2 .s-icon svg { width: 22px; height: 22px; }
.stat2 b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  line-height: 1.1;
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat2 span { color: var(--muted); font-size: .84rem; margin-top: 2px; }

/* ---------- Showreel slider ---------- */
.reel {
  border-radius: 24px;
  padding: 3px;
  background: var(--grad);
  box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 60px rgba(16,208,208,.12);
}
.reel-inner { background: #05090e; border-radius: 21px; padding: 12px; }
.reel-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.reel-frame video {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
  display: none;
}
.reel-frame video.active { display: block; }
.reel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(7,12,18,.72);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(6px);
  transition: .2s;
}
.reel-arrow:hover { background: var(--teal); color: #06131a; border-color: transparent; }
.reel-arrow.prev { left: 12px; }
.reel-arrow.next { right: 12px; }
.reel-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6px 4px;
}
.reel-title { font-family: var(--font-head); font-size: .88rem; color: var(--text); }
.reel-count { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.reel-dots { display: flex; gap: 8px; justify-content: center; padding: 8px 0 2px; }
.reel-dot {
  width: 22px; height: 5px;
  border-radius: 4px;
  background: rgba(120,180,220,.22);
  cursor: pointer;
  transition: .25s;
  border: none;
}
.reel-dot.active { background: var(--grad); width: 34px; }

/* ---------- Service cards v2 ---------- */
.svc2 { display: flex; flex-direction: column; height: 100%; }
.svc2-top { display: flex; gap: 20px; align-items: flex-start; }
.svc2-main { flex: 1; min-width: 0; }
.svc2-main h3 { font-size: 1.18rem; line-height: 1.22; margin-bottom: 10px; }
.svc2-main p { font-size: .92rem; line-height: 1.55; }
.svc2-thumb {
  flex: none;
  width: 132px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  position: relative;
  overflow: hidden;
}
.svc2-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 15%, rgba(255,255,255,.10), transparent 55%);
  z-index: 3;
  pointer-events: none;
}
/* Bottom row: just the Learn more link, pinned to the card base so all align */
.person {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.person .card-link { margin-top: 0; font-size: .9rem; }

/* ---------- Services section: line-art cards over background image ---------- */
.svc-section {
  position: relative;
  background-color: var(--bg);
  background-image: url(/images/services/services-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Soft overlay: keeps heading readable at top, lets the glows show below */
.svc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,12,18,.55), rgba(7,12,18,.20) 45%, rgba(7,12,18,.12));
  pointer-events: none;
  z-index: 0;
}
.svc-section > .container { position: relative; z-index: 1; }
/* Let the heading sit on one line (subtitle keeps its own narrow width) */
.svc-section .sec-head { max-width: none; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 232px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 19, 31, 0.66);
  backdrop-filter: blur(8px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.svc-card:hover {
  border-color: rgba(16,208,208,.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.5), 0 0 34px rgba(16,208,208,.1);
}
.svc-ico {
  position: relative;
  z-index: 2;
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(48,144,224,.22), rgba(112,208,80,.20));
  border: 1px solid rgba(16,208,208,.35);
  margin-bottom: 18px;
}
.svc-ico svg { width: 26px; height: 26px; color: var(--teal); filter: drop-shadow(0 0 8px rgba(16,208,208,.4)); }
.svc-card h3 { position: relative; z-index: 2; font-size: 1.3rem; margin-bottom: 10px; max-width: 54%; }
.svc-card p { position: relative; z-index: 2; color: var(--muted); font-size: .93rem; line-height: 1.58; max-width: 54%; }
.svc-more {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 16px;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s;
}
.svc-card:hover .svc-more { color: #86e8d6; }
/* Decorative line-art illustration, top-right of each card */
.svc-art {
  position: absolute;
  top: 22px; right: 18px;
  width: 40%;
  max-width: 185px;
  color: var(--teal);
  opacity: .5;
  pointer-events: none;
  z-index: 1;
  transition: opacity .25s;
}
.svc-art svg { width: 100%; height: auto; display: block; }
.svc-card:hover .svc-art { opacity: .72; }

/* See all services pill: gradient border + filled circular arrow */
.svc-cta { text-align: center; margin-top: 46px; }
.btn-allsvc {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: linear-gradient(#0a121d, #0a121d) padding-box, var(--grad) border-box;
  border: 1.6px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.btn-allsvc:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,208,208,.28); }
.allsvc-arr {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: #06131a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
  font-weight: 700;
}

/* ---------- Why v2 ---------- */
.why2-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 54px;
}
/* Keep each intro paragraph on a single line (two lines total) */
.why2-grid .lead { font-size: 1rem; }
.why-visual { position: relative; aspect-ratio: 1.15; }
.why-ring {
  position: absolute;
  left: 50%; top: 62%;
  transform: translate(-50%,-50%) rotateX(68deg);
  width: 84%; aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(#0000,#0000) padding-box, var(--grad) border-box;
  filter: drop-shadow(0 0 22px rgba(16,208,208,.45));
  animation: ringspin 14s linear infinite;
}
@keyframes ringspin { from { transform: translate(-50%,-50%) rotateX(68deg) rotate(0); } to { transform: translate(-50%,-50%) rotateX(68deg) rotate(360deg); } }
.why-logo-card {
  position: absolute;
  left: 50%; top: 44%;
  transform: translate(-50%,-50%);
  width: 56%;
  background: rgba(12,20,32,.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.why-logo-card img { width: 100%; height: auto; }
.float-tile {
  position: absolute;
  width: 62px; height: 62px;
  border-radius: 16px;
  background: rgba(14,24,38,.92);
  border: 1px solid rgba(16,208,208,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 18px rgba(16,208,208,.12);
  animation: floaty 6s ease-in-out infinite;
}
.float-tile:nth-child(odd) { animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-card {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.why-card:hover { border-color: rgba(16,208,208,.45); transform: translateY(-4px); }
.why-card::after {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(48,144,224,.12), transparent 65%);
  pointer-events: none;
}
.why-card .w-icon {
  flex: none;
  width: 66px; height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(16,208,208,.35);
  background: radial-gradient(circle at 35% 30%, rgba(48,144,224,.18), rgba(112,208,80,.10));
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  box-shadow: 0 0 22px rgba(16,208,208,.15);
}
.why-card .w-icon svg { width: 30px; height: 30px; }
.why-card .w-check {
  position: absolute;
  top: 16px; left: 16px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #06131a;
  font-size: .7rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .93rem; }

/* ---------- Process v2 ---------- */
.process2 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pstep {
  position: relative;
  background: linear-gradient(180deg, rgba(16,208,208,.07), transparent 45%), var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  transition: transform .25s, border-color .25s;
}
.pstep:hover { transform: translateY(-5px); border-color: rgba(16,208,208,.45); }
.pstep::before {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 0 0 4px 4px;
  opacity: .8;
}
.pstep .p-icon {
  width: 66px; height: 66px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(48,144,224,.22), rgba(112,208,80,.16));
  border: 1px solid rgba(16,208,208,.34);
  color: var(--teal);
  margin-bottom: 18px;
  box-shadow: 0 0 22px rgba(16,208,208,.14), inset 0 0 18px rgba(16,208,208,.05);
}
.pstep .p-icon svg { width: 38px; height: 38px; filter: drop-shadow(0 0 6px rgba(16,208,208,.45)); }
.pstep .p-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 6px;
  text-shadow: 0 0 16px rgba(48,144,224,.5);
}
.pstep h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pstep p { font-size: .87rem; color: var(--muted); }
.pstep .p-arrow {
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1rem;
  z-index: 3;
  filter: drop-shadow(0 0 8px rgba(16,208,208,.6));
}
.pstep:last-child .p-arrow { display: none; }

/* How It Works section: optional background image (drop images/how-it-works-bg.jpg) */
.how-section {
  position: relative;
  background-color: var(--bg);
  background-image: url(/images/services/how-it-works-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Overlay keeps the heading, numbers, and card text readable over any image */
.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,12,18,.74), rgba(7,12,18,.58) 50%, rgba(7,12,18,.74));
  pointer-events: none;
  z-index: 0;
}
.how-section > .container { position: relative; z-index: 1; }
/* Keep the heading on one line so "5 steps" stays up top */
.how-section .sec-head { max-width: none; }
/* Translucent step cards so the background subtly shows through */
.how-section .pstep {
  background: linear-gradient(180deg, rgba(16,208,208,.08), transparent 45%), rgba(13, 22, 36, 0.66);
  backdrop-filter: blur(7px);
}

/* ---------- Work cards v2 (showreels) ---------- */
/* Keep the "Our latest work" heading on one line (3-line header total) */
.work-section .sec-head { max-width: none; }
.work5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work5-grid .span-half { grid-column: span 1; }
.reelcard {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.reelcard:hover {
  transform: translateY(-5px);
  border-color: rgba(16,208,208,.5);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.reelcard .rc-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.reelcard video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.reelcard .rc-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #06131a;
  background: var(--grad);
  z-index: 4;
  pointer-events: none;
}
.reelcard .rc-dur {
  position: absolute;
  bottom: 12px; left: 12px;
  padding: 3px 10px;
  border-radius: 7px;
  font-size: .75rem;
  background: rgba(0,0,0,.68);
  color: #fff;
  z-index: 4;
  pointer-events: none;
}
.reelcard .rc-meta { padding: 18px 20px; }
.reelcard .rc-meta span {
  font-size: .78rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.reelcard .rc-meta h3 { font-size: 1.06rem; margin: 4px 0 6px; }
.reelcard .rc-meta p { font-size: .88rem; color: var(--muted); }

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.logo-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--muted);
  opacity: .8;
  transition: .2s;
}
.logo-strip span:hover { opacity: 1; color: var(--text); }
.logo-strip svg { width: 22px; height: 22px; color: var(--teal); }

/* ---------- Testimonials v2 ---------- */
.testimonial { position: relative; }
.testimonial .t-chip {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.testimonial .quote-mark {
  position: absolute;
  top: 26px; right: 28px;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .8;
}
.t-map {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  margin-top: -34px;
  margin-bottom: 44px;
}

/* ---------- CTA v2 ---------- */
.cta2 {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 90px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse at 12% 85%, rgba(48,144,224,.28), transparent 50%),
    radial-gradient(ellipse at 88% 20%, rgba(112,208,80,.22), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(16,208,208,.08), transparent 65%),
    var(--bg-2);
}
.cta2 h2 { margin-bottom: 16px; position: relative; z-index: 2; }
.cta2 p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; position: relative; z-index: 2; }
.cta2 .hero-cta { position: relative; z-index: 2; }
.mini-chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; position: relative; z-index: 2; }
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(14,24,38,.6);
  border-radius: 999px;
  padding: 9px 20px;
  color: var(--muted);
  font-size: .88rem;
  backdrop-filter: blur(6px);
}
.mini-chip svg { width: 16px; height: 16px; color: var(--green); }
.chip-avatar {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14,24,38,.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 16px 9px 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  animation: floaty 7s ease-in-out infinite;
  z-index: 1;
}
.chip-avatar .avatar-s {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #06131a;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .74rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.chip-avatar .avatar-s::after {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #0e1826;
}
.chip-avatar .c-info { line-height: 1.25; text-align: left; }
.chip-avatar .c-info b { display: block; font-size: .8rem; }
.chip-avatar .c-info span { font-size: .68rem; color: var(--muted); }
.chip-avatar.pos-1 { top: 12%; left: 5%; }
.chip-avatar.pos-2 { top: 16%; right: 6%; animation-delay: -2s; }
.chip-avatar.pos-3 { bottom: 20%; left: 8%; animation-delay: -4s; }
.chip-avatar.pos-4 { bottom: 30%; right: 5%; animation-delay: -1s; }
.chip-avatar.pos-5 { bottom: 8%; right: 22%; animation-delay: -5s; }

/* ---------- Footer v2 ---------- */
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: .2s;
}
.socials a:hover { color: var(--teal); border-color: var(--teal); box-shadow: 0 0 16px rgba(16,208,208,.25); }
.socials svg { width: 19px; height: 19px; }
.footer-grid h4 { position: relative; padding-bottom: 10px; }
.footer-grid h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.f-contact li { display: flex; align-items: center; gap: 10px; }
.f-contact svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* ---------- Booking scheduler ---------- */
.book-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
.cal-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 600;
}
.cal-nav {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: .95rem;
  transition: .2s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal-dow { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: 8px 0; text-transform: uppercase; }
.cal-day {
  padding: 10px 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: .9rem;
  border: 1px solid transparent;
  transition: .15s;
  user-select: none;
}
.cal-day:hover { border-color: var(--teal); }
.cal-day.off { opacity: .22; pointer-events: none; }
.cal-day.sel { background: var(--grad); color: #06131a; font-weight: 700; }
.slots-label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 20px 0 12px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.slot {
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-size: .86rem;
  color: var(--muted);
  transition: .15s;
  user-select: none;
}
.slot:hover { border-color: var(--teal); color: var(--text); }
.slot.sel { background: var(--grad); color: #06131a; font-weight: 700; border-color: transparent; }
.book-summary {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px dashed rgba(16,208,208,.4);
  border-radius: 12px;
  font-size: .9rem;
  color: var(--teal);
  background: rgba(16,208,208,.05);
}

/* ---------- Sample page ---------- */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.mini-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.mini-stat .ms-icon { font-size: 1.4rem; margin-bottom: 8px; }
.mini-stat b { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.mini-stat span { font-size: .78rem; color: var(--muted); }
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
  font-size: .98rem;
}
.check-list li::before {
  content: '✓';
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: #06131a;
  font-weight: 800;
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================
   V3: full-bleed cosmic background + mockup polish
   ============================================ */

/* Nebula glows: fixed, viewport-wide, never boxed */
body::before {
  content: '';
  position: fixed;
  inset: -12%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(640px 460px at 6% 4%, rgba(48,144,224,.15), transparent 65%),
    radial-gradient(560px 420px at 96% 10%, rgba(112,72,232,.13), transparent 65%),
    radial-gradient(760px 540px at 88% 76%, rgba(16,208,208,.09), transparent 65%),
    radial-gradient(600px 470px at 4% 90%, rgba(112,208,80,.09), transparent 65%);
}

/* Starfield: subtle repeating dots across the whole viewport */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(1px 1px at 25px 35px, rgba(255,255,255,.5), transparent 1.6px),
    radial-gradient(1px 1px at 130px 95px, rgba(160,220,255,.42), transparent 1.6px),
    radial-gradient(1.6px 1.6px at 230px 170px, rgba(255,255,255,.3), transparent 2.2px),
    radial-gradient(1px 1px at 320px 55px, rgba(16,208,208,.5), transparent 1.6px),
    radial-gradient(1.3px 1.3px at 90px 220px, rgba(112,208,80,.35), transparent 2px),
    radial-gradient(1px 1px at 390px 210px, rgba(255,255,255,.28), transparent 1.6px);
  background-size: 440px 270px;
}

/* Full-bleed helper: escapes the container to both viewport edges */
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: none;
}

/* Marquee divider lines glow edge-to-edge */
.marquee {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(16,208,208,.55) 25%, rgba(112,208,80,.45) 75%, transparent) 1;
  background: rgba(12,20,32,.55);
  backdrop-filter: blur(3px);
}

/* Hero stats band: centered figures with dividers */
.stat2 {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 6px 24px;
  border-right: 1px solid var(--line);
  transition: transform .25s;
}
.stat2:last-child { border-right: none; }
.stat2:hover { transform: translateY(-3px); }
.stat2 .s-icon { margin: 0 auto 12px; }

/* Orbit decoration behind section headings, spans full viewport */
.orbit-wrap { position: relative; }
.orbit-svg {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: none;
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}

/* Service thumbs can hold real images (drop files in images/services/) */
.svc2-thumb { position: relative; }
.svc2-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: 13px;
}
.icon svg { width: 26px; height: 26px; color: var(--teal); filter: drop-shadow(0 0 8px rgba(16,208,208,.45)); }

/* Optional AI image overlay in Why visual (drop images/why-studio.png) */
.why-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 4;
  filter: drop-shadow(0 24px 55px rgba(0,0,0,.55));
}

/* Inline form success state */
.form-success { text-align: center; padding: 34px 12px; }
.form-success .fs-check {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--grad);
  color: #06131a;
  font-size: 2.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 55px rgba(16,208,208,.45);
}
.form-success h3 { font-size: 1.7rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 440px; margin: 0 auto; }


/* Wider canvas, tighter left rhythm */
:root { --max: 1240px; }
.hero2-grid { grid-template-columns: 1.1fr 1fr; gap: 52px; }

/* ---------- Responsive (v2) ---------- */
@media (max-width: 1024px) {
  .hero2-grid, .why2-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-stats2 { max-width: 100%; }
  .stat2 { padding: 6px 16px; }
  .stat2 b { font-size: 1.5rem; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process2 { grid-template-columns: repeat(2, 1fr); }
  .pstep .p-arrow { display: none; }
  .work5-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .chip-avatar { display: none; }
}
@media (max-width: 720px) {
  .hero2 { padding: 44px 0 40px; }
  .hero-stats2 { flex-wrap: wrap; max-width: 430px; margin-top: 44px; padding: 16px 6px; row-gap: 8px; }
  .stat2 { flex: 1 1 42%; border-right: none; padding: 14px 12px; }
  .stat2:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat2 b { font-size: 1.5rem; }
  .process2, .why-cards, .work5-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card h3, .svc-card p { max-width: 60%; }
  .svc-art { width: 34%; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .why-visual { max-width: 380px; margin: 0 auto; }
  .svc2-thumb { width: 92px; }
  .cta2 { padding: 64px 24px; }
  .reel-arrow { width: 36px; height: 36px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse the nav into a hamburger menu on tablets and phones */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(9, 15, 24, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 26px;
    gap: 16px;
    display: none;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links .has-drop { padding: 0; margin: 0; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    box-shadow: none; border: none; background: transparent;
    padding: 8px 0 0 14px; min-width: 0;
  }
  .has-drop.open .dropdown { display: block; }
}
@media (max-width: 720px) {
  section { padding: 44px 0; }
  .work-grid, .grid-3, .grid-2, .grid-4, .process-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .topbar { font-size: .78rem; }
  .topbar .container { justify-content: center; gap: 10px; }
  .topbar .hide-m { display: none; }
  .filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .filter-btn { flex: 0 0 auto; }
}
/* Small phones (iPhone / Samsung) */
@media (max-width: 480px) {
  html, body { overflow-x: hidden; }
  .container { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .lead { font-size: 1rem; }
  .btn-lg { padding: 13px 22px; font-size: .95rem; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   ONE continuous background behind the whole page.
   A single fixed image sits behind everything so the nav, hero,
   marquee, every section and the footer share the exact same
   background with no seams. (Uses a fixed element instead of
   background-attachment:fixed for reliable mobile behaviour.)
   ============================================================ */
/* Applied via body::before so it works on every page with no extra markup */
.page-bg,
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg) url(/images/services/services-bg.jpg) center center / cover no-repeat;
  pointer-events: none;
}

/* Make everything transparent so the single background shows through (all pages) */
.topbar,
.marquee,
section,
footer {
  background-image: none !important;
  background-color: transparent !important;
}
/* Remove the old per-section darkening overlays */
.svc-section::before,
.how-section::before { display: none; }

/* Header: transparent at the top (seamless with the hero), solid once scrolled */
header.site-header {
  background: transparent;
  transition: background .3s ease, backdrop-filter .3s ease;
}
header.site-header.scrolled {
  background: rgba(7, 12, 18, 0.9);
}

/* ============================================================
   Testimonials slider (3 shown on desktop, browse with arrows)
   ============================================================ */
.testi-slider { position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.testi-slide { flex: 0 0 33.3333%; box-sizing: border-box; padding: 0 13px; display: flex; }
.testi-slide > .testimonial { width: 100%; display: flex; flex-direction: column; }
.testi-slide .testimonial .who { margin-top: auto; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.testi-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(14,24,38,.7); border: 1px solid var(--line);
  color: var(--text); font-size: 1.35rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.testi-arrow:hover { background: var(--teal); color: #06131a; border-color: transparent; }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(120,180,220,.3); cursor: pointer; padding: 0; transition: .25s; }
.testi-dots button.active { background: var(--grad); width: 24px; border-radius: 5px; }
@media (max-width: 1024px) { .testi-slide { flex-basis: 50%; } }
@media (max-width: 720px)  { .testi-slide { flex-basis: 100%; padding: 0 6px; } }

/* ============================================================
   Mobile balance fixes (keep left/right sides balanced)
   ============================================================ */
@media (max-width: 720px) {
  /* How It Works: two columns instead of one tall single column */
  .process2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pstep { padding: 22px 16px; }
  /* Footer: two balanced columns, brand spans the top */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 22px; }
  .footer-grid .brand { grid-column: 1 / -1; }
  /* Why Us visual: clean logo card with the icons tidied into a row, no broken scatter */
  .why-visual { max-width: 340px; aspect-ratio: auto; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
  .why-visual .why-ring, .why-visual .why-img { display: none; }
  .why-visual .why-logo-card { position: static; transform: none; flex: 0 0 100%; }
  .why-visual .float-tile { position: static; top: auto; left: auto; right: auto; bottom: auto; }
}

/* ============================================================
   Mobile: center-balance the whole layout (no left-hugging)
   Everything here is inside the phone breakpoint, so desktop is
   completely unaffected.
   ============================================================ */
@media (max-width: 720px) {
  /* Hero (homepage) */
  .hero2-grid > div:first-child { text-align: center; }
  .hero2-grid .eyebrow { justify-content: center; }
  .hero2-grid .hero-cta { justify-content: center; }
  .hero2-grid .lead { margin-left: auto; margin-right: auto; }

  /* Why us intro + cards */
  .why2-grid > div:first-child { text-align: center; }
  .why2-grid .eyebrow { justify-content: center; }
  .why2-grid .lead { margin-left: auto; margin-right: auto; }
  .why-card { flex-direction: column; align-items: center; text-align: center; }
  .why-card .w-icon { margin: 0 auto; }

  /* Homepage service cards (line-art) */
  .svc-card { text-align: center; }
  .svc-card .svc-ico { margin-left: auto; margin-right: auto; }
  .svc-card h3, .svc-card p { max-width: 100%; }
  .svc-card .svc-more { display: inline-block; }
  .svc-card .svc-art { display: none; }

  /* Generic cards (What you get, Why subscribe, More services, etc.) */
  .card { text-align: center; }
  .card .icon { margin-left: auto; margin-right: auto; }
  .card .card-link { justify-content: center; }

  /* How It Works steps */
  .pstep { text-align: center; }
  .pstep .p-icon { margin-left: auto; margin-right: auto; }

  /* Service-detail intro rows */
  .svc-block > div { text-align: center; }
  .svc-block ul { display: inline-block; text-align: left; }

  /* Testimonials */
  .testimonial { text-align: center; }
  .testimonial .who { justify-content: center; }

  /* Pricing cards: centered, lists stay readable */
  .price-card { text-align: center; }
  .price-card .perfect { margin-left: auto; margin-right: auto; }
  .price-card ul { display: inline-block; text-align: left; }
  .price-card .plan-grp { text-align: center; }

  /* Footer: fully centered and balanced */
  .footer-grid { text-align: center; }
  .footer-grid .brand { display: flex; flex-direction: column; align-items: center; }
  .footer-grid .brand p { margin-left: auto; margin-right: auto; }
  .footer-grid h4 { padding-bottom: 8px; }
  .footer-grid h4::after { left: 50%; transform: translateX(-50%); }
  .f-contact li { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-bottom .legal { justify-content: center; }

  /* Contact / form pages: center headings and helper text */
  .page-hero { text-align: center; }
}

/* ============================================================
   Video lightbox (Our Work) - click a video to play it big
   ============================================================ */
.work-thumb[data-video] { cursor: pointer; }
.v-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  background: rgba(4, 8, 14, 0.92); backdrop-filter: blur(6px);
  padding: 4vw;
}
.v-modal.open { display: flex; }
.v-modal-box { width: min(1120px, 100%); max-height: 88vh; display: flex; }
.v-modal-box video { width: 100%; max-height: 88vh; border-radius: 12px; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.v-close {
  position: fixed; top: 18px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(20,30,44,.85); border: 1px solid var(--line);
  color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.v-close:hover { background: var(--teal); color: #06131a; border-color: transparent; }
@media (max-width: 720px) { .v-close { top: 12px; right: 12px; } }

/* ============================================================
   Click-to-pop video thumbnails (homepage reels + showreel)
   ============================================================ */
[data-video] { cursor: pointer; }
.reelcard img, .sr-frame img { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.rc-frame .play, .sr-frame .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(7,12,18,.65); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; transition: .25s;
}
.reelcard:hover .play, .sr-card:hover .play { background: var(--grad); border-color: transparent; }
.rc-frame .play svg, .sr-frame .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.reelcard:hover .play svg, .sr-card:hover .play svg { fill: #06131a; }


/* ============================================================
   Founder / personal brand block (home page)
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.founder-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.42); }
.founder-photo img { width: 100%; height: auto; display: block; }
.founder-text .eyebrow { margin-bottom: 14px; }
.founder-text h2 { margin-bottom: 18px; }
.founder-quote { font-size: 1.14rem; line-height: 1.6; color: var(--text); border-left: 3px solid var(--teal); padding-left: 20px; margin: 0 0 18px; }
.founder-text > p { color: var(--muted); line-height: 1.72; font-size: .98rem; }
.founder-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0; }
.founder-stats b { display: block; font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.founder-stats span { font-size: .8rem; color: var(--muted); }
.founder-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.founder-name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; }
.founder-role { color: var(--muted); font-size: .9rem; }
.founder-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
  .founder-photo { max-width: 400px; margin: 0 auto; }
  .founder-stats { grid-template-columns: repeat(2, 1fr); }
  .founder-text { text-align: center; }
  .founder-quote { text-align: left; }
  .founder-foot { justify-content: center; text-align: center; }
  .founder-cta { justify-content: center; }
}

/* ---------- Footer newsletter ---------- */
.footer-newsletter { margin-top: 30px; }
.footer-newsletter h4 { margin-bottom: 12px; }
.footer-newsletter p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin-bottom: 16px; max-width: 280px; }
.nl-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 9px; max-width: 300px; transition: border-color .2s; }
.nl-form:focus-within { border-color: var(--teal); }
.nl-form input[type="email"] { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--text); font-family: var(--font-body); font-size: .92rem; padding: 4px 0; }
.nl-form input[type="email"]::placeholder { color: var(--muted); }
.nl-form button { flex: none; background: none; border: none; padding: 0; cursor: pointer; color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: .9rem; transition: color .2s; }
.nl-form button:hover { color: var(--green); }
@media (max-width: 720px) {
  .footer-newsletter { margin-left: auto; margin-right: auto; }
  .footer-newsletter p, .nl-form { margin-left: auto; margin-right: auto; }
}

/* Newsletter inline confirmation / error */
.nl-done { color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: .95rem; margin: 4px 0 0; }
.nl-warn { color: #ff9a9a; font-size: .82rem; margin: 8px 0 0; }

/* ============ i18n: language switcher + suggestion bar ============ */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text); cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .02em; line-height: 1;
  transition: border-color .2s ease, background .2s ease;
}
.lang-btn:hover { border-color: rgba(16,208,208,.55); background: rgba(16,208,208,.07); }
.lang-globe { font-size: .95rem; }
.lang-arr { font-size: .5rem; opacity: .7; transition: transform .2s ease; }
.lang-switch.open .lang-arr { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 18px 42px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 9px;
  color: var(--muted); text-decoration: none;
  font-size: .88rem; font-weight: 500; transition: background .16s ease, color .16s ease;
}
.lang-menu a:hover { background: rgba(48,144,224,.14); color: var(--text); }
.lang-menu a.is-current { color: var(--teal); font-weight: 600; }
.lang-menu a.is-current::after { content: " \2713"; }

.lang-suggest {
  position: fixed; left: 50%; bottom: 22px; z-index: 900;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: min(620px, calc(100vw - 32px));
  padding: 13px 16px; border-radius: 14px;
  background: rgba(14,24,38,.97); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  font-family: var(--font-body); font-size: .9rem; color: var(--text);
  transform: translate(-50%, 130%); opacity: 0;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), opacity .3s ease;
}
.lang-suggest.show { transform: translate(-50%, 0); opacity: 1; }
.lang-suggest-msg { flex: 1 1 210px; line-height: 1.35; }
.lang-suggest-go {
  flex: 0 0 auto; padding: 8px 15px; border-radius: 999px;
  background: var(--grad); color: #06121c; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .84rem; white-space: nowrap;
}
.lang-suggest-no {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: .82rem; padding: 6px 2px; text-decoration: underline;
}
.lang-suggest-no:hover { color: var(--text); }
@media (max-width: 900px) {
  .lang-switch { order: -1; }
  .lang-menu { right: auto; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-suggest, .lang-menu, .lang-arr { transition: none; }
}

/* ============ i18n v2: language-proof header, wrapping, mobile ============ */

/* The header must look identical in EN / DE / NL / FR / PL.
   Longer languages are absorbed by fluid gaps + fonts instead of wrapping. */
.site-header { overflow: visible; }
.nav {
  gap: clamp(10px, 1.4vw, 22px);
  flex-wrap: nowrap;
  padding: 12px clamp(14px, 2vw, 24px);
}
.nav .logo { flex: 0 0 auto; }
.nav .logo img { height: clamp(34px, 3.1vw, 46px); }
.nav .logo-name { white-space: nowrap; }

.nav-links {
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(9px, 1.35vw, 28px);
  min-width: 0;
  margin: 0; padding: 0;
}
.nav-links > li { flex: 0 0 auto; }
.nav-links a {
  white-space: nowrap;                 /* "White Label" never breaks in two */
  font-size: clamp(0.79rem, 0.92vw, 0.95rem);
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-links .drop-arrow { font-size: 0.5em; }

.nav-cta { flex: 0 0 auto; gap: clamp(6px, 0.7vw, 12px); }
.nav-cta .btn {
  white-space: nowrap;
  padding: 10px clamp(11px, 1.25vw, 22px);
  font-size: clamp(0.75rem, 0.86vw, 0.88rem);
}
.lang-btn { white-space: nowrap; padding: 8px clamp(8px, 0.9vw, 12px); }

/* Balanced headline wrapping in every language: no orphan words, no 3-line runts */
/* Headings: balance = every line roughly the same length, no orphan word. */
h1, h2, h3, h4, .sec-head h2, .hero h1 { text-wrap: balance; }

/* Long body copy: pretty = never leave a single word alone on the last line. */
p, .lead, li { text-wrap: pretty; }

/* Short intro paragraphs under a heading. These are the ones that were breaking
   into three lines with a runt. balance + a wider measure keeps them at two.
   ~76 characters per line is the lever: raise the ch value to remove a line,
   lower it to add one. Polish and German run ~20% longer than English, so the
   measure is set from the longest language, not from English. */
.sec-head p, .hero p, .hero-sub, .svc-hero p, .page-hero .lead, .hero .lead {
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
@media (max-width: 780px) { .sec-head p, .hero p, .hero-sub, .svc-hero p, .page-hero .lead, .hero .lead { max-width: 46ch; } }

/* Collapse to the hamburger at the SAME width for every language, so German and
   French never sit in a half-broken state that English never reaches. */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav { justify-content: space-between; }
  .nav-cta { margin-left: auto; }
}

/* Phones (iPhone / Android): keep only the primary action in the bar */
@media (max-width: 640px) {
  .nav { padding: 10px 14px; gap: 8px; }
  .nav .logo img { height: 34px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.78rem; }
  .lang-btn { padding: 7px 9px; font-size: 0.74rem; }
  .lang-menu { right: 0; left: auto; min-width: 96px; }
  .lang-suggest { left: 12px; right: 12px; bottom: 12px; transform: none; max-width: none;
                  flex-direction: column; align-items: flex-start; gap: 9px; opacity: 0; }
  .lang-suggest.show { transform: none; opacity: 1; }
  h1, .hero h1 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
}
@media (max-width: 380px) {
  .nav .logo-name { display: none; }
  .nav-cta .btn { padding: 8px 11px; font-size: 0.72rem; }
}

/* mobile-nav rules from the original 900px block, applied at 1180px */
@media (max-width: 1180px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(9, 15, 24, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 26px;
    gap: 16px;
    display: none;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links .has-drop { padding: 0; margin: 0; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    box-shadow: none; border: none; background: transparent;
    padding: 8px 0 0 14px; min-width: 0;
  }
  .has-drop.open .dropdown { display: block; }
}

/* ============ i18n v3: switcher sizing, mobile visibility, overflow ============ */

/* Dropdown hugs the button instead of a fixed 168px block, labels centred */
.lang-switch { position: relative; }
.lang-menu {
  min-width: 100%;
  width: max-content;
  padding: 5px;
  right: 0; left: auto;
}
.lang-menu li { text-align: center; }
.lang-menu a { text-align: center; padding: 8px 14px; }
.lang-menu a.is-current { color: var(--teal); font-weight: 700; }
.lang-menu a.is-current::after { content: ""; }   /* no tick: keeps labels centred */

/* The switcher must survive on phones. It sits inside .nav-cta, which the
   original mobile rules hid entirely, so it was disappearing below 1180px. */
@media (max-width: 1180px) {
  .nav .nav-cta {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 12px;
  }
  .nav .nav-cta .btn-ghost { display: none; }
  .nav .lang-switch { display: block; }
}
@media (max-width: 480px) {
  .nav .nav-cta .btn { display: none; }          /* switcher + burger only */
  .nav .nav-cta { margin-right: 8px; }
}

/* ---- No horizontal cut-off anywhere ---- */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { min-width: 0; }
img, video, iframe, svg { max-width: 100%; height: auto; }
.container { width: 100%; padding-left: clamp(14px, 4vw, 24px); padding-right: clamp(14px, 4vw, 24px); }

/* Long strings (emails, URLs) wrap instead of pushing the layout wide */
a[href^="mailto:"], .footer-grid a, .f-contact a, .nl-form input {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-grid .brand { grid-column: 1 / -1; }
}

/* ---- Phone: one column, nothing clipped ---- */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    text-align: center;
  }
  .footer-grid .brand { grid-column: auto; }
  .footer-grid .brand p { max-width: 100%; margin: 0 auto; }
  .footer-grid ul { padding: 0; }
  .footer-grid li { margin-bottom: 13px; }
  .footer-grid h4 { margin-bottom: 14px; }
  .footer-grid h4::after { left: 50%; transform: translateX(-50%); }
  .footer-grid .f-contact li,
  .footer-grid li a { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .nl-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
  .nl-form input { flex: 1 1 190px; min-width: 0; }
  .footer-grid, .footer-bottom { overflow-wrap: anywhere; }
}
