/* =============================================
   ZIVVA.IO — styles.css
   Archetype: Mouse-Reactive Gradient (Dark B2B)
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0a0808;
  --bg-2:         #100c0c;
  --surface:      #1a1010;
  --surface-2:    #231414;
  --ink:          #f5f0f0;
  --ink-soft:     #b09898;
  --ink-mute:     #6b4f4f;
  --accent:       #dc2626;
  --accent-2:     #ef4444;
  --accent-glow:  rgba(220,38,38,0.15);
  --accent-border:rgba(220,38,38,0.28);
  --line:         rgba(245,240,240,0.08);
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  overflow-x: clip;
  background: var(--bg);
}

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

/* === CUSTOM CURSOR === */
.cursor { pointer-events: none; position: fixed; z-index: 9999; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform .08s linear;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(220,38,38,0.5);
  transform: translate(-50%, -50%);
  transition: transform .18s var(--ease-out), width .2s var(--ease-out), height .2s var(--ease-out), border-color .2s;
}
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--accent); }

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

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* === UTILITY === */
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .35rem .9rem;
  background: rgba(241,245,249,0.04);
}
.label-pill--blue {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-glow);
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600;
  border-radius: 10px;
  padding: .75rem 1.5rem;
  transition: all .2s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(220,38,38,0.35);
}
.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(220,38,38,0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: rgba(241,245,249,0.25);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-nav {
  background: rgba(220,38,38,0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  font-size: .8rem;
  padding: .55rem 1.1rem;
}
.btn-nav:hover {
  background: rgba(220,38,38,0.22);
  transform: translateY(-1px);
}
.w-full { width: 100%; justify-content: center; }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Defensive: elements with data-split must never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease-out), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,8,8,0.92);
  border-color: var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s var(--ease-out);
  transform-origin: left;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.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(--ink-soft);
  border-radius: 2px;
  transition: all .2s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,12,20,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  flex-direction: column;
  gap: 1rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile ul { display: flex; flex-direction: column; gap: .75rem; }
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle 800px at var(--mx, 30%) var(--my, 40%),
      rgba(220,38,38,0.10) 0%, transparent 60%),
    radial-gradient(circle 500px at calc(var(--mx, 30%) + 20%) calc(var(--my, 40%) + 15%),
      rgba(220,38,38,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 20%,
      rgba(220,38,38,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-noise {
  position: absolute; inset: 0; z-index: 1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
  opacity: .4;
}

.hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(4rem, 10vh, 8rem);
  padding-bottom: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: .4rem 1rem;
  background: var(--accent-glow);
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 16ch;
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.hero-stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding-block: 2rem;
}
.stat-item {
  flex: 1;
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
}
.stat-symbol {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: .8rem;
  color: var(--ink-mute);
  margin-top: .4rem;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  flex-shrink: 0;
}

/* === SOLO A ÉXITO === */
.section-exito {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg);
}

.exito-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.exito-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.exito-card::after {
  content: '';
  position: absolute;
  top: -40%; left: -10%; right: -10%;
  height: 50%;
  background: radial-gradient(ellipse at 50% 0%, rgba(220,38,38,0.07), transparent 70%);
  pointer-events: none;
}

.exito-top { margin-bottom: 1.5rem; }

.exito-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.exito-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 72ch;
  margin-bottom: 3rem;
}

.exito-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.pillar:hover { border-color: var(--accent-border); transform: translateY(-4px); }

.pillar-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: .75rem;
}
.pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}
.pillar p {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* === METODOLOGÍA === */
.section-metodologia {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

.section-sub {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 60ch;
  text-align: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }

.step-num {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: var(--accent);
  padding-top: .1rem;
  flex-shrink: 0;
}

.step-content {
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}
.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
}
.step-content p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* === SERVICIOS === */
.section-servicios {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}
.servicios-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .servicios-grid--2 { grid-template-columns: 1fr; }
}

.servicio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 150px at 0% 0%, rgba(220,38,38,0.05), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.servicio-card:hover { border-color: var(--accent-border); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.servicio-card:hover::before { opacity: 1; }

.servicio-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.servicio-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .75rem;
}
.servicio-card p {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.servicio-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.servicio-list li {
  font-size: .8rem;
  color: var(--ink-mute);
  padding-left: 1rem;
  position: relative;
}
.servicio-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: .75rem;
}

/* === CLIENTES === */
.section-clientes {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cliente-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.cliente-card:hover { border-color: var(--accent-border); transform: translateY(-4px); }

.cliente-logo-wrap {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.cliente-svg {
  width: 100%;
  max-width: 220px;
  height: 60px;
}

.cliente-desc {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* === EQUIPO === */
.section-equipo {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg);
}

.logos-experience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.exp-logo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color .2s, transform .2s var(--ease-out), background .2s;
  min-height: 100px;
}
.exp-logo-card:hover { border-color: var(--accent-border); transform: translateY(-4px); background: var(--surface-2); }

.exp-svg {
  width: 120px;
  height: 50px;
}

/* Real logo images (SAP, Salesforce) */
.exp-img {
  display: block;
  object-fit: contain;
  filter: brightness(1.1);
}
.exp-img--sap {
  width: 80px;
  height: 44px;
}
.exp-img--sf {
  width: 110px;
  height: 78px;
}

/* IESE shield SVG */
.exp-svg-iese {
  width: 160px;
  height: 90px;
}

/* Microsoft SVG */
.exp-svg-ms {
  width: 150px;
  height: 58px;
}

.equipo-note {
  text-align: center;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 60ch;
  margin-inline: auto;
}

/* === CONTACTO === */
.section-contacto {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-gradient--contact {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle 600px at var(--mx2, 70%) var(--my2, 60%),
      rgba(220,38,38,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contacto-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contacto-text { padding-top: .5rem; }

.contacto-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 1rem 0 1rem;
  text-wrap: balance;
}
.contacto-title em {
  font-style: italic;
  color: var(--accent);
}

.contacto-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.info-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.info-item:hover { color: var(--ink); }
.info-icon { color: var(--accent); font-size: 1rem; }

/* Form */
.contacto-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.optional { font-weight: 400; color: var(--ink-mute); text-transform: none; letter-spacing: 0; }

.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  padding: .7rem 1rem;
  transition: border-color .2s;
  resize: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-mute); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.btn-submit .btn-text    { transition: opacity .2s; }
.btn-submit .btn-sending { position: absolute; opacity: 0; transition: opacity .2s; }
.btn-submit .btn-done    { position: absolute; opacity: 0; transition: opacity .2s; }
.btn-submit.is-sending .btn-text    { opacity: 0; }
.btn-submit.is-sending .btn-sending { opacity: 1; }
.btn-submit.is-done    .btn-text    { opacity: 0; }
.btn-submit.is-done    .btn-done    { opacity: 1; }
.btn-submit.is-done    { background: #16a34a; box-shadow: 0 4px 24px rgba(22,163,74,.35); }

.form-note {
  font-size: .78rem;
  color: var(--ink-mute);
  text-align: center;
  margin-top: -.25rem;
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3rem;
}
.footer-brand .nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: .75rem;
}
.footer-brand p {
  font-size: .85rem;
  color: var(--ink-mute);
  line-height: 1.6;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-links a,
.footer-contact a {
  font-size: .85rem;
  color: var(--ink-mute);
  transition: color .2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p {
  font-size: .78rem;
  color: var(--ink-mute);
}
.credits-link a {
  font-size: .75rem;
  color: var(--ink-mute);
  opacity: .5;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .contacto-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .logos-experience { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav   { display: none; }
  .nav-hamburger { display: flex; }

  .hero-stats-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-divider { display: none; }
  .stat-item { text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  /* Steps: tighter on tablet */
  .step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .step-num { font-size: .85rem; }

  /* Exito pillars: stack to 1 col */
  .exito-pillars { grid-template-columns: 1fr; }

  /* Servicios */
  .servicios-grid--2 { grid-template-columns: 1fr; }

  /* Clientes */
  .clientes-grid { grid-template-columns: 1fr; }

  /* Experience logos: 2 col */
  .logos-experience { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Exp logo cards: smaller */
  .exp-logo-card { padding: 1.25rem 1rem; min-height: 80px; }
  .exp-svg-iese  { width: 130px; height: 74px; }
  .exp-svg-ms    { width: 120px; height: 46px; }
  .exp-img--sf   { width: 90px; height: 63px; }
  .exp-img--sap  { width: 68px; height: 38px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; width: 100%; }

  /* Experience logos: 1 col on very small */
  .logos-experience { grid-template-columns: 1fr 1fr; }

  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Exito card padding */
  .exito-card { padding: 1.5rem; border-radius: 16px; }

  /* Section padding reduce */
  .section-exito,
  .section-metodologia,
  .section-servicios,
  .section-clientes,
  .section-equipo,
  .section-contacto { padding-block: clamp(2.5rem, 6vw, 5rem); }

  /* Contacto form padding */
  .contacto-form { padding: 1.5rem; }

  /* Step layout */
  .step { grid-template-columns: 38px 1fr; gap: .75rem; }

  /* Cliente SVG scale down */
  .cliente-svg { max-width: 100%; }
}

@media (max-width: 360px) {
  .logos-experience { grid-template-columns: 1fr; }
  .exp-logo-card { min-height: 70px; }
}
