/* RMI Informática Industrial: site styles.
   Visual language of the SST-22 commercial material: Plus Jakarta Sans headings, IBM Plex Sans body,
   square corners, no coloured strokes, blue accent used sparingly, text black or grey. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #14202b;
  --muted: #56636f;
  --line: #dfe5ea;
  --bg: #ffffff;
  --soft: #f3f6f8;
  --blue: #0b5d78;
  --head: "Plus Jakarta Sans", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body);
  font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
p, ul, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4, .kicker, .tag, .label, .brand span, .btn { font-family: var(--head); }
b { font-weight: 600; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand span { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.top nav ul { list-style: none; padding: 0; display: flex; gap: 4px 22px; flex-wrap: wrap; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--muted); padding: 6px 0; display: inline-block; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .top { position: static; }
  .top-in { padding-top: 10px; padding-bottom: 8px; }
  .brand span { font-size: 12px; letter-spacing: .1em; }
  .top nav ul { gap: 2px 18px; }
}

/* hero */
.hero { background: var(--blue); color: #fff; padding: 96px 0 104px; }
.hero-logo { margin-bottom: 40px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; max-width: 14ch; }
.hero .lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; margin-top: 28px; max-width: 40ch; color: rgba(255,255,255,.88); }
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 24px; font-weight: 700; font-size: 16px; text-decoration: none;
  background: #fff; color: var(--ink); }
.btn:hover { background: var(--soft); color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.hero :focus-visible { outline-color: #fff; }
@media (max-width: 600px) { .hero { padding: 56px 0 64px; } .hero-logo { width: 56px; margin-bottom: 28px; } }

/* sections */
.sec { padding: 88px 0; }
.sec-soft { background: var(--soft); }
.sec-soft .card { background: #fff; }
@media (max-width: 600px) { .sec { padding: 56px 0; } }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sec h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.015em; margin-bottom: 28px; }
.sub { font-size: 24px; font-weight: 700; line-height: 1.25; margin: 56px 0 20px; }
.big { font-size: clamp(20px, 2.2vw, 25px); line-height: 1.45; }
.muted { color: var(--muted); }
.note { font-size: 15px; color: var(--muted); margin-top: 32px; max-width: 80ch; }
.note a { color: var(--muted); }
.note-strong { font-size: 18px; margin-top: 24px; max-width: 80ch; }
.label { font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }
.clients { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.clients li { background: var(--soft); padding: 8px 14px; font-weight: 500; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2.cards { gap: 20px; }
.sp > div .sub { margin-top: 56px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; gap: 28px; } .grid2.sp { gap: 0; } }

.card { background: var(--soft); padding: 24px 26px; }
.card h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 16.5px; line-height: 1.5; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; }

ul.b { list-style: none; padding: 0; }
ul.b li { position: relative; padding-left: 24px; margin-bottom: 12px; }
ul.b li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--muted); }
.card ul.b li { font-size: 16.5px; line-height: 1.45; margin-bottom: 9px; }
.card ul.b li::before { top: .55em; }

/* team */
.people { gap: 48px; }
.person { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--line); }
.person h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.person .kicker { margin-bottom: 6px; }
.person ul.b li { font-size: 16.5px; line-height: 1.45; margin-bottom: 9px; }
.person p { font-size: 16.5px; line-height: 1.5; }
@media (max-width: 480px) { .person { grid-template-columns: 96px 1fr; gap: 16px; } .person h3 { font-size: 20px; } }

/* contact */
.contact h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.contact p { font-size: 17px; margin-bottom: 4px; }
.contact a { word-break: break-word; }

/* footer */
.foot { background: var(--ink); color: rgba(255,255,255,.82); padding: 40px 0; font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
.foot-in p:first-child { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.privacy { max-width: 60ch; }

@media print {
  .top { position: static; }
  .hero, .foot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
