/* ==========================================================================
   Softan Soluciones — Home (rediseño 2026)
   Se carga DESPUÉS de ss-ui.min.css: redefine los tokens de ss-ui con la
   paleta del sitio y agrega los estilos propios del rediseño.
   ========================================================================== */

/* ── TOKENS ── */
:root {
  /* Paleta del rediseño */
  --bg: #edeae2;
  --bg2: #e4e1d9;
  --bg3: #d8d4cb;
  --ink: #1c1a1e;
  --ink2: #4a4650;
  --ink3: #7a7682;
  --blue: #409ace;
  --blue-dk: #3075a5;
  --blue-pale: #deeef8;
  --white: #f9f7f3;
  --danger: #e5484d;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --r: 6px;
  --nav-h: 68px;

  /* Tokens de ss-ui alineados a la paleta */
  --ss-primary: var(--blue);
  --ss-secondary: var(--blue-dk);
  --ss-neutral: var(--ink);
  --ss-light: var(--bg);
  --ss-bg: var(--bg);
  --ss-surface: var(--white);
  --ss-surface-alt: var(--bg2);
  --ss-text: var(--ink);
  --ss-border-color: var(--bg3);
  --ss-border-radius: var(--r);
  --font-base: var(--sans);
  --font-alt: var(--serif);
}

/* ── FUENTES ── */
/* Giro: tipografía de marca de Softan (la misma del index original) */
@font-face {
  font-family: girolight;
  src: url("../resources/css/Fonts/girolight-font.otf") format("opentype");
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1100;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r);
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

/* ── NAVBAR (sobre .ss-navbar.fixed-top) ── */
.site-nav.ss-navbar {
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--bg3);
  box-shadow: none;
  transition: box-shadow .3s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

/* Logo de marca: isotipo + "softan" en tipografía Giro, igual que el index original
   (resources/css/navbar.css → .navbar-brand). Se usa en navbar y footer. */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  flex-shrink: 0;
}

.brand-logo img {
  width: 60px;
  height: auto;
}

.brand-name {
  font-family: girolight, var(--sans);
  font-weight: 100;
  font-size: 32px;
  line-height: 1;
}

/* Variante para fondos oscuros (footer) */
.brand-logo-light {
  color: #fff;
}

.brand-logo-light img {
  width: 48px;
}

.brand-logo-light .brand-name {
  font-size: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--ink2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1px;
  transition: color .2s;
}

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

.nav-links a.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 8px 20px;
  border-radius: 4px;
  transition: background .2s;
}

.nav-links a.nav-cta:hover {
  background: var(--blue-dk);
  color: #fff;
}

/* Selector de idioma ES / EN */
.nav-right {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-lang {
  background: transparent;
  border: 1px solid var(--bg3);
  border-radius: 4px;
  padding: 6px 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  color: var(--ink2);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.nav-lang:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Evita ver el español un instante cuando el idioma guardado es inglés */
html.i18n-pending body {
  opacity: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--bg3);
  border-radius: var(--r);
  width: 42px;
  height: 42px;
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ── BOTONES (sobre .ss-btn) ── */
.ss-btn.lg {
  padding: 14px 32px;
  font-size: 15px;
}

.ss-btn.btn-primary {
  background: var(--blue-dk);
  color: #fff;
  border: 2px solid transparent;
}

.ss-btn.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.ss-btn.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--bg3);
}

.ss-btn.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

/* ── HERO ── */
#hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-left {
  padding: 80px 56px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 1.4px;
  margin-bottom: 28px;
}

.hero-eyebrow::before,
.section-tag::before {
  content: '';
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero-eyebrow::before {
  width: 24px;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero-headline em {
  font-style: italic;
  color: var(--blue);
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink2);
  max-width: 420px;
  line-height: 1.65;
  margin: 16px 0 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-right {
  background: var(--bg2);
  border-left: 1px solid var(--bg3);
  padding: 80px 48px 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.hero-right-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 8px;
}

.proj-card {
  background: var(--white);
  border: 1px solid var(--bg3);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}

.proj-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.proj-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  line-height: 1.15;
}

/* Logos de proyectos (compartidos por hero y sección "Lo que hemos construido") */
.proj-logo img,
.project-logo-wrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.proj-info {
  flex: 1;
  min-width: 0;
}

.proj-name,
.proj-type {
  display: block;
}

.proj-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.proj-type {
  font-size: 12px;
  color: var(--ink3);
}

.proj-arrow {
  color: var(--ink3);
  font-size: 16px;
  flex-shrink: 0;
  transition: color .2s;
}

.proj-card:hover .proj-arrow {
  color: var(--blue);
}

/* ── STATS ── */
#stats {
  background: var(--ink);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--blue);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.4;
}

/* ── SECCIONES ── */
.section {
  padding: 96px 64px;
}

.section-alt {
  background: var(--bg2);
  border-top: 1px solid var(--bg3);
  border-bottom: 1px solid var(--bg3);
}

.section-header {
  margin-bottom: 56px;
}

.section-header.narrow {
  max-width: 580px;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 1.6px;
  margin-bottom: 16px;
}

.section-tag::before {
  width: 20px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.3px;
  color: var(--ink);
  max-width: 600px;
}

.section-body {
  font-size: 17px;
  color: var(--ink2);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 16px;
}

/* ── NOSOTROS ── */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bg3);
  border: 1px solid var(--bg3);
  border-radius: var(--r);
  overflow: hidden;
}

.value-cell {
  background: var(--bg);
  padding: 28px 24px;
}

.value-icon {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}

.value-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.5;
}

/* ── SERVICIOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--bg3);
  border-radius: var(--r);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(64, 154, 206, .12);
  transform: translateY(-2px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dk);
  font-size: 22px;
  margin-bottom: 20px;
}

.service-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.6;
}

/* ── PROCESO ── */
.process-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bg3);
  border-radius: var(--r);
  overflow: hidden;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  background: var(--white);
  border-bottom: 1px solid var(--bg3);
  cursor: pointer;
  transition: background .2s;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step:hover,
.process-step.active {
  background: var(--blue-pale);
}

.step-num {
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  color: var(--bg3);
  line-height: 1;
  text-align: center;
  transition: color .2s;
}

.process-step.active .step-num {
  color: var(--blue);
}

.step-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 14px;
  color: var(--ink2);
}

.step-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink3);
  transition: background .2s, color .2s;
}

.process-step.active .step-icon-wrap,
.process-step:hover .step-icon-wrap {
  background: var(--blue-dk);
  color: #fff;
}

/* ── PROYECTOS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--bg3);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: box-shadow .2s, transform .2s;
}

.project-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.project-logo-wrap {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-info {
  flex: 1;
}

.project-sector {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.project-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.project-name a {
  color: inherit;
  text-decoration: none;
}

.project-name a:hover {
  color: var(--blue);
}

.project-name a .bi {
  font-size: 14px;
  vertical-align: middle;
  margin-left: 4px;
}

.project-desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.project-tag {
  font-size: 11px;
  font-weight: 500;
  background: var(--blue-pale);
  color: var(--blue-dk);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── CONTACTO ── */
#contact {
  padding: 96px 64px;
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

#contact .section-title {
  color: #fff;
}

#contact .section-body {
  color: rgba(255, 255, 255, .55);
}

.contact-headline em {
  font-style: italic;
  color: var(--blue);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  text-decoration: none;
  color: #fff;
  transition: background .2s, border-color .2s;
}

.contact-method:hover {
  background: rgba(64, 154, 206, .15);
  border-color: var(--blue);
}

.contact-method i {
  color: var(--blue);
  font-size: 20px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.contact-method-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 2px;
}

.contact-method-value {
  font-size: 15px;
  font-weight: 500;
}

.contact-right {
  padding-top: 12px;
}

/* Formulario: estructura ss-ui (.ss-form-row / .ss-form-element / .ss-input) en tema oscuro */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.contact-form .ss-form-row {
  gap: 12px;
  margin: 0;
}

.contact-form .ss-form-row .col {
  margin: 0;
}

.contact-form .ss-form-element {
  margin: 0;
  gap: 6px;
}

.contact-form .ss-form-element label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-form .ss-form-element label small {
  text-transform: none;
  letter-spacing: 0;
  opacity: .7;
}

.contact-form .ss-input {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  color: #fff;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 15px;
  resize: none;
}

.contact-form .ss-input::placeholder {
  color: rgba(255, 255, 255, .25);
}

.contact-form .ss-input:focus {
  border-color: var(--blue);
  box-shadow: none;
}

.contact-form select.ss-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .5) 50%), linear-gradient(135deg, rgba(255, 255, 255, .5) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.contact-form select.ss-input:invalid {
  color: rgba(255, 255, 255, .35);
}

.contact-form select.ss-input option {
  background: #222;
  color: #fff;
}

.contact-form textarea.ss-input {
  min-height: 120px;
}

/* Validación: reemplaza el borde rojo de 3px de ss-ui por uno acorde al diseño */
.contact-form .ss-input.ss-invalid {
  border: 1px solid var(--danger) !important;
}

.contact-form .ss-form-alert {
  margin: 0;
  text-align: left;
  font-size: 12px;
  color: #ff8a8e;
  min-height: 0;
}

.contact-form .ss-form-alert:empty {
  display: none;
}

/* Honeypot anti-spam (invisible para personas) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-submit.ss-btn {
  background: var(--blue-dk);
  color: #fff;
  padding: 14px 32px;
  font-size: 15px;
}

.btn-submit.ss-btn:hover {
  background: var(--blue);
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
}

.form-note a {
  color: rgba(255, 255, 255, .55);
}

/* ── FOOTER ── */
.site-footer {
  background: #111;
  padding: 32px 64px;
  text-align: center;
  align-items: center;
}

.footer-copy {
  margin-top: 5px;
  font-size: 13px;
  color: rgba(255, 255, 255, .3);
}

.footer-links {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}

.footer-links .divider {
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer-links .divider:last-child {
  border-right: none;
}

.footer-links a {
  white-space: nowrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
  text-decoration: none;
  transition: color .2s;
}

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

/* ── BANNER DE COOKIES (js/Home/cookies.js) ── */
#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 990;
  /* sobre el navbar (900), bajo los modales de ss-ui (1000) */
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}

#cookie-banner.show {
  opacity: 1;
  transform: none;
}

#cookie-banner .cookie-content {
  pointer-events: auto;
  max-width: 960px;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

#cookie-banner .cookie-text {
  flex: 1;
  min-width: 0;
}

#cookie-banner .cookie-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

#cookie-banner .cookie-body {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .65);
}

#cookie-banner .cookie-body a {
  color: var(--blue);
}

#cookie-banner .cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

#cookie-banner .ss-btn {
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

#cookie-banner .ss-btn.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

#cookie-banner .ss-btn.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── MODALES (sobre .ss-modal) ── */
.ss-modal .ss-dialog {
  max-width: 460px;
  margin: 15vh auto 20px;
}

.ss-modal .ss-modal-content {
  border-radius: 10px;
}

.ss-modal-title {
  font-family: var(--sans);
  letter-spacing: .6px;
}

.ss-modal-body p {
  color: var(--ink2);
}

.ss-modal-footer .ss-btn {
  min-width: 120px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.modal-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
}

.modal-icon.error {
  color: var(--danger);
}

/* Modal de campaña (?utm_campaign=...) */
#campaign-modal .ss-dialog {
  max-width: 760px;
  margin-top: 10vh;
}

#campaign-modal .ss-modal-content {
  padding: 0;
  overflow: hidden;
}

#campaign-modal .ss-modal-close {
  z-index: 2;
  color: #fff;
}

.campaign-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.campaign-text {
  padding: 40px 32px;
}

.campaign-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.campaign-text h2 em {
  color: var(--blue);
}

.campaign-text p {
  color: var(--ink2);
  font-size: 15px;
  margin-bottom: 20px;
}

.campaign-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.campaign-contact a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.campaign-contact a:hover {
  color: var(--blue);
}

.campaign-contact i {
  color: var(--blue);
}

.campaign-visual {
  background: var(--ink);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.campaign-visual img {
  max-height: 200px;
  width: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-links {
    display: block;
    margin-top: 10px;
    text-align: center;
  }

  .footer-links .divider {
    padding: 0 10px;
    border-right: none;
  }

}

@media (max-width: 900px) {
  .site-nav.ss-navbar {
    padding: 0 24px;
  }

  .nav-right {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-lang-item {
    display: none;
  }

  .nav-lang-mobile {
    height: 42px;
    padding: 0 12px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--bg3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .site-nav.open .nav-links {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-links li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--bg3);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links a.nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 12px 20px;
  }

  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 48px 24px 40px;
  }

  .hero-right {
    padding: 40px 24px 48px;
    border-left: none;
    border-top: 1px solid var(--bg3);
  }

  #stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 48px 24px;
  }

  .section {
    padding: 64px 24px;
  }

  .layout-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-step {
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    padding: 20px 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  #contact {
    grid-template-columns: 1fr;
    padding: 64px 24px;
    gap: 48px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .campaign-layout {
    grid-template-columns: 1fr;
  }

  #cookie-banner .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

  #cookie-banner .cookie-buttons .ss-btn {
    flex: 1;
  }

  .campaign-visual {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {

  /* ss-ui pasa .ss-form-row a display:block en este breakpoint (sin gap) */
  .contact-form .ss-form-row .col+.col {
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 40px 1fr;
  }

  .step-num {
    font-size: 28px;
  }

  .step-icon-wrap {
    display: none;
  }

  .project-card {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .campaign-text {
    padding: 32px 24px;
  }
}