/* ═══════════════════════════════════════════════════════════════════════════
   SLOWARD BARBERSHOP — Design System
   Style: dark blue tech, jovem, refinado para web
═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #1A1F26;
  --bg-2: #242B33;
  --bg-3: #1F252D;
  --bg-card: #2A323C;
  --bg-soft: #1D232B;
  --accent-bg: var(--accent-bg);
  --stroke: rgba(59, 130, 246, 0.18);
  --stroke-hot: rgba(59, 130, 246, 0.45);
  --stroke-soft: rgba(255, 255, 255, 0.07);
  --stroke-line: rgba(255, 255, 255, 0.12);

  --blue: #2563EB;
  --blue-deep: #1E40AF;
  --blue-bright: #3B82F6;
  --blue-glow: #60A5FA;

  --ink: #E8EEF7;
  --ink-soft: rgba(232, 238, 247, 0.78);
  --ink-mute: rgba(232, 238, 247, 0.55);
  --ink-faint: rgba(232, 238, 247, 0.30);

  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --container: 1280px;
  --nav-h: 80px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] {
  --bg: #F8FAFC;
  --bg-2: #FFFFFF;
  --bg-3: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-soft: #F1F5F9;
  --accent-bg: #E0EAFB;
  --stroke: rgba(37, 99, 235, 0.18);
  --stroke-hot: rgba(37, 99, 235, 0.35);
  --stroke-soft: rgba(15, 23, 42, 0.10);
  --stroke-line: rgba(15, 23, 42, 0.15);

  --blue: #2563EB;
  --blue-deep: #1E40AF;
  --blue-bright: #2563EB;
  --blue-glow: #3B82F6;

  --ink: #0F172A;
  --ink-soft: rgba(15, 23, 42, 0.82);
  --ink-mute: rgba(15, 23, 42, 0.60);
  --ink-faint: rgba(15, 23, 42, 0.40);
}

/* ── LIGHT MODE COMPONENT TWEAKS ── */
[data-theme="light"] body {
  background: var(--bg);
}

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.75);
  border-bottom-color: rgba(15, 23, 42, 0.10);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .card,
[data-theme="light"] .service-card,
[data-theme="light"] .svc-card,
[data-theme="light"] .testi,
[data-theme="light"] .step-card,
[data-theme="light"] .quote-card,
[data-theme="light"] .info-card,
[data-theme="light"] .post-card,
[data-theme="light"] .team-card,
[data-theme="light"] .value-card,
[data-theme="light"] .feat-card,
[data-theme="light"] .svc-mini,
[data-theme="light"] .stat-card,
[data-theme="light"] .faq-item {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .svc-card:hover,
[data-theme="light"] .testi:hover,
[data-theme="light"] .step-card:hover,
[data-theme="light"] .post-card:hover,
[data-theme="light"] .team-card:hover,
[data-theme="light"] .value-card:hover,
[data-theme="light"] .feat-card:hover,
[data-theme="light"] .svc-mini:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Footer */
[data-theme="light"] .footer {
  background: #EEF2F8;
}

[data-theme="light"] .footer__col a:hover,
[data-theme="light"] .social-link:hover {
  color: var(--blue);
}

/* Gallery overlays / lightbox: keep dark for image contrast */
[data-theme="light"] .gallery-item__overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.78) 100%);
}

[data-theme="light"] .gallery-item__overlay .gallery-item__title {
  color: #fff;
}

[data-theme="light"] .gallery-item__icon {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--stroke-hot);
}

[data-theme="light"] .lightbox {
  background: rgba(241, 245, 249, 0.96);
}

[data-theme="light"] .lightbox__counter {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
}

[data-theme="light"] .lightbox__content {
  background: var(--bg-3);
}

[data-theme="light"] .lightbox__close,
[data-theme="light"] .lightbox__nav {
  background: #fff;
  border-color: var(--stroke-hot);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .lightbox__close:hover,
[data-theme="light"] .lightbox__nav:hover {
  background: var(--blue);
  color: #fff;
}

/* Search dialog */
[data-theme="light"] .search-backdrop {
  background: rgba(15, 23, 42, 0.4);
}

/* Buttons / chips that use rgba whites */
[data-theme="light"] .icon-btn {
  background: rgba(37, 99, 235, 0.05);
}

[data-theme="light"] .icon-btn:hover {
  background: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .search-trigger {
  background: rgba(37, 99, 235, 0.05);
}

[data-theme="light"] .search-trigger:hover {
  background: rgba(37, 99, 235, 0.10);
}

[data-theme="light"] .chip {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

[data-theme="light"] .gallery-filter {
  background: rgba(37, 99, 235, 0.05);
  color: var(--ink-mute);
}

[data-theme="light"] .gallery-filter:hover {
  color: var(--ink);
}

[data-theme="light"] .gallery-filter.active {
  color: #fff;
}

/* Photo placeholders */
[data-theme="light"] .photo-frame::after {
  background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(37, 99, 235, 0.08) 24px 25px);
}

[data-theme="light"] .gallery-item::before {
  background: repeating-linear-gradient(135deg, transparent 0 26px, rgba(37, 99, 235, 0.06) 26px 27px);
}

[data-theme="light"] .gallery-item::after {
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.10), transparent 60%);
}

/* Hero typewriter cursor stays vivid */
[data-theme="light"] .typewriter__cursor {
  background: var(--blue);
}

/* FAB whats: keep green vibe */
[data-theme="light"] .fab-top {
  background: #fff;
  border-color: var(--stroke-hot);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

[data-theme="light"] .fab-top:hover {
  background: var(--blue);
  color: #fff;
}

/* Ticker */
[data-theme="light"] .ticker {
  background: #EEF2F8;
}

/* Stat card num gradient still readable */
[data-theme="light"] .stat-card .num,
[data-theme="light"] .stat-num {
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form inputs in light mode */
[data-theme="light"] .field input,
[data-theme="light"] .field select,
[data-theme="light"] .field textarea {
  background: #FFF;
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--ink);
}

[data-theme="light"] .field input:focus,
[data-theme="light"] .field select:focus,
[data-theme="light"] .field textarea:focus {
  background: #FFF;
  border-color: var(--blue);
}

/* 404 trace box readable */
[data-theme="light"] .nf-trace {
  background: #FFF;
  border-color: rgba(15, 23, 42, 0.10);
}

/* Calendar */
[data-theme="light"] .cal {
  background: #FFF;
}

[data-theme="light"] .cal__day:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .timeslot {
  background: #FFF;
}

/* Auth menu */
[data-theme="light"] .auth-menu {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}

/* Login page aside still uses dark gradient bg-2 → light: needs override */
[data-theme="light"] .auth-aside {
  background: linear-gradient(180deg, #EEF2F8, var(--accent-bg));
  border-right-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .auth-aside p {
  color: var(--ink-soft);
}

[data-theme="light"] .auth-feature {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .auth-tab.active {
  color: #FFF;
}

[data-theme="light"] .auth-tabs {
  background: #FFF;
  border-color: rgba(15, 23, 42, 0.10);
}

/* Highlight marker softer in light */
[data-theme="light"] .highlight::before {
  opacity: 0.20;
  mix-blend-mode: multiply;
}

/* Glow blobs subtler in light mode */
[data-theme="light"] .bg-glow {
  opacity: 0.5;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 60%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

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

/* ──────────────────────────────────────────────────────────────────────────
   BACKGROUNDS
─────────────────────────────────────────────────────────────────────────── */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--stroke) 1px, transparent 1px),
    linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: 0.5;
}

.bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.20), transparent 60%);
  pointer-events: none;
  filter: blur(40px);
  border-radius: 50%;
}

/* ──────────────────────────────────────────────────────────────────────────
   LAYOUT
─────────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section--lg {
  padding: 160px 0;
}

.section--sm {
  padding: 72px 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   NAV
─────────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(26, 31, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke-soft);
  transition: background 240ms ease;
}

.nav.scrolled {
  background: rgba(26, 31, 38, 0.92);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 0 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav__brand .dot {
  width: 10px;
  height: 10px;
  background: var(--blue-bright);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--blue-bright);
}

.nav__menu {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
}

.nav__menu a {
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}

.nav__menu a::before {
  content: "//";
  margin-right: 6px;
  color: var(--blue-bright);
  opacity: 0;
  transition: opacity 200ms ease;
}

.nav__menu a:hover,
.nav__menu a.active {
  color: var(--blue-bright);
}

.nav__menu a:hover::before,
.nav__menu a.active::before {
  opacity: 1;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.nav__menu a:hover::after,
.nav__menu a.active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.3);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
  background: var(--blue-bright);
}

.nav__cta .arrow {
  transition: transform 220ms var(--ease-out);
}

.nav__cta:hover .arrow {
  transform: translateX(3px);
}

.nav__mobile {
  display: none;
}

.nav__burger {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 240ms var(--ease-out);
}

.nav__burger span:nth-child(1) {
  top: 11px;
}

.nav__burger span:nth-child(2) {
  top: 16px;
}

.nav__burger span:nth-child(3) {
  top: 21px;
}

.nav__burger.open span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

/* ──────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
─────────────────────────────────────────────────────────────────────────── */
.h-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0;
}

.h-display .accent {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}

.h1 .accent {
  color: var(--blue-bright);
}

.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}

.h2 .accent {
  color: var(--blue-bright);
}

.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--blue-bright);
}

.lead {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0;
}

.body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.body-sm {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.mono--blue {
  color: var(--blue-bright);
}

/* ──────────────────────────────────────────────────────────────────────────
   BUTTONS
─────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms ease, border-color 220ms ease, color 220ms ease;
  user-select: none;
}

.btn .arrow {
  transition: transform 220ms var(--ease-out);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.55);
}

.btn--outline {
  border-color: var(--stroke-hot);
  color: var(--ink);
  background: rgba(59, 130, 246, 0.04);
}

.btn--outline:hover {
  border-color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--ink-soft);
  background: transparent;
  padding: 12px 0;
}

.btn--ghost:hover {
  color: var(--blue-bright);
}

/* ──────────────────────────────────────────────────────────────────────────
   CARDS
─────────────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--stroke-soft);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 320ms var(--ease-out), border-color 320ms ease, background 320ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-hot);
}

.card--hot {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--accent-bg) 100%);
  border-color: var(--stroke-hot);
}

.card--hot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
}

/* ──────────────────────────────────────────────────────────────────────────
   CHIPS / TAGS
─────────────────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--stroke-hot);
  background: rgba(59, 130, 246, 0.08);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.chip .dot {
  width: 6px;
  height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue-bright);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   FOOTER
─────────────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--stroke-soft);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer .bg-grid {
  opacity: 0.25;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  position: relative;
}

.footer__brand h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.footer__brand p {
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 320px;
  line-height: 1.55;
}

.footer__col h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 0 0 20px;
}

.footer__col h4::before {
  content: "// ";
  opacity: 0.6;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: var(--ink-mute);
  font-size: 15px;
  transition: color 200ms ease, padding-left 200ms ease;
}

.footer__col a:hover {
  color: var(--blue-bright);
  padding-left: 6px;
}

.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  position: relative;
}

/* ──────────────────────────────────────────────────────────────────────────
   FLOATING WHATSAPP
─────────────────────────────────────────────────────────────────────────── */
.fab-whats {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 90;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.fab-whats:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.55);
}

.fab-whats::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.5;
  animation: ripple 2.4s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   ANIMATIONS — scroll reveal
─────────────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.in {
  animation: revealIn 0.9s var(--ease-out) forwards;
}

.reveal[data-delay="1"].in {
  animation-delay: 0.08s;
}

.reveal[data-delay="2"].in {
  animation-delay: 0.16s;
}

.reveal[data-delay="3"].in {
  animation-delay: 0.24s;
}

.reveal[data-delay="4"].in {
  animation-delay: 0.32s;
}

.reveal[data-delay="5"].in {
  animation-delay: 0.40s;
}

.reveal[data-delay="6"].in {
  animation-delay: 0.48s;
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--right.in {
  animation: revealRightIn 0.9s var(--ease-out) forwards;
}

@keyframes revealRightIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal--scale {
  transform: scale(0.96);
}

.reveal--scale.in {
  animation: revealScaleIn 0.9s var(--ease-out) forwards;
}

@keyframes revealScaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* parallax */
[data-parallax] {
  will-change: transform;
}

/* marquee/ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--stroke-soft);
  border-bottom: 1px solid var(--stroke-soft);
  padding: 18px 0;
  background: var(--bg-soft);
}

.ticker__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.ticker__track span::after {
  content: "★";
  color: var(--blue-bright);
  font-size: 14px;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   ICON BOX
─────────────────────────────────────────────────────────────────────────── */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(59, 130, 246, 0.08));
  border: 1px solid var(--stroke-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  transition: all 280ms var(--ease-out);
}

.icon-box svg {
  width: 26px;
  height: 26px;
}

.card:hover .icon-box {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-color: var(--blue-bright);
}

/* ──────────────────────────────────────────────────────────────────────────
   PHOTO FRAME (placeholders)
─────────────────────────────────────────────────────────────────────────── */
.photo-frame {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--stroke-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(59, 130, 246, 0.06) 24px 25px);
  pointer-events: none;
}

.photo-frame .crosshair {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}

.photo-frame .crosshair::before,
.photo-frame .crosshair::after {
  content: "";
  position: absolute;
  background: var(--blue-bright);
}

.photo-frame .crosshair::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-0.5px);
}

.photo-frame .crosshair::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-0.5px);
}

/* ──────────────────────────────────────────────────────────────────────────
   FORM
─────────────────────────────────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.field label::before {
  content: "// ";
  color: var(--blue-bright);
  opacity: 0.6;
}

.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--stroke-soft);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  padding: 18px 20px;
  outline: none;
  transition: border-color 220ms ease, background 220ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-bright);
  background: var(--bg-2);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='1.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 18px;
  padding-right: 52px;
}

/* ──────────────────────────────────────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .section {
    padding: 80px 0;
  }

  .section--lg {
    padding: 100px 0;
  }

  .nav__menu {
    display: none;
  }

  .search-trigger {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .nav__mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--stroke-soft);
    padding: 32px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
  }

  .nav__mobile.open {
    display: flex;
  }

  .nav__mobile a {
    font-family: var(--mono);
    font-size: 16px;
    color: var(--ink);
    padding: 12px 0;
    border-bottom: 1px solid var(--stroke-soft);
  }

  .nav__mobile a:last-child {
    background: var(--blue);
    color: #fff;
    border: 0;
    padding: 14px 22px;
    border-radius: 6px;
    text-align: center;
    margin-top: 8px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 0 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .fab-whats {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   TYPEWRITER (rotating text)
─────────────────────────────────────────────────────────────────────────── */
.typewriter {
  display: inline-block;
  position: relative;
}

.typewriter__text {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.typewriter__cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  vertical-align: -0.05em;
  background: var(--blue-bright);
  margin-left: 0.06em;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   HIGHLIGHT MARKER (colorful behind key words)
─────────────────────────────────────────────────────────────────────────── */
.highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.highlight::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  top: 0.1em;
  bottom: 0.1em;
  background: linear-gradient(95deg, var(--blue-deep) 0%, var(--blue) 50%, var(--blue-bright) 100%);
  opacity: 0.28;
  transform: rotate(-1.2deg);
  z-index: -1;
  pointer-events: none;
  border-radius: 4px;
  mix-blend-mode: hard-light;
}

/* ──────────────────────────────────────────────────────────────────────────
   FAQ / ACCORDION
─────────────────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--stroke-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 240ms ease, background 240ms ease;
}

.faq-item:hover {
  border-color: var(--stroke-hot);
}

.faq-item[open] {
  background: linear-gradient(180deg, var(--bg-2), var(--accent-bg));
  border-color: var(--stroke-hot);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--blue-bright);
  border-bottom: 2px solid var(--blue-bright);
  transform: rotate(45deg);
  transition: transform 240ms var(--ease-out);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item__body {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-mute);
}

.faq-item__body p {
  margin: 0 0 12px;
}

.faq-item__body p:last-child {
  margin: 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   TESTIMONIALS GRID
─────────────────────────────────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

@media (max-width: 920px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

.testi {
  background: var(--bg-2);
  border: 1px solid var(--stroke-soft);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all 360ms var(--ease-out);
}

.testi::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: var(--display);
  font-size: 120px;
  line-height: 0.6;
  color: var(--blue-bright);
  opacity: 0.16;
  font-weight: 700;
}

.testi:hover {
  border-color: var(--stroke-hot);
  transform: translateY(-4px);
}

.testi__stars {
  color: var(--blue-bright);
  letter-spacing: 0.2em;
  font-size: 16px;
}

.testi__quote {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  flex: 1;
  margin: 0;
}

.testi__person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--stroke-soft);
}

.testi__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  color: #fff;
  font-size: 17px;
}

.testi__name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.testi__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.testi__meta::before {
  content: "// ";
  color: var(--blue-bright);
  opacity: 0.6;
}

/* ──────────────────────────────────────────────────────────────────────────
   ICON BUTTON (nav)
─────────────────────────────────────────────────────────────────────────── */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--stroke-soft);
  background: rgba(59, 130, 246, 0.04);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
}

.icon-btn:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--stroke-hot);
  color: var(--blue-bright);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--stroke-soft);
  background: rgba(59, 130, 246, 0.04);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  min-width: 220px;
}

.search-trigger:hover {
  border-color: var(--stroke-hot);
  background: rgba(59, 130, 246, 0.08);
  color: var(--ink-soft);
}

.search-trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.search-trigger .kbd {
  margin-left: auto;
  display: inline-flex;
  gap: 2px;
  font-family: var(--mono);
  font-size: 11px;
}

.search-trigger .kbd span {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--stroke-soft);
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--ink-soft);
}

/* ──────────────────────────────────────────────────────────────────────────
   SEARCH DIALOG
─────────────────────────────────────────────────────────────────────────── */
.search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}

.search-backdrop.open {
  display: flex;
  animation: fadeBackdrop 240ms ease-out;
}

@keyframes fadeBackdrop {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.search-dialog {
  width: min(640px, 92vw);
  background: var(--bg-2);
  border: 1px solid var(--stroke-hot);
  border-radius: 16px;
  overflow: hidden;
  animation: searchIn 280ms var(--ease-out);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

@keyframes searchIn {
  from {
    transform: scale(0.96) translateY(-12px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--stroke-soft);
}

.search-input-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--blue-bright);
  flex-shrink: 0;
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.search-input-wrap input::placeholder {
  color: var(--ink-faint);
}

.search-input-wrap .esc {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  border: 1px solid var(--stroke-soft);
  background: rgba(59, 130, 246, 0.06);
  padding: 4px 8px;
  border-radius: 4px;
}

.search-results {
  max-height: 56vh;
  overflow-y: auto;
  padding: 8px;
}

.search-section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-transform: uppercase;
  padding: 16px 16px 8px;
}

.search-section-label::before {
  content: "// ";
  color: var(--blue-bright);
  opacity: 0.6;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 180ms ease;
  color: var(--ink-soft);
}

.search-result:hover,
.search-result.active {
  background: rgba(59, 130, 246, 0.14);
  color: var(--ink);
}

.search-result__icon {
  width: 36px;
  height: 36px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--stroke-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  flex-shrink: 0;
}

.search-result__icon svg {
  width: 18px;
  height: 18px;
}

.search-result__text {
  flex: 1;
}

.search-result__title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.search-result__desc {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 2px;
}

.search-result__arrow {
  font-family: var(--mono);
  color: var(--blue-bright);
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.search-result:hover .search-result__arrow,
.search-result.active .search-result__arrow {
  opacity: 1;
  transform: translateX(4px);
}

.search-empty {
  padding: 40px 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-mute);
}

.search-empty::before {
  content: "// ";
  color: var(--blue-bright);
}

/* ──────────────────────────────────────────────────────────────────────────
   SOCIAL LINKS
─────────────────────────────────────────────────────────────────────────── */
.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--stroke-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  transition: all 240ms var(--ease-out);
}

.social-link:hover {
  border-color: var(--stroke-hot);
  color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ──────────────────────────────────────────────────────────────────────────
   CALENDAR PICKER
─────────────────────────────────────────────────────────────────────────── */
.cal {
  background: var(--bg);
  border: 1px solid var(--stroke-soft);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cal__month {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: capitalize;
}

.cal__nav {
  display: flex;
  gap: 6px;
}

.cal__nav-btn {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--stroke-soft);
  border-radius: 8px;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 220ms var(--ease-out);
}

.cal__nav-btn:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--stroke-hot);
  color: var(--blue-bright);
}

.cal__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cal__nav-btn svg {
  width: 14px;
  height: 14px;
}

.cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cal__wd {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-align: center;
  padding: 8px 0;
  text-transform: uppercase;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal__day {
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cal__day--empty {
  pointer-events: none;
  visibility: hidden;
}

.cal__day:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-bright);
}

.cal__day:disabled {
  color: var(--ink-faint);
  cursor: not-allowed;
  opacity: 0.4;
}

.cal__day.today {
  border-color: var(--stroke-hot);
  color: var(--blue-bright);
  font-weight: 600;
}

.cal__day.selected {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  font-weight: 600;
}

.cal__day.selected:hover {
  background: var(--blue-bright);
}

.cal__day .dot-busy {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--blue-bright);
  border-radius: 50%;
}

.cal__day.selected .dot-busy {
  background: #fff;
}

/* Time slots */
.timeslots {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke-soft);
}

.timeslots__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.timeslots__label::before {
  content: "// ";
  color: var(--blue-bright);
  opacity: 0.6;
}

.timeslots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.timeslot {
  padding: 12px 10px;
  background: var(--bg-2);
  border: 1px solid var(--stroke-soft);
  border-radius: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  text-align: center;
}

.timeslot:hover:not(:disabled) {
  border-color: var(--stroke-hot);
  background: rgba(59, 130, 246, 0.08);
  color: var(--blue-bright);
  transform: translateY(-2px);
}

.timeslot:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.timeslot.selected {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  font-weight: 600;
}

.timeslots__empty {
  padding: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-mute);
  background: rgba(59, 130, 246, 0.04);
  border: 1px dashed var(--stroke-soft);
  border-radius: 10px;
}

.timeslots__empty::before {
  content: "// ";
  color: var(--blue-bright);
  opacity: 0.6;
}

/* Calendar legend */
.cal__legend {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke-soft);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.cal__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cal__legend-item .swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.swatch.available {
  background: rgba(59, 130, 246, 0.4);
  border: 1px solid var(--stroke-hot);
}

.swatch.selected {
  background: var(--blue);
}

.swatch.unavailable {
  background: var(--ink-faint);
  opacity: 0.4;
}

/* ──────────────────────────────────────────────────────────────────────────
   SCROLL PROGRESS BAR (top)
─────────────────────────────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-glow));
  z-index: 101;
  box-shadow: 0 0 12px var(--blue-bright);
  transition: width 80ms linear;
}

/* ──────────────────────────────────────────────────────────────────────────
   BACK TO TOP
─────────────────────────────────────────────────────────────────────────── */
.fab-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  background: var(--bg-2);
  border: 1px solid var(--stroke-hot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  z-index: 89;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 280ms var(--ease-out);
}

.fab-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fab-top:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.fab-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 580px) {
  .fab-top {
    right: 16px;
    bottom: 84px;
    width: 44px;
    height: 44px;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   GALLERY GRID & LIGHTBOX
─────────────────────────────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.gallery-filter {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  border: 1px solid var(--stroke-soft);
  background: rgba(59, 130, 246, 0.04);
  color: var(--ink-mute);
  border-radius: 100px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 240ms var(--ease-out);
}

.gallery-filter:hover {
  border-color: var(--stroke-hot);
  color: var(--ink-soft);
}

.gallery-filter.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.gallery-filter::before {
  content: "// ";
  color: var(--blue-bright);
  opacity: 0.4;
}

.gallery-filter.active::before {
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.9;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
  margin-top: 48px;
}

@media (max-width: 920px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }
}

@media (max-width: 580px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
}

.gallery-item {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--stroke-soft);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 340ms var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 26px, rgba(59, 130, 246, 0.06) 26px 27px);
  pointer-events: none;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.18), transparent 60%);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-hot);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

@media (max-width: 580px) {

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.85) 100%);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--stroke-hot);
  padding: 4px 10px;
  border-radius: 4px;
}

.gallery-item__tag::before {
  content: "// ";
  opacity: 0.7;
}

.gallery-item__title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 12px;
}

.gallery-item__icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--stroke-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  z-index: 3;
  opacity: 0;
  transform: scale(0.9);
  transition: all 280ms var(--ease-out);
}

.gallery-item:hover .gallery-item__icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 22, 0.92);
  backdrop-filter: blur(12px);
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
  animation: fadeBackdrop 240ms ease-out;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg-2);
  border: 1px solid var(--stroke-hot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
}

.lightbox__close:hover {
  background: var(--blue);
  color: #fff;
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: var(--bg-2);
  border: 1px solid var(--stroke-hot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
}

.lightbox__nav:hover {
  background: var(--blue);
  color: #fff;
}

.lightbox__nav.prev {
  left: 24px;
}

.lightbox__nav.next {
  right: 24px;
}

.lightbox__nav svg {
  width: 22px;
  height: 22px;
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

.lightbox__content {
  max-width: 1080px;
  max-height: 80vh;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-3);
  border: 1px solid var(--stroke-hot);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  animation: searchIn 300ms var(--ease-out);
}

.lightbox__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 28px, rgba(59, 130, 246, 0.07) 28px 29px);
}

.lightbox__meta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
}

.lightbox__counter {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--blue-bright);
  background: rgba(15, 23, 42, 0.85);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--stroke-hot);
  z-index: 2;
}

@media (max-width: 580px) {
  .lightbox {
    padding: 20px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__nav.prev {
    left: 8px;
  }

  .lightbox__nav.next {
    right: 8px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   RESPONSIVE OVERRIDES (at end so they win over later base rules)
─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .search-trigger {
    display: none !important;
  }

  .nav__menu {
    display: none !important;
  }

  .nav__cta {
    display: none !important;
  }

  .nav__burger {
    display: block !important;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   ACCESSIBILITY — focus visibility + reduced motion
   (added: keyboard-nav focus rings + respects prefers-reduced-motion)
─────────────────────────────────────────────────────────────────────────── */

/* Strong, consistent focus ring for keyboard users on every interactive
   element. Mouse users don't see it (:focus-visible), so the visual stays
   clean while keyboard/AT users get a clear indicator. This restores what
   `outline: none` on .field input and the search input removed. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible,
.icon-btn:focus-visible,
.nav__cta:focus-visible,
.gallery-item:focus-visible,
.cal__day:focus-visible,
.timeslot:focus-visible,
.search-result:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

[data-theme="light"] a:focus-visible,
[data-theme="light"] button:focus-visible,
[data-theme="light"] input:focus-visible,
[data-theme="light"] select:focus-visible,
[data-theme="light"] textarea:focus-visible {
  outline-color: var(--blue);
}

/* Form fields keep their inset look but also get the ring when focused
   via keyboard (the border-color change alone was too subtle). */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 1px;
}

/* Users who request reduced motion: kill non-essential animation.
   Transforms/opacity transitions are flattened to near-instant so the
   UI still works (reveal content is shown, just not animated in). */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Ensure reveal-on-scroll content is fully visible without the slide/fade
     (the JS still adds .in; we just skip the keyframes). */
  .reveal,
  .reveal--right,
  .reveal--scale {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Looping decorative motion stopped entirely. */
  .ticker__track {
    animation: none !important;
  }

  .chip .dot,
  .fab-whats::before {
    animation: none !important;
  }

  .typewriter__cursor {
    animation: none !important;
    opacity: 1 !important;
  }
}