/* === Home page specific === */

/* Hero */
.hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 700px) {
  .hero { padding: 110px 0 40px; }
  .hero-grid { gap: 24px; }
  .hero-meta { gap: 24px; margin-top: 32px; }
  .hero-meta-num { font-size: 24px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 12px 20px; font-size: 13.5px; }
  .watermark-logo { display: none; }
}
.hero h1 {
  font-size: clamp(48px, 8vw, 116px);
  line-height: 1.1;
  margin-bottom: 32px;
  font-weight: 600;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  padding-right: 0.06em;
  padding-bottom: 0.08em;
  letter-spacing: -0.015em;
}
.section-title, h1, h2, h3 { padding-right: 0.04em; }
.hero h1 .word { display: inline-block; }
.hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-family: 'Outfit', serif;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.45;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-meta-label { font-size: 13px; color: var(--text-muted); }

/* Hero visual collage */
.hero-visual {
  position: relative;
  height: 560px;
}
@media (max-width: 1000px) { .hero-visual { height: 460px; max-width: 480px; margin: 0 auto; } }
@media (max-width: 700px) { .hero-visual { display: none; } }

.hv-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: 0 24px 64px -12px rgba(0,0,0,0.35);
  transition: transform 0.5s var(--ease);
}
.hv-1 {
  width: 60%; height: 70%;
  top: 0; left: 0;
  background: linear-gradient(135deg, rgba(76,29,149,0.55), rgba(124,58,237,0.35)), url('assets/hero/video.webp');
  background-size: cover;
  background-position: center;
  animation: floatY 7s ease-in-out infinite;
}
.hv-2 {
  width: 50%; height: 55%;
  bottom: 0; right: 0;
  background: linear-gradient(135deg, rgba(26,11,58,0.5), rgba(45,20,84,0.6)), url('assets/hero/foto.webp');
  background-size: cover;
  background-position: center;
  animation: floatY 9s ease-in-out infinite reverse;
}
.hv-3 {
  width: 38%; height: 38%;
  top: 14%; right: 6%;
  background: linear-gradient(135deg, rgba(196,181,253,0.35), rgba(168,85,247,0.5)), url('assets/hero/web.webp');
  background-size: cover;
  background-position: center;
  animation: floatY 11s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

.hv-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px);
}
.hv-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.4);
  padding: 5px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.hv-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hv-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-3);
}
.hv-play-btn::before {
  content: '';
  width: 0; height: 0;
  border-left: 16px solid currentColor;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

/* Marquee */
.marquee {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  line-height: 1;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
  padding-right: 0.06em;
}
.marquee-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: clamp(8px, 0.9vw, 14px);
  line-height: 1;
  color: var(--primary-2);
  font-weight: 700;
  flex: none;
  width: 14px; height: 14px;
  background: var(--primary-2);
  border-radius: 50%;
  text-indent: -9999px;
  overflow: hidden;
  align-self: center;
}
.marquee-item .ghost,
.marquee-item.ghost {
  -webkit-text-stroke: 1px var(--text-muted);
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Services bento */
.services-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
@media (max-width: 900px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
}
.svc {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.svc:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.svc-1 { grid-column: span 3; grid-row: span 2; min-height: 480px;
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(168,85,247,0.05));
  border-color: rgba(168,85,247,0.25);
}
.svc-2 { grid-column: span 3; }
.svc-3 { grid-column: span 3; }
.svc-4 { grid-column: span 2; }
.svc-5 { grid-column: span 2; }
.svc-6 { grid-column: span 2; }
@media (max-width: 900px) {
  .svc, .svc-1, .svc-2, .svc-3, .svc-4, .svc-5, .svc-6 { grid-column: span 2 !important; min-height: 240px; }
  .svc-1 { min-height: 320px; }
}

.svc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.svc-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  margin: 12px 0 8px;
  font-family: 'Outfit', sans-serif;
}
.svc-1 .svc-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.svc-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 380px;
}
.svc-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-top: 24px;
  transition: all 0.3s var(--ease);
}
.svc:hover .svc-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: rotate(-45deg);
}

.svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-card-hover);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.svc-icon svg { width: 28px; height: 28px; color: var(--primary-2); }

.svc-1 .svc-decor {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--grad-primary);
  opacity: 0.4;
  filter: blur(40px);
}

/* Process timeline */
.process {
  background: var(--bg-2);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  position: relative;
}
.process-bar-track {
  position: relative;
  height: 2px;
  background: var(--border);
  margin-top: 48px;
  border-radius: 2px;
  overflow: hidden;
}
.process-bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 25%;
  background: var(--grad-primary);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--primary-glow);
  opacity: 0;
  transition: left 0.5s var(--ease), width 0.5s var(--ease), opacity 0.3s var(--ease);
}
.process-bar-fill.is-on { opacity: 1; }
@media (max-width: 800px) {
  .process-bar-fill { opacity: 1; width: 100% !important; left: 0 !important; }
  .process { padding: 48px 24px; }
}
@media (max-width: 800px) { .process { padding: 56px 28px; } }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 800px) { .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }
.proc-step {
  position: relative;
  padding-top: 32px;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.proc-step:hover { transform: translateY(-3px); }
.proc-step::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 1px;
  background: transparent;
}
.proc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.proc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.proc-desc { font-size: 14.5px; color: var(--text-muted); }

/* Portfolio bento */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}
.pf-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease);
}
.pf-item:hover { transform: translateY(-4px); }
.pf-item:hover .pf-overlay { opacity: 1; }
.pf-item:hover .pf-bg { transform: scale(1.05); }

.pf-bg {
  position: absolute; inset: 0;
  transition: transform 0.6s var(--ease);
  background-size: cover; background-position: center;
}
video.pf-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.5);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  pointer-events: none;
}
.pf-play-badge svg {
  width: 28px; height: 28px;
  color: white;
  margin-left: 3px;
}
.pf-item:hover .pf-play-badge {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(168, 85, 247, 1);
}
.pf-item.pf-playing { cursor: default; }
.pf-item.pf-playing .pf-overlay { opacity: 0; pointer-events: none; }
.pf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,6,18,0.95));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
.pf-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
}

.pf-1 { grid-column: span 7; grid-row: span 2; }
.pf-2 { grid-column: span 5; grid-row: span 2; }
.pf-3 { grid-column: span 4; grid-row: span 2; }
.pf-4 { grid-column: span 4; grid-row: span 2; }
.pf-5 { grid-column: span 4; grid-row: span 2; }
@media (max-width: 900px) {
  .pf-1, .pf-2, .pf-3, .pf-4, .pf-5 { grid-column: span 2; grid-row: span 1; }
}

/* Stats strip */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } }
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.1;
  display: inline-block;
  padding-bottom: 0.1em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* Packs */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .packs-grid { grid-template-columns: 1fr; } }
.pack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.pack:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.pack.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(124,58,237,0.12), var(--bg-card));
}
.pack-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.pack-name {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pack-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.pack-price {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.pack-price small { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.pack-features {
  list-style: none;
  margin: 28px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.pack-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M4 8l3 3 5-6'/%3E%3C/svg%3E");
  background-size: cover;
}
.pack .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item.open {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}
.faq-q {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 500;
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  font-size: 18px; line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 28px 24px;
}

/* CTA banner */
.cta-banner {
  padding: 80px 64px;
  border-radius: var(--radius-xl);
  background: var(--grad-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 700px) { .cta-banner { padding: 56px 28px; } }
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15), transparent 50%);
}
.cta-banner h2 {
  font-size: clamp(36px, 5vw, 64px);
  color: white;
  margin-bottom: 20px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 32px;
  position: relative;
}
.cta-banner .btn-light {
  background: white;
  color: var(--primary-3);
  position: relative;
}
.cta-banner .btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

/* Multi-step form */
.msf {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px;
}
@media (max-width: 600px) { .msf { padding: 28px; } }
.msf-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.msf-prog-dot {
  width: 32px; height: 4px;
  border-radius: 100px;
  background: var(--border);
  transition: background 0.4s var(--ease);
}
.msf-prog-dot.on { background: var(--primary); }
.msf-prog-label {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
}
.msf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}
.msf-sub { color: var(--text-muted); margin-bottom: 28px; }
.msf-body { animation: stepIn 0.4s var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msf-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) { .msf-options { grid-template-columns: 1fr; } }
.msf-option {
  text-align: left;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 4px;
  transition: all 0.2s var(--ease);
}
.msf-option:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.msf-option.sel {
  border-color: var(--primary);
  background: rgba(124,58,237,0.12);
}
.msf-option-title { font-weight: 600; font-size: 15px; }
.msf-option-desc { font-size: 13px; color: var(--text-muted); }

.msf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.msf-pill {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 14px;
  transition: all 0.2s var(--ease);
}
.msf-pill:hover { border-color: var(--border-strong); }
.msf-pill.sel {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.msf-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.msf-actions .btn:only-child { margin-left: auto; }

.msf-success {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  max-width: 520px;
}
.msf-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: white;
  animation: scaleIn 0.5s var(--ease-elastic);
}
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
.msf-success-icon svg { width: 32px; height: 32px; }
.msf-success h3 { font-family: 'Outfit', sans-serif; font-size: 28px; margin-bottom: 12px; }
.msf-success p { color: var(--text-muted); margin-bottom: 28px; }

/* Contact two-col */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-info-card {
  display: flex; gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: all 0.25s var(--ease);
}
.contact-info-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-card-hover);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--primary-2); }
.contact-info-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.contact-info-value { font-weight: 500; font-size: 15px; }

/* Case feature */
.case-images {
  position: relative;
  height: 540px;
}
@media (max-width: 900px) {
  #case-feature { grid-template-columns: 1fr !important; }
  .case-images { height: 460px; }
}
.case-img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px -12px rgba(0,0,0,0.4);
  transition: transform 0.5s var(--ease);
}
.case-img-1 {
  width: 70%; height: 75%;
  top: 0; left: 0;
}
.case-img-2 {
  width: 56%; height: 60%;
  bottom: 0; right: 0;
}
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* Expansion section */
.expansion { padding: 80px 0; }
.expansion-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .expansion-grid { grid-template-columns: 1fr; gap: 32px; }
}
.expansion-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.iberia-path {
  stroke-dashoffset: 0;
  animation: iberiaDraw 60s linear infinite;
  filter: drop-shadow(0 0 6px rgba(168,85,247,0.45));
}
@keyframes iberiaDraw {
  to { stroke-dashoffset: -360; }
}
.canarias-halo {
  transform-origin: center;
  transform-box: fill-box;
  animation: canariasPulse 2.4s ease-in-out infinite;
}
.canarias-core {
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.9));
  animation: canariasCore 2.4s ease-in-out infinite;
}
@keyframes canariasPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.18); }
}
@keyframes canariasCore {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(168,85,247,0.65)); }
  50%      { filter: drop-shadow(0 0 14px rgba(168,85,247,1)); }
}
.city-dot circle {
  filter: drop-shadow(0 0 4px rgba(168,85,247,0.8));
}
.expansion-map {
  position: relative;
  aspect-ratio: 10 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
}
.expansion-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 90%, rgba(124,58,237,0.18), transparent 60%);
  pointer-events: none;
}
.pulse-dot {
  transform-origin: center;
  animation: pulseDot 2.4s ease-out infinite;
}
@keyframes pulseDot {
  0%   { r: 6; opacity: 0.8; }
  100% { r: 22; opacity: 0; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(15, 10, 25, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 200;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4);
  animation: cookieIn 0.4s var(--ease) 1s both;
}
[data-theme="light"] .cookie-banner {
  background: rgba(255,255,255,0.92);
  border-color: var(--border);
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p { font-size: 13px; line-height: 1.5; color: var(--text); flex: 1; }
.cookie-banner p a { color: var(--primary-2); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex: none; }
.cookie-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}
.cookie-btn:hover { border-color: var(--primary-2); }
.cookie-btn.primary { background: var(--primary); border-color: var(--primary); color: white; }
.cookie-btn.primary:hover { background: var(--primary-3); border-color: var(--primary-3); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 16px; }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* Watermark logo */
.watermark-logo {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
  filter: blur(0.5px);
}
[data-theme="light"] .watermark-logo { opacity: 0.04; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s var(--ease);
}
.testimonial:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.testimonial .quote { color: var(--primary-2); opacity: 0.7; }
.testimonial blockquote {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text);
}
.testimonial figcaption {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial figcaption strong { font-size: 14px; font-weight: 600; }
.testimonial figcaption span { font-size: 13px; color: var(--text-muted); }

/* === Automatizaciones section === */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 700px) {
  .auto-grid { grid-template-columns: 1fr; gap: 14px; }
  .auto-card { min-height: 160px; padding: 28px; }
}
@media (max-width: 900px) {
  section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .container { padding: 0 18px; }
}

/* MOBILE: force-show animated reveals — IntersectionObserver no es fiable en móvil con scroll rápido */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html.js-ready .svc,
  html.js-ready .auto-card {
    clip-path: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .reveal, .reveal-stagger,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.auto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.auto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.auto-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.auto-card:hover::before { opacity: 1; }
.auto-card-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}
.auto-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.auto-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === Text & contrast fixes === */

/* Gradient text: darker values in light mode for AA contrast */
[data-theme="light"] {
  --grad-text: linear-gradient(135deg, #5b21b6 0%, #7c3aed 60%, #4c1d95 100%);
}

/* Gradient text clip fix — prevent clipping on italic ascenders/descenders */
.grad,
.hero h1 .grad,
.section-title .grad,
h1 span[style*="transparent"],
h2 span[style*="transparent"] {
  padding-bottom: 0.22em;
  padding-top: 0.08em;
  padding-right: 0.12em;
  margin-right: -0.08em;
  display: inline-block;
  line-height: 1.15;
}

/* Ensure dim text never goes below AA-adjacent opacity */
.contact-info-label {
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
[data-theme="light"] .svc-num,
[data-theme="light"] .proc-num,
[data-theme="light"] .msf-prog-label {
  color: rgba(21, 8, 43, 0.55);
}

/* section-sub and lead text — ensure readable in both modes */
.section-sub, .hero-sub, .page-hero .lead {
  color: var(--text-muted);
  -webkit-text-fill-color: initial;
}

/* Fix: gradient text inside cards shouldn't clip on mobile */
@media (max-width: 700px) {
  .section-title { padding-right: 0.1em; }
  .section-title .grad { padding-bottom: 0.15em; }
}

/* Tweak overrides */
.stats-grid .stat-num {
  font-size: clamp(28px, 3.5vw, 44px);
  word-break: normal;
  hyphens: none;
  display: inline-block;
  padding-bottom: 0.1em;
}
[data-svc-style="bento"] .svc { /* default */ }
[data-svc-style="cards"] .services-bento {
  grid-template-columns: repeat(3, 1fr);
}
[data-svc-style="cards"] .svc,
[data-svc-style="cards"] .svc-1, [data-svc-style="cards"] .svc-2, [data-svc-style="cards"] .svc-3,
[data-svc-style="cards"] .svc-4, [data-svc-style="cards"] .svc-5, [data-svc-style="cards"] .svc-6 {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 320px;
}
@media (max-width: 900px) {
  [data-svc-style="cards"] .services-bento { grid-template-columns: 1fr; }
}
[data-svc-style="lines"] .services-bento {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
}
[data-svc-style="lines"] .svc,
[data-svc-style="lines"] .svc-1, [data-svc-style="lines"] .svc-2, [data-svc-style="lines"] .svc-3,
[data-svc-style="lines"] .svc-4, [data-svc-style="lines"] .svc-5, [data-svc-style="lines"] .svc-6 {
  grid-column: span 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 60px 1fr 200px 60px;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
}
[data-svc-style="lines"] .svc-icon, [data-svc-style="lines"] .svc-decor { display: none; }
[data-svc-style="lines"] .svc-num { margin: 0; }
[data-svc-style="lines"] .svc-title { font-size: 24px !important; margin: 0; }
[data-svc-style="lines"] .svc-arrow { margin: 0; }
@media (max-width: 700px) {
  [data-svc-style="lines"] .svc { grid-template-columns: 1fr; }
}

/* === Contacto + Nosotros unified layout === */
.nosotros-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.nosotros-form {
  position: sticky;
  top: 120px;
}
.nosotros-value-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-info-row .contact-info-card {
  flex: 1;
  min-width: 200px;
}
@media (max-width: 900px) {
  .nosotros-split { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-form { position: static; }
}

/* auto-card-icon: size for SVG icons */
.auto-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-2);
}

/* === Zig-zag layout (Servicios) === */
.zigzag-list { display: flex; flex-direction: column; gap: 96px; }
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.zigzag-row.is-reverse .zigzag-visual { order: 2; }
.zigzag-row.is-reverse .zigzag-copy { order: 1; }
.zigzag-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  box-shadow: 0 32px 80px -20px rgba(124,58,237,0.4);
  border: 1px solid var(--border);
}
.zigzag-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.zigzag-visual--media { background: #0a0612; }
.zigzag-visual--media::before { display: none; }
.zigzag-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s var(--ease);
  filter: saturate(1.05);
}
.zigzag-row:hover .zigzag-media { transform: scale(1.03); }
.zigzag-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,6,18,0.55) 0%, rgba(10,6,18,0.05) 30%, rgba(10,6,18,0.15) 65%, rgba(10,6,18,0.85) 100%),
    linear-gradient(135deg, rgba(124,58,237,0.22) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.zigzag-visual--media .zigzag-num,
.zigzag-visual--media .zigzag-tag { z-index: 2; }
.zigzag-visual--media .zigzag-tag {
  background: rgba(10,6,18,0.55);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.12);
}
/* Light variant: preserve white background of product packshots */
.zigzag-visual--light { background: #f6f5f1; }
.zigzag-visual--light .zigzag-shade {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.0) 60%, rgba(10,6,18,0.18) 100%);
}
.zigzag-visual--light .zigzag-media { object-fit: contain; padding: 18px; }
.zigzag-visual--light .zigzag-num { color: rgba(10,6,18,0.55); }
.zigzag-visual--light .zigzag-tag {
  background: rgba(255,255,255,0.85);
  color: #0a0612;
  border-color: rgba(10,6,18,0.08);
  box-shadow: 0 6px 24px -10px rgba(10,6,18,0.25);
}
.zigzag-num {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  align-self: flex-start;
}
.zigzag-tag {
  position: relative;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
  align-self: flex-end;
  max-width: 80%;
}
.zigzag-copy { padding: 16px 8px; }
.zigzag-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  padding-right: 0.06em;
}
.zigzag-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 480px;
}
.zigzag-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zigzag-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.zigzag-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 2px;
  background: var(--primary-2);
  border-radius: 2px;
}
.zigzag-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-2);
  letter-spacing: 0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--primary-2);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.zigzag-cta:hover { gap: 14px; color: var(--text); }
@media (max-width: 900px) {
  .zigzag-list { gap: 64px; }
  .zigzag-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zigzag-row.is-reverse .zigzag-visual,
  .zigzag-row.is-reverse .zigzag-copy { order: initial; }
  .zigzag-visual { aspect-ratio: 16 / 10; padding: 24px; }
}

/* === Web bento asimétrico (DisenoWebPage) === */
.web-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.web-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.web-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.web-card--feature {
  grid-column: span 4;
  grid-row: span 2;
  padding: 48px;
  background: linear-gradient(140deg, rgba(124,58,237,0.20) 0%, rgba(168,85,247,0.06) 60%, var(--bg-card) 100%);
  border-color: rgba(168,85,247,0.30);
  min-height: 380px;
}
.web-card--tall {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 380px;
}
.web-card--wide {
  grid-column: span 3;
  grid-row: span 1;
}
.web-card--small {
  grid-column: span 3;
  grid-row: span 1;
}
.web-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.web-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.web-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.web-badge--primary {
  background: var(--primary-2);
  color: white;
  box-shadow: 0 4px 16px rgba(168,85,247,0.4);
}
.web-badge--ghost {
  background: transparent;
  border: 1px solid var(--primary-2);
  color: var(--primary-2);
}
.web-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.web-card--feature .web-card-title { font-size: clamp(28px, 3.2vw, 40px); }
.web-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
.web-card--feature .web-card-desc { font-size: 17px; }
.web-card-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-2);
  letter-spacing: 0.02em;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.web-card:hover .web-card-cta { color: var(--text); }
@media (max-width: 1000px) {
  .web-bento { grid-template-columns: repeat(2, 1fr); }
  .web-card--feature,
  .web-card--tall,
  .web-card--wide,
  .web-card--small { grid-column: span 2; grid-row: auto; min-height: 220px; padding: 28px; }
  .web-card--feature { padding: 36px; }
}

/* === Tabla comparativa (DisenoWebPage) === */
.cmp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  min-width: 720px;
}
.cmp-table th,
.cmp-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.cmp-table thead th {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-top: 24px;
  padding-bottom: 24px;
}
.cmp-table th.cmp-us {
  color: var(--primary-2);
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover { background: rgba(124,58,237,0.05); }
.cmp-feat {
  font-weight: 500;
  color: var(--text);
  max-width: 420px;
}
.cmp-table td.cmp-us {
  background: rgba(124,58,237,0.10);
  border-left: 2px solid var(--primary-2);
  border-right: 2px solid var(--primary-2);
  text-align: center;
}
.cmp-table th.cmp-us { background: rgba(124,58,237,0.10); border-left: 2px solid var(--primary-2); border-right: 2px solid var(--primary-2); text-align: center; }
.cmp-table tbody tr:last-child td.cmp-us { border-bottom: 2px solid var(--primary-2); border-radius: 0 0 8px 8px; }
.cmp-table thead tr:first-child th.cmp-us { border-top: 2px solid var(--primary-2); border-radius: 8px 8px 0 0; }
.cmp-yes {
  display: inline-flex;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary-2);
  color: white;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.cmp-no {
  color: var(--text-dim);
  font-size: 20px;
  font-weight: 700;
}
.cmp-partial {
  font-style: italic;
  color: var(--text-muted);
  font-size: 13px;
}
.cmp-table td:not(.cmp-feat):not(.cmp-us),
.cmp-table th:not(.cmp-feat):not(.cmp-us) { text-align: center; }
@media (max-width: 700px) {
  .cmp-table th, .cmp-table td { padding: 12px 14px; font-size: 13px; }
  .cmp-feat { font-size: 13px; }
}

.svc.svc-feature {
  background: linear-gradient(140deg, rgba(124,58,237,0.18) 0%, rgba(168,85,247,0.05) 60%, var(--bg-card) 100%);
  border-color: rgba(168,85,247,0.30);
}

/* === Timeline Vertical Conectada (Automatizaciones) === */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 0 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 50%, rgba(124,58,237,0) 100%);
  opacity: 0.55;
  border-radius: 2px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 28px 0 56px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.timeline-node {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary-2);
  box-shadow: 0 0 0 6px rgba(168,85,247,0.12), 0 0 24px rgba(168,85,247,0.45);
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.timeline-item:hover .timeline-node {
  transform: scale(1.15);
  background: var(--primary-2);
  box-shadow: 0 0 0 8px rgba(168,85,247,0.2), 0 0 32px rgba(168,85,247,0.7);
}
.timeline-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 600;
}
.timeline-content {
  padding: 4px 0 0 8px;
}
.timeline-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  padding-right: 0.06em;
}
.timeline-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 620px;
}
.timeline-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.timeline-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--primary-2);
  border-radius: 2px;
}
@media (max-width: 600px) {
  .timeline::before { left: 21px; }
  .timeline-item { grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0 40px; }
  .timeline-node { width: 18px; height: 18px; }
}

/* === Platforms marquee (Automatizaciones) === */
.platforms-marquee {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.platforms-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: platformsScroll 45s linear infinite;
}
.platform-pill {
  flex: 0 0 auto;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.platform-sep {
  flex: 0 0 auto;
  font-size: 28px;
  color: var(--primary-2);
  opacity: 0.55;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}
@keyframes platformsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}
@media (max-width: 700px) {
  .platforms-marquee-track { gap: 16px; animation-duration: 35s; }
  .platform-sep { font-size: 22px; }
}

/* === Qualifier (Automatizaciones) === */
.qualifier {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(140deg, rgba(124,58,237,0.16) 0%, rgba(168,85,247,0.04) 70%, var(--bg-card) 100%);
  border: 1px solid rgba(168,85,247,0.30);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}
.qualifier-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.qualifier-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  padding-right: 0.06em;
}
.qualifier-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  max-width: 560px;
}
.qualifier-list li {
  position: relative;
  padding-left: 36px;
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
}
.qualifier-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(168,85,247,0.18);
  border: 1.5px solid var(--primary-2);
}
.qualifier-list li::after {
  content: '✓';
  position: absolute;
  left: 6px; top: 1px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-2);
}
.qualifier-verdict {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.qualifier-verdict strong { color: var(--text); font-weight: 600; }
@media (max-width: 700px) {
  .qualifier { padding: 40px 28px; }
  .qualifier-list li { font-size: 15.5px; padding-left: 32px; }
}

/* === Editorial Magazine layout (FotografiaDeportiva) === */
.pull-quote {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.pull-quote::before,
.pull-quote::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 32px auto;
  width: 80px;
}
.pull-quote p {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.015em;
}
.pull-quote em {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 600;
}

/* Sports grid */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sport-card {
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 16px 48px -16px rgba(124,58,237,0.4);
  border: 1px solid var(--border);
}
.sport-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.sport-card:hover {
  transform: translateY(-4px);
}
.sport-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(180deg, transparent 30%, rgba(10,6,18,0.65) 100%);
}
.sport-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: white;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.sport-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 380px;
}
@media (max-width: 700px) {
  .sports-grid { grid-template-columns: 1fr; }
  .sport-card { aspect-ratio: 16 / 10; }
  .sport-card-inner { padding: 24px; }
}

/* Sport card with photo background */
.sport-card--photo { background: #0a0612; }
.sport-card--photo::before { display: none; }
.sport-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: saturate(1.05) contrast(1.02);
}
.sport-card--photo:hover .sport-card-img { transform: scale(1.04); }
.sport-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,6,18,0) 35%, rgba(10,6,18,0.55) 70%, rgba(10,6,18,0.92) 100%),
    linear-gradient(135deg, rgba(124,58,237,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.sport-card--photo .sport-card-inner { background: none; }
.sport-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  background: rgba(124,58,237,0.85);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  backdrop-filter: blur(6px);
}

/* Manifesto */
.manifesto {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0;
}
.manifesto .eyebrow { margin-bottom: 16px; }
.manifesto-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  padding-right: 0.06em;
}
.manifesto-body p {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.manifesto-body p:last-child { margin-bottom: 0; }
.manifesto-body strong { color: var(--text); font-weight: 600; }

/* Deliverables list (magazine numbered) */
.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.deliverables-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease);
}
.deliverables-list li:hover { background: rgba(124,58,237,0.04); }
.deliverables-list li:last-child { border-bottom: none; }
.deliverable-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--primary-2);
  font-weight: 600;
}
.deliverable-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .deliverables-list li { grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; }
}

/* Why simple — 3 cards horizontales sin bento, sin asimetría */
.why-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-simple-card {
  padding: 32px 28px;
  border-top: 2px solid var(--primary-2);
  background: linear-gradient(180deg, rgba(124,58,237,0.06), transparent 60%);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.why-simple-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(124,58,237,0.14), transparent 60%);
}
.why-simple-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--primary-2);
  display: block;
  margin-bottom: 14px;
}
.why-simple-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  padding-right: 0.06em;
}
.why-simple-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .why-simple { grid-template-columns: 1fr; gap: 16px; }
}

/* Federaciones strip */
.federaciones-strip {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.federaciones-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.federaciones-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}
.federaciones-logos img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.federaciones-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .federaciones-logos { gap: 32px; }
  .federaciones-logos img { max-height: 60px; max-width: 120px; }
}

/* === Sectores Cloud — chips con tamaños + estilos + rotaciones mixtas === */
.sectors-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 0;
}
.sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  white-space: nowrap;
  cursor: default;
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.4s var(--ease-elastic, cubic-bezier(.34,1.56,.64,1)), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sector-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-2);
  flex-shrink: 0;
}
.sector-pill--lg { font-size: clamp(18px, 2vw, 24px); padding: 14px 26px; }
.sector-pill--md { font-size: clamp(15px, 1.6vw, 18px); padding: 11px 22px; }
.sector-pill--sm { font-size: clamp(13px, 1.3vw, 14px); padding: 9px 18px; }

.sector-pill--solid {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}
.sector-pill--outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}
.sector-pill--glow {
  background: linear-gradient(135deg, rgba(124,58,237,0.16), rgba(168,85,247,0.08));
  border: 1px solid rgba(168,85,247,0.4);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(124,58,237,0.18);
}
.sector-pill:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.06);
  background: var(--bg-card-hover);
  border-color: var(--primary-2);
  color: var(--text);
  box-shadow: 0 10px 32px rgba(124,58,237,0.32);
}
.sector-pill--glow:hover {
  background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(168,85,247,0.14));
}
@media (max-width: 700px) {
  .sectors-cloud { gap: 10px; padding: 24px 0; }
  .sector-pill { transform: none; }
}

/* === Why-us bento asimétrico (Servicios) === */
.why-bento {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.why-card--feature {
  grid-row: span 2;
  padding: 40px;
  background: linear-gradient(140deg, rgba(124,58,237,0.18) 0%, rgba(168,85,247,0.06) 60%, transparent 100%);
  border-color: rgba(168,85,247,0.25);
}
.why-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--primary-2);
  display: block;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.why-card--feature h3 { font-size: clamp(26px, 3vw, 36px); }
.why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
.why-card--feature p { font-size: 16px; }
@media (max-width: 900px) {
  .why-bento { grid-template-columns: 1fr; }
  .why-card--feature { grid-row: auto; padding: 32px; }
}



/* === Marcas marquee (estilo igual al text marquee con bullets) === */
#marcas { padding: 96px 0 80px; }
.brands-marquee {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: brandsScroll 45s linear infinite;
}
.brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 140px;
  padding: 8px 12px;
}
.brand-item img {
  max-height: 64px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s var(--ease);
}
.brand-item--invert img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
[data-theme="light"] .brand-item--invert img {
  filter: brightness(0);
  opacity: 0.75;
}
.brands-bullet {
  flex: 0 0 auto;
  font-size: 32px;
  color: var(--primary-2);
  opacity: 0.55;
  line-height: 1;
  font-weight: 700;
  user-select: none;
}
@keyframes brandsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 28px)); }
}
@media (max-width: 700px) {
  .brand-item { height: 64px; min-width: 110px; }
  .brand-item img { max-height: 50px; max-width: 140px; }
  .brands-marquee-track { gap: 40px; animation-duration: 35s; }
  .brands-bullet { font-size: 24px; }
  @keyframes brandsScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 20px)); }
  }
  #marcas { padding: 64px 0 48px; }
}
