/* ===========================
   SWAAP DIGITAL — STYLES
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===========================
   LANGUAGE SWITCH TRANSITION
   =========================== */
#lang-glitch-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: #090909;
  opacity: 0;
  transition: opacity 0.15s ease;
}
#lang-glitch-overlay.active {
  opacity: 1;
  transition: opacity 0.1s ease;
}

:root {
  --bg:          #090909;
  --bg-2:        #111111;
  --card:        #0f0f0f;
  --card-2:      #141414;
  --card-border: rgba(255,255,255,0.08);
  --accent:      #ff6424;
  --accent-light:#ff8f5e;
  --accent-dim:  rgba(255,100,36,0.14);
  --white:       #ffffff;
  --gray-200:    #e2e2e2;
  --gray-300:    #c4c4c4;
  --gray-500:    #737373;
  --gray-700:    #262626;
  --font:        'Outfit', sans-serif;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-pill: 100px;
  --shadow:      0 4px 32px rgba(0,0,0,0.6);
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.065) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===========================
   SCROLL PROGRESS
   =========================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 1100;
  transition: width 0.1s linear;
}

/* ===========================
   NAVBAR — PILL FLOTANTE
   =========================== */
#navbar {
  position: fixed;
  top: 1.25rem;
  left: 0; right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  pointer-events: none;
}

.nav-pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 980px;
  background: #09090f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.55rem 0.5rem 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#navbar.scrolled .nav-pill {
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.nav-logo-img {
  height: 72px;
  width: auto;
  display: block;
  align-self: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color var(--transition);
  white-space: nowrap;
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.7rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

.lang-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  padding: 0.1rem 0.2rem;
  transition: color var(--transition);
}

.lang-btn.active, .lang-btn:hover { color: var(--accent-light); }

.lang-sep { color: var(--gray-700); font-size: 0.65rem; margin: 0 0.1rem; }

.nav-cta {
  flex-shrink: 0;
  padding: 0.65rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  margin-left: 0.75rem;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,100,36,0.4);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 2rem 100px;
  overflow: hidden;
  text-align: center;
}

/* glow decorativo */
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(255,100,36,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.hero-highlight {
  color: var(--accent-light);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-300);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

/* SOCIAL PROOF */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.proof-avatars {
  display: flex;
}

.proof-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  border: 2.5px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  margin-left: -10px;
  flex-shrink: 0;
}

.proof-av:first-child { margin-left: 0; }

.proof-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.proof-stars {
  color: #f5c400;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.proof-info span {
  font-size: 0.82rem;
  color: var(--gray-300);
  font-weight: 500;
}

/* ===========================
   SCROLL HINT
   =========================== */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-500);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,100,36,0.4);
}

.btn-primary--large {
  padding: 1.05rem 2.75rem;
  font-size: 1.05rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  border: 1.5px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.06);
}

/* ===========================
   CONTAINER / SECTION BASE
   =========================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 110px 0; }

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-family: var(--font);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}

.section-header p {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.text-yellow, .text-accent { color: var(--accent-light); }

/* ===========================
   SERVICES
   =========================== */
.services {
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(255,255,255,0.055) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(255,100,36,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.service-card--featured {
  border-color: rgba(255,100,36,0.22);
  background: linear-gradient(140deg, rgba(255,100,36,0.07) 0%, var(--card) 50%);
}

.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,100,36,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 26px; height: 26px;
  color: var(--accent-light);
}

.service-content h3 {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.service-content p {
  color: var(--gray-300);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--gray-300);
  padding-left: 1.25rem;
  position: relative;
}

.service-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-size: 1.2rem;
  line-height: 1.1;
}

.service-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.065) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.testi-carousel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.testi-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.testi-track--1 {
  animation: testi-left 45s linear infinite;
}

.testi-track--2 {
  animation: testi-right 45s linear infinite;
}

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

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

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

.testi-card {
  width: 280px;
  flex-shrink: 0;
  background: var(--card-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}

.testi-card:hover {
  border-color: rgba(255,100,36,0.3);
  transform: translateY(-3px);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.testi-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.testi-author span {
  font-size: 0.74rem;
  color: var(--gray-500);
  display: block;
}

.testi-stars {
  color: #f5c400;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.testi-card > p {
  color: var(--gray-400);
  font-size: 0.84rem;
  line-height: 1.7;
  flex: 1;
}

/* ===========================
   MID-PAGE CTA
   =========================== */
.mid-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding: 2rem 2.5rem;
  background: rgba(255,100,36,0.07);
  border: 1px solid rgba(255,100,36,0.2);
  border-radius: var(--radius-lg);
}

.mid-cta p {
  color: var(--gray-300);
  font-size: 1.05rem;
  margin: 0;
}

/* ===========================
   CASE STUDIES
   =========================== */
.cases {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.065) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  padding: 100px 0;
}

.case-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: border-color var(--transition);
}

.case-item:last-child { margin-bottom: 0; }

.case-item:hover { border-color: rgba(255,100,36,0.25); }

.case-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}

.case-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.6rem;
}

.case-header h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.case-client {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.case-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.case-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.6rem;
}

.case-col p {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.75;
  margin: 0;
}

.case-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
}

.case-stat {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--card-border);
}

.case-stat:last-child { border-right: none; }
.case-stat:first-child { padding-left: 0; }

.case-stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.case-stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .case-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .case-stats { flex-wrap: wrap; }
  .case-stat { min-width: 50%; border-right: none; border-bottom: 1px solid var(--card-border); padding: 0.75rem 0; text-align: left; }
  .case-stat:nth-child(odd) { border-bottom: 1px solid var(--card-border); }
}

@media (max-width: 600px) {
  .mid-cta { flex-direction: column; align-items: flex-start; }
  .case-item { padding: 1.5rem; }
}

/* ===========================
   PROCESS
   =========================== */
.process {
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(255,255,255,0.055) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(255,100,36,0.1));
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  flex-shrink: 0;
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(255,100,36,0.35);
}

.step-number::after { display: none; }
.process-step:hover .step-number { background: var(--accent-light); }

.step-content { padding-bottom: 0; }

.step-content h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-content p {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.7;
}

.process-connector { display: none; }

/* ===========================
   CTA BAND
   =========================== */
.cta-band {
  background: var(--accent);
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  padding: 90px 0;
  position: relative;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155,93,229,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.cta-band-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
  flex-shrink: 0;
}

.cta-band .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(255,255,255,0.055) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: flex-start;
}

.contact-info .section-tag { text-align: left; }

.contact-info h2 {
  font-family: var(--font);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
  text-align: left;
}

.contact-info > p {
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  text-align: left;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 46px; height: 46px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,100,36,0.2);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 18px; height: 18px;
  color: var(--accent-light);
}

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-item a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  transition: color var(--transition);
}

.contact-item a:hover { color: var(--accent-light); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-200);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,100,36,0.15);
}

.form-group select option { background: var(--card); }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-submit:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,100,36,0.4);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  background: rgba(40,200,80,0.1);
  border: 1px solid rgba(40,200,80,0.3);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #34d068;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.065) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  border-top: 1px solid var(--card-border);
  padding: 70px 0 0;
}

.footer-inner {
  display: flex;
  gap: 5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--card-border);
  flex-wrap: wrap;
}

.footer-brand { flex: 1; min-width: 240px; }

.footer-logo {
  height: 110px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
  align-self: center;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-links { display: flex; gap: 5rem; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col strong {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: color var(--transition);
}

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

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

.footer-bottom span,
.footer-bottom a {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom a:hover { color: var(--accent-light); }

/* ===========================
   CURSOR BUBBLE TRAIL
   =========================== */
.cursor {
  pointer-events: none;
  position: fixed;
  display: block;
  border-radius: 0;
  mix-blend-mode: difference;
  top: 0;
  left: 0;
  z-index: 999999;
}

.circle {
  position: absolute;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff;
  will-change: transform;
}

@media (hover: none) {
  .cursor { display: none !important; }
}

/* ===========================
   TECH STACK SECTION
   =========================== */
.techstack {
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.5);
  overflow: hidden;
}

.tech-rows {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.tech-row {
  overflow: hidden;
}

.tech-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
}

.tech-track--fwd,
.tech-track--rev {
  will-change: transform;
}

@keyframes tech-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}

@keyframes tech-rev {
  from { transform: translateX(calc(-100% / 3)); }
  to   { transform: translateX(0); }
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-200);
  white-space: nowrap;
  transition: border-color var(--transition), background var(--transition);
  cursor: default;
}

.tech-badge:hover {
  border-color: rgba(255,100,36,0.35);
  background: rgba(255,100,36,0.06);
}

.tech-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===========================
   MARQUEE BAND
   =========================== */
.marquee-band {
  background-color: var(--bg-2);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1.1rem 0;
  overflow: hidden;
}

.marquee-wrapper {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 2.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
  border-right: 1px solid var(--card-border);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.marquee-item:hover { color: var(--gray-300); }

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.7;
}

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

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio {
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(255,255,255,0.055) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proj-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.proj-card:hover {
  border-color: rgba(255,100,36,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.proj-visual {
  height: 190px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-visual--1 { background: linear-gradient(135deg, #1a1040 0%, #2d1b69 50%, #1a0a4a 100%); }
.proj-visual--2 { background: linear-gradient(135deg, #0a1a40 0%, #0d2d8a 50%, #0a1540 100%); }
.proj-visual--3 { background: linear-gradient(135deg, #0a2520 0%, #0d5a4a 50%, #0a2020 100%); }

.proj-screen {
  width: 72%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.proj-screen-bar {
  height: 24px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  gap: 4px;
}

.proj-screen-bar::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,95,87,0.65);
  box-shadow: 11px 0 0 rgba(254,188,46,0.65), 22px 0 0 rgba(40,200,64,0.65);
}

.proj-screen-content {
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.proj-screen-row {
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.11);
}

.proj-screen-row--wide  { width: 100%; }
.proj-screen-row--half  { width: 62%; }
.proj-screen-row--third { width: 38%; }

.proj-screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.proj-screen-tile {
  height: 28px;
  background: rgba(255,100,36,0.2);
  border-radius: 4px;
}

.proj-screen-chat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.proj-chat-bubble {
  height: 8px;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
}

.proj-chat-bubble--in  { width: 68%; align-self: flex-start; }
.proj-chat-bubble--out { width: 52%; align-self: flex-end; background: rgba(255,100,36,0.35); }

.proj-info {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.proj-type {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.2rem;
}

.proj-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.proj-info > p {
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.65;
}

.proj-stats {
  display: flex;
  gap: 1.75rem;
}

.proj-stat-num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.proj-stat-label {
  display: block;
  font-size: 0.73rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.stack-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-300);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.65rem;
}

/* ===========================
   PRICING
   =========================== */
.pricing {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.065) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  border-color: rgba(255,100,36,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.pricing-card--featured {
  border-color: rgba(255,100,36,0.4);
  background: linear-gradient(140deg, rgba(255,100,36,0.1) 0%, var(--card) 55%);
  box-shadow: 0 0 0 1px rgba(255,100,36,0.15), 0 12px 40px rgba(255,100,36,0.12);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.35rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-from {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-amount--consult {
  font-size: 1.75rem;
  color: var(--accent-light);
}

.price-tax {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.65;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--card-border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--gray-300);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.8rem;
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
  margin-top: 0.5rem;
}

.pricing-btn--primary {
  background: var(--accent);
  color: #fff;
}

.pricing-btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,100,36,0.4);
}

.pricing-btn--ghost {
  border: 1.5px solid rgba(255,255,255,0.16);
  color: var(--white);
}

.pricing-btn--ghost:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

/* ===========================
   FAQ
   =========================== */
.faq {
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(255,255,255,0.055) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--card-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent-light); }

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.8;
}

/* ===========================
   PAGE LOAD ANIMATIONS
   =========================== */
@keyframes load-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
@keyframes load-fade-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}

#navbar           { animation: load-fade-down 0.7s cubic-bezier(0.22,1,0.36,1) both; }
.hero-badge       { animation: load-fade-up   0.7s cubic-bezier(0.22,1,0.36,1) both 0.1s; }
.hero-title       { animation: load-fade-up   0.8s cubic-bezier(0.22,1,0.36,1) both 0.25s; }
.hero-sub         { animation: load-fade-up   0.8s cubic-bezier(0.22,1,0.36,1) both 0.42s; }
.hero-actions     { animation: load-fade-up   0.7s cubic-bezier(0.22,1,0.36,1) both 0.58s; }
.hero-proof       { animation: load-fade-up   0.7s cubic-bezier(0.22,1,0.36,1) both 0.72s; }
.hero-scroll-hint { animation: load-fade-up   0.6s cubic-bezier(0.22,1,0.36,1) both 1.1s; }

/* ===========================
   AOS ANIMATIONS
   =========================== */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-left"]  { transform: translateX(28px); }

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: 1fr; }
  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid       { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .contact-inner      { grid-template-columns: 1fr; gap: 3.5rem; }
  .process-steps      { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-grid   { max-width: 100%; }

  /* nav mobile */
  #navbar { top: 0.75rem; padding: 0 1rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .lang-switcher { margin-left: auto; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 1rem; right: 1rem;
    background: rgba(9,9,15,0.97);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    z-index: 800;
  }

  .nav-links.open a { font-size: 1.1rem; color: var(--white); }

  .hero { padding: 130px 1.5rem 80px; }
  .hero-proof { flex-direction: column; gap: 0.75rem; }

  .testi-card         { width: 260px; }
  .process-steps      { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-step       { align-items: flex-start; text-align: left; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-links       { gap: 2.5rem; }
  .cta-band-inner     { flex-direction: column; text-align: center; }
  .cta-band-inner .btn-primary { align-self: center; }
}

@media (max-width: 480px) {
  .hero-actions       { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 320px; }
  .nav-logo-img       { height: 68px; }
}

/* ── LOADER ─────────────────────────────────────────────── */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #09090f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.loader-overlay.loader--hidden {
  opacity: 0;
  pointer-events: none;
}

/* SVG con paths reales del logo → alineación perfecta garantizada */
.loader-svg {
  width: min(600px, 88vw);
  height: auto;
  filter: none;
}

.loader-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: loader-draw-erase 3.4s ease-in-out infinite;
}

/* dibuja → pausa completo → borra */
@keyframes loader-draw-erase {
  0%   { stroke-dashoffset:  1000; }
  44%  { stroke-dashoffset:     0; }
  56%  { stroke-dashoffset:     0; }
  100% { stroke-dashoffset: -1000; }
}
