/* ── Google Fonts & Base ───────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --color-primary:     #FFD700;
  --color-bg-dark:     #0A0A0A;
  --color-card-dark:   #1E1E1E;
  --color-text-muted:  #94a3b8; /* slate-400 */
  --font-display:      'Inter', sans-serif;
  --max-width:         1280px;
  --radius:            0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-dark);
  font-family: var(--font-display);
  color: #f1f5f9; /* slate-100 */
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

/* ── Utility ───────────────────────────────────────── */
.text-stroke {
  -webkit-text-stroke: 1px var(--color-primary);
  color: transparent;
}

/* Hide scrollbar but keep scroll behavior */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem; /* 16 → mobile */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-style: italic;
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a {
  font-size: 0.625rem;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}

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

/* Header CTA button */
.btn-header {
  display: none;
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: filter 0.2s;
}

.btn-header:hover {
  filter: brightness(1.1);
}

/* Hamburger button (mobile) */
.btn-hamburger {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  padding: 0;
}

/* Mobile dropdown menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(10,10,10,0.98);
}

.mobile-menu.open {
  max-height: 420px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.25rem;
}

.mobile-nav a {
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.2s;
}

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

.btn-mobile-cta {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
}

/* ── Hero ──────────────────────────────────────────── */
.section-hero {
  position: relative;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0;
  right: -5rem;
  width: 50%;
  height: 100%;
  background: rgba(255,215,0,0.05);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.hero-title {
  font-size: 1.875rem; /* 30px mobile */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 0.125rem 0.5rem;
  display: inline-block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.6;
  max-width: 24rem;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* Primary CTA */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 20px 40px rgba(255,215,0,0.2);
  width: 100%;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* Secondary CTA */
.btn-secondary {
  background: transparent;
  color: #f1f5f9;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.2s;
  width: 100%;
}

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

/* Before/After card */
.before-after-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background-color: var(--color-card-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.before-after-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.ba-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.ba-panel.before {
  background-color: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  filter: grayscale(1);
}

.ba-panel.after {
  background-color: var(--color-bg-dark);
}

.ba-panel.after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,215,0,0.05);
}

.ba-label {
  position: absolute;
  top: 0.75rem;
  font-size: 0.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.ba-label.before {
  left: 0.75rem;
  color: #64748b;
  background: rgba(0,0,0,0.4);
}

.ba-label.after {
  right: 0.75rem;
  color: var(--color-primary);
  background: rgba(255,215,0,0.1);
}

.ba-image {
  width: 6rem;
  height: 6rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-image.before {
  background: rgba(30,41,59,0.5);
}

.ba-image.after {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.2);
  position: relative;
  z-index: 1;
}

/* ── Stats Banner ──────────────────────────────────── */
.section-stats {
  background-color: var(--color-primary);
  padding: 2.5rem 1.5rem;
  overflow: hidden;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--color-bg-dark);
  letter-spacing: -0.05em;
}

.stat-label {
  font-size: 0.5625rem;
  font-weight: 900;
  color: rgba(10,10,10,0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

.stats-divider {
  display: none;
  width: 1px;
  height: 3rem;
  background: rgba(10,10,10,0.1);
}

/* ── Services ──────────────────────────────────────── */
.section-services {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.03em;
}

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

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card {
  background-color: var(--color-card-dark);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  color: var(--color-primary);
  font-size: 1.875rem;
  display: block;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Process ───────────────────────────────────────── */
.section-process {
  padding: 5rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.process-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Vertical timeline (mobile + tablet) */
.process-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-primary);
  margin-left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -2.5625rem; /* -41px */
  top: 0;
  width: 1rem;
  height: 1rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  border: 4px solid var(--color-bg-dark);
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Horizontal grid (desktop only) */
.process-grid {
  display: none;
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 3rem; /* center of step-number circle */
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,215,0,0.2);
}

.step-number {
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-dark);
  font-weight: 900;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.step-desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Portfolio ─────────────────────────────────────── */
.section-portfolio {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Scrollable filter row (mobile) */
.filter-row {
  display: flex;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.filter-row::-webkit-scrollbar { display: none; }

.btn-filter {
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: #f1f5f9;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.btn-filter.active,
.btn-filter:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  border-color: var(--color-primary);
}

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--color-card-dark);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.portfolio-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
}

.pc-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
}

.pc-panel.before {
  background: #0f172a;
  filter: grayscale(1);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.pc-panel.after {
  background: var(--color-card-dark);
}

.pc-panel.after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,215,0,0.05);
}

.pc-label {
  position: absolute;
  top: 1rem;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.pc-label.before { left: 1rem; color: #64748b; background: rgba(0,0,0,0.4); }
.pc-label.after  { right: 1rem; color: var(--color-primary); background: rgba(255,215,0,0.1); }

.pc-thumb {
  width: 66.66%;
  height: 66.66%;
  border-radius: 0.5rem;
  position: relative;
  z-index: 1;
}

.pc-thumb.before { background: #1e293b; opacity: 0.5; }
.pc-thumb.after  { background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3); box-shadow: 0 20px 40px rgba(255,215,0,0.2); }

.portfolio-card-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.pc-title {
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pc-subtitle {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.pc-arrow {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 0.5rem;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.portfolio-card:hover .pc-arrow {
  opacity: 1;
}

/* Second card hidden on mobile */
.portfolio-card-2 {
  display: none;
}

/* ── Platforms ─────────────────────────────────────── */
.section-platforms {
  padding: 3.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background-color: #000;
}

.platforms-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.platforms-title {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #475569;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.platforms-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s, filter 0.3s;
}

.platform-item img {
  height: 2.5rem;
  filter: grayscale(1);
  opacity: 0.9;
  transition: filter 0.3s, opacity 0.3s;
}

.platform-item:hover img {
  filter: none;
  opacity: 1;
}

.platform-item:hover {
  opacity: 1;
  filter: none;
}

.platform-item .material-symbols-outlined {
  font-size: 1.875rem;
}

.platform-name {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Testimonials ──────────────────────────────────── */
.section-testimonials {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Mobile slider */
.testimonial-slider-mobile {
  display: block;
}

.testimonial-slide {
  display: none;
  width: 100%;
  background-color: var(--color-card-dark);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.testimonial-slide.active {
  display: block;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: #cbd5e1; /* slate-300 */
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #1e293b;
  border: 1px solid rgba(255,215,0,0.2);
  flex-shrink: 0;
}

.author-name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.author-role {
  font-size: 0.625rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

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

/* Tablet scroll */
.testimonial-scroll-tablet {
  display: none;
}

.testimonial-card-tablet {
  min-width: 340px;
  background-color: var(--color-card-dark);
  padding: 2rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

/* Desktop grid */
.testimonials-grid-desktop {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card-desktop {
  background-color: var(--color-card-dark);
  padding: 2.5rem;
  border-radius: 0.75rem;
}

.tcd-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: #cbd5e1;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tcd-name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.tcd-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}

/* ── CTA Section ───────────────────────────────────── */
.section-cta {
  background-color: var(--color-primary);
  padding: 5rem 1.5rem;
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  color: var(--color-bg-dark);
  font-size: 2.25rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: rgba(10,10,10,0.8);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.btn-cta {
  width: 100%;
  background-color: var(--color-bg-dark);
  color: var(--color-primary);
  padding: 1.25rem 2rem;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

.btn-cta:hover {
  transform: scale(1.02);
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-bg-dark);
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Mobile: columna centrada */
.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
}

.footer-logo-text {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-style: italic;
}

.footer-tagline {
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  line-height: 2;
  max-width: 16rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f5f9;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

/* Columnas de links */
.footer-links-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;     /* espacio entre Servicios y Empresa en mobile */
  text-align: left;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* li sin <a>: mismo estilo que los links */
.footer-links-col li {
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.footer-links-col a {
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #334155;
}

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

.footer-bottom-links a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* =====================================================
   RESPONSIVE — TABLET  (≥ 768px)
   ===================================================== */
@media (min-width: 768px) {

  /* Header */
  .header-inner { height: 5rem; padding: 0 1.5rem; }
  .desktop-nav  { display: flex; }
  .btn-header   { display: block; }
  .btn-hamburger { display: none; }

  /* Logo */
  .logo-icon { font-size: 1.75rem; }
  .logo-text { font-size: 1.5rem; }

  /* Hero */
  .section-hero { padding: 4rem 1.5rem 6rem; text-align: left; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }
  .hero-subtitle { margin: 0 0 2rem; max-width: 24rem; }
  .hero-btns { flex-direction: row; width: auto; }
  .btn-primary, .btn-secondary { width: auto; }
  .hero-title { font-size: 2.25rem; }
  .hero-glow { width: 50%; }

  /* Before/after card: portrait */
  .before-after-card {
    max-width: none;
    margin: 0;
    aspect-ratio: 3 / 4;
  }

  /* Stats: 2x2 grid with padding */
  .stats-grid { padding: 0 1.5rem; }

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

  .service-card {
    border-left: none;
    border-top: 4px solid var(--color-primary);
  }

  /* Process header: left aligned */
  .process-header { text-align: left; }

  /* Process timeline: more left margin */
  .process-timeline { margin-left: 1rem; }

  /* Portfolio header */
  .portfolio-header { flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: left; }

  /* Filter row: no negative margins */
  .filter-row {
    margin: 0;
    padding: 0;
    overflow: visible;
    flex-wrap: wrap;
  }

  .btn-filter { border-radius: var(--radius); }

  /* Portfolio card: video ratio */
  .portfolio-card { aspect-ratio: 16 / 9; }

  /* Platforms: horizontal */
  .platforms-list { flex-direction: row; justify-content: center; gap: 4rem; }

  /* Testimonials: hide mobile, show tablet scroll */
  .testimonial-slider-mobile { display: none; }
  .testimonial-scroll-tablet {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
  }
  .testimonials-header { margin-bottom: 2.5rem; }

  /* CTA */
  .cta-title { font-size: 2.5rem; }
  .btn-cta { width: auto; padding: 1.25rem 2.5rem; }

  /* Footer — tablet */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    align-items: start;
    gap: 2rem;
  }

  .footer-brand { align-items: flex-start; }
  .footer-social { justify-content: flex-start; }

  .footer-links-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;          /* espacio simétrico entre Servicios y Empresa */
    align-self: start;
    justify-self: end;  /* pegado al margen derecho */
  }

  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* =====================================================
   RESPONSIVE — DESKTOP  (≥ 1024px)
   ===================================================== */
@media (min-width: 1024px) {

  /* Header */
  .header-inner { padding: 0 2.5rem; }
  .desktop-nav { gap: 2.5rem; }
  .desktop-nav a { font-size: 0.875rem; }
  .btn-header { padding: 0.625rem 1.5rem; font-size: 0.75rem; }

  /* Hero */
  .section-hero { padding: 5rem 2.5rem 8rem; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-title { font-size: 4.5rem; line-height: 0.95; }
  .hero-subtitle { font-size: 1.25rem; max-width: 32rem; }
  .hero-glow { width: 33%; filter: blur(120px); }

  /* Before/after: landscape */
  .before-after-card { aspect-ratio: 4 / 3; }
  .before-after-inner { flex-direction: row; }

  .ba-panel.before {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  /* Center divider button */
  .ba-center-btn {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
  }

  /* Stats: single row */
  .stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
  }

  .stat-item { align-items: flex-start; text-align: left; }
  .stat-number { font-size: 2.25rem; }
  .stats-divider { display: block; }

  /* Services: 3-col */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-card { padding: 2rem; }
  .service-icon { font-size: 2.25rem; margin-bottom: 1.5rem; }
  .service-title { font-size: 1.25rem; margin-bottom: 1rem; }

  .section-services,
  .section-portfolio { padding: 8rem 2.5rem; }
  .section-services { max-width: var(--max-width); }
  .section-portfolio { max-width: var(--max-width); }

  /* Services header */
  .section-header { margin-bottom: 5rem; }
  .section-title { font-size: 3.75rem; }

  /* Process: horizontal */
  .section-process { padding: 8rem 2.5rem; }
  .process-inner { padding: 0 0; }
  .process-header { margin-bottom: 5rem; }
  .process-header .section-title { font-size: 3rem; }
  .process-timeline { display: none; }
  .process-grid { display: grid; }

  /* Portfolio: 2-col */
  .portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .portfolio-card-2 { display: block; }
  .portfolio-header { margin-bottom: 4rem; }
  .portfolio-header .section-title { font-size: 3rem; }
  .pc-title { font-size: 1.25rem; }

  /* Platforms */
  .section-platforms { padding: 5rem 2.5rem; }
  .platform-item img { height: 3rem; }
  .platform-name { font-size: 1.25rem; }

  /* Testimonials: hide tablet, show desktop */
  .testimonial-scroll-tablet  { display: none; }
  .testimonials-grid-desktop  { display: grid; }
  .section-testimonials { padding: 8rem 2.5rem; }
  .testimonials-header { margin-bottom: 5rem; }
  .testimonials-header .section-title { font-size: 3rem; }

  /* CTA */
  .section-cta { padding: 6rem 2.5rem; }
  .cta-title { font-size: 4.5rem; margin-bottom: 1.5rem; }
  .cta-subtitle { font-size: 1.25rem; margin-bottom: 3rem; }
  .btn-cta { padding: 1.5rem 3rem; font-size: 1.25rem; }

  /* Footer — desktop */
  .site-footer { padding: 5rem 2.5rem; }
  .footer-grid {
    grid-template-columns: 1fr auto;   /* brand izquierda, links derecha */
    gap: 3rem;
    align-items: start;
  }
  .footer-links-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;          /* espacio generoso entre Servicios y Empresa */
    justify-self: end;  /* pegado al margen derecho */
    align-self: start;
  }
}