/* ============================================
   HB Digital — Cyber Violet Design System
   1:1 match of dixieraizpacheco.com structure
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #7C3AED;
  --color-primary-dark: #6D28D9;
  --color-accent: #06B6D4;
  --color-dark: #0F0F1A;
  --color-dark-card: #161628;
  --color-surface-light: #CBD5E1;
  --color-surface-light-2: #E2E8F0;
  --color-emerald: #06B6D4;
  --color-gold: #F59E0B;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text-muted: #A78BFA;
  --color-text-muted-dark: #8491ab;
  --color-card-border: #2D2D5E;
  --color-tag-bg: #1E1E3A;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 80rem;
  --section-spacing: clamp(4rem, 8vw, 8rem);
  --radius-card: 1rem;
  --radius-pill: 999px;
  --radius-section: 24px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-surface-light-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

/* --- Typography --- */
.italic-text {
  font-style: italic;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-heading-lg {
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.03em;
}

.text-heading-md {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-heading-sm {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.text-heading-xs {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
}

.text-body {
  font-size: 1rem;
  line-height: 1.6;
}

.text-body-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
}

/* --- Loading Screen --- */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  width: 120px;
  height: 120px;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.05em;
}

.reveal-mask {
  clip-path: inset(50% 50% 50% 50%);
  animation: revealMask 1s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards;
}

@keyframes revealMask {
  0% {
    clip-path: inset(50% 50% 50% 50%);
  }

  100% {
    clip-path: inset(0% 0% 0% 0%);
  }
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s;
}

.header-inner {
  position: relative;
  transition: all 0.3s;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

@media (min-width: 640px) {
  .header-container {
    padding: 1rem 2rem;
  }
}

.header.scrolled .header-inner {
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.header-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 180px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-dark);
  border-radius: 4px;
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--color-white);
}

/* Nav Links */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}


.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color 0.3s;
  position: relative;
  display: block;
  overflow: hidden;
}

.text-clip {
  overflow: hidden;
  height: 1.25rem;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-wrapper span {
  display: block;
  height: 1.25rem;
  line-height: 1.25rem;
}

.nav-link:hover .text-wrapper {
  transform: translateY(-1.25rem);
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 2px;
}

.lang-btn {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  background: none;
}

.lang-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.lang-btn:hover:not(.active) {
  color: var(--color-white);
}

/* CTA Button */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-primary span {
  position: relative;
  z-index: 10;
}

.btn-primary::after {
  content: "";
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 0;
  height: 0;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.8s, height 0.8s;
}

.btn-primary:hover::after {
  width: 60dvw;
  height: 60dvw;
}

.btn-primary:hover {
  color: var(--color-dark);
}

/* Secondary Button (WhatsApp) */
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  background: transparent;
  border: 1.5px solid rgba(15, 15, 26, 0.2);
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-secondary span {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.625.846 5.059 2.284 7.034L.789 23.492a.5.5 0 0 0 .611.611l4.458-1.495A11.952 11.952 0 0 0 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 22c-2.37 0-4.567-.725-6.393-1.966l-.446-.31-2.633.883.883-2.633-.31-.446A9.935 9.935 0 0 1 2 12C2 6.486 6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: filter 0.3s;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 0;
  height: 0;
  background: #25D366;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.8s, height 0.8s;
}

.btn-secondary:hover::after {
  width: 60dvw;
  height: 60dvw;
}

.btn-secondary:hover {
  color: var(--color-white);
  border-color: #25D366;
}

.btn-secondary:hover span::before {
  filter: brightness(0) invert(1);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Kinetic Menu Button */
.kinetic-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.3s;
  z-index: 201;
  position: relative;
}

.kinetic-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.kinetic-menu-btn__text {
  height: 1.2em;
  overflow: hidden;
  position: relative;
}

.kinetic-menu-btn__text p {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  transition: transform 0.5s cubic-bezier(0.65, 0.05, 0, 1);
}

.kinetic-menu-btn__icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: transform 0.5s cubic-bezier(0.65, 0.05, 0, 1);
}

.kinetic-menu-btn__icon svg {
  width: 100%;
  height: 100%;
}

/* Mobile-first: hide nav-list on small screens */
.nav-list {
  display: none;
}

.lang-toggle-nav {
  display: none;
}

@media (min-width: 769px) {
  .kinetic-menu-btn {
    display: none;
  }

  .nav-list {
    display: flex;
  }

  .lang-toggle-nav {
    display: list-item;
  }
}

/* Kinetic Fullscreen Navigation */
.kinetic-nav-section {
  position: relative;
}

.kinetic-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}

.kinetic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

.kinetic-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.kinetic-panel__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Staggered backdrop layers */
.kinetic-backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-dark, #0F0F1A);
  transform: translateX(101%);
}

.kinetic-backdrop.first {
  background: rgba(124, 58, 237, 0.15);
}

.kinetic-backdrop.second {
  background: rgba(124, 58, 237, 0.08);
}

/* Abstract shape backgrounds */
.kinetic-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.kinetic-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
}

.kinetic-shape.active {
  opacity: 1;
}

.kinetic-shape .shape-el {
  opacity: 0;
  transform-origin: center;
}

/* Content area */
.kinetic-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 5rem 2.5rem 2.5rem;
}

/* Navigation links */
.kinetic-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kinetic-link-item {
  overflow: hidden;
}

.kinetic-link {
  display: block;
  position: relative;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--color-white);
  overflow: hidden;
  border-radius: 0.5rem;
}

.kinetic-link__text {
  display: block;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.65, 0.05, 0, 1);
}

.kinetic-link:hover .kinetic-link__text {
  transform: translateX(8px);
}

.kinetic-link__hover-bg {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0.12);
  border-radius: 0.5rem;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.4s cubic-bezier(0.65, 0.05, 0, 1);
}

.kinetic-link:hover .kinetic-link__hover-bg {
  opacity: 1;
  transform: scaleX(1);
}

/* Footer area */
.kinetic-footer {
  margin-top: auto;
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  visibility: hidden;
}

.kinetic-cta {
  text-align: center;
  width: 100%;
  justify-content: center;
}

.kinetic-lang {
  display: flex;
  justify-content: center;
}


/* --- Hero --- */
.hero {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, var(--color-surface-light-2) 0%, var(--color-surface-light) 100%);
  min-height: auto;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: auto;
  padding: 5rem 0 2rem;
  position: relative;
}

.hero-content {
  grid-column: 1;
  display: grid;
  gap: 2.5rem;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  z-index: 30;
  text-align: center;
}

.hero-visual {
  grid-column: 1;
  order: -1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 280px;
  margin: 0 auto;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-dark);
  max-width: none;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 15, 26, 0.06);
  border-radius: var(--radius-pill);
  width: fit-content;
  justify-content: center;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .hero {
    position: sticky;
    top: 0;
    min-height: 100svh;
  }

  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    min-height: 100svh;
    padding: 0;
  }

  .hero-content {
    grid-column: span 8;
    text-align: left;
    padding-top: 6rem;
  }

  .hero-visual {
    grid-column: span 4;
    order: 0;
    max-width: none;
    margin: 0;
  }

  .hero h2 {
    max-width: 14ch;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .hero-trust {
    justify-content: flex-start;
  }

  .hero-trust-badges {
    justify-content: flex-start;
    margin: 0;
  }
}

@media (min-width: 1025px) {
  .hero-content {
    grid-column: span 8;
  }

  .hero-visual {
    grid-column: span 4;
  }
}

/* --- Dark Sections --- */
.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
  overflow: clip;
  z-index: 2;
  flex-shrink: 0;
}

.section-dark a:not(.btn-primary) {
  color: var(--color-primary);
}

.section-dark a:not(.btn-primary):hover {
  color: var(--color-accent);
}

/* --- Problem Statement --- */
.problem {
  padding: var(--section-spacing) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.problem h2 {
  margin-bottom: 1.5rem;
}

.problem-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.problem-list {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.problem-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--color-white);
  font-weight: 500;
}

.problem-list svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

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

/* --- Credentials --- */
.credentials {
  padding: 5rem 0 2rem;
  overflow: hidden;
}

.credentials-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.credentials-badge img {
  height: 5rem;
}

.credentials-title {
  color: var(--color-gold);
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.credentials-desc {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  max-width: 380px;
  margin: 1rem auto;
}

.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: default;
  transition: all 0.2s;
}

.credential-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.credential-row span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.credential-row:hover span {
  color: rgba(255, 255, 255, 0.9);
}

.credential-row .credential-tag {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* --- Services / Step Cards --- */
.services {
  padding: var(--section-spacing) 0;
}

.services-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
  display: grid;
  gap: 1rem;
}

.services-header .text-label {
  color: rgba(255, 255, 255, 0.5);
}

.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.step-card-holder {
  position: relative;
  height: 100%;
  transition: all 0.3s;
}

.step-card-holder:first-child::before {
  content: "";
  width: 104%;
  height: 102%;
  border-radius: 1.5rem;
  filter: blur(10px);
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -2%;
  background: linear-gradient(var(--rotate, 132deg), #06B6D4, #7C3AED 43%, var(--color-dark));
  animation: spin 5s linear infinite;
}

.step-card-holder:first-child::after {
  content: "";
  position: absolute;
  top: 16.67%;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.8);
  filter: blur(60px);
  opacity: 1;
  background: linear-gradient(var(--rotate, 132deg), #06B6D4, #7C3AED 43%, var(--color-dark));
  animation: spin 4s linear infinite;
}

@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}

@keyframes spin {
  0% {
    --rotate: 0deg;
  }

  100% {
    --rotate: 360deg;
  }
}

.step-card {
  position: relative;
  height: 100%;
  min-height: 23.75rem;
  padding: 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  background: var(--color-dark-card);
  color: var(--color-white);
  overflow: hidden;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border-color: #4c5a73;
}

.step-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.step-card p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: #babad0;
  line-height: 1.4;
}

.step-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.step-card-bg img {
  opacity: 0.15;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-card>*:not(.step-card-bg) {
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  .step-cards {
    grid-template-columns: 1fr 1fr;
  }

  .step-card {
    min-height: 18rem;
  }
}

@media (max-width: 640px) {
  .step-cards {
    grid-template-columns: 1fr;
  }
}

/* --- AI Advantage --- */
.ai-advantage {
  padding: var(--section-spacing) 0;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-visual {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

/* Shift Spline robot colors toward purple to match theme */
.ai-visual spline-viewer {
  filter: hue-rotate(45deg) saturate(1.3);
}

/* Cover Spline watermark with a gradient fade at bottom */
.ai-visual::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3rem;
  background: linear-gradient(to top, var(--color-dark) 30%, transparent);
  z-index: 5;
  pointer-events: none;
}

.ai-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.ai-points {
  display: grid;
  gap: 1.5rem;
}

.ai-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(124, 58, 237, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-point:hover {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.ai-point-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all 0.35s;
}

.ai-point:hover .ai-point-icon {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.5);
}

.ai-point h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ai-point p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

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

  .ai-visual {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* --- Testimonial Highlight --- */
.testimonial-highlight {
  background: linear-gradient(152.729deg, #2D2D5E 27.652%, var(--color-dark) 171.62%);
  padding: 6rem 0;
  overflow: visible;
  position: relative;
  width: 100%;
  z-index: 2;
}

.testimonial-h-content {
  display: flex;
  gap: 6rem;
  align-items: center;
  padding: 0 2rem;
}

.testimonial-h-image {
  flex-shrink: 0;
  width: 20.5rem;
  height: 28.8125rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.testimonial-h-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-h-quote-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.testimonial-h-quote-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 48rem;
  padding-left: 4rem;
}

.testimonial-h-quote {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-white);
}

.testimonial-h-author {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
}

.testimonial-h-title {
  font-style: italic;
  font-size: 1rem;
  color: #9ca3af;
}

.testimonial-h-quotemark {
  position: absolute;
  top: 1.5rem;
  right: 3rem;
  width: 11.125rem;
  height: 11.125rem;
  color: rgba(255, 255, 255, 0.08);
  transform: rotate(180deg) scaleY(-1);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1024px) {
  .testimonial-h-content {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .testimonial-h-image {
    width: 18rem;
    height: 24rem;
    margin: 0 auto;
  }

  .testimonial-h-quote-content {
    padding-left: 0;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .testimonial-highlight {
    padding: 4rem 0;
  }

  .testimonial-h-image {
    width: 14rem;
    height: 18rem;
  }

  .testimonial-h-quote {
    font-size: 1.5rem;
  }
}

/* Testimonial Slider Logic */
.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: flex;
}

.testimonial-slider {
  position: relative;
}

.testimonial-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--color-white);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-arrow:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* --- CTA Marquee --- */
.cta-marquee {
  padding: 5rem 0;
  overflow: hidden;
}

.cta-marquee h2 {
  text-align: center;
  max-width: 24ch;
  margin: 0 auto 3rem;
}

.marquee {
  display: flex;
  user-select: none;
  gap: 1.25rem;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  gap: 1.25rem;
  align-items: center;
  animation: marquee 40s linear infinite;
}

.marquee-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  transition: all 0.3s;
  flex-shrink: 0;
}

.marquee-card:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.marquee-card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.marquee-card span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.marquee-card:hover span {
  color: var(--color-white);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 1.25rem));
  }
}

@media (max-width: 768px) {

  .marquee,
  .marquee-content {
    gap: 1rem;
  }
}

/* --- Benefits --- */
.benefits {
  background: var(--color-surface-light);
  border-radius: var(--radius-section);
  padding: clamp(3rem, 8vw, 8rem) 0;
  transform: translateZ(0);
  position: relative;
  z-index: 2;
}

.benefits-header {
  text-align: center;
  max-width: 60rem;
  margin: 0 auto 3rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.benefits-header .text-label {
  color: #4c5c7a;
}

.benefits-header h3 {
  color: var(--color-dark);
}

.benefits-header p {
  font-size: 0.875rem;
  color: #4c5c7a;
  max-width: 72ch;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s;
  color: var(--color-dark);
  cursor: pointer;
}

.benefit-card:hover {
  border-color: var(--color-primary);
}

.benefit-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
}

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

.benefit-summary-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-summary-left img,
.benefit-summary-left svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.benefit-summary h3 {
  font-size: 1rem;
  font-weight: 400;
}

.benefit-chevron {
  transition: transform 0.3s;
  flex-shrink: 0;
}

details[open] .benefit-chevron {
  transform: rotate(180deg);
}

.benefit-detail {
  font-size: 0.875rem;
  color: #4c5c7a;
  padding-top: 1rem;
  line-height: 1.6;
}

details.benefit-card::details-content {
  display: block;
  block-size: 0;
  overflow: clip;
  transition: block-size 0.25s ease-out;
}

details[open].benefit-card::details-content {
  block-size: auto;
}

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

/* --- Works / Portfolio --- */
.works {
  padding: var(--section-spacing) 0;
}

.works-header {
  margin-bottom: 4rem;
}

.projects-list {
  display: grid;
  gap: 5rem;
}

.project {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.project:nth-child(even) {
  grid-template-columns: 1fr 2fr;
}

.project:nth-child(even) .project-thumbnail {
  order: 2;
}

.project-thumbnail {
  position: relative;
}

.project-mockup {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.project-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  display: grid;
  gap: 1.5rem;
}

.project-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tag {
  background: var(--color-tag-bg);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
}

.project-link {
  color: var(--color-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.project-link:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {

  .project,
  .project:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project:nth-child(even) .project-thumbnail {
    order: 0;
  }
}

/* --- Process Timeline (Dixie-style sticky milestone) --- */
.process {
  position: relative;
  z-index: 2;
  background: var(--color-surface-light);
  padding: var(--section-pad-y, clamp(5rem, 10vw, 10rem)) 0;
}

/* 12-column grid: left 5cols, milestone 1col, steps 6cols */
.process__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 32px;
}

/* LEFT: Sticky heading + rolling counter (cols 1-5) */
.process__left {
  grid-column: 1 / 6;
  position: sticky;
  top: 80px;
  height: fit-content;
  text-align: right;
}

.process__heading {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 48px;
  color: var(--color-dark);
}

/* Number counter */
.process__counter {
  display: inline-flex;
  overflow: hidden;
  line-height: 0.85;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-dark);
  font-size: clamp(120px, 18vw, 300px);
}

.process__counter-zero {
  display: block;
}

.process__counter-roller {
  position: relative;
  width: 0.62em;
  height: 0.85em;
  overflow: hidden;
}

.process__counter-digits {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.process__counter-digits span {
  display: block;
  height: 0.85em;
  line-height: 0.85;
}

/* CENTER: Milestone column (col 6) */
.process__milestone-col {
  grid-column: 6 / 7;
  position: relative;
}

.milestone-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
}

/* The grey background line — top & height set by JS */
.milestone-line {
  position: absolute;
  left: 0;
  width: 2px;
  background: rgba(23, 27, 39, 0.25);
}

/* The green fill that grows */
.milestone-progress {
  width: 100%;
  height: 100%;
  background: #10b981;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Dots/markers on the line */
.milestone-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(23, 27, 39, 0.12);
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.milestone-marker.is-active {
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.15);
}

/* RIGHT: Step content (cols 7-12) */
.process__right {
  grid-column: 7 / 13;
}

.process__step {
  padding: 160px 0;
  transition: opacity 0.5s ease;
  opacity: 0.25;
}

.process__step.is-active {
  opacity: 1;
}

.process__step:first-child {
  padding-top: 0;
}

.process__step-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.process__step-desc {
  font-size: 15px;
  color: var(--color-text-secondary, #4c5c7a);
  line-height: 1.7;
  max-width: 480px;
}

/* Responsive — Tablet/Mobile */
@media (max-width: 1024px) {
  .process__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process__left {
    position: static;
    display: none;
  }

  .process__milestone-col {
    display: none;
  }

  .process__right {
    grid-column: 1 / -1;
  }

  .process__step {
    padding: 40px 0;
    opacity: 1;
  }

  .process__step::before {
    font-size: 80px;
    font-weight: 800;
    color: rgba(23, 27, 39, 0.05);
    display: block;
    margin-bottom: 12px;
    line-height: 1;
  }

  .process__step:nth-child(1)::before {
    content: '01.';
  }

  .process__step:nth-child(2)::before {
    content: '02.';
  }

  .process__step:nth-child(3)::before {
    content: '03.';
  }

  .process__step:nth-child(4)::before {
    content: '04.';
  }

  .process__step:nth-child(5)::before {
    content: '05.';
  }

  .process__step:nth-child(6)::before {
    content: '06.';
  }
}

/* --- Testimonials Grid --- */
.testimonials {
  background: #C9D3D7;
  padding: var(--section-spacing) 0;
  position: relative;
  z-index: 2;
  overflow: clip;
}

.testimonials h2 {
  margin-bottom: 3rem;
  color: var(--color-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-card:nth-child(even) {
  margin-top: 3rem;
}

.testimonial-card blockquote {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-dark);
}

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

.testimonial-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  object-fit: cover;
}

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

.testimonial-author-title {
  font-style: italic;
  font-size: 0.8125rem;
  color: #6b7280;
}

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

  .testimonial-card:nth-child(even) {
    margin-top: 0;
  }
}

/* --- About --- */
.about {
  padding: var(--section-spacing) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: grid;
  gap: 1.5rem;
}

.about-content h2 {
  margin-bottom: 0.5rem;
}

.about-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.about-content .highlight {
  color: var(--color-primary);
  font-weight: 600;
}

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

  .about-photo {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* --- Consultation / Business Audit --- */
.consultation {
  padding: var(--section-spacing) 0;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: flex-start;
}

.consultation-benefits {
  display: grid;
  gap: 1.5rem;
}

.consultation-benefits h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.consultation-benefits h3 em {
  font-style: italic;
}

/* Audit Items */
.audit-items {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.audit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--color-dark-card);
  border: 1px solid var(--color-card-border);
  border-radius: 0.75rem;
  transition: all 0.3s;
  margin-bottom: -1px;
}

.audit-item:first-child {
  border-radius: 0.75rem 0.75rem 0 0;
}

.audit-item:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
  margin-bottom: 0;
}

.audit-item:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.audit-item:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.3);
  z-index: 1;
}

.audit-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 0.5rem;
}

.audit-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.audit-item p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* Consultation Form */
.consultation-form-wrapper {
  background: var(--color-dark-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.consultation-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.consultation-form-wrapper .form-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: -0.5rem;
}

.form-group {
  display: grid;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-card-border);
  border-radius: 0.5rem;
  color: var(--color-white);
  font-size: 0.9375rem;
  transition: border-color 0.3s;
  min-height: 48px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23A78BFA' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit-full {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #5B21B6 100%);
  border-radius: var(--radius-pill);
}

.btn-submit-full:hover {
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success svg {
  color: var(--color-accent);
  margin: 0 auto 1rem;
}

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ --- */
.faqs {
  background: var(--color-white);
  padding: var(--section-spacing) 0;
  position: relative;
  z-index: 2;
}

.faqs h2 {
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 4rem;
}

.faq-list {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.faq-item:hover::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-dark);
  animation: scaleLine 0.3s ease-out forwards;
}

@keyframes scaleLine {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

.faq-btn {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  color: var(--color-dark);
  transition: color 0.3s;
  cursor: pointer;
}

.faq-btn h3 {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
}

.faq-btn .faq-num {
  font-size: 0.875rem;
  color: var(--color-primary);
  min-width: 1.5rem;
  margin-top: 2px;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--color-dark);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer-inner {
  padding: 0 0 1.5rem 2.75rem;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 10rem 0 3rem;
  position: relative;
  z-index: 2;
}

.footer-cta {
  text-align: center;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  margin-bottom: 6rem;
}

.footer-cta h2 {
  max-width: 16ch;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 60ch;
  font-weight: 500;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
  display: grid;
  gap: 0.5rem;
}

.footer-info p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-info a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-info a:hover {
  color: var(--color-primary);
}

.footer-links h4 {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-copyright {
  text-align: center;
  padding-top: 3rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .footer {
    padding: 6rem 0 2rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* --- Side Nav --- */
.side-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: grid;
  gap: 0.75rem;
  justify-items: end;
}

.side-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--color-dark);
  transition: all 0.3s;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.side-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.side-nav-item .nav-text {
  display: none;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  margin-left: 0.5rem;
}

/* Active state — just highlight the circle, don't expand */
.side-nav-item.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Hover state — expand to show label */
.side-nav-item:hover {
  width: auto;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-white);
}

.side-nav-item:hover .nav-text {
  display: inline;
}

/* WhatsApp item in side nav */
.side-nav-item.whatsapp:hover,
.side-nav-item.whatsapp.active {
  background: rgba(255, 255, 255, 0.3);
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

/* Mobile WhatsApp */
.whatsapp-mobile {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.whatsapp-mobile:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .whatsapp-mobile {
    display: flex;
  }
}

/* --- Scroll Animations --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utilities --- */
.text-dark {
  color: var(--color-dark);
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none !important;
}

/* Print */
@media print {

  .side-nav,
  .whatsapp-mobile,
  .loading-screen,
  .header {
    display: none !important;
  }
}