:root {
  --black: #111;
  --header: rgba(17, 17, 17, 0.92);
  --ink: #1a211d;
  --muted: #3a4540;
  --accent: #0b6b32;
  --accent-dark: #085027;
  --white: #fff;
  --soft: #f3f3f3;
  --max: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding-top: var(--topbar-h, 72px);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.topbar.is-solid { background: #fff; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--black); font-weight: 700; letter-spacing: .02em;
  max-width: min(280px, 62vw);
}
.logo img {
  height: 42px; width: auto;
}
.logo span { font-size: 15px; white-space: nowrap; }
.nav-right {
  display: flex; align-items: center; gap: 18px;
  margin-left: auto;
}
.menu {
  display: flex; align-items: center; gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
.menu a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.menu a:hover, .menu a.is-active, .sub-toggle:hover, .sub-toggle.is-active { color: var(--accent); }
.menu > li > a.is-active { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.has-sub { position: relative; }
.sub-toggle {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--ink); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; font-family: inherit;
  text-decoration: none;
}
a.sub-toggle.is-active { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.has-sub::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 280px;
  height: 16px;
}
.submenu {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); min-width: 280px; margin: 0; padding: 8px 0;
  list-style: none; background: #fff; border-radius: 8px;
  border: 1px solid #ececec;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  z-index: 80;
}
.submenu a {
  display: block; padding: 10px 18px; text-transform: none;
  letter-spacing: .04em; font-size: 13px;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.is-open .submenu { display: block; }
.nav-tools {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto;
}
.search-btn {
  width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center;
  background: transparent; border: 0; color: var(--ink); cursor: pointer;
  border-radius: 8px;
}
.search-btn:hover, .search-btn:focus-visible { background: rgba(0,0,0,.06); }
.lang-switch {
  display: flex; align-items: center; gap: 6px;
  color: #b0b8b4;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.lang-switch button {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: #8a948f; font: inherit;
}
.lang-switch button.is-on { color: var(--black); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(8,12,10,.72);
  align-items: flex-start; justify-content: center;
  padding: 88px 16px 24px;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  width: min(680px, 100%);
  background: #fff; color: var(--ink);
  border-radius: 12px; padding: 18px 20px 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.search-head { display: flex; align-items: center; gap: 10px; }
.search-head input {
  flex: 1; border: 0; border-bottom: 2px solid #111;
  font: inherit; font-size: 18px; padding: 8px 0; outline: none;
}
.search-close {
  width: 40px; height: 40px; border: 0; background: none;
  font-size: 28px; line-height: 1; cursor: pointer; color: #111;
}
.search-hint, .search-empty { color: var(--muted); font-size: 14px; margin: 12px 0; }
.search-results { list-style: none; margin: 0; padding: 0 0 8px; }
.search-results a {
  display: block; padding: 12px 0;
  border-bottom: 1px solid #eee; color: var(--ink); font-weight: 600;
}
.search-results a:hover { color: var(--accent); }
body.search-open { overflow: hidden; }
.burger {
  display: flex;
  flex: 0 0 auto;
  width: 44px; height: 44px; padding: 0;
  background: #fff;
  border: 0; border-radius: 8px; color: #111; cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger-lines { display: grid; gap: 5px; width: 20px; }
.burger-lines span {
  display: block; height: 2px; background: #111; border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] .burger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger-lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.menu-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 45;
  background: rgba(0,0,0,.45);
  border: 0; padding: 0;
}

.hero {
  position: relative; min-height: calc(100vh - var(--topbar-h, 72px)); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
  background: #111;
}
.hero-slides { position: absolute; inset: 0; background: #111; pointer-events: none; }
.slide {
  position: absolute; inset: -8%;
  background: #111 center/cover no-repeat;
  opacity: 0;
  transition: opacity .35s ease;
  animation: none;
}
.slide.is-on {
  opacity: 1; z-index: 1;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.18) 32%, rgba(0,0,0,.72) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 90px;
  margin-left: max(24px, calc((100% - var(--max)) / 2));
  margin-right: auto;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
body.has-cookies .hero-content { margin-bottom: 150px; }
body.has-cookies .hero-dots { bottom: 118px; }
.hero .eyebrow {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #b7e4c7;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; line-height: 1.15;
  color: #fff;
}
.hero p { margin: 0 0 26px; font-size: 18px; line-height: 1.6; max-width: 640px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; z-index: 3; right: 28px; bottom: 36px;
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-dots button.is-on { background: var(--accent); }

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 140px; padding: 10px 22px;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 100px; cursor: pointer; border: 1.6px solid transparent;
  font-family: inherit;
}
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--black); }
.btn-fill { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-fill:hover { background: var(--accent-dark); }
.btn-sm { min-width: 120px; padding: 6px 16px; font-size: 12px; }

.section { padding: 88px 0; }
.section-alt { background: var(--soft); }
.kicker {
  color: var(--accent); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; margin: 0 0 8px; font-weight: 700;
}
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 16px; color: var(--black); font-weight: 600; }
.lead { color: var(--ink); font-size: 17px; line-height: 1.7; max-width: 760px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 0; }

.split-esp {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
}
.rule {
  display: block; width: 56px; height: 2px; background: var(--accent); margin: 16px 0 18px;
}
.split-esp img { width: 100%; height: 420px; object-fit: cover; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 36px; }
.mosaic-3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative; min-height: 280px; overflow: hidden; color: #fff;
  display: flex; align-items: flex-end;
  text-decoration: none;
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
  transition: transform .75s cubic-bezier(.22,.8,.24,1), filter .4s ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.72));
}
.tile h3 {
  position: relative; z-index: 3; margin: 0; padding: 22px 22px 26px;
  font-size: 22px; font-weight: 600; color: #fff;
}
.tile:hover img { transform: scale(1.1); filter: saturate(1.08) contrast(1.05); }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.linea {
  scroll-margin-top: 96px;
  padding-top: 1.2rem;
}
.linea + .linea {
  margin-top: 1.6rem;
  border-top: 1px solid #e4e4e4;
  padding-top: 1.8rem;
}
.linea > h3 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 0.35rem;
  color: var(--black);
}
.linea .kicker { margin-bottom: 0.35rem; }
.linea .service-list { margin-top: 0.6rem; }
.linea .service-list li:first-child { border-top: 1px solid #e4e4e4; }
.linea .service-list li:last-child { border-bottom: none; }

.service-list {
  list-style: none; margin: 2.4rem 0 0; padding: 0;
}
.service-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.45rem 0;
  border-top: 1px solid #e4e4e4;
}
.service-list li:last-child { border-bottom: 1px solid #e4e4e4; }
.service-list span {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 700;
  padding-top: 0.15rem;
}
.service-list h2, .service-list h3 { font-size: 1.35rem; margin: 0 0 0.3rem; color: var(--black); }
.service-list p { color: var(--muted); max-width: 46rem; margin: 0; }

.method {
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid #e4e4e4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.2rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.method i {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 0.7rem;
}

#partners { background: #fff; }
.clients-wrap h2, .clients-wrap .lead { margin-left: auto; margin-right: auto; text-align: center; }
.logo-track {
  overflow: hidden;
  margin-top: 36px;
  background: #fff;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-track-inner {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: logo-slide 48s linear infinite;
}
.logo-track:hover .logo-track-inner { animation-play-state: paused; }
.logo-item {
  flex: 0 0 auto;
  min-width: 150px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  padding: 8px 16px;
}
.logo-item img {
  max-height: 46px; max-width: 180px; width: auto; height: auto;
  object-fit: contain;
  filter: contrast(1.12);
  opacity: .9;
  transition: filter .3s ease, opacity .3s ease;
}
.logo-item:hover img { filter: contrast(1.2); opacity: 1; }
@keyframes logo-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact-band { background: var(--soft); color: var(--ink); padding: 88px 0; }
.contact-band h2 { color: var(--black); }
.contact-band .kicker { color: var(--accent); }
.contact-cols { display: grid; grid-template-columns: 1fr 1.4fr .9fr; gap: 28px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin: 0 0 12px; color: var(--muted); }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--accent); }

.linea-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 36px;
}
.linea-topics h2 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--black);
  font-weight: 700;
  line-height: 1.35;
}
.linea-topics .rule {
  width: 40px;
  margin: 12px 0 14px;
}
.linea-topics p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.client-card {
  background: #fff;
  border: 1px solid #ececec;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 16px;
  text-align: center;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.client-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
a.client-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.client-card img {
  max-height: 72px; max-width: 180px; width: auto; height: auto;
  object-fit: contain;
}
.client-card.logo-lg img { max-height: 140px; max-width: 250px; }
.client-card.logo-sm img { max-height: 72px; max-width: 240px; }
.client-card span {
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.client-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}
.client-carousel .car-viewport {
  overflow: visible;
  flex: 1;
  min-width: 0;
}
.client-carousel .client-grid { margin-top: 0; }
.client-carousel .car-btn { display: none; }
.client-carousel .car-item.is-clone { display: none; }
.car-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: color .2s ease, transform .2s ease;
}
.car-btn svg { width: 22px; height: 22px; display: block; }
.car-btn:hover { color: var(--accent); transform: scale(1.08); }

.page-hero {
  position: relative; min-height: 360px; display: flex; align-items: flex-end;
  color: #fff; padding: 56px 0 56px; overflow: hidden;
  background: #111;
}
.page-hero-bg {
  position: absolute; inset: -8%;
  background: #111 center/cover no-repeat;
  pointer-events: none;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .kicker { color: #8fdbad; }
.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.62)); }
.linea-hero {
  min-height: calc(100vh - var(--topbar-h, 72px));
  padding: 48px 0 56px;
}
.linea-hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,.78) 100%);
}
.linea-hero .lead {
  color: rgba(255,255,255,.92);
  max-width: 640px;
  font-size: 18px;
  margin: 14px 0 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.linea-hero .method {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top-color: rgba(255,255,255,.3);
  color: #fff;
}
.linea-hero .method i { background: var(--accent); }
.linea-hero .btn-row { margin-top: 22px; }
body.has-cookies .linea-hero { padding-bottom: 140px; }
.linea-follow { padding-top: 72px; padding-bottom: 72px; }

.maps-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.2fr;
  gap: 40px 48px;
  align-items: stretch;
}
.office-copy h2 { margin: 0 0 16px; }
.office-copy p { margin: 0 0 10px; color: var(--muted); }
.office-copy a { color: var(--ink); }
.office-copy a:hover { color: var(--accent); }
.map-frame {
  min-height: 340px;
  height: 100%;
  background: #f3f3f3;
  border: 1px solid #ececec;
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.map-link:hover { text-decoration: underline; }

.split-form {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
}
.form-panel {
  background: #fff;
  border: 1px solid #ececec;
  padding: 24px;
}
.form { display: grid; gap: 12px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid #d5d5d5; padding: 12px; font: inherit;
  background: #fff; font-size: 16px; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.form select { cursor: pointer; }
.form textarea { min-height: 140px; resize: vertical; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.robot-wrap { display: grid; gap: 6px; }
.robot-btn {
  display: inline-flex; align-items: center; gap: 12px;
  width: min(100%, 280px); min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #d5d5d5; border-radius: 4px;
  background: #f9f9f9; color: var(--black);
  font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: left;
}
.robot-btn:hover, .robot-btn:focus-visible {
  border-color: var(--black);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.robot-box {
  flex: 0 0 22px; width: 22px; height: 22px;
  border: 2px solid #555; border-radius: 3px; background: #fff;
}
.robot-btn[aria-pressed="true"] { border-color: var(--accent); background: #fff; }
.robot-btn[aria-pressed="true"] .robot-box {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3 8.2 6.2 11.5 13 4'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.err { color: #8a1f1f; font-size: 13px; font-weight: 600; }
.form button[type="submit"]:disabled {
  opacity: .65;
  cursor: wait;
}
.ok { color: var(--accent-dark); font-size: 14px; }

.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 22px; margin: 32px 0 12px; }
.legal-body p, .legal-body li { line-height: 1.7; color: var(--ink); }
.legal-body ul { padding-left: 20px; }
.legal-body a { color: var(--accent); text-decoration: underline; }
#escribir, #enfoque, #clientes, #nosotros { scroll-margin-top: 96px; }
#inicio, #portal, #pruebas, #appqr, #comandos, #descargas, #office {
  scroll-margin-top: 96px;
}

.notfound { min-height: 70vh; padding: 80px 0; text-align: center; }
.notfound .lead { margin-left: auto; margin-right: auto; }
.notfound .btn-row { justify-content: center; }

.cookie-bar {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; color: var(--ink);
  padding: 16px max(20px, calc((100% - var(--max)) / 2));
  border-top: 1px solid #ececec;
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
}
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.5; max-width: 720px; color: var(--ink); }
.cookie-bar a { text-decoration: underline; color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-bar .btn { min-width: 0; }
.cookie-bar .btn-ghost { color: var(--ink); border-color: #ccc; }
.cookie-bar .btn-ghost:hover { background: var(--ink); color: #fff; }

.wa-float {
  position: fixed; z-index: 80;
  right: 20px; bottom: 20px;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #128c7e; color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .18s ease, background .18s ease, bottom .2s ease;
}
.wa-float:hover, .wa-float:focus-visible { background: #075e54; color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span {
  position: absolute; right: 66px;
  background: #111; color: #fff;
  padding: 6px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.wa-float:hover span, .wa-float:focus-visible span { opacity: 1; }
body.has-cookies .wa-float { bottom: 92px; }

.footer { background: #fff; color: var(--muted); padding: 56px 0 0; border-top: 1px solid #ececec; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer h3 { color: var(--black); margin: 0 0 14px; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a:hover { color: var(--accent); }
.footer .logo-foot { display: flex; align-items: center; gap: 10px; color: var(--black); margin-bottom: 14px; }
.footer .logo-foot img { height: 36px; }
.copy {
  border-top: 1px solid #ececec;
  padding: 16px 0 22px;
  font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted);
}
.copy a:hover { color: var(--accent); }

.btn-login {
  min-width: 0;
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: .06em;
}
.menu-login { display: none; }
.login-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}
body.has-cookies .login-hero { padding-bottom: 56px; }
.login-hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(280px, 400px);
  gap: 32px 48px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.login-hero .login-copy .lead {
  margin-top: 14px;
  max-width: none;
}
.login-form {
  margin: 0;
  background: #fff;
  border: 1px solid #ececec;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  color: var(--ink);
}
.login-form label, .login-form span { color: var(--ink); }
.login-form .robot-wrap { margin-top: 4px; }
.login-form .robot-btn { width: 100%; }

@media (max-width: 1080px) {
  .burger {
    display: flex !important;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 70;
  }
  .nav-right { gap: 0; }
  .nav-tools {
    position: absolute;
    right: 60px;
    top: 12px;
    height: 44px;
    z-index: 70;
  }
  .logo { max-width: calc(100vw - 280px); }
  .btn-login { display: none; }
  .menu-login { display: list-item; }
  .has-sub { padding-bottom: 0; margin-bottom: 0; }
  .has-sub::after { display: none; }
  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu { display: none; }
  .has-sub.is-open .submenu { display: block; }
  .sub-toggle {
    display: block; width: 100%; text-align: left;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #ececec;
  }
  .submenu {
    position: static; transform: none; left: auto; top: auto;
    background: transparent; box-shadow: none; border: 0; padding: 0 0 8px 12px;
  }
  .submenu a {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .menu {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: var(--topbar-h, 72px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 22px 28px;
    gap: 0;
    overflow-y: auto;
    z-index: 60;
  }
  .menu.open { display: flex; }
  body.nav-open .menu-backdrop { display: block; }
  .menu > li > a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #ececec;
  }
  .menu > li > a.is-active { box-shadow: none; padding-bottom: 14px; color: var(--accent); }
  .topbar, .topbar.is-solid { background: #fff; }
  .hero { min-height: calc(100svh - var(--topbar-h, 72px)); }
  .login-hero-grid {
    grid-template-columns: minmax(280px, 400px);
    justify-items: center;
    max-width: 400px;
    gap: 28px;
  }
  .login-copy { text-align: center; }
  .login-form { width: 100%; }
}

@media (min-width: 1081px) {
  .burger { display: none !important; position: static; right: auto; top: auto; }
}

@media (max-width: 980px) {
  .split-esp, .mosaic, .mosaic-3, .footer-grid, .contact-cols, .split-form, .client-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .page-hero-bg, .tile img { animation: none; transition: none; }
  .logo-track-inner { animation: none; }
  .client-carousel .car-track { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  .cookie-bar { flex-direction: column; align-items: stretch; padding: 12px 16px; gap: 10px; }
  .cookie-bar p { font-size: 13px; }
  .cookie-actions .btn { flex: 1 1 auto; min-height: 44px; }
  body.has-cookies .hero-content { margin-bottom: 210px; }
  body.has-cookies .hero-dots { bottom: 168px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .split-esp, .footer-grid, .form-row, .contact-cols, .split-form, .service-list li, .maps-grid {
    grid-template-columns: 1fr;
  }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .hero {
    min-height: calc(100svh - var(--topbar-h, 72px));
  }
  .hero-content {
    width: min(var(--max), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
  }
  .hero .eyebrow { font-size: 11px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 38px); }
  .hero p { font-size: 15px; line-height: 1.55; }
  .hero-dots { right: 16px; bottom: 20px; }
  .section { padding: 56px 0; }
  .contact-band { padding: 48px 0 36px; }
  .tile { min-height: 220px; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .client-carousel {
    gap: 4px;
  }
  .client-carousel .car-viewport {
    overflow: hidden;
    container-type: inline-size;
  }
  .client-carousel .car-btn { display: grid; }
  .client-carousel .car-item.is-clone { display: flex; }
  .client-carousel .car-track.client-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    will-change: transform;
  }
  .client-carousel .car-item {
    flex: 0 0 var(--car-slot, 100cqw);
    width: var(--car-slot, 100cqw);
    max-width: var(--car-slot, 100cqw);
    min-height: 180px;
    border: 0;
  }
  .client-carousel .car-viewport { touch-action: pan-y; }
  .client-carousel .car-item.is-on {
    box-shadow: 0 10px 24px rgba(11, 107, 50, .16);
    transform: none;
  }
  .client-carousel a.client-card:hover {
    transform: none;
    border: 0;
  }
  .mosaic-3 { grid-template-columns: 1fr; }
  .linea-photo { height: 220px; }
  .linea-topics { grid-template-columns: 1fr; gap: 28px; }
  .split-esp img { height: 240px; }
  .page-hero { min-height: 240px; padding: 40px 0 32px; }
  .linea-hero { min-height: calc(100svh - var(--topbar-h, 72px)); padding: 32px 0 36px; }
  body.has-cookies .linea-hero { padding-bottom: 160px; }
  body.has-cookies .login-hero { padding-bottom: 36px; }
  .login-hero-grid { gap: 24px; }
  h2 { font-size: clamp(24px, 7vw, 34px); }
  .wa-float { right: 14px; bottom: 16px; }
  body.has-cookies .wa-float { bottom: 148px; }
  .method i { width: 1.2rem; margin: 0 0.4rem; }
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 8px;
}
body.has-cookies .hub-grid { margin-bottom: 120px; }
.hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  min-height: 100%;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hub-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.hub-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.hub-card .hub-body { padding: 22px 22px 26px; }
.hub-card h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.hub-card p { margin: 0 0 1rem; color: var(--muted); }
.hub-card .btn { align-self: flex-start; }

.note-box {
  background: #eef6f1;
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  margin: 1rem 0 1.4rem;
}
.note-box p { margin: 0; color: var(--ink); }

.code-block {
  position: relative;
  margin: 0.7rem 0 1.2rem;
  background: #f6f8f7;
  border-radius: 8px;
  overflow: hidden;
}
.code-block pre {
  margin: 0;
  padding: 1rem 3.2rem 1rem 1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .88rem;
  line-height: 1.55;
  color: #1c1e21;
  white-space: pre;
}
.copy-btn {
  position: absolute;
  top: .45rem;
  right: .45rem;
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover, .copy-btn.copied { color: var(--accent); }

.dl-list { display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0 1.6rem; }
.dl-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}
.dl-item:hover { border-color: var(--accent); }
.dl-icon { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
.dl-icon svg { width: 28px; height: 28px; display: block; }
.dl-body { display: flex; flex-direction: column; min-width: 0; }
.dl-folder { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.dl-name { font-weight: 600; }
.dl-size { margin-left: auto; color: var(--muted); font-size: 13px; }
.dl-action { font-size: 13px; font-weight: 700; color: var(--accent); }

.tabs { display: flex; list-style: none; margin: 0 0 1rem; padding: 0; border-bottom: 1px solid #ececec; overflow-x: auto; gap: 0; }
.tabs__item, .seg-tabs [role="tab"] {
  padding: .7rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  border: 0;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  font-family: inherit;
  font-size: 14px;
}
.tabs__item:hover, .seg-tabs [role="tab"]:hover { color: var(--accent); }
.tabs__item--active, .seg-tabs [role="tab"].is-on, .seg-tabs [role="tab"][aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-panel { display: none; }
.tab-panel--active { display: block; }

.table-wrap {
  overflow-x: auto;
  margin: .75rem 0 1.25rem;
  border: 1px solid #ececec;
  border-radius: 8px;
}
.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .88rem;
}
.table-wrap th, .table-wrap td {
  padding: .55rem .7rem;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  vertical-align: top;
}
.table-wrap th { background: #f6f8f7; font-weight: 600; white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap a { color: var(--accent); font-weight: 600; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.test-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.test-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 22px 16px;
  min-height: 210px;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.test-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.test-card svg { width: 42px; height: 42px; color: var(--accent); margin-bottom: 12px; }
.test-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.test-card p { margin: 0; color: var(--muted); font-size: 14px; }

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-top: 28px;
}
.app-features article { margin: 0; }
.app-features h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.app-dl { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

@media (max-width: 980px) {
  .test-grid, .test-grid.cols-3, .app-features, .hub-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .test-grid, .test-grid.cols-3, .app-features, .hub-grid { grid-template-columns: 1fr; }
  .dl-item { flex-wrap: wrap; }
  .dl-size { margin-left: 0; }
}

@media (max-width: 420px) {
  .hero-actions .btn { min-width: 0; flex: 1 1 auto; }
}

