:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(98.6% 0.005 250); --color-paper-2: oklch(95.8% 0.012 250); --color-paper-3: oklch(92% 0.02 250);
  --color-card: oklch(100% 0 0);
  --color-ink: oklch(22% 0.05 258); --color-ink-2: oklch(33% 0.05 258); --color-muted: oklch(46% 0.035 258);
  --color-rule: oklch(88% 0.02 250);
  --color-blue: oklch(41% 0.13 258); --color-blue-deep: oklch(32% 0.1 259);
  --color-on-blue: oklch(98% 0.01 250); --color-on-blue-2: oklch(90% 0.04 250);
  --color-accent: oklch(74% 0.17 55); --color-accent-ink: oklch(20% 0.05 258); --color-accent-deep: oklch(82% 0.15 65);
  --color-focus: oklch(42% 0.15 258); --color-focus-on-blue: oklch(93% 0.12 95);
  --font-display: "Exo 2", ui-sans-serif, system-ui, sans-serif; --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-display);
  --radius-box: 4px; --shadow-lift: 2px 3px 6px oklch(22% 0.05 258 / 0.28);
  --radius-card: 20px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.025em;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* Hallmark · shape: Template board (alternating rows) · genre: modern-minimal · theme: custom · job: book · idea: "Cada servicio arranca con la frase que el cliente ya dice, en filas que alternan imagen y texto como en la plantilla Unique Tech" · vibe: "cercano, claro, plantilla clásica en azul marino y naranja"
 * paper: oklch(98.6% 0.005 250) · accent: oklch(74% 0.17 55) · display: Exo 2 · body: Figtree · hero: navy field, headline and one sentence left, one white slot with the devices right, a dashed arrow between · nav: white bar, the logo left, four links and the phone right · footer: dark navy, four columns · imagery: the user's illustrations at native size and the real logo · signature: the customer's own phrases set huge as the row headings
 * axes: light/geometric-sans/chromatic-orange · posture: calm · contrast: pass · fold: pass · v2.0.0
 * brief: aesthetic of the Unique Tech reference (title plaques, dashed arrows, alternating rows, grey panels, banner, dark footer) with the user's typography, texts and colours; labels kept in sentence case, never capitals */
/* Hallmark · pre-emit critique: P4 H4 E3 S3 R3 V3 · weakest: the illustrations are 167px, so each sits in a white panel at native size */
/* Hallmark · waive 78 · section titles stay at label scale inside the dark plaque · the plaque is the reference's own device and the user asked to follow it */


body { font-size: 1.0625rem; }
h1, h2, h3 { font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.08; }
.lead { font-size: var(--text-lead); line-height: 1.45; }
.sec { padding-block: calc(var(--section-gap) / 2); }
.band { background: var(--color-paper-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-box); font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); text-decoration: none; border: 0; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-lift); transition: background-color var(--dur-micro) var(--ease-out), translate var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--ghost { background: transparent; border: 2px solid var(--color-on-blue-2); color: var(--color-on-blue); box-shadow: none; }
.btn--ghost:hover { border-color: var(--color-on-blue); background: var(--color-blue-deep); }
.btn--outline { background: transparent; border: 2px solid var(--color-accent-ink); color: var(--color-accent-ink); box-shadow: none; }
.btn--outline:hover { background: var(--color-accent-ink); color: var(--color-on-blue); }
.btn:active { translate: 0 2px; box-shadow: none; }
.btn--small { min-height: 44px; padding: 0 var(--space-md); }
.on-blue :focus-visible { outline-color: var(--color-focus-on-blue); }

.topbar { background: var(--color-card); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-sm); }
.nav img { height: 36px; width: auto; }
.nav__right { display: flex; align-items: center; gap: var(--space-lg); }
.nav ul { display: flex; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; color: var(--color-ink-2); font-size: var(--text-sm); white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--color-blue); text-decoration: underline; }
.nav .tel { font-size: var(--text-sm); color: var(--color-muted); }

.hero { background: var(--color-blue); color: var(--color-on-blue); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: center; padding-block: var(--space-3xl) var(--space-lg); min-height: 440px; }
.hero h1 { font-size: var(--text-display-s); margin-bottom: var(--space-md); }
.hero .lead { color: var(--color-on-blue-2); max-width: 30ch; margin-bottom: var(--space-lg); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.hero__art { position: relative; justify-self: center; width: min(100%, 580px); }
.hero__art .arrow { position: absolute; left: -430px; top: -97px; width: 490px; height: auto; }
.hero__img { width: 100%; height: auto; }
.screen { background: var(--color-card); border-radius: var(--radius-box); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.screen img { width: 167px; height: 167px; }

.plaque-wrap { position: relative; display: flex; justify-content: center; margin-bottom: var(--space-2xl); }
.plaque { background: var(--color-blue-deep); color: var(--color-on-blue); font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); padding: var(--space-sm) var(--space-xl); box-shadow: var(--shadow-lift); letter-spacing: -0.01em; }
.plaque-wrap .arrow { position: absolute; top: 12px; width: 70px; color: var(--color-ink-2); }
.plaque-wrap--r .arrow { left: calc(50% + 190px); }
.plaque-wrap--l .arrow { right: calc(50% + 190px); transform: scaleX(-1); }

.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: center; margin-bottom: var(--space-2xl); }
.row2:last-child { margin-bottom: 0; }
.row2__art { background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-box); min-height: 280px; display: grid; place-items: center; }
.row2__art img { width: 167px; height: 167px; }
.row2--flip .row2__art { order: 2; }
.row2 h3 { font-size: var(--text-2xl); margin-bottom: var(--space-xs); }
.row2 .svc { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); color: var(--color-blue); margin-bottom: var(--space-xs); }
.row2 p:not([class]) { color: var(--color-ink-2); margin-bottom: var(--space-md); }

#servicios { padding-bottom: calc(var(--section-gap) / 2 + var(--space-2xl)); }
.board4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.svc-card { background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-box); box-shadow: var(--shadow-lift); padding: var(--space-md); display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-md); min-width: 0; }

.svc-card h3 { font-size: var(--text-lg); line-height: 1.15; }
.svc-card__body { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-sm); align-items: end; }
.svc-card__body img { width: 88px; height: 88px; }
.svc-card .svc { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); color: var(--color-blue); margin-bottom: var(--space-3xs); }
.svc-card p:not(.svc) { color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.45; }
.svc-card .btn { width: 100%; min-height: 44px; }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); text-align: center; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 28px; border-top: 2px solid var(--color-muted); }
.steps { counter-reset: paso; }
.step { position: relative; counter-increment: paso; }
.step .n::before { content: counter(paso); font-variant-numeric: tabular-nums; }
.step .n { width: 56px; height: 56px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); display: grid; place-items: center; margin: 0 auto var(--space-sm); box-shadow: var(--shadow-lift); }
.step h3 { font-size: var(--text-xl); margin-bottom: var(--space-2xs); }
.step p { color: var(--color-ink-2); margin-inline: auto; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.fact { background: var(--color-card); border-top: 4px solid var(--color-accent); box-shadow: var(--shadow-lift); padding: var(--space-lg); min-height: 150px; display: grid; align-content: center; gap: var(--space-xs); }
.fact h3 { font-size: var(--text-xl); }
.fact--lead { background: var(--color-blue); color: var(--color-on-blue); }
.fact--lead p { color: var(--color-on-blue-2); }

.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.pack { background: var(--color-card); box-shadow: var(--shadow-lift); display: grid; grid-template-rows: auto 1fr auto; text-align: center; }
.pack header { background: var(--color-blue); color: var(--color-on-blue); padding: var(--space-md); }
.pack:nth-child(2) header { background: var(--color-blue-deep); }
.pack h3 { font-size: var(--text-xl); }
.pack ul { list-style: none; margin: 0; padding: var(--space-lg); display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.pack li { padding-bottom: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule); }
.pack footer { padding: 0 var(--space-lg) var(--space-lg); }

.myths { display: grid; gap: var(--space-sm); }
.myths details { background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-box); padding: var(--space-md) var(--space-lg); }
.myths summary { cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); }
.myths summary::-webkit-details-marker { display: none; }
.myths summary::after { content: "+"; color: var(--color-blue); }
.myths details[open] summary::after { content: "–"; }
.myths details p { margin-top: var(--space-sm); color: var(--color-ink-2); }

.hire { background: var(--color-accent); color: var(--color-accent-ink); display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; padding: var(--space-2xl) var(--space-xl); min-height: 300px; box-shadow: var(--shadow-lift); }
.hire h2 { font-size: var(--text-display-s); max-width: 14ch; }
.hire p { margin-top: var(--space-xs); }

.footer { background: var(--color-blue-deep); color: var(--color-on-blue-2); padding-block: var(--space-2xl) var(--space-lg); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-bottom: var(--space-xl); }
/* Fondos de garabatos (skill grafica-plana), PNG transparentes sobre el color de cada sección */
/* El PNG mide lo mismo que el contenedor (1440 px) para que los dibujos caigan donde no hay texto ni imágenes */
.bg-doodle { background-repeat: no-repeat; background-position: center top; background-size: 1440px 100%; }
.bg-hogares { background-image: url("images/fondos/fondo-hogares-y-pymes.png"); }
@media (max-width: 75rem) { .nav .tel { display: none; } }
.footer h3 { font-size: var(--text-md); font-weight: 500; color: var(--color-on-blue); margin-bottom: var(--space-sm); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--color-on-blue); text-decoration: underline; }
.footer .end { text-align: center; }

@media (max-width: 75rem) {
  .board4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card--last { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .board4 { grid-template-columns: minmax(0, 1fr); }
  .svc-card--last { grid-column: auto; }
}
@media (max-width: 60rem) {
  .bg-hogares { background-image: none; }
  .hero__grid, .row2, .steps, .facts, .packs, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .row2--flip .row2__art { order: 0; }
  .hero__art .arrow, .plaque-wrap .arrow, .steps::before { display: none; }
  .nav ul, .nav .tel { display: none; }
  .plaque { padding-inline: var(--space-lg); font-size: var(--text-lg); text-align: center; }
}

/* Filtro de servicios y detalles de tarjeta (8 servicios en 6 familias) */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.chip { min-height: 44px; padding: 0 var(--space-md); border: 2px solid var(--color-blue); border-radius: var(--radius-box); background: var(--color-card); color: var(--color-blue); font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); cursor: pointer; }
.chip:hover { background: var(--color-paper-2); }
.chip[aria-pressed="true"] { background: var(--color-blue); color: var(--color-on-blue); }
.svc-card[hidden] { display: none; }
.svc-card .mod { display: inline-block; margin-bottom: var(--space-2xs); padding: var(--space-3xs) var(--space-xs); background: var(--color-paper-2); border-radius: var(--radius-box); color: var(--color-ink-2); font-size: var(--text-sm); }
.svc-card .incl { margin-top: var(--space-xs); color: var(--color-muted); }
.svc-card__body { align-items: start; }
/* Flecha separada de las placas con título más largo */
#servicios .plaque-wrap--r .arrow { left: calc(50% + 265px); }

/* Franja de equipos atendidos */
.strip { background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-md); text-align: center; color: var(--color-ink-2); }
.strip p { max-width: none; margin-inline: auto; text-wrap: balance; }
.strip strong { font-family: var(--font-display); font-weight: 600; color: var(--color-blue); }

/* TeamViewer: botón en el menú */
.btn--tv img { flex: none; width: 24px; height: 24px; }
.btn--tv { gap: var(--space-xs); }
@media (max-width: 40rem) { .btn--tv span { display: none; } .btn--tv { padding: 0 var(--space-xs); } }
