@font-face {
  font-family: Poppins;
  src: url("/assets/gm-poppins-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("/assets/gm-lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("/assets/gm-lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #142341;
  --muted: #495b76;
  --paper: #f3f6fb;
  --blue: #2449de;
  --line: #d7e0ef;
  --accent: #dbee53;
  --display: Poppins, system-ui, sans-serif;
  --body-font: Lato, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--body-font); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.055em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #5a75f4; outline-offset: 4px; }
[hidden] { display: none !important; }
.layout { width: min(100% - 88px, 1260px); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 48px; padding: .65rem 1.04rem; text-decoration: none; border: 1px solid transparent; border-radius: 6px; font-weight: 700; line-height: 1.25; }
.btn span { font-size: 1.12em; }
.btn-primary { color: #fff; background: var(--blue); }
.btn-primary:hover { background: #1836b3; }
.btn-link { color: #1d3ebd; padding-inline: 0; }
.btn-link:hover { text-decoration: underline; text-underline-offset: .27em; }
.btn-accent { color: #172443; background: var(--accent); }
.btn-accent:hover { background: #efff85; }

.home-hero { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(2rem, 5vw, 4.8rem); align-items: center; padding-block: clamp(3.3rem, 8vw, 7.8rem); }
.studio-label { display: flex; align-items: center; gap: .58rem; color: var(--muted); font-weight: 700; font-size: .92rem; margin-bottom: 1.25rem; }
.studio-label span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.home-hero h1 { font-size: clamp(2.9rem, 5.5vw, 5.9rem); line-height: 1.02; letter-spacing: -.06em; }
.hero-lead { max-width: 32rem; font-size: clamp(1.05rem, 1.45vw, 1.24rem); color: var(--muted); margin: 1.5rem 0 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; }
.hero-art { min-width: 0; border-radius: 10px; overflow: hidden; background: #182644; box-shadow: 12px 12px 0 #dce5f7; }
.hero-art figcaption { display: flex; justify-content: space-between; gap: .6rem; padding: .6rem 1rem; color: #d8e4fb; font-size: .81rem; font-weight: 700; }
.hero-demo { padding: clamp(.8rem, 2.1vw, 1.6rem); padding-bottom: 0; }
.hero-demo-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .15rem .25rem .9rem; color: white; }
.hero-demo-header img { width: clamp(42px, 5vw, 64px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.hero-demo-header p { color: var(--accent); font-size: .82rem; font-weight: 700; }
.hero-demo-header h2 { margin-top: .16rem; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.hero-demo-header a { color: #e1e9fa; font-size: .9rem; font-weight: 700; text-underline-offset: .23rem; white-space: nowrap; }
.hero-demo-header a:focus-visible { outline-color: var(--accent); }
.hero-demo-body { padding: clamp(.7rem, 2vw, 1.25rem); border-radius: 7px; background: #fff; }
.hero-demo-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .6rem; border: 1px solid var(--line); border-radius: 6px; }
.hero-demo-item-copy strong, .hero-demo-checkout strong { display: block; }
.hero-demo-item-copy span, .hero-demo-checkout span { color: var(--muted); font-size: .84rem; }
.hero-demo-quantity { display: flex; align-items: center; gap: .2rem; font-weight: 700; }
.hero-demo-quantity span { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.hero-demo-quantity button { width: 44px; height: 44px; padding: 0; border: 1px solid #b9c8ee; border-radius: 5px; background: #edf2ff; color: #1d3ebd; font-size: 1.2rem; }
.hero-demo-quantity button:disabled { background: #f5f7fc; color: #687a96; }
.hero-demo button:disabled { cursor: default; }
.hero-demo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .42rem; margin: .9rem 0; padding: 0; list-style: none; }
.hero-demo-steps li { border-top: 3px solid var(--line); padding-top: .3rem; color: var(--muted); font-size: .8rem; }
.hero-demo-steps li[data-passed] { border-color: #7287d6; }
.hero-demo-steps li[aria-current="step"] { border-color: var(--blue); color: #1d3ebd; font-weight: 700; }
.hero-demo-checkout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .8rem; }
.hero-demo-checkout strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.hero-demo-checkout button:disabled { background: #e7edfa; color: #526483; }
.hero-demo-status { margin-top: .65rem; min-height: 1.6em; color: var(--muted); font-size: .87rem; }
.work-band { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 6rem); }
.section-intro { display: grid; grid-template-columns: 1fr .6fr; gap: 1.2rem 3rem; align-items: end; margin-bottom: 1.75rem; }
.section-label { font-weight: 700; color: #1d3ebd; margin-bottom: .55rem; }
.section-intro h2, .services-intro h2 { font-size: clamp(2.1rem, 4.35vw, 4rem); }
.section-intro > p, .services-intro > p:not(.section-label) { color: var(--muted); max-width: 31rem; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.3rem; }
.home-product { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.product-photo { display: block; overflow: hidden; background: #223879; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; transition: transform .3s ease; }
.home-product:hover .product-photo img { transform: scale(1.035); }
.restaurant .product-card-body { background: #f6f3ee; }
.mobility .product-card-body { background: #eef2ff; }
.product-card-body { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: clamp(1rem, 2vw, 1.7rem); }
.product-sector { color: var(--muted); font-size: .86rem; font-weight: 700; margin-bottom: .28rem; }
.product-card-body h3 { font-size: clamp(1.55rem, 2.8vw, 2.45rem); margin-bottom: .35rem; }
.product-card-body p:not(.product-sector) { max-width: 23rem; color: var(--muted); }
.product-go { align-self: end; color: #193ab9; font-weight: 700; text-decoration: none; padding-block: .55rem; white-space: nowrap; }
.product-go:hover, .catalogue-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.product-go span, .catalogue-link span { margin-left: .2rem; }
.catalogue-link { display: inline-flex; gap: .25rem; margin-top: 1.55rem; color: #193ab9; font-weight: 700; text-decoration: none; }
.home-services { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 6vw, 6rem); }
.services-intro h2 { margin-bottom: .95rem; }
.services-intro .btn { margin-top: .6rem; }
.service-list { border-top: 1px solid #bfcae0; }
.service-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; text-decoration: none; border-bottom: 1px solid #bfcae0; }
.service-list a:hover h3 { color: #1d3ebd; }
.service-list h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.service-list p { color: var(--muted); }
.service-list a > span { color: #1d3ebd; font-size: 1.32rem; }

@media (max-width: 900px) {
  .layout { width: calc(100% - 56px); }
  .home-hero { gap: 1.75rem; }
  .product-card-body { align-items: start; flex-direction: column; gap: .3rem; }
  .product-go { align-self: start; }
}
@media (max-width: 780px) {
  .layout { width: calc(100% - 36px); }
  .home-hero, .section-intro, .home-services { grid-template-columns: minmax(0,1fr); }
  .home-hero { padding-block: 2.4rem 3.1rem; gap: 1.6rem; }
  .home-hero h1 { font-size: clamp(2.55rem, 10vw, 4rem); }
  .hero-lead { margin-block: .9rem 1rem; }
  .hero-art { box-shadow: 6px 6px 0 #dce5f7; }
}
@media (max-width: 485px) {
  .product-grid { grid-template-columns: minmax(0,1fr); }
  .product-photo img { aspect-ratio: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-photo img { transition: none; }
}
