/* Innovaris IT — sitio estático
   Colores de marca tomados del logo. Cambia los tokens aquí para actualizar todo el sitio. */
:root {
  --brand-green: #a6e35a;
  --brand-green-dark: #6fae1f;
  --brand-gray: #535353;
  --ink: #1f2328;
  --ink-soft: #555c66;
  --bg: #ffffff;
  --bg-alt: #f4f6f3;
  --line: #e3e6e1;
  --dark: #1c1f22;
  --radius: 10px;
  --max: 1140px;
  --font-head: "Raleway", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-green-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.site-header .logo img { width: 190px; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; font-size: 1.6rem; color: var(--brand-gray); padding: 4px 8px; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none; color: var(--brand-gray);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand-green-dark); }

@media (max-width: 760px) {
  .nav-toggle-label { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-nav li a { display: block; padding: 10px 0; }
  .nav-toggle:checked ~ .main-nav { display: block; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 12px 28px; margin: 6px 8px 6px 0;
  border-radius: 999px; border: 2px solid var(--brand-green);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-filled { background: var(--brand-green); color: var(--dark); }
.btn-filled:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.on-image .btn-outline { color: #fff; border-color: #fff; }
.on-image .btn-outline:hover { background: #fff; color: var(--ink); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.3fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .section { padding: 64px 0; }
}

/* Image-background bands */
.image-band {
  position: relative; color: #fff; text-align: center;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.image-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,22,25,.55); }
.image-band > .container { position: relative; max-width: 820px; }
.image-band h1, .image-band h2 { color: #fff; text-shadow: 1px 1px 7px rgba(0,0,0,.45); }
.image-band p { font-size: 1.1rem; text-shadow: 1px 1px 3px rgba(0,0,0,.5); }
.hero { min-height: calc(100vh - 68px); display: flex; align-items: center; }
.band-tall { min-height: 80vh; display: flex; align-items: center; }
.band { padding: 120px 0; }
/* iOS/mobile do not support fixed backgrounds well */
@media (max-width: 860px), (hover: none) { .image-band { background-attachment: scroll; } }

.bg-hero { background-image: url("../img/hero-agreement.webp"); }
.bg-innovation { background-image: url("../img/innovation-robot.webp"); }

/* Contact */
.contact { text-align: center; }
.contact .lead { color: var(--ink-soft); margin-bottom: 48px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.contact-card strong { display: block; font-family: var(--font-head); margin-bottom: 6px; }
.contact-card p { margin: 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.social { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0; flex-wrap: wrap; }
.social a { text-decoration: none; font-weight: 600; }

/* Clients */
.clients { text-align: center; }
.client-logos { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 56px; }
.client-logos img { max-height: 80px; width: auto; mix-blend-mode: multiply; filter: grayscale(100%); opacity: .75; transition: filter .2s, opacity .2s; }
.client-logos img:hover { filter: none; opacity: 1; }

/* Blog */
.page-header { background: var(--bg-alt); padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-header p { color: var(--ink-soft); margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.25rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--brand-green-dark); }
.post-card p { color: var(--ink-soft); font-size: .95rem; }
.post-card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.meta { color: var(--ink-soft); font-size: .85rem; margin-bottom: .6em; }

.article { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.article .cover { border-radius: var(--radius); margin: 24px 0 36px; }
.article p { font-size: 1.05rem; }
.back { display: inline-block; margin-top: 32px; font-weight: 600; text-decoration: none; }

/* Footer */
.site-footer { background: var(--dark); color: #c9cdd2; padding: 40px 0; font-size: .9rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #e6e9ec; }
.site-footer p { margin: 0 0 .3em; }

/* Utilities */
.center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Cloud: platform list */
.tech-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 1em; }
.tech-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 16px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.note { color: var(--ink-soft); font-size: .92rem; }

/* Featured project */
.featured { background: var(--dark); color: #d7dbe0; }
.featured h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.eyebrow { color: var(--brand-green); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .6em; }
.featured-lead { color: #fff; font-size: 1.2rem; }
.client-feature { border-left: 1px solid rgba(255,255,255,.15); padding-left: 40px; }
.client-feature img { width: 220px; background: #fff; border-radius: 6px; padding: 10px 14px; margin-bottom: 28px; }
.client-feature dl { margin: 0 0 24px; }
.client-feature dl div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.client-feature dl div:first-child { padding-top: 0; }
.client-feature dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-green); font-weight: 600; margin-bottom: 2px; }
.client-feature dd { margin: 0; color: #fff; }
.client-feature a { color: #d7dbe0; font-size: .92rem; text-decoration: none; }
.client-feature a:hover { color: var(--brand-green); }
@media (max-width: 860px) { .client-feature { border-left: 0; padding-left: 0; } }

/* Clients */
.clients-label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--brand-green-dark); margin: 40px 0 0; }
.current-clients { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 28px; margin-top: 20px; }
.client-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 6px 24px rgba(0,0,0,.06); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.client-card img { height: 72px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 18px; }
.client-card h3 { margin-bottom: .3em; }
.client-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .6em; }
.client-card a { font-weight: 600; text-decoration: none; }
.client-logos { margin-top: 20px; }
@media (max-width: 760px) { .current-clients { grid-template-columns: 1fr; } }

/* Article components */
.article h2 { margin-top: 1.6em; font-size: 1.55rem; }
.article h3 { font-size: 1.1rem; margin-top: 1.4em; }
.article li { margin-bottom: .4em; }
.lead-answer { font-size: 1.15rem !important; border-left: 4px solid var(--brand-green); padding: 4px 0 4px 20px; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.article table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--bg-alt); font-family: var(--font-head); }
.cta-box { background: var(--dark); color: #d7dbe0; border-radius: var(--radius); padding: 32px; margin: 48px 0; }
.cta-box h2 { color: #fff; margin-top: 0; }
.faq { border-top: 1px solid var(--line); padding-top: 8px; }
figure.cover { margin: 24px 0 36px; }
figure.cover img { border-radius: var(--radius); }
figure.cover figcaption { font-size: .78rem; color: var(--ink-soft); margin-top: 6px; text-align: right; }
figure.cover figcaption a { color: inherit; }
