/* MALF Smart Solutions — site styles
   Layout concept: the technical-summary sheet turned into pages. White paper, graphite ink,
   hairline-ruled spec tables and tiles; one bold move: the hero photo is cut on a slant with an
   orange kerf line, the same gesture as the stripe in the logo. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  /* colour */
  --graphite: #172123;        /* ink, dark bands */
  --graphite-2: #213033;      /* raised surface on dark */
  --graphite-3: #10181a;      /* footer */
  --orange: #d95128;          /* brand orange: stripes, bullets, numerals */
  --orange-ink: #c4471f;      /* buttons and links on light (AA with white) */
  --orange-ink-hover: #a93d1a;
  --orange-on-dark: #e8673d;  /* links on graphite */
  --paper: #f4f4f2;           /* alternate band */
  --white: #ffffff;
  --steel: #5b6567;           /* secondary text on light */
  --mist: #a9b3b5;            /* secondary text on dark */
  --line: #dde1e1;
  --line-dark: #33464a;
  --ok: #2f7d4f;
  --err: #b42318;

  /* type */
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-md: 1.0625rem;   /* 17 body */
  --fs-lg: 1.25rem;     /* 20 */
  --fs-xl: 1.5rem;      /* 24 */
  --fs-2xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem);  /* 28–36 */
  --fs-3xl: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem);   /* 36–56 */

  /* layout */
  --max: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --band: clamp(56px, 4rem + 3vw, 112px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--orange-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-ink-hover); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: var(--white); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--white); }

.wrap { max-width: calc(var(--max) + 40px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: var(--band); }
.band--paper { background: var(--paper); }
.band--dark { background: var(--graphite); color: var(--white); }
.band--tight { padding-block: clamp(40px, 3rem + 2vw, 72px); }

/* ---------- section headings ---------- */
.sec-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 3vw, 44px); }
.sec-head h2 { font-size: var(--fs-2xl); }
.sec-head p { color: var(--steel); font-size: var(--fs-lg); line-height: 1.5; }
.band--dark .sec-head p { color: var(--mist); }
.kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-ink); }
.band--dark .kicker, .hero .kicker { color: var(--orange-on-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 600 var(--fs-sm)/1.2 var(--font); letter-spacing: 0.005em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange-ink); color: var(--white); }
.btn--primary:hover { background: var(--orange-ink-hover); color: var(--white); }
.btn--ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--ghost:hover { background: var(--graphite); color: var(--white); }
.band--dark .btn--ghost, .hero .btn--ghost, .terms .btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.band--dark .btn--ghost:hover, .hero .btn--ghost:hover, .terms .btn--ghost:hover { background: var(--white); color: var(--graphite); border-color: var(--white); }
.btn--wa { background: #1f7a4d; color: var(--white); }
.btn--wa:hover { background: #17633e; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }

/* ---------- utility bar + header ---------- */
.utility { background: var(--graphite); color: var(--mist); font-size: var(--fs-xs); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility a { color: var(--white); text-decoration: none; font-weight: 500; }
.utility a:hover { color: var(--orange-on-dark); }
.utility__contact { display: flex; gap: 20px; }
@media (max-width: 760px) { .utility { display: none; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--graphite); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; padding: 8px 10px; border-radius: var(--radius); white-space: nowrap; }
.nav a:hover { color: var(--orange-ink); }
.nav a[aria-current="page"] { color: var(--orange-ink); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font-size: var(--fs-xs); font-weight: 600; }
.lang a { color: var(--steel); text-decoration: none; padding: 6px 7px; border-radius: var(--radius); letter-spacing: .04em; }
.lang a:hover { color: var(--graphite); background: var(--paper); }
.lang a[aria-current="true"] { color: var(--graphite); background: var(--paper); }
.menu-btn { display: none; margin-left: 0; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--graphite); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.header-call { display: none; }

@media (max-width: 1120px) {
  .site-header .wrap { gap: 12px; min-height: 68px; }
  .brand img { width: 150px; }
  .menu-btn { display: inline-flex; }
  .header-call { display: inline-flex; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--paper); color: var(--graphite); }
  .header-call svg { width: 20px; height: 20px; }
  .nav, .header-actions { display: none; }
  .site-header.is-open .nav,
  .site-header.is-open .header-actions { display: flex; }
  .site-header.is-open .wrap { flex-wrap: wrap; padding-bottom: 20px; }
  .site-header.is-open .nav { order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 6px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .site-header.is-open .nav a { padding: 13px 4px; font-size: var(--fs-md); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .site-header.is-open .header-actions { order: 4; flex-basis: 100%; justify-content: space-between; padding-top: 12px; }
  .site-header.is-open .lang a { padding: 12px 14px; font-size: var(--fs-sm); }
}

/* ---------- hero ---------- */
.hero { background: var(--graphite); color: var(--white); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: clamp(460px, 42vw, 580px); }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: clamp(48px, 6vw, 88px); padding-right: 32px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.05; max-width: 15ch; }
.hero__lead { font-size: var(--fs-lg); line-height: 1.55; color: #d5dbdc; max-width: 34rem; }
.hero__media { position: relative; margin-right: calc(-1 * max(0px, (100vw - var(--max) - 40px) / 2) - var(--gutter-r)); }
.hero__media picture, .hero__media img { height: 100%; width: 100%; object-fit: cover; }
.hero__media picture { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
/* the kerf: an orange cut along the slanted edge */
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--orange), var(--orange));
  clip-path: polygon(calc(14% - 9px) 0, calc(14% - 1px) 0, -1px 100%, -9px 100%);
}
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: #d5dbdc; }
.facts li { list-style: none; display: flex; align-items: center; gap: 9px; }
.facts li::before, .diamonds li::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); flex: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); aspect-ratio: 16 / 9; }
  .hero__media picture { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .hero__media::before { clip-path: polygon(0 calc(100% - 7px), 100% calc(86% - 7px), 100% 86%, 0 100%); }
  .hero__text { padding-top: 28px; padding-right: 0; }
}

/* ---------- product lockups, spec tiles ---------- */
.lockup { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.04; }
.lockup .num { color: var(--orange); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tile { padding: 18px 18px 18px 0; display: grid; gap: 4px; align-content: start; }
.tile + .tile { padding-left: 18px; border-left: 1px solid var(--line); }
.tile b { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tile b small { font-size: 0.6em; font-weight: 600; margin-left: 1px; }
.tile span { font-size: var(--fs-xs); color: var(--steel); line-height: 1.4; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--2 .tile:nth-child(3) { padding-left: 0; border-left: 0; }
.tiles--2 .tile:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles .tile:nth-child(3) { padding-left: 0; border-left: 0; }
  .tiles .tile:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- feature block (machine on home / machines index) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.feature__media img { border-radius: var(--radius); }
.feature__body { display: grid; gap: 20px; min-width: 0; }
.feature__body > p { color: var(--steel); }
.feature--blade { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feature + .feature { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .feature, .feature--blade { grid-template-columns: 1fr; } }
.aside-note { margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.aside-note p { color: var(--steel); }

/* ---------- three points ---------- */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.point { border-top: 2px solid var(--graphite); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.point h3 { font-size: var(--fs-lg); letter-spacing: -0.01em; }
.point p { color: var(--steel); }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }

/* ---------- blade teaser / price ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.price b { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); letter-spacing: -0.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.price s { color: var(--steel); font-size: var(--fs-lg); }
.price em { font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--white); background: var(--orange-ink); padding: 3px 8px; border-radius: 2px; letter-spacing: .02em; }
.price small { flex-basis: 100%; color: var(--steel); font-size: var(--fs-xs); }
.materials { display: flex; flex-wrap: wrap; gap: 8px; }
.materials li { list-style: none; font-size: var(--fs-xs); font-weight: 600; padding: 5px 10px; border: 1px solid var(--line); border-radius: 2px; letter-spacing: .02em; }

/* ---------- spec table + diamond lists (sheet style) ---------- */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.sheet h2 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--graphite); margin-bottom: 4px; }
@media (max-width: 860px) { .sheet { grid-template-columns: 1fr; } }
.specs { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs th { font-weight: 400; color: var(--steel); width: 38%; padding-right: 16px; }
.specs td { font-weight: 500; }
.specs td span { color: var(--steel); font-weight: 400; }
.diamonds { display: grid; }
.diamonds li { list-style: none; display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.diamonds li::before { transform: translateY(-1px) rotate(45deg); }
.band--dark .diamonds li { border-color: var(--line-dark); }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: var(--fs-xs); color: var(--steel); padding-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--orange-ink); }

/* ---------- product top (machine + blade pages) ---------- */
.ptop { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); padding-block: 24px var(--band); align-items: start; }
.ptop__info { display: grid; gap: 20px; min-width: 0; position: sticky; top: 104px; }
.ptop__info .lead { color: var(--steel); font-size: var(--fs-lg); line-height: 1.5; }
@media (max-width: 960px) { .ptop { grid-template-columns: 1fr; } .ptop__info { position: static; } }

.gallery { display: grid; gap: 10px; min-width: 0; }
.gallery__main { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.gallery__main img { width: 100%; aspect-ratio: var(--ar, 16 / 9); object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--paper); cursor: pointer; line-height: 0; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--orange); }
.gallery__thumbs img { width: 100%; aspect-ratio: var(--ar, 16 / 9); object-fit: cover; }
.gallery__cap { font-size: var(--fs-xs); color: var(--steel); }
/* zoom: hover magnifier on desktop, full-screen viewer on click/tap */
.gallery__main { position: relative; cursor: zoom-in; }
.gallery__main img { transition: transform .12s ease-out; will-change: transform; }
.gallery__main.is-zoom img { transform: scale(2.2); transition: none; }
.gallery__main:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gallery__hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(23, 33, 35, .8); color: #fff; font-size: var(--fs-xs); font-weight: 600; line-height: 1; pointer-events: none; transition: opacity .15s; }
.gallery__hint svg { width: 16px; height: 16px; }
.gallery__main.is-zoom .gallery__hint { opacity: 0; }
dialog.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: #0e1415; color: #fff; overflow: hidden; color-scheme: dark; }
dialog.lb::backdrop { background: #0e1415; }
.lb__stage { position: absolute; inset: 60px 0 76px; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.lb__img { max-width: calc(100% - 24px); max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; transition: transform .18s ease-out; }
.lb.is-zoomed .lb__img { cursor: grab; }
.lb.is-dragging .lb__img { cursor: grabbing; transition: none; }
.lb__btn { position: absolute; z-index: 2; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(14, 20, 21, .72); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lb__btn:hover { background: rgba(14, 20, 21, .92); border-color: rgba(255, 255, 255, .5); }
.lb__btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lb__btn svg { width: 24px; height: 24px; }
.lb__close { top: 6px; right: 8px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; top: 20px; left: 16px; font-size: var(--fs-sm); color: #c9d1d2; font-variant-numeric: tabular-nums; }
.lb__bar { position: absolute; left: 0; right: 0; bottom: 0; min-height: 76px; padding: 10px 16px 14px; display: grid; gap: 4px; place-content: center; text-align: center; }
.lb__cap { font-size: var(--fs-sm); color: #fff; }
.lb__tip { font-size: var(--fs-xs); color: #9fa9ab; }
@media (max-width: 760px) {
  .lb__prev, .lb__next { top: auto; bottom: 12px; transform: none; }
  .lb__bar { padding-inline: 76px; }
}

/* dark terms card: price on request + inclusions (from the data sheet) */
.terms { background: var(--graphite); color: var(--white); border-radius: var(--radius); padding: 24px 24px 24px 28px; position: relative; display: grid; gap: 18px; }
.terms::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--orange); border-radius: var(--radius) 0 0 var(--radius); }
.terms__label { font-size: var(--fs-xs); color: var(--mist); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.terms__value { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.terms .diamonds li { border-color: var(--line-dark); padding: 9px 0; }
.terms .diamonds li:first-child { border-top: 1px solid var(--line-dark); }
.terms__note { font-size: var(--fs-xs); color: var(--mist); }
.terms .btn-row { display: grid; grid-template-columns: 1fr; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--white); font-weight: 600; text-decoration: none; }
.wa-link svg { width: 18px; height: 18px; color: #3fbf7f; }
.wa-link:hover { color: var(--orange-on-dark); }

/* ---------- video ---------- */
.video { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.video video { width: 100%; height: auto; border-radius: var(--radius); background: #000; }
.video__text { display: grid; gap: 14px; }
.video__text p { color: var(--mist); }
@media (max-width: 860px) { .video { grid-template-columns: 1fr; } }

/* ---------- three-column info (installation & warranty) ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.cols3 > div { display: grid; gap: 10px; align-content: start; }
.cols3 h3 { font-size: var(--fs-lg); letter-spacing: -0.01em; }
.cols3 p { color: var(--steel); }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } }

/* ---------- service list ---------- */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.svc > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.svc h3 { font-size: var(--fs-lg); letter-spacing: -0.01em; display: flex; gap: 12px; align-items: baseline; }
.svc h3::before { content: ""; width: 9px; height: 9px; background: var(--orange); transform: translateY(-2px) rotate(45deg); flex: none; }
.svc p { color: var(--steel); padding-left: 21px; }
.band--dark .svc > div { border-color: var(--line-dark); }
.band--dark .svc p { color: var(--mist); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split__head { display: grid; gap: 16px; align-content: start; }
.split__head h2 { font-size: var(--fs-2xl); }
.split__head p { color: var(--steel); }
.band--dark .split__head p { color: var(--mist); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.band--paper .form { border-color: transparent; }
.form .full { grid-column: 1 / -1; }
.sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 640px) { .form, .sub-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; font: 400 var(--fs-md)/1.4 var(--font); color: var(--graphite);
  background: var(--white); border: 1.5px solid #c9cfd0; border-radius: var(--radius);
  padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 3px rgba(217, 81, 40, .2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field .err { color: var(--err); font-size: var(--fs-xs); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--fs-sm); padding: 9px 12px; border: 1.5px solid #c9cfd0; border-radius: var(--radius); cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--orange-ink); background: #fbeee9; }
.checks input { accent-color: var(--orange-ink); width: 16px; height: 16px; margin: 0; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.check-line input { accent-color: var(--orange-ink); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__fine { font-size: var(--fs-xs); color: var(--steel); max-width: 30rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: var(--fs-sm); padding: 12px 14px; border-radius: var(--radius); }
.form-status[data-kind="error"] { background: #fdecea; color: var(--err); }
.form-done { display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--ok); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.form-done h3 { font-size: var(--fs-xl); }
.form-done p { color: var(--steel); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* contact panel */
.contact-list { display: grid; gap: 0; }
.contact-list > div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: var(--fs-xs); color: var(--steel); }
.contact-list dd { margin: 0; font-size: var(--fs-lg); font-weight: 600; overflow-wrap: anywhere; }
.contact-list dd a { color: var(--graphite); text-decoration: none; }
.contact-list dd a:hover { color: var(--orange-ink); }
.contact-list dd small { display: block; font-size: var(--fs-sm); font-weight: 400; color: var(--steel); }
.side { display: grid; gap: 22px; align-content: start; }
.side h2 { font-size: var(--fs-xl); }

/* data sheet dialog */
dialog.ds { border: 0; padding: 0 0 4px; border-radius: var(--radius); width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); color: var(--graphite); background: var(--white); color-scheme: light; }
dialog.ds::backdrop { background: rgba(16, 24, 26, .62); }
.ds__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 24px 24px 0; }
.ds__head h2 { font-size: var(--fs-xl); color: var(--graphite); }
.ds__head p { color: var(--steel); font-size: var(--fs-sm); margin-top: 6px; max-width: 36rem; }
.ds__close { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; flex: none; color: var(--graphite); }
.ds .form, .ds .form-done { border: 0; grid-template-columns: 1fr; }

/* ---------- page head (inner pages) ---------- */
.phead { padding-block: clamp(36px, 4vw, 64px) clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.phead .wrap { display: grid; gap: 16px; }
.phead h1 { font-size: var(--fs-3xl); letter-spacing: -0.03em; max-width: 22ch; }
.phead p { color: var(--steel); font-size: var(--fs-lg); line-height: 1.5; max-width: 44rem; }

.prose { max-width: 42rem; display: grid; gap: 16px; }
.prose h2 { font-size: var(--fs-xl); margin-top: 16px; }
.prose p, .prose li { color: #2c3a3d; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cta h2 { font-size: var(--fs-2xl); }
.cta p { color: var(--steel); margin-top: 12px; }
.cta__actions { display: grid; gap: 12px; justify-items: start; }
.cta__phone { font-size: var(--fs-xl); font-weight: 700; color: var(--graphite); text-decoration: none; letter-spacing: -0.01em; }
.cta__phone:hover { color: var(--orange-ink); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--graphite-3); color: var(--mist); font-size: var(--fs-sm); padding-block: 56px 32px; }
.site-footer .wrap { display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)) minmax(max-content, 2fr); gap: 32px; }
.foot-grid h2 { font-size: var(--fs-xs); color: var(--white); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { color: var(--mist); text-decoration: none; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--white); }
.foot-grid a[href^="mailto"] { white-space: nowrap; overflow-wrap: normal; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { width: 168px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.foot-base a { color: var(--mist); }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:last-child { grid-column: 1 / -1; } }

/* ---------- mobile contact bar (phones only) ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .mbar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--graphite); border-top: 3px solid var(--orange);
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    box-shadow: 0 -6px 18px rgba(16, 24, 26, .18);
    transition: transform .2s ease;
  }
  .mbar__btn {
    display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 0 6px;
    border-radius: var(--radius); font: 600 var(--fs-sm)/1.1 var(--font); text-decoration: none; white-space: nowrap;
  }
  .mbar__btn svg { width: 19px; height: 19px; flex: none; }
  .mbar__btn--call { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .5); }
  .mbar__btn--wa { color: var(--white); background: #1f7a4d; }
  .mbar__btn--quote { color: var(--white); background: var(--orange-ink); }
  .mbar__btn:hover, .mbar__btn:focus-visible { color: var(--white); filter: brightness(1.08); }
  body.typing .mbar { transform: translateY(110%); }
}
@media (max-width: 340px) { .mbar__btn svg { display: none; } }

/* ---------- preview banner (artifact preview only) ---------- */
/* language strip: phones and tablets only (desktop keeps EN/ES/PT in the header) */
.langbar { display: none; }
@media (max-width: 1120px) {
  .langbar { display: block; background: var(--paper); border-bottom: 1px solid var(--line); }
  .langbar .wrap { display: flex; align-items: center; justify-content: center; gap: 2px; }
  .langbar svg { width: 17px; height: 17px; color: var(--steel); margin-right: 6px; flex: none; }
  .langbar a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: var(--fs-sm); font-weight: 500; color: var(--steel); text-decoration: none; }
  .langbar a[aria-current="true"] { color: var(--graphite); font-weight: 700; box-shadow: inset 0 -3px 0 var(--orange); }
  .site-header.is-open .lang { display: none; }
  .site-header.is-open .header-actions .btn { flex: 1; }
}
.preview-bar { background: #fff4d6; color: #5c4400; font-size: var(--fs-xs); text-align: center; padding: 8px 16px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
