/* ============================================
   DENTAL NIICH / DN CLÍNICA - Global Styles
   ============================================ */

:root {
  --bg: #08090b;
  --bg-soft: #0e1014;
  --bg-card: #111418;
  --bg-elev: #15191f;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #ffffff;
  --text-muted: #a7b0bd;
  --text-dim: #6b7480;
  --cyan: #22d3ee;
  --cyan-soft: #06b6d4;
  --cyan-glow: rgba(34,211,238,0.35);
  --gold: #d4b27a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px -12px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 0 1px rgba(34,211,238,0.4), 0 0 24px rgba(34,211,238,0.35);
  --container: 1240px;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* Typography */
.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 500; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; }
h3 { font-size: clamp(20px, 2vw, 24px); }
.cyan { color: var(--cyan); }
.divider-cyan {
  width: 56px; height: 2px; background: var(--cyan);
  margin: 22px 0; border-radius: 2px;
}
p { color: var(--text-muted); font-size: 15px; }
.lead { font-size: 16px; max-width: 520px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-outline {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(34,211,238,0.08);
  box-shadow: var(--shadow-glow);
}
.btn-primary {
  background: var(--cyan);
  color: #04181c;
}
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-ghost { color: var(--cyan); padding: 0; text-transform: uppercase; font-size: 12px; letter-spacing: 0.18em; }
.btn-ghost:hover { gap: 14px; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(8,9,11,0.85), rgba(8,9,11,0));
  backdrop-filter: blur(8px);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(8,9,11,0.92); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 64px; width: auto; display: block; }
.footer-logo { display: inline-block; }
.footer-logo .logo-img { height: 78px; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--text); position: relative; padding: 8px 0;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--cyan); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--cyan);
}
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--cyan);
  min-width: 240px; padding: 18px 22px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; visibility: hidden; transition: all .25s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  color: #fff; font-size: 12px; letter-spacing: 0.16em; padding: 4px 0;
}
.dropdown a:hover { color: #04181c; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.wa-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--cyan); color: var(--cyan);
  display: grid; place-items: center;
  transition: all .25s;
}
.wa-btn:hover { background: var(--cyan); color: #04181c; box-shadow: var(--shadow-glow); }

.menu-toggle { display: none; color: #fff; font-size: 24px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; animation: heroZoom 9s ease-out forwards; }
.hero-slide.is-active img { animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(8,9,11,0.85) 35%, rgba(8,9,11,0.2) 70%, rgba(8,9,11,0.4) 100%);
  pointer-events: none;
}
.hero-dots {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dot {
  width: 28px; height: 3px; border-radius: 2px; border: 0;
  background: rgba(255,255,255,0.35); cursor: pointer; padding: 0;
  transition: background .3s ease, width .3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.is-active { background: var(--cyan); width: 44px; }
.hero-inner { position: relative; z-index: 2; max-width: 600px; }
.hero h1 { margin-bottom: 24px; }
.hero p { margin-bottom: 32px; max-width: 460px; }
.hero-features {
  display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap;
}
.hero-feature { display: flex; align-items: flex-start; gap: 12px; max-width: 180px; }
.hero-feature .icon { color: var(--cyan); font-size: 22px; flex-shrink: 0; }
.hero-feature h4 { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.hero-feature p { font-size: 13px; margin: 0; }

/* Section */
section { padding: 100px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px; }
.card-icon { color: var(--cyan); font-size: 22px; margin-bottom: 10px; }
.card h3 { margin-bottom: 10px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.tag { font-size: 11px; letter-spacing: 0.16em; color: var(--text-dim); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.tag-cyan { color: var(--cyan); font-weight: 600; }

/* Treatment small card (home) */
.treatment-card { padding: 18px; text-align: left; }
.treatment-card .card-img { aspect-ratio: 1/1; border-radius: 10px; margin-bottom: 14px; }
.treatment-card h4 { font-size: 14px; font-weight: 500; }
.treatment-card .arrow { color: var(--cyan); margin-top: 8px; }

/* Two-column section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split-img img { width: 100%; border-radius: var(--radius); }

/* Before/After comparison */
.case-media {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; background: #000;
}
.compare {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; background: #000; user-select: none;
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.compare .after { clip-path: inset(0 0 0 50%); }
.compare .label {
  position: absolute; top: 14px; padding: 6px 12px;
  font-size: 11px; letter-spacing: 0.16em; font-weight: 600;
  border-radius: 4px;
}
.compare .label.before { left: 14px; background: rgba(0,0,0,0.7); color: #fff; }
.compare .label.after { right: 14px; background: var(--cyan); color: #04181c; }
.compare .handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: #fff; transform: translateX(-50%);
  pointer-events: none;
}
.compare .handle::after {
  content: '\2194'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: #04181c;
  display: grid; place-items: center; font-size: 16px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Doctor card */
.doctor-card { text-align: center; }
.doctor-card .card-img { aspect-ratio: 3/4; border-radius: 10px; margin-bottom: 16px; }
.doctor-card h4 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.doctor-card .role { color: var(--cyan); font-size: 13px; }

/* Gallery */
.gallery-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery-row img { aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }

/* Testimonials */
.testi-card { padding: 28px; }
.testi-card .quote { color: var(--cyan); font-size: 28px; line-height: 1; margin-bottom: 14px; font-family: Georgia, serif; }
.testi-card p { color: var(--text); font-size: 15px; margin-bottom: 18px; }
.testi-card .name { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.stars { color: var(--cyan); letter-spacing: 2px; }

/* CTA band */
.cta-band {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-soft); border-top: 1px solid var(--border);
}
.cta-band-img { min-height: 380px; background-size: cover; background-position: center; }
.cta-band-text { padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.cta-band-text h2 { margin-bottom: 24px; }
.cta-band-text .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

/* Process timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 36px; left: 8%; right: 8%;
  border-top: 1px dashed var(--border-strong);
}
.step { text-align: center; position: relative; }
.step-icon {
  width: 72px; height: 72px; border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  display: grid; place-items: center; margin: 0 auto 18px;
  color: var(--cyan); font-size: 26px;
  position: relative; z-index: 1;
}
.step h4 { color: var(--cyan); font-size: 14px; letter-spacing: 0.14em; margin-bottom: 8px; }
.step p { font-size: 13px; }

/* Service feature card */
.service-card { padding: 24px; }
.service-card .card-img { aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 18px; }

/* Bullets */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 15px; }
.checklist li::before {
  content: '\2713'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(34,211,238,0.12); color: var(--cyan);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* Icon bullets (academy) */
.icon-list { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; }
.icon-list-item { display: flex; gap: 18px; align-items: flex-start; }
.icon-list-item .icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--cyan); color: var(--cyan);
  display: grid; place-items: center; flex-shrink: 0; font-size: 18px;
}
.icon-list-item h4 { font-size: 15px; margin-bottom: 4px; }
.icon-list-item p { font-size: 14px; }

/* Forms */
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 32px; border-radius: var(--radius);
}
.form-card h4 { color: var(--cyan); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--bg-elev); border: 1px solid var(--border);
  color: #fff; font-family: inherit; font-size: 14px;
  padding: 14px 16px; border-radius: 8px; outline: none; transition: border-color .2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-dim); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); }
.form textarea { resize: vertical; min-height: 100px; }
.form button { padding: 16px; background: var(--cyan); color: #04181c; border-radius: 8px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; transition: all .25s; }
.form button:hover { box-shadow: var(--shadow-glow); }
.form-note { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.upload-area {
  border: 1px dashed var(--border-strong); padding: 24px; text-align: center;
  border-radius: 8px; color: var(--text-muted); font-size: 13px;
  cursor: pointer; transition: border-color .2s;
}
.upload-area:hover { border-color: var(--cyan); }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.checkbox-row input { width: auto; }

/* Benefit strip */
.benefit-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--border);
}
.benefit-item { display: flex; align-items: flex-start; gap: 14px; }
.benefit-item .icon { color: var(--cyan); font-size: 24px; }
.benefit-item h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.benefit-item p { font-size: 13px; }

/* Filters bar */
.filters-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 28px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 40px; flex-wrap: wrap;
}
.filters { display: flex; gap: 28px; flex-wrap: wrap; }
.filter {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); padding-bottom: 6px; border-bottom: 2px solid transparent;
  transition: all .2s;
}
.filter .icon { font-size: 18px; }
.filter:hover, .filter.active { color: var(--cyan); border-color: var(--cyan); }
.sort-select {
  background: var(--bg-elev); border: 1px solid var(--border); color: #fff;
  padding: 10px 14px; border-radius: 6px; font-size: 13px;
}

/* Final CTA card */
.final-cta {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 32px 40px; border-radius: var(--radius); gap: 24px; flex-wrap: wrap;
}
.final-cta-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--cyan); color: var(--cyan);
  display: grid; place-items: center; font-size: 22px;
}
.final-cta-text { flex: 1; min-width: 240px; }
.final-cta-text h3 { font-size: 20px; font-weight: 500; margin-bottom: 4px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 30px; background: var(--bg-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 50px;
}
.footer-brand h3 { font-weight: 700; letter-spacing: 0.04em; margin-bottom: 12px; font-size: 22px; }
.footer-brand p { font-size: 14px; margin-bottom: 22px; max-width: 280px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--text-muted); font-size: 14px;
  transition: all .2s;
}
.socials a:hover { color: var(--cyan); border-color: var(--cyan); }
.footer-col h5 {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact-row { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 14px; }
.footer-contact-row .icon { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-dim); font-size: 13px; gap: 20px; flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--cyan); }

/* Fade up animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .gallery-row { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .timeline::before { display: none; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .site-header { padding: 10px 0; }
  .logo-img { height: 44px; }
  .footer-logo .logo-img { height: 60px; }
  .header-cta { gap: 8px; }
  .wa-btn { width: 40px; height: 40px; }
  .nav.mobile-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 18px 20px; gap: 4px;
    border-top: 1px solid var(--border);
    max-height: calc(100vh - 70px); overflow-y: auto;
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  }
  .nav.mobile-open a { font-size: 13px; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav.mobile-open a:last-child { border-bottom: none; }
  .nav.mobile-open .has-dropdown { display: flex; flex-direction: column; }
  .nav.mobile-open .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: rgba(34,211,238,0.08); margin: 6px 0 10px; padding: 10px 14px;
    min-width: 0; box-shadow: none; border-radius: 6px;
  }
  .nav.mobile-open .dropdown a { padding: 8px 0; border-bottom: none; font-size: 12px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .benefit-strip { grid-template-columns: 1fr 1fr; }
  .cta-band-text { padding: 40px 24px; }
  section { padding: 70px 0; }
  .hero { min-height: auto; padding: 140px 0 60px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(8,9,11,0.7) 0%, var(--bg) 100%); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .benefit-strip { grid-template-columns: 1fr; }
  .filters { gap: 16px; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4, 6, 10, 0.95);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img-wrap {
  position: relative; max-width: 90vw; max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
  max-width: 100%; max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,211,238,0.2);
  object-fit: contain;
  animation: lbPop .3s ease;
}
@keyframes lbPop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-caption {
  position: absolute; bottom: -42px; left: 0; right: 0;
  text-align: center; color: var(--text-muted);
  font-size: 13px; letter-spacing: 0.04em;
}
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-strong);
  color: #fff; font-size: 22px;
  display: grid; place-items: center;
  transition: all .2s; z-index: 2;
}
.lightbox-btn:hover { background: var(--cyan); color: #04181c; border-color: var(--cyan); box-shadow: var(--shadow-glow); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-strong);
  color: #fff; font-size: 22px;
  display: grid; place-items: center;
  transition: all .2s;
}
.lightbox-close:hover { background: var(--cyan); color: #04181c; border-color: var(--cyan); }
.lightbox-counter {
  position: absolute; top: 32px; left: 32px;
  color: var(--cyan); font-size: 12px;
  letter-spacing: 0.18em; font-weight: 600;
}

/* Make gallery & case images look clickable */
.gallery-row img, [data-lightbox] { cursor: zoom-in; transition: opacity .25s, transform .25s; }
.gallery-row img:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .lightbox { padding: 16px; }
  .lightbox-btn { width: 44px; height: 44px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-counter { top: 18px; left: 18px; }
}

/* Lightbox media (video / youtube) */
.lightbox-media { display: flex; align-items: center; justify-content: center; max-width: 90vw; max-height: 85vh; }
.lightbox-media .lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,211,238,0.2); object-fit: contain; animation: lbPop .3s ease; }
.lightbox-video { max-width: 90vw; max-height: 85vh; width: min(1200px, 90vw); border-radius: 10px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,211,238,0.2); animation: lbPop .3s ease; }
.lightbox-iframe { width: min(1200px, 90vw); aspect-ratio: 16/9; max-height: 85vh; border-radius: 10px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,211,238,0.2); animation: lbPop .3s ease; }

/* Outline icon system (Lucide) */
i.icon { display: inline-flex; align-items: center; justify-content: center; }
i.icon svg { width: 1em; height: 1em; stroke-width: 1.5; }
.hero-feature i.icon { width: 22px; height: 22px; font-size: 22px; color: var(--cyan); }
.benefit-item i.icon { width: 24px; height: 24px; font-size: 24px; color: var(--cyan); }
.filter i.icon { width: 18px; height: 18px; font-size: 18px; }
.icon-list-item i.icon svg { width: 20px; height: 20px; }
.footer-contact-row i.icon { width: 16px; height: 16px; font-size: 16px; color: var(--cyan); margin-right: 6px; }

/* Lucide outline icon sizing for special slots */
.logo-mark i[data-lucide], .logo-mark svg { width: 22px; height: 22px; }
.wa-btn i[data-lucide], .wa-btn svg { width: 20px; height: 20px; }
.menu-toggle i[data-lucide], .menu-toggle svg { width: 24px; height: 24px; }
.lightbox-close i[data-lucide], .lightbox-close svg { width: 18px; height: 18px; }
.card-icon i[data-lucide], .card-icon svg { width: 26px; height: 26px; stroke-width: 1.5; color: var(--cyan); }
.step-icon i[data-lucide], .step-icon svg { width: 28px; height: 28px; color: var(--cyan); }
.final-cta-icon i[data-lucide], .final-cta-icon svg { width: 40px; height: 40px; color: var(--cyan); }
.stars { display: inline-flex; gap: 2px; }
.stars i[data-lucide], .stars svg { width: 16px; height: 16px; fill: var(--cyan); color: var(--cyan); }
.tag i[data-lucide], .tag svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.form-note i[data-lucide], .form-note svg { width: 14px; height: 14px; }
.footer-social a i[data-lucide], .footer-social a svg { width: 18px; height: 18px; }

/* Hero text crossfade synced with slider */
.hero-inner { transition: opacity .3s ease, transform .3s ease; }
.hero-inner.is-fading { opacity: 0; transform: translateY(8px); }

/* ===== Scroll reveal animations ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.reveal-left  { transform: translateX(-50px); }
.reveal.reveal-right { transform: translateX(50px); }
.reveal.reveal-zoom  { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-left, .reveal.reveal-right, .reveal.reveal-zoom { opacity: 1; transform: none; transition: none; }
}

/* ===== Parallax ===== */
[data-parallax] { will-change: transform; }
.reveal { contain: layout paint; }
.hero-bg { will-change: transform; }

/* ===== Back to top floating button ===== */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cyan); color: #0a0a0a; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0, 200, 220, .55), 0 4px 12px rgba(0,0,0,.35);
  opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease, background .25s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: #fff; transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; stroke-width: 2.4; }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
