/* ============================================================
   BRANDMARK DESIGN SYSTEM — 2026
   Premium Agency UI · Teal × Dark × Glass
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Brand Colors */
  --teal:        #47BAC4;
  --teal-dark:   #2fa3af;
  --teal-deeper: #1d8a96;
  --teal-light:  #A7D7DD;
  --teal-pale:   #e8f7f8;
  --teal-glow:   rgba(71, 186, 196, 0.35);
  --teal-glow-sm:rgba(71, 186, 196, 0.15);

  /* Neutral */
  --gray:        #606062;
  --gray-light:  #9ca3af;
  --dark:        #060b14;
  --dark-2:      #0d1420;
  --dark-3:      #111827;
  --dark-4:      #1e293b;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --surface:     #f1f5f9;

  /* Glass */
  --glass:        rgba(255, 255, 255, 0.06);
  --glass-md:     rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-dark:   rgba(6, 11, 20, 0.7);

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container:  min(90rem, 100% - 2rem);

  /* Border Radius */
  --radius-sm:  0.5rem;
  --radius:     1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;
  --radius-full:9999px;

  /* Shadows */
  --shadow-teal: 0 0 40px rgba(71, 186, 196, 0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.15);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:    0.4s;
  --duration-sm: 0.2s;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto; /* Lenis handles this */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--dark-3);
  background: var(--white);
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

/* Show default cursor on touch devices */
@media (hover: none) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none !important; }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
@media (hover: none) { button { cursor: pointer; } }

/* ── Custom Cursor ────────────────────────────────────────── */
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  will-change: transform;
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(71, 186, 196, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
  will-change: transform;
}

body.cursor-hover #cursor-dot  { width: 12px; height: 12px; background: var(--teal); }
body.cursor-hover #cursor-ring { width: 60px; height: 60px; opacity: 0.6; }
body.cursor-click #cursor-dot  { width: 6px; height: 6px; }
body.cursor-click #cursor-ring { width: 28px; height: 28px; }

/* ── Page Loader ──────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

#page-loader .loader-logo {
  opacity: 0;
  animation: loaderFadeIn 0.6s var(--ease-out) 0.2s forwards;
}

#page-loader .loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}

#page-loader .loader-bar {
  height: 100%;
  background: var(--teal);
  width: 0%;
  border-radius: 999px;
  animation: loaderBar 1.2s var(--ease-out) 0.4s forwards;
}

@keyframes loaderFadeIn {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(10px); }
}

@keyframes loaderBar {
  to { width: 100%; }
}

/* ── Scroll Progress Bar ──────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Navigation ───────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#site-nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.06);
}

#site-nav.transparent { background: transparent; }

/* Dark hero pages — white nav text when transparent */
#site-nav.dark-nav:not(.scrolled) .nav-link { color: rgba(255,255,255,0.88); }
#site-nav.dark-nav:not(.scrolled) .nav-link:hover,
#site-nav.dark-nav:not(.scrolled) .nav-link.active { color: var(--teal-light); }
#site-nav.dark-nav:not(.scrolled) .hamburger-line { background: rgba(255,255,255,0.9); }
#site-nav.dark-nav:not(.scrolled) .nav-cta { background: rgba(71,186,196,0.15); border-color: rgba(71,186,196,0.5); color: #fff; }
#site-nav.dark-nav:not(.scrolled) .nav-cta:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Dark scrolled nav stays dark */
#site-nav.dark-nav.scrolled { background: rgba(6, 11, 20, 0.95); border-bottom-color: rgba(255,255,255,0.08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
#site-nav.dark-nav.scrolled .nav-link { color: rgba(255,255,255,0.8); }
#site-nav.dark-nav.scrolled .nav-link:hover,
#site-nav.dark-nav.scrolled .nav-link.active { color: var(--teal); }
#site-nav.dark-nav.scrolled .hamburger-line { background: rgba(255,255,255,0.9); }

.nav-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  height: 72px;
}

.nav-links > li { display: flex; align-items: center; position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 1.125rem;
  height: 72px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: color var(--duration-sm), background var(--duration-sm);
  white-space: nowrap;
  cursor: none;
}

.nav-link:hover, .nav-link.active { color: var(--teal); }

.nav-link .nav-indicator {
  position: absolute;
  bottom: 0; left: 1.125rem; right: 1.125rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease-out);
  transform-origin: left;
  border-radius: 999px;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator { transform: scaleX(1); }

/* Services Mega Menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}

.nav-links > li:hover .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: background var(--duration-sm), color var(--duration-sm);
  cursor: none;
}

.nav-dropdown a:hover { background: var(--teal-pale); color: var(--teal-deeper); }

.nav-dropdown a svg { flex-shrink: 0; color: var(--teal); }

/* Mobile Nav */
#nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: none;
}

@media (hover: none) {
  #nav-mobile-toggle, .nav-link { cursor: pointer; }
}

.hamburger-line {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark-3);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

#nav-mobile-toggle.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#nav-mobile-toggle.open .hamburger-line:nth-child(2) { opacity: 0; width: 0; }
#nav-mobile-toggle.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu panel */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}

#mobile-menu.open { transform: translateX(0); }

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  transition: color var(--duration-sm);
}

.mobile-menu-link:hover { color: var(--teal); }

.mobile-sub-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: color var(--duration-sm);
}
.mobile-sub-link:hover { color: var(--teal); }

/* CTA Button in Nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  background: var(--teal);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background var(--duration-sm), transform var(--duration-sm), box-shadow var(--duration-sm);
  cursor: none;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
}

@media (hover: none) { .nav-cta { cursor: pointer; } }

/* ── Button System ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease-out);
  cursor: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

@media (hover: none) { .btn { cursor: pointer; } }

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--duration-sm);
  border-radius: inherit;
}

.btn:active::after { opacity: 1; }

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 24px var(--teal-glow);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--dark-3);
  border: 1.5px solid rgba(0,0,0,0.12);
}

.btn-ghost:hover { background: var(--surface); border-color: rgba(0,0,0,0.18); }

.btn-white {
  background: white;
  color: var(--teal-dark);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.625rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1rem; }

/* Magnetic button wrapper */
.magnetic-wrap { display: inline-block; }

/* ── Section Utilities ────────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section-sm { padding: calc(var(--section-py) * 0.6) 0; }

.container-base {
  width: var(--container);
  margin-inline: auto;
}

/* ── Section Label / Eyebrow ──────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--teal-pale);
  color: var(--teal-deeper);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid rgba(71, 186, 196, 0.3);
}

.eyebrow-dark {
  background: rgba(71, 186, 196, 0.15);
  color: var(--teal-light);
  border-color: rgba(71, 186, 196, 0.2);
}

/* ── Typography ───────────────────────────────────────────── */
.heading-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.heading-xl {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.heading-lg {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dark);
}

.heading-md {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-rev {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Card System ──────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              border-color var(--duration);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}

.card-glass {
  background: var(--glass-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.card-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

/* ── Service Card ─────────────────────────────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: none;
}
@media (hover: none) { .service-card { cursor: pointer; } }

.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover img { transform: scale(1.07); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,11,20,0.9) 0%, rgba(6,11,20,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.4s;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(6,11,20,0.95) 0%, rgba(71,186,196,0.2) 60%, transparent 100%);
}

.service-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
  transform: translateY(4px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.service-card:hover .service-card-label { transform: translateY(0); opacity: 1; }

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.service-card-arrow {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: translate(4px, -4px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s, background 0.3s;
}

.service-card:hover .service-card-arrow { transform: translate(0,0); opacity: 1; background: var(--teal); }

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(71,186,196,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,186,196,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

/* ── Reveal Animations ─────────────────────────────────────  */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* JS adds this class (via IntersectionObserver fallback OR after GSAP) */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* If JS/GSAP is not available or fails, show content */
.no-js .reveal, .reveal.gsap-done {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.revealed { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── Section Divider ─────────────────────────────────────── */
.section-divider {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 999px;
}

/* ── Stat Counter ─────────────────────────────────────────── */
.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray);
}

/* ── Testimonial Card ─────────────────────────────────────── */
.testimonial-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: border-color var(--duration), box-shadow var(--duration), transform var(--duration) var(--ease-out);
}

.testimonial-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(71,186,196,0.12);
  transform: translateY(-4px);
}

.testimonial-stars { display: flex; gap: 0.25rem; color: #f59e0b; }

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray);
  margin: 1.25rem 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-pale);
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--gray-light);
  margin-top: 0.125rem;
}

/* ── Client Logo Marquee ──────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  transition: border-color var(--duration), box-shadow var(--duration);
}

.client-logo-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(71,186,196,0.1);
}

.client-logo-card img { max-width: 100%; max-height: 48px; object-fit: contain; filter: grayscale(0.3); }
.client-logo-card:hover img { filter: grayscale(0); }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 4rem 3rem;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(71,186,196,0.15), transparent 70%);
  pointer-events: none;
}

/* ── Product Grid ─────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface);
  cursor: none;
}

@media (hover: none) { .product-card { cursor: pointer; } }

.product-card-img-wrap {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}

/* Blur-up skeleton */
.img-skeleton {
  position: relative;
  background: linear-gradient(90deg, var(--surface) 25%, #e8edf2 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.product-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  display: block;
  filter: blur(0);
}

.product-card img.loading { filter: blur(8px) scale(1.05); }
.product-card:hover img { transform: scale(1.08); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,11,20,0.88) 0%, rgba(6,11,20,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.125rem;
  opacity: 1;
  transition: opacity var(--duration);
}

.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-name {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  margin-bottom: 0.625rem;
  transform: translateY(0);
  transition: transform 0.4s var(--ease-out);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.product-card:hover .product-card-name { transform: translateY(0); }

/* WhatsApp button on product card */
.product-card-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: #25d366;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.2s;
  white-space: nowrap;
}

.product-card:hover .product-card-wa {
  opacity: 1;
  transform: translateY(0);
}

/* Always show WA button on touch devices */
@media (hover: none) {
  .product-card-wa {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Page Hero Banner ─────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--dark);
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-teal::before { background: var(--off-white); }

/* ── Form Inputs ──────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-3);
}

.form-input {
  padding: 0.875rem 1.25rem;
  background: white;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--dark-3);
  transition: border-color var(--duration-sm), box-shadow var(--duration-sm);
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow-sm);
}

.form-input::placeholder { color: var(--gray-light); }

textarea.form-input { resize: vertical; min-height: 140px; }

/* ── Footer ───────────────────────────────────────────────── */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
}

.footer-logo { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo img.icon { height: 42px; width: auto; }
.footer-logo img.text { height: 36px; width: auto; }

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  padding: 0.375rem 0;
  transition: color var(--duration-sm);
  cursor: none;
}

.footer-link:hover { color: var(--teal-light); }
@media (hover: none) { .footer-link { cursor: pointer; } }

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 3rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.footer-bottom-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
}

.social-links { display: flex; gap: 0.75rem; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: background var(--duration-sm), color var(--duration-sm), border-color var(--duration-sm);
  cursor: none;
}

.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

@media (hover: none) { .social-link { cursor: pointer; } }

/* ── WhatsApp Float ───────────────────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: none;
  transition: transform var(--duration) var(--ease-bounce), box-shadow var(--duration);
  animation: waPulse 3s ease-in-out infinite;
}

#whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

@media (hover: none) { #whatsapp-float { cursor: pointer; } }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

/* ── Responsive Breakpoints ───────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  #nav-mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
  .page-hero { padding: 7rem 0 4rem; }
}

/* ── Utility Classes ──────────────────────────────────────── */
.overflow-clip { overflow: clip; }
.text-balance { text-wrap: balance; }
.pointer-none { pointer-events: none; }
.select-none { user-select: none; }

/* ── Swiper Overrides ─────────────────────────────────────── */
.swiper-pagination-bullet { background: rgba(71,186,196,0.4) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--teal) !important; width: 24px !important; border-radius: 4px !important; }
.swiper-button-prev, .swiper-button-next {
  width: 48px !important; height: 48px !important;
  border-radius: 50% !important;
  background: white !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12) !important;
  color: var(--teal) !important;
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 18px !important; font-weight: 700 !important; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--teal-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: var(--teal); color: white; }

/* --- PRODUCT MODAL --- */
#img-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(6, 11, 20, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
#img-modal.active {
  opacity: 1;
  pointer-events: auto;
}
#img-modal .modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  z-index: 2;
  transition: color 0.2s;
}
#img-modal .modal-close:hover {
  color: var(--teal);
}
#img-modal-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#img-modal.active #img-modal-img {
  transform: scale(1);
}
#img-modal-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--trans-fast);
}
#img-modal-wa:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(71, 186, 196, 0.25);
}
#img-modal-name {
  color: #fff;
  font-family: var(--font-fancy);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
