/* ========================================
   DJ CUSTOM - Unified Stylesheet
   Emil Kowalski + Impeccable + Taste
   ======================================== */

/* ---- CSS Variables ---- */
:root {
  --fuente: 'Space Grotesk', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  /* Dark (default) */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --border-subtle: rgba(255,255,255,0.06);
  --border-medium: rgba(255,255,255,0.12);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.6);
  --text-tertiary: rgba(255,255,255,0.4);
  --accent: #0ea5e9;
  --accent-rgb: 14,165,233;
  --accent-glow: rgba(14,165,233,0.4);
  --accent-secondary: #38bdf8;
}

/* ---- Light Mode ---- */
html.light {
  --bg-primary: #fafafa;
  --bg-secondary: #f0f0f0;
  --bg-card: rgba(0,0,0,0.03);
  --bg-card-hover: rgba(0,0,0,0.06);
  --border-subtle: rgba(0,0,0,0.06);
  --border-medium: rgba(0,0,0,0.12);
  --text-primary: #0a0a0a;
  --text-secondary: rgba(0,0,0,0.6);
  --text-tertiary: rgba(0,0,0,0.4);
  --accent: #0284c7;
  --accent-rgb: 2,132,199;
  --accent-glow: rgba(2,132,199,0.3);
  --accent-secondary: #0ea5e9;
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body { font-family:var(--fuente); overflow-x:hidden; width:100%; line-height:1.6; color:var(--text-primary); background:var(--bg-primary); }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }

/* ---- Theme Transition ---- */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out), filter 400ms var(--ease-out) !important;
}

.hidden { display:none !important; }

/* ========================================
   NAVBAR v2 - Premium Glass Morphism
   ======================================== */
header {
  position:fixed; inset-x:0; top:0; z-index:40;
  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(30px) saturate(200%) brightness(1.1);
  -webkit-backdrop-filter:blur(30px) saturate(200%) brightness(1.1);
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition:all 400ms var(--ease-out);
}
html.light header {
  background:rgba(255,255,255,0.65);
  border-bottom:1px solid rgba(0,0,0,0.06);
}
header.scrolled {
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(40px) saturate(200%);
  -webkit-backdrop-filter:blur(40px) saturate(200%);
  box-shadow:0 4px 30px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.05) inset;
}
html.light header.scrolled {
  background:rgba(255,255,255,0.85);
  box-shadow:0 4px 30px rgba(0,0,0,0.06);
}

/* Accent gradient line at bottom */
header::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent-secondary) 50%, var(--accent) 80%, transparent 100%);
  opacity:0; transition:opacity 400ms var(--ease-out);
}
header.scrolled::after { opacity:0.5; }

nav {
  max-width:1200px; margin:0 auto; display:flex; align-items:center;
  justify-content:space-between; padding:0.85rem 2rem;
  transition:padding 400ms var(--ease-out);
}
header.scrolled nav { padding:0.6rem 2rem; }

/* Logo */
.dj-logo {
  height:2.75rem; width:auto;
  transition:transform 300ms var(--ease-spring), filter 300ms var(--ease-out);
}
html.dark .dj-logo { filter:drop-shadow(0 0 15px var(--accent-glow)); }
@media (hover:hover) and (pointer:fine) {
  .dj-logo:hover { transform:scale(1.08) rotate(-2deg); filter:drop-shadow(0 0 25px var(--accent-glow)); }
}

/* Nav Links */
.nav-center { display:flex; align-items:center; gap:0.15rem; }
.nav-link {
  position:relative; padding:0.55rem 1.1rem; color:var(--text-secondary);
  font-size:0.875rem; font-weight:500; letter-spacing:0.02em; border-radius:10px;
  transition:color 250ms var(--ease-out), background 250ms var(--ease-out);
  overflow:hidden;
}
@media (hover:hover) and (pointer:fine) {
  .nav-link:hover { color:var(--text-primary); background:rgba(255,255,255,0.07); }
}
html.light .nav-link:hover { background:rgba(0,0,0,0.05); }

/* Active underline */
.nav-link::before {
  content:''; position:absolute; bottom:6px; left:50%; width:0; height:2px;
  background:linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius:2px; transform:translateX(-50%);
  transition:width 300ms var(--ease-spring);
}
@media (hover:hover) and (pointer:fine) {
  .nav-link:hover::before { width:55%; }
}
.nav-link::after { display:none; }

/* Right side */
.nav-right { display:flex; align-items:center; gap:0.6rem; }

/* Language Toggle */
.lang-btn {
  position:relative; padding:0.4rem 0.85rem; border-radius:10px;
  border:1px solid var(--border-medium); background:var(--bg-card);
  color:var(--text-secondary); font-family:var(--fuente);
  font-size:0.75rem; font-weight:700; letter-spacing:0.08em; cursor:pointer;
  transition:all 250ms var(--ease-out); overflow:hidden;
}
.lang-btn::before {
  content:''; position:absolute; inset:0; border-radius:10px;
  background:linear-gradient(135deg, var(--accent), var(--accent-secondary));
  opacity:0; transition:opacity 250ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .lang-btn:hover { color:#fff; border-color:transparent; transform:scale(1.05); }
  .lang-btn:hover::before { opacity:1; }
}
.lang-btn:active { transform:scale(0.95); }
.lang-btn span { position:relative; z-index:1; }

/* Theme Toggle */
.icon-btn {
  position:relative; display:flex; align-items:center; justify-content:center;
  width:2.4rem; height:2.4rem; border-radius:12px;
  border:1px solid var(--border-subtle); background:var(--bg-card);
  cursor:pointer; color:var(--text-secondary); font-size:1rem;
  transition:all 250ms var(--ease-out);
}
.icon-btn::before {
  content:''; position:absolute; inset:-1px; border-radius:12px;
  background:linear-gradient(135deg, var(--accent), var(--accent-secondary));
  opacity:0; transition:opacity 250ms var(--ease-out); z-index:0;
}
@media (hover:hover) and (pointer:fine) {
  .icon-btn:hover { color:#fff; border-color:transparent; transform:scale(1.08) rotate(15deg); }
  .icon-btn:hover::before { opacity:1; }
}
.icon-btn:active { transform:scale(0.92) rotate(0deg); }
.icon-sun, .icon-moon {
  position:relative; z-index:1; display:flex; align-items:center; justify-content:center;
  transition:transform 500ms var(--ease-spring);
}
.icon-btn:hover .icon-sun { transform:rotate(90deg); }
.icon-btn:hover .icon-moon { transform:rotate(-30deg); }

/* CTA Button */
.nav-cta {
  display:inline-flex; align-items:center; gap:0.4rem;
  padding:0.5rem 1.15rem; border-radius:10px; font-family:var(--fuente);
  font-size:0.8rem; font-weight:600; text-decoration:none;
  background:var(--accent); color:#fff;
  transition:all 250ms var(--ease-spring);
  box-shadow:0 2px 12px var(--accent-glow);
}
@media (hover:hover) and (pointer:fine) {
  .nav-cta:hover { transform:translateY(-1px) scale(1.03); box-shadow:0 4px 20px var(--accent-glow); }
}
.nav-cta:active { transform:scale(0.96); }
.nav-cta i { font-size:0.7rem; transition:transform 200ms var(--ease-out); }
@media (hover:hover) and (pointer:fine) {
  .nav-cta:hover i { transform:translateX(2px); }
}

/* Mobile Menu */
.menu-toggle {
  display:none; flex-direction:column; gap:6px; background:none; border:none;
  cursor:pointer; padding:6px; z-index:50; position:relative;
}
.menu-toggle span {
  display:block; width:24px; height:2px; background:var(--text-primary);
  border-radius:2px; transition:all 300ms var(--ease-spring); transform-origin:center;
}
.menu-toggle.open span:nth-child(1) { transform:translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }

@media (max-width:768px) {
  .menu-toggle { display:flex; }
  nav { padding:0.75rem 1.25rem; }

  .nav-center {
    position:fixed; top:0; right:0; width:80%; max-width:320px; height:100vh;
    flex-direction:column; align-items:flex-start; padding:5.5rem 2rem 2rem;
    background:rgba(0,0,0,0.9); backdrop-filter:blur(40px); -webkit-backdrop-filter:blur(40px);
    border-left:1px solid rgba(255,255,255,0.08);
    transform:translateX(100%); transition:transform 400ms var(--ease-spring); z-index:45;
  }
  html.light .nav-center {
    background:rgba(255,255,255,0.95); border-left:1px solid rgba(0,0,0,0.08);
  }
  .nav-center.open { transform:translateX(0); }

  /* Mobile overlay */
  .nav-center::before {
    content:''; position:fixed; inset:0; background:rgba(0,0,0,0.5);
    opacity:0; pointer-events:none; transition:opacity 300ms var(--ease-out);
    z-index:-1;
  }
  .nav-center.open::before { opacity:1; pointer-events:auto; }

  .nav-link {
    font-size:1.1rem; padding:0.85rem 0; width:100%;
    border-bottom:1px solid rgba(255,255,255,0.06);
  }
  html.light .nav-link { border-bottom:1px solid rgba(0,0,0,0.06); }

  .nav-cta { width:100%; justify-content:center; margin-top:1rem; padding:0.7rem 1.5rem; }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary-glow, .btn-outline-glow, .btn-white {
  display:inline-flex; align-items:center; justify-content:center;
  padding:0.875rem 2rem; font-family:var(--fuente); font-size:0.9rem; font-weight:600;
  border-radius:12px; cursor:pointer; border:none; text-decoration:none;
  transition:transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn-primary-glow:active, .btn-outline-glow:active, .btn-white:active { transform:scale(0.97); }

.btn-primary-glow { background:var(--accent); color:#fff; box-shadow:0 4px 20px var(--accent-glow); }
@media (hover:hover) and (pointer:fine) { .btn-primary-glow:hover { transform:translateY(-2px); box-shadow:0 8px 30px var(--accent-glow); } }

.btn-outline-glow { background:transparent; color:var(--text-primary); border:1px solid var(--border-medium); }
@media (hover:hover) and (pointer:fine) { .btn-outline-glow:hover { background:var(--bg-card); border-color:rgba(255,255,255,0.3); transform:translateY(-2px); } }
html.light .btn-outline-glow { border-color:rgba(0,0,0,0.2); }
html.light .btn-outline-glow:hover { background:rgba(0,0,0,0.05); border-color:rgba(0,0,0,0.3); }

.btn-white { background:#fff; color:#000; }
@media (hover:hover) and (pointer:fine) { .btn-white:hover { box-shadow:0 8px 30px rgba(255,255,255,0.2); transform:translateY(-2px); } }
html.light .btn-white { background:#000; color:#fff; }
html.light .btn-white:hover { box-shadow:0 8px 30px rgba(0,0,0,0.2); }

/* ========================================
   HERO NEW 
   ======================================== */
.hero-new {
  width:100%; min-height:100vh; background:transparent; overflow:hidden;
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  padding:3rem var(--space-xl) 2rem;
}
html.light .hero-new { background:transparent; }
html.dark .hero-new { background:transparent; }

.hero-new-inner {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  max-width:1000px; width:100%;
}

/* Image Composition */
.hero-image-composition {
  position:relative; width:600px; height:620px; margin-top:0; order:0;
}

.hero-photo-wrapper {
  position:relative; z-index:1; width:100%; height:100%; overflow:visible;
}
html.dark .hero-photo-wrapper { }

.hero-photo {
  width:100%; height:100%; object-fit:cover; object-position:top center;
  border-radius:40% 40% 35% 35% / 30% 30% 25% 25%;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 620'%3E%3Cellipse cx='300' cy='280' rx='280' ry='260'/%3E%3Crect x='80' y='380' width='440' height='240' rx='40'/%3E%3C/svg%3E");
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 620'%3E%3Cellipse cx='300' cy='280' rx='280' ry='260'/%3E%3Crect x='80' y='380' width='440' height='240' rx='40'/%3E%3C/svg%3E");
  mask-size:contain; -webkit-mask-size:contain;
  mask-repeat:no-repeat; -webkit-mask-repeat:no-repeat;
  mask-position:center; -webkit-mask-position:center;
}

/* Typography */
.hero-new-title {
  order:1; margin-top:-40px; position:relative; z-index:3;
  font-size:clamp(2.5rem,6vw,4.5rem); font-weight:800; line-height:1.05;
  letter-spacing:-0.03em; color:#1e1b4b; margin-bottom:1rem;
  opacity:0; transform:translateY(30px); animation:fadeInUp 600ms var(--ease-out) 200ms forwards;
}
html.light .hero-new-title { color:#1e1b4b; }
html.dark .hero-new-title { color:#e2e8f0; }

.hero-title-icon {
  display:inline-flex; vertical-align:middle; margin:0 0.15em;
  transform:translateY(-2px);
}

.hero-text-gradient {
  background:linear-gradient(135deg, #6366f1 0%, #3b82f6 40%, #06b6d4 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero-new-desc {
  order:2; font-size:1rem; color:#64748b; max-width:500px; line-height:1.6;
  margin-bottom:1.5rem;
  opacity:0; transform:translateY(20px); animation:fadeInUp 600ms var(--ease-out) 400ms forwards;
}
html.dark .hero-new-desc { color:#94a3b8; }

.hero-new-buttons {
  order:3;
  opacity:0; transform:translateY(20px); animation:fadeInUp 600ms var(--ease-out) 550ms forwards;
}

.hero-cta-primary {
  display:inline-flex; align-items:center; justify-content:center;
  padding:0.9rem 2.25rem; font-family:var(--fuente); font-size:0.95rem; font-weight:600;
  border-radius:12px; cursor:pointer; border:none; text-decoration:none;
  background:#1e1b4b; color:#fff;
  transition:transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
}
html.dark .hero-cta-primary { background:#818cf8; color:#1e1b4b; }
.hero-cta-primary:active { transform:scale(0.97); }
@media (hover:hover) and (pointer:fine) {
  .hero-cta-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(30,27,75,0.3); }
}
html.dark .hero-cta-primary:hover { box-shadow:0 8px 30px rgba(129,140,248,0.4); }

/* ========================================
   SECTIONS - Shared
   ======================================== */
.section { width:100%; background:transparent; padding:var(--space-4xl) 0; }
.container { max-width:1200px; margin:0 auto; padding:0 var(--space-xl); }
.section-header { text-align:center; margin-bottom:var(--space-3xl); }
.section-eyebrow {
  font-size:0.75rem; font-weight:600; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--accent); margin-bottom:var(--space-md); display:block;
}
.section-title-xl { font-size:clamp(2rem,4vw,3.5rem); font-weight:700; letter-spacing:-0.02em; line-height:1.15; }
.section-title-lg { font-size:clamp(1.8rem,3vw,2.8rem); font-weight:700; line-height:1.2; letter-spacing:-0.02em; margin-bottom:var(--space-lg); }
.section-desc { font-size:1rem; color:var(--text-secondary); line-height:1.7; max-width:500px; }
.section-desc-center { font-size:1rem; color:var(--text-secondary); text-align:center; margin-top:var(--space-md); }

/* ========================================
   STATS
   ======================================== */
.stats { padding-top:0; margin-top:-5rem; position:relative; z-index:2; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-lg); }
.stat-item {
  background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:20px;
  padding:var(--space-xl); text-align:left;
  transition:transform 300ms var(--ease-out), background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .stat-item:hover { background:var(--bg-card-hover); border-color:var(--border-medium); transform:translateY(-4px); }
}
.stat-number { font-size:0.7rem; font-weight:600; color:var(--text-tertiary); letter-spacing:0.1em; margin-bottom:var(--space-sm); }
.stat-info {
  font-size:2.5rem; font-weight:700; line-height:1; margin-bottom:var(--space-sm);
  background:linear-gradient(135deg, var(--text-primary) 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
html.light .stat-info {
  background:linear-gradient(135deg, #0a0a0a 0%, rgba(0,0,0,0.6) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.stat-label { font-size:0.875rem; font-weight:500; color:var(--text-secondary); }

/* ========================================
   WE CREATE
   ======================================== */
.we-create-grid { display:flex; align-items:center; gap:var(--space-3xl); }
.we-left { flex:1; display:flex; justify-content:center; }
.we-image-wrapper { position:relative; }
.we-image-wrapper img { width:100%; max-width:600px; height:480px; border-radius:20px; object-fit:contain; position:relative; z-index:1; filter:drop-shadow(0 0 20px rgba(6,182,212,0.4)) drop-shadow(0 0 40px rgba(59,130,246,0.2)); }
.we-right { flex:1; }
.we-right .section-title-lg span {
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ========================================
   OUR WORK - Infinite Carousels
   ======================================== */
.our-work { padding:var(--space-4xl) 0; overflow:hidden; }

/* Carousel Wrapper */
.carousel-wrapper {
  overflow:hidden; width:100%; padding:var(--space-md) 0;
  mask-image:linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image:linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

/* Carousel Track - continuous scroll */
.carousel-track {
  display:flex; gap:var(--space-lg); width:max-content;
}
.carousel-left .carousel-track {
  animation:scrollLeft 40s linear infinite;
}
.carousel-right .carousel-track {
  animation:scrollRight 45s linear infinite;
}

/* Pause on hover */
@media (hover:hover) and (pointer:fine) {
  .carousel-wrapper:hover .carousel-track {
    animation-play-state:paused;
  }
}

@keyframes scrollLeft {
  0% { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}
@keyframes scrollRight {
  0% { transform:translateX(-50%); }
  100% { transform:translateX(0); }
}

/* Carousel Item */
.carousel-item {
  flex-shrink:0; width:260px; height:180px; border-radius:14px; overflow:hidden;
  cursor:pointer; position:relative;
  box-shadow:0 4px 15px rgba(0,0,0,0.12), 0 8px 30px rgba(0,0,0,0.08);
  transition:transform 350ms var(--ease-spring), box-shadow 350ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .carousel-item:hover {
    transform:scale(1.06);
    box-shadow:0 12px 40px rgba(0,0,0,0.25), 0 20px 60px rgba(0,0,0,0.15);
    z-index:10;
  }
}
.carousel-item:active { transform:scale(0.98); }
.carousel-item img {
  width:100%; height:100%; object-fit:cover;
  transition:transform 400ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .carousel-item:hover img { transform:scale(1.08); }
}

/* Project Modal */
.project-modal {
  position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity 300ms var(--ease-out);
}
.project-modal.active { opacity:1; pointer-events:auto; }

.project-modal-overlay {
  position:absolute; inset:0;
  background:rgba(0,0,0,0.7); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
html.light .project-modal-overlay { background:rgba(0,0,0,0.4); }

.project-modal-content {
  position:relative; z-index:1; display:flex; align-items:stretch;
  width:90%; max-width:900px; min-height:450px; max-height:85vh;
  background:var(--bg-primary); border:1px solid var(--border-subtle); border-radius:20px;
  overflow:hidden; transform:scale(0.95) translateY(20px);
  transition:transform 350ms var(--ease-spring);
  box-shadow:0 40px 100px rgba(0,0,0,0.4);
}
.project-modal.active .project-modal-content { transform:scale(1) translateY(0); }

.project-modal-close {
  position:absolute; top:1rem; right:1rem; z-index:5;
  width:36px; height:36px; border-radius:50%; border:1px solid var(--border-medium);
  background:var(--bg-card); color:var(--text-secondary); font-size:1.2rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all 200ms var(--ease-out);
}
.project-modal-close:hover { background:var(--bg-card-hover); color:var(--text-primary); }

.project-modal-image {
  flex:0 0 50%; position:relative; overflow:hidden; background:#111;
}
.project-modal-image img { width:100%; height:100%; object-fit:cover; }

.project-modal-info {
  flex:1; padding:2.5rem 2rem; display:flex; flex-direction:column; justify-content:center;
}
.project-modal-cat {
  display:inline-block; font-size:0.7rem; font-weight:600; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--accent); background:rgba(var(--accent-rgb),0.1);
  padding:0.3rem 0.75rem; border-radius:6px; margin-bottom:0.75rem; width:fit-content;
}
.project-modal-title {
  font-size:1.6rem; font-weight:700; letter-spacing:-0.02em; margin-bottom:0.75rem;
  color:var(--text-primary);
}
.project-modal-desc {
  font-size:0.9rem; color:var(--text-secondary); line-height:1.7; margin-bottom:1rem;
}
.project-modal-tags { display:flex; flex-wrap:wrap; gap:0.35rem; margin-bottom:1.25rem; }
.project-modal-tags span {
  padding:0.2rem 0.5rem; border-radius:5px; font-size:0.7rem; font-weight:500;
  background:var(--bg-card-hover); color:var(--text-secondary); border:1px solid var(--border-subtle);
}
.project-modal-link {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.65rem 1.25rem; border-radius:10px; font-size:0.85rem; font-weight:600;
  background:var(--accent); color:#fff; text-decoration:none; width:fit-content;
  transition:transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.project-modal-link:active { transform:scale(0.97); }
@media (hover:hover) and (pointer:fine) {
  .project-modal-link:hover { transform:translateY(-2px); box-shadow:0 6px 20px var(--accent-glow); }
}
.project-modal-link i { font-size:0.75rem; transition:transform 200ms var(--ease-out); }
@media (hover:hover) and (pointer:fine) {
  .project-modal-link:hover i { transform:translateX(3px); }
}

@media (max-width:768px) {
  .carousel-item { width:200px; height:140px; }
  .project-modal-content { flex-direction:column; max-height:90vh; overflow-y:auto; }
  .project-modal-image { flex:none; height:auto; max-height:50vh; }
  .project-modal-image img { height:auto; min-height:200px; }
  .project-modal-info { padding:1.5rem; }
  .project-modal-title { font-size:1.3rem; }
}

/* ========================================
   PROJECT MODAL
   ======================================== */
.project-modal {
  position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity 300ms var(--ease-out);
}
.project-modal.active { opacity:1; pointer-events:auto; }

.project-modal-overlay {
  position:absolute; inset:0;
  background:rgba(0,0,0,0.7); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
html.light .project-modal-overlay { background:rgba(0,0,0,0.4); }

.project-modal-content {
  position:relative; z-index:1; display:flex; align-items:stretch;
  width:90%; max-width:900px; min-height:480px; max-height:85vh;
  background:var(--bg-primary); border:1px solid var(--border-subtle); border-radius:20px;
  overflow:hidden; transform:scale(0.95) translateY(20px);
  transition:transform 350ms var(--ease-spring);
  box-shadow:0 40px 100px rgba(0,0,0,0.4);
}
.project-modal.active .project-modal-content { transform:scale(1) translateY(0); }

.project-modal-close {
  position:absolute; top:1rem; right:1rem; z-index:5;
  width:36px; height:36px; border-radius:50%; border:1px solid var(--border-medium);
  background:var(--bg-card); color:var(--text-secondary); font-size:1.2rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all 200ms var(--ease-out);
}
.project-modal-close:hover { background:var(--bg-card-hover); color:var(--text-primary); }

.project-modal-image {
  flex:0 0 50%; position:relative; overflow:hidden; background:#111;
}
.project-modal-image img {
  width:100%; height:100%; object-fit:cover;
}

.project-modal-info {
  flex:1; padding:3rem 2.5rem; display:flex; flex-direction:column; justify-content:center;
}
.project-modal-cat {
  display:inline-block; font-size:0.7rem; font-weight:600; letter-spacing:0.15em;
  text-transform:uppercase; color:var(--accent); background:rgba(var(--accent-rgb),0.1);
  padding:0.35rem 0.85rem; border-radius:6px; margin-bottom:1rem; width:fit-content;
}
.project-modal-title {
  font-size:1.8rem; font-weight:700; letter-spacing:-0.02em; margin-bottom:1rem;
  color:var(--text-primary);
}
.project-modal-desc {
  font-size:0.95rem; color:var(--text-secondary); line-height:1.7; margin-bottom:2rem;
}
.project-modal-link {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.75rem 1.5rem; border-radius:10px; font-size:0.9rem; font-weight:600;
  background:var(--accent); color:#fff; text-decoration:none; width:fit-content;
  transition:transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.project-modal-link:active { transform:scale(0.97); }
@media (hover:hover) and (pointer:fine) {
  .project-modal-link:hover { transform:translateY(-2px); box-shadow:0 8px 25px var(--accent-glow); }
}
.project-modal-link i { font-size:0.8rem; transition:transform 200ms var(--ease-out); }
@media (hover:hover) and (pointer:fine) {
  .project-modal-link:hover i { transform:translateX(3px); }
}

@media (max-width:768px) {
  .project-modal-content { flex-direction:column; max-height:90vh; overflow-y:auto; }
  .project-modal-image { flex:none; height:auto; max-height:50vh; }
  .project-modal-image img { height:auto; min-height:200px; }
  .project-modal-info { padding:2rem 1.5rem; }
  .project-modal-title { font-size:1.4rem; }
}

/* ========================================
   HOW WE WORK
   ======================================== */
.hw-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-xl); }
.hw-card {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:var(--space-2xl); background:var(--bg-card); border:1px solid var(--border-subtle);
  border-radius:20px; position:relative; overflow:hidden;
  transition:transform 300ms var(--ease-out), background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .hw-card:hover { background:var(--bg-card-hover); border-color:var(--border-medium); transform:translateY(-6px); }
}
.hw-icon {
  width:64px; height:64px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(var(--accent-rgb),0.15) 0%, rgba(56,189,248,0.15) 100%);
  border-radius:16px; margin-bottom:var(--space-lg); font-size:1.5rem;
  color:var(--accent);
}
.hw-card h3 { font-size:1.25rem; font-weight:700; margin-bottom:var(--space-md); }
.hw-card p { font-size:0.9rem; color:var(--text-secondary); line-height:1.6; }
.hw-step {
  position:absolute; top:1rem; right:1rem; font-size:3rem; font-weight:800;
  color:var(--text-primary); opacity:0.04; line-height:1;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-scroll-wrapper {
  display:flex; gap:var(--space-lg); width:100%; max-width:1200px; height:480px;
  overflow:hidden; position:relative;
  mask-image:linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image:linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}
.testimonials-column {
  display:flex; flex-direction:column; gap:var(--space-lg); width:calc(33.333% - var(--space-lg));
  flex-shrink:0; animation:scrollUp 22s linear infinite;
}
.testimonials-column:nth-child(2) { animation-name:scrollDown; animation-duration:26s; }
.testimonials-column:nth-child(3) { animation-duration:24s; }
@media (hover:hover) and (pointer:fine) {
  .testimonials-scroll-wrapper:hover .testimonials-column { animation-play-state:paused; }
}
.testimonial-card {
  display:flex; flex-direction:column; padding:var(--space-2xl);
  background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:20px;
  text-align:left; flex-shrink:0; min-height:180px;
  transition:transform 300ms var(--ease-out), background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .testimonial-card:hover { background:var(--bg-card-hover); border-color:var(--border-medium); }
}
.testimonial-stars { display:flex; gap:2px; margin-bottom:var(--space-md); color:var(--accent); font-size:0.85rem; }
.testimonial-card p { font-size:0.9rem; color:var(--text-secondary); line-height:1.7; margin-bottom:var(--space-lg); flex:1; }
.testimonial-card h3 { font-size:0.8rem; font-weight:600; color:var(--text-tertiary); margin-top:auto; }

@keyframes scrollUp { 0% { transform:translateY(0); } 100% { transform:translateY(-50%); } }
@keyframes scrollDown { 0% { transform:translateY(-50%); } 100% { transform:translateY(0); } }

/* ========================================
   ABOUT
   ======================================== */
.about-grid { display:flex; align-items:center; gap:var(--space-3xl); }
.about-image-col { flex:0 0 350px; }
.about-image-wrapper { position:relative; }
.about-image-wrapper img { width:100%; height:auto; border-radius:20px; object-fit:cover; }
.about-content-col { flex:1; }
.about-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-md); margin-top:var(--space-2xl); }
.about-card {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:var(--space-xl); background:var(--bg-card); border:1px solid var(--border-subtle);
  border-radius:16px;
  transition:transform 300ms var(--ease-out), background 300ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) { .about-card:hover { transform:translateY(-3px); background:var(--bg-card-hover); } }
.about-card i { font-size:1.25rem; color:var(--accent); margin-bottom:var(--space-md); }
.about-card h3 { font-size:1rem; font-weight:700; margin-bottom:var(--space-xs); }
.about-card p { font-size:0.8rem; color:var(--text-secondary); }

/* ========================================
   FAQ
   ======================================== */
.faq-list { max-width:800px; margin:0 auto; display:flex; flex-direction:column; gap:var(--space-md); }
.faq-item {
  background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:16px;
  overflow:hidden;
  transition:transform 300ms var(--ease-out), background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) { .faq-item:hover { border-color:var(--border-medium); } }
.faq-item[open] { background:var(--bg-card-hover); }
.faq-item summary {
  padding:var(--space-lg) var(--space-xl); font-size:1rem; font-weight:600; cursor:pointer;
  list-style:none; display:flex; align-items:center; justify-content:space-between;
  transition:color 200ms var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after {
  content:'\002B'; font-size:1.5rem; font-weight:300; color:var(--text-tertiary);
  transition:transform 200ms var(--ease-out);
}
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item summary:hover { color:var(--accent); }
.faq-item p { padding:0 var(--space-xl) var(--space-xl); font-size:0.9rem; color:var(--text-secondary); line-height:1.7; }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-card {
  position:relative; text-align:center; max-width:800px; margin:0 auto;
  padding:var(--space-4xl); background:var(--bg-card); border:1px solid var(--border-subtle);
  border-radius:24px; overflow:hidden;
}
.cta-glow {
  position:absolute; top:-50%; left:50%; transform:translateX(-50%);
  width:400px; height:400px; border-radius:50%; opacity:0.15; filter:blur(80px);
  background:var(--accent); pointer-events:none;
}
.cta-btn { margin-top:var(--space-2xl); }

/* ========================================
   FOOTER - Premium
   ======================================== */
.footer {
  position:relative; background:transparent;
  border-top:1px solid var(--border-subtle);
  padding:0 0 0;
}
.footer::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent 0%, var(--accent) 15%, var(--accent-secondary) 50%, var(--accent) 85%, transparent 100%);
  opacity:0.6;
}
.footer-top {
  display:flex; align-items:center; justify-content:space-between;
  padding:var(--space-3xl) 0; gap:var(--space-xl);
  border-bottom:1px solid var(--border-subtle);
}
.footer-brand { display:flex; align-items:center; gap:var(--space-md); flex:1; }
.footer-logo { height:2rem; width:auto; }
.logo-dark { display:none; }
.logo-light { display:block; }
html.light .logo-dark { display:block; }
html.light .logo-light { display:none; }
.footer-brand-text { flex:1; }
.footer-brand-text h3 { font-size:1rem; font-weight:700; margin-bottom:2px; }
.footer-brand-text p { font-size:0.8rem; color:var(--text-secondary); }
.footer-nav { display:flex; gap:var(--space-3xl); }
.footer-col { display:flex; flex-direction:column; gap:var(--space-sm); }
.footer-col-title { font-size:0.7rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-tertiary); margin-bottom:var(--space-xs); }
.footer-col a { font-size:0.85rem; color:var(--text-secondary); transition:color 200ms var(--ease-out); }
@media (hover:hover) and (pointer:fine) { .footer-col a:hover { color:var(--accent); } }
.footer-social-col { display:flex; flex-direction:column; align-items:flex-end; gap:var(--space-md); }
.footer-social { display:flex; gap:var(--space-sm); }
.footer-social a {
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border-radius:10px; border:1px solid var(--border-subtle); color:var(--text-secondary);
  font-size:0.9rem; transition:all 250ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .footer-social a:hover { color:#fff; border-color:transparent; background:var(--accent); transform:translateY(-2px); box-shadow:0 4px 15px var(--accent-glow); }
}
.footer-back-top {
  display:inline-flex; align-items:center; gap:6px; padding:6px 14px;
  border-radius:8px; font-size:0.7rem; font-weight:600; color:var(--text-tertiary);
  border:1px solid var(--border-subtle); background:transparent; cursor:pointer;
  transition:all 200ms var(--ease-out); font-family:var(--fuente);
}
@media (hover:hover) and (pointer:fine) {
  .footer-back-top:hover { color:var(--accent); border-color:var(--accent); background:rgba(var(--accent-rgb),0.05); }
}
.footer-back-top i { font-size:0.6rem; transition:transform 200ms var(--ease-out); }
@media (hover:hover) and (pointer:fine) { .footer-back-top:hover i { transform:translateY(-2px); } }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding:var(--space-lg) 0;
}
.footer-bottom p { font-size:0.75rem; color:var(--text-tertiary); }
.footer-bottom-links { display:flex; gap:var(--space-lg); }
.footer-bottom-links a { font-size:0.75rem; color:var(--text-tertiary); transition:color 200ms var(--ease-out); }
@media (hover:hover) and (pointer:fine) { .footer-bottom-links a:hover { color:var(--accent); } }

/* ========================================
   PRICING PAGE
   ======================================== */
.hero-section {
  position:relative; width:100%; min-height:100vh; display:flex;
  align-items:center; justify-content:center; text-align:center; overflow:hidden;
}
.hero-section .video-container { position:absolute; inset:0; z-index:0; }
.hero-section video { position:absolute; top:50%; left:50%; min-width:100%; min-height:100%; transform:translate(-50%,-50%); object-fit:cover; }
.hero-section .overlay { position:absolute; inset:0; background:rgba(0,0,0,0.5); z-index:1; }
html.light .hero-section .overlay { background:rgba(250,250,250,0.3); }
.hero-text { position:relative; z-index:2; padding:0 var(--space-xl); }
.hero-subtitle { font-size:1rem; color:var(--text-secondary); margin-bottom:var(--space-md); }
.hero-title { font-size:clamp(2.5rem,5vw,4rem); font-weight:700; line-height:1.1; letter-spacing:-0.02em; margin-bottom:var(--space-md); }
.hero-desc { font-size:1.1rem; color:var(--text-secondary); max-width:500px; margin:0 auto; }

.container-inner { max-width:1100px; margin:0 auto; padding:0 var(--space-xl); }
.section-label { font-size:0.7rem; font-weight:600; letter-spacing:3px; text-transform:uppercase; color:var(--text-tertiary); margin-bottom:var(--space-md); }
.section-title { font-size:clamp(2rem,4vw,2.8rem); font-weight:700; line-height:1.2; letter-spacing:-0.02em; margin-bottom:var(--space-md); }
.section-title.centered { text-align:center; }
.section-desc { font-size:1rem; color:var(--text-secondary); margin-bottom:var(--space-md); }
.section-desc em { color:var(--text-primary); font-style:italic; }
.body-text { font-size:0.95rem; color:var(--text-secondary); line-height:1.7; margin-bottom:var(--space-md); }
.body-text.centered { text-align:center; max-width:600px; margin-left:auto; margin-right:auto; }

.pricing-section { background:var(--bg-primary); padding:var(--space-4xl) 0; }
.card-container { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-md); margin-top:var(--space-3xl); }
.card {
  background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:16px;
  padding:var(--space-xl); text-align:left;
  transition:transform 300ms var(--ease-out), background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) { .card:hover { transform:translateY(-4px); border-color:var(--border-medium); } }
.card-icon {
  width:44px; height:44px; background:var(--bg-card-hover); border-radius:12px;
  display:flex; align-items:center; justify-content:center; margin-bottom:var(--space-lg); color:var(--text-secondary);
}
.card h3 { font-size:1rem; font-weight:700; line-height:1.4; margin-bottom:var(--space-md); }
.card p { font-size:0.82rem; color:var(--text-secondary); line-height:1.6; }

.split-layout { display:flex; align-items:center; gap:var(--space-3xl); }
.split-layout.split-reverse { flex-direction:row-reverse; }
.split-text { flex:1; }
.split-image { flex:1; display:flex; justify-content:center; }
.big-title { font-size:clamp(2rem,4vw,2.8rem); font-weight:700; line-height:1.15; letter-spacing:-0.02em; margin-bottom:var(--space-xl); }
.big-title em { font-style:italic; color:#c084fc; }
.highlight { color:#a78bfa; }
.tags-row { display:flex; gap:var(--space-md); margin-top:var(--space-2xl); }
.tag {
  display:inline-block; padding:0.5rem 1.25rem; font-size:0.65rem; font-weight:600;
  letter-spacing:1.5px; text-transform:uppercase; color:var(--text-secondary);
  border:1px solid var(--border-medium); border-radius:20px; background:transparent;
  transition:color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) { .tag:hover { border-color:var(--accent); color:var(--accent); } }

.investment-section, .proposal-section, .custom-proposal-section { background:var(--bg-primary); padding:var(--space-4xl) 0; }

.mock-browser { width:100%; max-width:460px; background:#1a1b23; border:1px solid var(--border-subtle); border-radius:12px; overflow:hidden; }
.mock-browser.dark { background:#111218; }
.mock-browser-bar { display:flex; gap:6px; padding:12px 16px; background:rgba(255,255,255,0.04); border-bottom:1px solid var(--border-subtle); }
.dot { width:10px; height:10px; border-radius:50%; }
.dot-red { background:#ff5f57; }
.dot-yellow { background:#febc2e; }
.dot-green { background:#28c840; }
.mock-browser-content { padding:var(--space-2xl); min-height:240px; display:flex; align-items:center; justify-content:center; background:#f5f5f0; }
.mock-browser-content.dark-content { background:#0d0e12; }
.mock-heading { font-size:1.6rem; font-weight:400; color:#1a1a1a; line-height:1.3; text-align:left; }
.mock-heading strong { font-weight:800; }
.mock-brand { font-size:2.5rem; font-weight:800; color:#fff; letter-spacing:2px; }

.btn-outline {
  display:inline-flex; align-items:center; margin-top:var(--space-xl); padding:0.875rem 2rem;
  font-family:var(--fuente); font-size:0.9rem; font-weight:600; color:var(--text-primary);
  background:transparent; border:1px solid var(--border-medium); border-radius:12px;
  transition:transform 160ms var(--ease-out), background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) { .btn-outline:hover { background:var(--bg-card); border-color:rgba(255,255,255,0.4); transform:translateY(-2px); } }
.btn-outline:active { transform:scale(0.97); }
html.light .btn-outline { color:var(--text-primary); border-color:var(--border-medium); }
html.light .btn-outline:hover { background:rgba(0,0,0,0.05); border-color:rgba(0,0,0,0.3); }

.custom-card { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:24px; overflow:hidden; text-align:center; }
.custom-card-image { padding:var(--space-3xl) var(--space-2xl) 0; display:flex; justify-content:center; }
.mock-laptop { display:flex; flex-direction:column; align-items:center; }
.mock-laptop-screen {
  width:420px; height:260px; background:linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  border-radius:8px 8px 0 0; border:2px solid #555;
  display:flex; align-items:center; justify-content:center; padding:var(--space-xl);
}
.mock-explore { font-size:1.8rem; font-weight:700; color:#fff; line-height:1.2; text-align:left; }
.mock-laptop-base { width:460px; height:14px; background:linear-gradient(to bottom, #888, #aaa); border-radius:0 0 6px 6px; }
.custom-card-text { padding:var(--space-2xl) var(--space-3xl) var(--space-3xl); }
.center-btn { margin-top:var(--space-xl); }
.btn-solid {
  display:inline-flex; align-items:center; padding:0.875rem 2rem; font-family:var(--fuente);
  font-size:0.95rem; font-weight:600; color:#000; background:#fff; border:none; border-radius:12px;
  transition:transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) { .btn-solid:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(255,255,255,0.15); } }
.btn-solid:active { transform:scale(0.97); }
html.light .btn-solid { background:#000; color:#fff; }
html.light .btn-solid:hover { box-shadow:0 8px 30px rgba(0,0,0,0.2); }

/* ========================================
   QUOTE FORM PAGE
   ======================================== */
.cotizacion-section { width:100%; min-height:100vh; background:var(--bg-primary); display:flex; flex-direction:column; padding-top:100px; }
.cotizacion-container { max-width:900px; margin:0 auto; padding:0 var(--space-xl); }
.cotizacion-title { text-align:center; font-size:clamp(3rem,6vw,5rem); font-weight:700; margin-bottom:var(--space-md); }
html.light .cotizacion-title { color:#1e293b; }
.cotizacion-subtitle { text-align:center; font-size:1.1rem; color:var(--text-secondary); margin-bottom:var(--space-3xl); }
.cotizacion-txt { text-align:center; font-size:0.75rem; font-weight:600; letter-spacing:0.3em; text-transform:uppercase; color:var(--accent); margin-bottom:var(--space-md); position:relative; z-index:2; }
.get-quote { position:relative; width:100%; min-height:60vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:0 var(--space-xl); overflow:hidden; background:#050510; }
html.light .get-quote { background:#e8ecf4; }
#get-quote canvas, #lightBeams { position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.get-your-quote { border:1px solid var(--border-medium); width:100%; max-width:700px; margin:0 auto; padding:var(--space-2xl); border-radius:20px; background:rgba(10,10,30,0.6); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); position:relative; z-index:2; }
html.light .get-your-quote { background:rgba(255,255,255,0.7); border-color:rgba(0,0,0,0.1); }
.quote-title { font-size:1.8rem; font-weight:700; margin-bottom:var(--space-md); }
html.light .quote-title { color:#1e293b; }
.get-your-quote p { font-size:0.95rem; color:var(--text-secondary); margin-bottom:var(--space-xl); line-height:1.6; }
.dark-gradient { background:linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%); height:80px; position:relative; z-index:1; margin-top:-40px; }

.progress-container { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:var(--space-3xl); position:relative; padding:0 var(--space-md); }
.progress-line { position:absolute; top:20px; left:40px; right:40px; height:2px; background:var(--border-subtle); z-index:0; }
.progress-line-fill { height:100%; background:var(--accent); transition:width 400ms var(--ease-out); width:0%; border-radius:1px; }
.progress-step { display:flex; flex-direction:column; align-items:center; z-index:1; cursor:pointer; }
.step-circle {
  width:40px; height:40px; border-radius:50%; background:var(--bg-primary); border:2px solid var(--border-medium);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.8rem;
  transition:all 200ms var(--ease-out); color:var(--text-tertiary);
}
html.light .step-circle { background:#fff; border-color:#d1d5db; }
.step-circle.active { border-color:var(--accent); background:var(--accent); color:#000; box-shadow:0 0 20px var(--accent-glow); }
.step-circle.completed { border-color:var(--accent); background:var(--accent); color:#000; }
.step-label { margin-top:var(--space-sm); font-size:0.7rem; color:var(--text-tertiary); text-align:center; max-width:80px; transition:color 200ms var(--ease-out); }
.step-label.active, .step-label.completed { color:var(--text-primary); }

.form-card { background:var(--bg-card); backdrop-filter:blur(20px); border-radius:20px; padding:var(--space-2xl); margin-bottom:var(--space-xl); border:1px solid var(--border-subtle); }
html.light .form-card { background:rgba(255,255,255,0.8); border-color:rgba(0,0,0,0.08); }
.form-step { display:none; }
.form-step.active { display:flex; flex-direction:column; animation:fadeIn 400ms var(--ease-out); }
@keyframes fadeIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.step-title { font-size:1.4rem; font-weight:700; margin-bottom:var(--space-sm); }
.step-description { font-size:0.9rem; color:var(--text-secondary); margin-bottom:var(--space-xl); }

.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-lg); }
.form-group { display:flex; flex-direction:column; }
.form-group.full-width { grid-column:1/-1; }
.form-group label { font-size:0.85rem; font-weight:600; margin-bottom:var(--space-sm); color:var(--text-secondary); }
.form-group label .required { color:#ef4444; }
.form-group input, .form-group select, .form-group textarea {
  padding:0.875rem 1rem; background:rgba(0,0,0,0.5); border:1px solid var(--border-subtle);
  border-radius:12px; color:var(--text-primary); font-size:0.95rem; font-family:var(--fuente);
  transition:border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
html.light .form-group input, html.light .form-group select, html.light .form-group textarea { background:rgba(255,255,255,0.8); color:var(--text-primary); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(var(--accent-rgb),0.15); }
.form-group input::placeholder, .form-group textarea::placeholder { color:var(--text-tertiary); }
.form-group select { cursor:pointer; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:20px; padding-right:40px; }
.form-group select option { background:var(--bg-primary); color:var(--text-primary); }
.form-group textarea { resize:vertical; min-height:120px; }
.label-txt { font-size:0.75rem; color:var(--text-tertiary); margin-top:var(--space-xs); margin-bottom:0; }

.checkbox-grid { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-md); }
.checkbox-item {
  display:flex; align-items:center; padding:var(--space-md); background:rgba(0,0,0,0.4);
  border:1px solid var(--border-subtle); border-radius:12px; cursor:pointer;
  transition:all 200ms var(--ease-out);
}
html.light .checkbox-item { background:rgba(255,255,255,0.6); }
.checkbox-item:hover { border-color:var(--border-medium); background:var(--bg-card-hover); }
.checkbox-item.selected { border-color:var(--accent); background:rgba(var(--accent-rgb),0.1); }
.checkbox-item input[type="checkbox"], .checkbox-item input[type="radio"] { display:none; }
.checkbox-custom {
  width:22px; height:22px; border:2px solid var(--text-tertiary); border-radius:6px;
  margin-right:var(--space-md); display:flex; align-items:center; justify-content:center;
  transition:all 200ms var(--ease-out); flex-shrink:0;
}
.checkbox-item.selected .checkbox-custom { background:var(--accent); border-color:var(--accent); }
.checkbox-custom::after { content:'\2713'; color:#fff; font-size:14px; font-weight:bold; opacity:0; transition:opacity 200ms var(--ease-out); }
.checkbox-item.selected .checkbox-custom::after { opacity:1; }
.checkbox-label { font-size:0.9rem; color:var(--text-secondary); }

.radio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-md); }
.radio-item {
  display:flex; flex-direction:column; align-items:center; padding:var(--space-xl) var(--space-md);
  background:rgba(0,0,0,0.4); border:2px solid var(--border-subtle); border-radius:16px;
  cursor:pointer; transition:all 200ms var(--ease-out); text-align:center;
}
html.light .radio-item { background:rgba(255,255,255,0.6); }
.radio-item:hover { border-color:var(--border-medium); background:var(--bg-card-hover); }
.radio-item.selected { border-color:var(--accent); background:rgba(var(--accent-rgb),0.1); }
.radio-item input[type="radio"] { display:none; }
.radio-circle {
  width:24px; height:24px; border:2px solid var(--text-tertiary); border-radius:50%;
  margin-bottom:var(--space-md); display:flex; align-items:center; justify-content:center;
  transition:all 200ms var(--ease-out);
}
.radio-item.selected .radio-circle { border-color:var(--accent); }
.radio-circle::after { content:''; width:12px; height:12px; background:var(--accent); border-radius:50%; opacity:0; transition:opacity 200ms var(--ease-out), transform 200ms var(--ease-out); transform:scale(0.5); }
.radio-item.selected .radio-circle::after { opacity:1; transform:scale(1); }
.radio-title { font-size:1rem; font-weight:700; margin-bottom:var(--space-xs); }
.radio-price { font-size:1.25rem; font-weight:800; color:var(--accent); margin-bottom:var(--space-xs); }
.radio-description { font-size:0.75rem; color:var(--text-tertiary); }

.form-buttons { display:flex; justify-content:space-between; margin-top:var(--space-xl); gap:var(--space-md); }
.btn { padding:0.875rem 2rem; border-radius:12px; font-size:0.95rem; font-weight:600; cursor:pointer; border:none; font-family:var(--fuente); transition:all 160ms var(--ease-out); }
.btn:active { transform:scale(0.97); }
.btn-secondary { background:var(--bg-card); color:var(--text-secondary); border:1px solid var(--border-medium); }
.btn-secondary:hover { background:var(--bg-card-hover); }
.btn-primary { background:linear-gradient(135deg, #fff 0%, #ccc 100%); color:#000; box-shadow:0 4px 20px rgba(255,255,255,0.15); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(255,255,255,0.2); }
html.light .btn-primary { background:linear-gradient(135deg, #000 0%, #333 100%); color:#fff; box-shadow:0 4px 20px rgba(0,0,0,0.15); }
html.light .btn-primary:hover { box-shadow:0 8px 30px rgba(0,0,0,0.2); }
.btn-success { background:linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); color:#fff; padding:1rem 3rem; font-size:1.05rem; box-shadow:0 4px 20px var(--accent-glow); }
.btn-success:hover { transform:translateY(-2px); box-shadow:0 8px 30px var(--accent-glow); }
.form-note { text-align:center; font-size:0.85rem; color:var(--text-tertiary); margin-top:var(--space-xl); }

.summary-section { margin-bottom:var(--space-xl); }
.summary-section-title { font-size:1rem; font-weight:700; color:var(--accent); margin-bottom:var(--space-md); padding-bottom:var(--space-sm); border-bottom:1px solid var(--border-subtle); }
.summary-grid { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-md); }
.summary-item { display:flex; flex-direction:column; }
.summary-item-label { font-size:0.75rem; color:var(--text-tertiary); margin-bottom:2px; }
.summary-item-value { font-size:0.95rem; color:var(--text-secondary); font-weight:500; }
.summary-item.full-width { grid-column:1/-1; }
.total-card { background:linear-gradient(135deg, rgba(var(--accent-rgb),0.15) 0%, rgba(56,189,248,0.15) 100%); border:1px solid rgba(var(--accent-rgb),0.2); border-radius:16px; padding:var(--space-xl); text-align:center; margin-top:var(--space-xl); }
.total-label { font-size:1rem; color:var(--text-secondary); margin-bottom:var(--space-xs); }
.total-amount { font-size:2.5rem; font-weight:800; background:linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.total-period { font-size:0.9rem; color:var(--text-tertiary); }

/* ========================================
   ANIMATIONS - Emil Kowalski
   ======================================== */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 500ms cubic-bezier(0.16,1,0.3,1), transform 500ms cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes scaleIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
@keyframes flotar { 0%,100% { transform:rotate(var(--rotate,0deg)) translateY(0px) translateZ(0px); } 50% { transform:rotate(var(--rotate,0deg)) translateY(calc(-1 * var(--y, 8px))) translateZ(5px); } }
.flotar { animation:flotar var(--speed, 5s) ease-in-out infinite; }

:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:1024px) {
  .hero-image-composition { width:480px; height:500px; }
  .hero-new-title { margin-top:-50px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .hw-grid, .categories-grid { grid-template-columns:repeat(2,1fr); }
  .testimonials-scroll-wrapper { height:380px; }
  .testimonials-column { width:calc(50% - var(--space-md)); }
  .testimonials-column:nth-child(3) { display:none; }
  .card-container { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px) {
  .we-create-grid { flex-direction:column; gap:var(--space-2xl); text-align:center; }
  .we-right .section-desc { margin:0 auto; }
  .about-grid { flex-direction:column; gap:var(--space-2xl); }
  .about-image-col { flex:none; width:100%; }
  .about-image-wrapper img { max-width:350px; margin:0 auto; height:auto; }
  .about-content-col { text-align:center; }
  .about-content-col .section-desc { margin:0 auto; }
  .split-layout, .split-layout.split-reverse { flex-direction:column; gap:var(--space-2xl); }
  .split-text { text-align:center; }
  .tags-row { justify-content:center; }
  .mock-laptop-screen { width:320px; height:200px; }
  .mock-laptop-base { width:350px; }
}
@media (max-width:768px) {
  .hero-new-title { font-size:clamp(1.8rem,7vw,2.5rem); margin-top:-30px; }
  .hero-image-composition { width:380px; height:400px; }
  .stats-grid { grid-template-columns:1fr 1fr; gap:var(--space-md); }
  .hw-grid, .about-cards, .categories-grid { grid-template-columns:1fr; }
  .testimonials-scroll-wrapper { height:300px; }
  .testimonials-column { width:100%; }
  .testimonials-column:nth-child(2), .testimonials-column:nth-child(3) { display:none; }
  .our-work-center { padding:var(--space-lg); }
  .our-work-center h2 { font-size:1.8rem; }
  .form-grid, .checkbox-grid { grid-template-columns:1fr; }
  .radio-grid { grid-template-columns:1fr; }
  .card-container { grid-template-columns:1fr; }
  .about-cards { grid-template-columns:1fr; }
  .footer-top { flex-direction:column; text-align:center; }
  .footer-nav { flex-direction:column; gap:var(--space-xl); text-align:center; }
  .footer-social-col { align-items:center; }
  .footer-bottom { flex-direction:column; gap:var(--space-sm); text-align:center; }
  .footer-bottom-links { justify-content:center; }
}
@media (max-width:600px) {
  .stats-grid { grid-template-columns:1fr 1fr; }
  .faq-item summary { font-size:0.9rem; padding:var(--space-md); }
  .cta-card { padding:var(--space-2xl); }
  .mock-laptop-screen { width:260px; height:160px; }
  .mock-laptop-base { width:280px; }
  .mock-explore { font-size:1.2rem; }
  .mock-brand { font-size:1.5rem; }
  .custom-card-text { padding:var(--space-xl); }
  .ow-img { display:none !important; }
}
@media (max-width:375px) {
  .hero-new-title { font-size:1.6rem; margin-top:-20px; }
  .hero-image-composition { width:320px; height:340px; }
  .stats-grid { grid-template-columns:1fr; }
  .stat-item { padding:1rem; }
  .stat-info { font-size:2rem; }
}

/* Touch devices */
@media (hover:none) and (pointer:coarse) {
  .card:hover, .stat-item:hover, .hw-card:hover, .testimonial-card:hover, .about-card:hover { transform:none; }
  .ow-img { display:none !important; }
}

/* Print */
@media print {
  header, .video-container, .scroll-indicator { display:none !important; }
  body { background:white; color:black; }
  .hero-new { min-height:auto; padding:2rem 0; }
}

/* Reduced Motion */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
  .reveal { opacity:1; transform:none; }
  .carousel-track { animation:none !important; }
}
