/* VÉRTICE — Servicios integrados · estilos del sitio */
:root {
  --ink: #1C1F22;
  --ink-2: #26292D;
  --bone: #F4F2EE;
  --paper: #FFFFFF;
  --line: #D6D2CA;
  --line-dark: #3A3E42;
  --muted: #4A4E52;
  --muted-dark: #C9C5BD;
  --orange: #E8651A;
  --orange-text: #B8470F;
  --wa: #1F8F4E;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --wrap: 1120px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
a:hover { color: #8A340B; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Tipografía */
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.98; margin: 0; text-wrap: balance; letter-spacing: 0.2px; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-family: var(--body); text-transform: none; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
.eyebrow { font-size: 12.5px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.bar { width: 72px; height: 4px; background: var(--orange); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 62ch; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--bone); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; }
.brand:hover { color: var(--bone); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 0.9; letter-spacing: 2px; }
.brand-sub { font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted-dark); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--bone); text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--bone); }
.nav .btn { border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--bone); border-radius: 6px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { margin: auto; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
  .nav .btn { margin-top: 12px; justify-content: center; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 6px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #F07A34; color: var(--ink); }
.btn-ghost { border-color: var(--bone); color: var(--bone); background: transparent; }
.btn-ghost:hover { background: var(--bone); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: var(--ink-2); color: var(--bone); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bone); }

/* Secciones */
.section { padding-block: 88px; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.dark { background: var(--ink); color: var(--bone); }
.dark .lead, .dark .eyebrow { color: var(--muted-dark); }
.paper { background: var(--paper); }

/* Hero */
.hero { background: var(--ink); color: var(--bone); padding-block: 88px 96px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: end; position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero .lead { color: #DAD6CE; }
.hero .eyebrow { color: var(--muted-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-mark { position: absolute; right: -80px; top: -40px; width: 520px; opacity: .06; pointer-events: none; }
.hero-panel { border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.hero-panel .eyebrow { margin-bottom: 8px; }
.hero-panel a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line-dark); color: var(--bone); text-decoration: none; }
.hero-panel a:hover { color: var(--orange); }
.hero-panel .area { font-family: var(--display); font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.hero-panel .area small { display: block; font-family: var(--body); font-size: 13px; font-weight: 400; text-transform: none; color: var(--muted-dark); margin-top: 6px; line-height: 1.4; }
.page-hero { padding-block: 72px 80px; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-block: 64px 72px; }
  .section { padding-block: 64px; }
}

/* Áreas (home) */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.area-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.area-card h2 { font-size: clamp(30px, 3.4vw, 40px); }
.area-card .by { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.area-card .foot { margin-top: auto; padding-top: 8px; }
@media (max-width: 800px) { .areas { grid-template-columns: 1fr; } .area-card { padding: 24px; } }

/* Listas con marcador */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; line-height: 1.45; }
.ticks li::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex-shrink: 0; margin-top: 7px; }

/* Servicios (páginas de área) */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.service-head { display: flex; align-items: center; gap: 14px; }
.service-head svg { flex-shrink: 0; }
.service .ticks { font-size: 15px; color: #3A3E42; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service { padding: 22px; } }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.steps li:last-child { border-top-color: var(--orange); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; }
.steps p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Tabla servicios y modalidad */
.table-wrap { overflow-x: auto; }
.svc-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.svc-table th { text-align: left; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; color: var(--muted); padding: 0 12px 12px 0; border-bottom: 2px solid var(--ink); }
.svc-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.svc-table td:first-child { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; width: 64px; font-variant-numeric: tabular-nums; }
.svc-table td:nth-child(2) { font-weight: 600; }
.svc-table td:last-child, .svc-table th:last-child { text-align: right; padding-right: 0; color: var(--muted); }

/* Banda destacada */
.feature { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 36px; }
.feature h2 { font-size: clamp(30px, 3.4vw, 40px); }
.feature p { color: #3A3E42; font-size: 17px; border-left: 3px solid var(--orange); padding-left: 24px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; gap: 20px; padding: 24px; } }

/* Modalidades */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mode { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.mode strong { font-family: var(--display); font-size: 28px; text-transform: uppercase; line-height: 1; }
.mode p { color: #3A3E42; font-size: 15px; }
@media (max-width: 700px) { .modes { grid-template-columns: 1fr; } }

/* Respaldo */
.backing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.backer { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; background: var(--ink-2); }
.backer-logo { height: 64px; display: flex; align-items: center; }
.backer-logo img { max-height: 56px; width: auto; }
.chip-white { background: #FFFFFF; border-radius: 6px; padding: 8px 12px; display: inline-flex; }
.chip-white img { max-height: 44px; }
.backer .area-tag { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-dark); }
.backer p { color: #DAD6CE; }
.backer.single { max-width: 760px; }
@media (max-width: 800px) { .backing { grid-template-columns: 1fr; } .backer { padding: 24px; } }

/* Descargas */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.download { display: flex; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--ink); }
.download:hover { border-color: var(--ink); color: var(--ink); }
.download .meta { display: flex; flex-direction: column; gap: 2px; }
.download .meta span { font-size: 13px; color: var(--muted); }
.download strong { font-size: 17px; }
.download .arrow { margin-left: auto; font-family: var(--display); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--orange-text); font-weight: 700; }
@media (max-width: 700px) { .downloads { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: var(--ink); color: var(--bone); padding-block: 72px; }
.cta .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(34px, 5vw, 56px); }
.cta p { color: var(--muted-dark); margin-top: 14px; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #B9B4AA; border-radius: 6px; background: #FFFFFF; color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 101, 26, .35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 15px; }
.form-status.ok { color: #1F6B3A; }
.form-status.err { color: #A3261B; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.contact-card .eyebrow { font-size: 12px; }
.contact-card .value { font-size: 18px; font-weight: 600; word-break: break-word; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float:hover { background: #197A42; color: #FFFFFF; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Footer */
.site-footer { background: #15171A; color: var(--muted-dark); padding-block: 56px 88px; font-size: 14.5px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer h4 { font-family: var(--body); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--bone); margin: 0 0 14px; font-weight: 500; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--bone); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 20px; font-size: 13px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; } }

.stack { display: flex; flex-direction: column; gap: 56px; }

/* Catálogo de productos */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; background: var(--bone); }
.cat h3 { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.05; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.cat .ticks { font-size: 14.5px; gap: 8px; color: #3A3E42; }
.brands { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; font-weight: 500; }
@media (max-width: 960px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catalog { grid-template-columns: 1fr; } }

/* Detalle de servicios IT */
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: var(--bone); display: flex; flex-direction: column; gap: 16px; }
.detail h3 { font-family: var(--display); font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.05; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.detail dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.detail dt { font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.detail dt::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex-shrink: 0; transform: translateY(-2px); }
.detail dd { margin: 4px 0 0 18px; font-size: 15px; color: #3A3E42; line-height: 1.5; }
.modes-strip { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.modes-strip span:not(.eyebrow) { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }
@media (max-width: 800px) { .details { grid-template-columns: 1fr; } .detail { padding: 22px; } }

/* Nosotros */
.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: #3A3E42; max-width: 62ch; }
.about-copy h2 { color: var(--ink); }
.about-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.about-facts li { border-top: 2px solid var(--ink); padding-block: 16px; display: flex; flex-direction: column; gap: 4px; }
.about-facts li:last-child { border-bottom: 2px solid var(--ink); }
.about-facts strong { font-family: var(--display); font-size: 32px; text-transform: uppercase; line-height: 1; }
.about-facts span { color: var(--muted); font-size: 15px; }
.company { display: flex; flex-direction: column; gap: 36px; }
.company-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.company-logo { display: inline-flex; align-items: center; border-radius: 8px; }
.company-logo img { max-height: 64px; width: auto; }
.chip-bordered { border: 1px solid var(--line); padding: 12px 18px; }
.chip-dark { background: var(--ink); padding: 14px 20px; }
.company-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; }
.company-copy { display: flex; flex-direction: column; gap: 16px; font-size: 17px; color: #3A3E42; max-width: 64ch; }
.company-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.paper .company-side { background: var(--bone); }
.company-side h3 { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.clients { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.clients p:last-child { font-weight: 500; line-height: 1.8; }
a.backer-logo { text-decoration: none; }
a.backer-logo:hover img { opacity: .85; }
.backer-more { color: var(--bone); font-weight: 600; text-decoration: none; margin-top: auto; }
.backer-more:hover { color: var(--orange); }
@media (max-width: 860px) { .about, .company-body { grid-template-columns: 1fr; gap: 28px; } }
