/* CyberSplit, Makro direction. Static CSS, no JS. Mobile first. */
/* Self-hosted variable fonts (OFL), no third-party requests */
@font-face { font-family: "Outfit"; font-weight: 100 900; font-display: swap; src: url("fonts/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-weight: 100 900; font-display: swap; src: url("fonts/outfit-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-weight: 200 1000; font-display: swap; src: url("fonts/nunito-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-weight: 200 1000; font-display: swap; src: url("fonts/nunito-sans-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/jetbrains-mono-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --indigo: #4154f1;
  --violet: #5e2ced;
  --violet-2: #7447f2;
  --navy: #051441;
  --navy-2: #1b1f7a;
  --slate: #6a7c92;      /* decoration and hairlines only */
  --text: #2c3b52;
  --text-soft: #44556b;
  --on-dark: #e4e9ff;
  --mint: #31e1af;
  --mint-ink: #0f9f78;   /* mint icons on white */
  --mint-hover: #5cf0c8;
  --orange: #ff6b00;     /* sparing accent */
  --white: #fff;
  --tint: #f4f5ff;
  --wash: #eef0ff;
  --ph-fill: #f1f3f8;
  --line: #e1e5f2;
  --radius: 16px;
  --radius-sm: 12px;     /* tiles, placeholders */
  --radius-link: 24px;   /* link pills */
  --pill: 45px;
  --shadow-sm: 0 1px 2px rgba(5, 20, 65, .06), 0 4px 12px rgba(65, 84, 241, .06);
  --shadow: 0 1px 2px rgba(5, 20, 65, .06), 0 8px 24px rgba(65, 84, 241, .10), 0 24px 48px rgba(5, 20, 65, .06);
  --shadow-hover: 0 2px 4px rgba(5, 20, 65, .08), 0 14px 32px rgba(65, 84, 241, .18), 0 32px 64px rgba(5, 20, 65, .08);
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* 8px spacing scale, plus one half step */
  --s1: 8px; --s1-5: 12px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;

  /* fluid type scale */
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-card: max(1rem, calc(var(--fs-body) - .0625rem));
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.18rem + .3vw, 1.375rem);
  --fs-h3-lg: 1.375rem;

  --bar-h: 76px;

  /* decorative tile and mask as data URIs */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='1.5'%3E%3Cpath d='M0 40h50l20 20h50M160 100h-40l-20 20H60v40M80 0v30l20 20M130 0v20l16 16h14'/%3E%3Ccircle cx='50' cy='40' r='4'/%3E%3Ccircle cx='120' cy='60' r='4'/%3E%3Ccircle cx='60' cy='120' r='4'/%3E%3Ccircle cx='160' cy='36' r='4'/%3E%3C/svg%3E");
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20c-240 36-480 36-720 8S240-8 0 20z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}
.page { overflow-x: clip; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0 0 var(--s2); letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 var(--s2); max-width: 68ch; }
p, li, .faq summary { text-wrap: pretty; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--mint); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 700px) { .wrap { padding: 0 var(--s4); } }

.skip { position: absolute; left: var(--s2); top: -100px; background: var(--navy); color: var(--white); padding: 12px 20px; border-radius: var(--pill); z-index: 100; }
.skip:focus { top: var(--s1); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 52px; padding: 12px 20px;
  border-radius: var(--pill); border: 2px solid transparent;
  font: 700 1.0625rem/1.2 var(--display); text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--indigo); color: var(--white); box-shadow: 0 8px 20px rgba(65, 84, 241, .35); }
.btn-primary:hover { background: var(--violet); color: var(--white); box-shadow: 0 12px 28px rgba(94, 44, 237, .4); }
.btn-ghost { background: var(--white); color: var(--indigo); border-color: var(--indigo); }
.btn-ghost:hover { background: var(--tint); color: var(--violet); border-color: var(--violet); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: var(--mint-hover); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--tint); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
@media (max-width: 479px) { .btn { padding-inline: var(--s2); } }

.link-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: var(--s1) var(--s2);
  border-radius: var(--radius-link); text-align: left; background: var(--tint); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; text-decoration: none; color: var(--indigo);
  transition: border-color .15s ease, background-color .15s ease;
}
.tint .link-pill, .card .link-pill { background: var(--white); }
.link-pill:hover { border-color: var(--indigo); }
.link-light { color: var(--white); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.link-light:hover { color: var(--white); text-decoration-thickness: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(5, 20, 65, .05); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); padding-top: 10px; padding-bottom: 10px; }
.wordmark { font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: -.02em; margin-right: auto; display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; }
.wordmark:hover { color: var(--indigo); }
.logo { display: none; width: 36px; height: 36px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--indigo), var(--violet-2)); color: var(--white); align-items: center; justify-content: center; }
.logo .icon { width: 22px; height: 22px; }
@media (min-width: 480px) { .logo { display: inline-flex; } .wordmark { font-size: 1.5rem; } }
.header-contact { display: flex; gap: var(--s1); }
.header-contact .btn { padding: 8px; min-width: 44px; }
/* HR | EN: even spacing; EN keeps a 44px hit area through a pseudo element */
.lang { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; }
.lang-on, .lang-off { padding: 0 2px; }
.lang-on { color: var(--navy); }
.lang-sep { color: var(--slate); }
.lang-off { position: relative; color: var(--text-soft); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.lang-off::after { content: ""; position: absolute; inset: 0 -8px; }
.lang-off:hover { color: var(--indigo); }
.nav-desktop { display: none; }
@media (max-width: 399px) {
  .header-row, .header-contact { gap: 4px; }
  .wordmark { font-size: 1.125rem; }
}

/* icon-only labels on small screens (menu label up to 899px) */
@media (max-width: 899px) { .menu .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .menu summary { padding: 8px; } }
@media (max-width: 639px) {
  .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px; border-radius: var(--pill); border: 0; background: var(--tint); color: var(--navy); font-weight: 700; position: relative;
}
.menu summary:hover { background: var(--tint); }
.menu summary::-webkit-details-marker { display: none; }
.menu .when-open { display: none; }
.menu[open] .when-closed { display: none; }
.menu[open] .when-open { display: inline-flex; }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: var(--s1) var(--s2) var(--s2); display: grid;
}
.menu nav a { padding: 12px var(--s1); min-height: 48px; display: flex; align-items: center; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu nav a:hover { color: var(--indigo); }
.menu nav a:last-child { border-bottom: 0; }

@media (min-width: 640px) { .header-contact .btn { padding: 8px 18px; } }
@media (min-width: 900px) { .menu summary { padding: 8px 18px; } }

/* Sections: tint and white alternate; only the navy band keeps a wave edge */
.sec { position: relative; padding: var(--s5) 0; }
.sec.tint { background: var(--tint); }
.sec > .wrap { position: relative; }
@media (min-width: 640px) { .sec { padding: var(--s6) 0; } }
@media (min-width: 900px) { .sec { padding: var(--s7) 0; } }
.sec-head { text-align: left; max-width: 720px; margin: 0 0 var(--s5); }
.sub { font-size: var(--fs-lead); color: var(--text-soft); }
.eyebrow { display: flex; align-items: flex-start; gap: var(--s1); margin: 0 0 var(--s2); padding: 0; background: none; color: var(--violet); font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.eyebrow::before { content: ""; width: 8px; height: 8px; margin-top: .45em; border-radius: 50%; background: var(--orange); flex: none; }
.closing { text-align: left; font: 700 var(--fs-h3)/1.3 var(--display); color: var(--navy); margin: var(--s5) 0 0; }
@media (max-width: 639px) { .sec-head { margin-bottom: var(--s4); } .closing { margin-top: var(--s4); } }
.cta-row { display: flex; flex-direction: column; gap: var(--s1-5); align-items: stretch; }
@media (min-width: 560px) { .cta-row { flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; } .cta-row.left { justify-content: flex-start; } }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: var(--s3); }

/* Icon tiles */
.tile { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: var(--radius-sm); background: rgba(65, 84, 241, .1); color: var(--indigo); transition: background-color .15s ease, color .15s ease; }
.tile .icon { width: 26px; height: 26px; }
.tile.solid { background: linear-gradient(135deg, var(--indigo), var(--violet-2)); color: var(--white); box-shadow: 0 6px 16px rgba(65, 84, 241, .3); }
.tile.mint { background: rgba(49, 225, 175, .16); color: var(--mint); }

/* Decoration */
.deco-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 360px; height: 360px; color: var(--violet-2); opacity: .12; }

/* Hero */
.hero { position: relative; padding: var(--s5) 0 var(--s7); background: linear-gradient(160deg, var(--wash) 0%, var(--tint) 60%, var(--white) 100%); }
.hero .b1 { right: -140px; top: -120px; opacity: .08; }
.hero-grid { position: relative; display: grid; gap: var(--s5); }
.hero-copy { position: relative; }
.hero h1 { max-width: none; margin-bottom: var(--s3); }
@media (min-width: 960px) { .hero h1 { margin-bottom: var(--s4); } }
.hl { background: linear-gradient(transparent 64%, rgba(49, 225, 175, .5) 64%); padding: 0 4px; margin: 0 -4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: var(--fs-lead); max-width: 40em; margin: 0 0 var(--s4); color: var(--text); }
.hero-visual { position: relative; margin: 0 auto; width: 100%; max-width: 440px; }
/* in flow under the cutout below 960, pinned to its corner above */
.float-card {
  position: relative; z-index: 4; max-width: 400px; margin: calc(-1 * var(--s4)) auto 0;
  display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s2);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-hover); border: 1px solid var(--line);
}
.float-card .tile { width: 44px; height: 44px; }
.float-card .micro { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text); }
@media (min-width: 960px) {
  .hero { padding: var(--s7) 0 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s4); align-items: center; }
  .hero-copy { padding: 0 0 var(--s7) 0; }
  .hero-visual { align-self: end; width: auto; max-width: none; margin: 0 -32px -112px 0; }
  .float-card { position: absolute; left: -240px; bottom: 0; width: min(360px, calc(100% - 16px)); margin: 0; }
}
@media (min-width: 1200px) { .float-card { left: -150px; } }
@media (min-width: 1400px) { .hero-visual { margin-left: -64px; margin-right: -120px; } .float-card { left: -72px; } }

/* Image placeholders: opaque panels */
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--s2); background: var(--ph-fill); border: 1px dashed var(--slate); border-radius: var(--radius-sm); width: 100%; }
.ph span, .cut span { font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); max-width: 28em; }
.ph-43 { aspect-ratio: 4 / 3; }
.ph-45 { aspect-ratio: 4 / 5; }
.ph-32 { aspect-ratio: 3 / 2; margin-top: var(--s3); max-width: 560px; }

/* Transparent cutout slots: no fill, dashed silhouette, overlap neighbours */
.cut { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--s3); pointer-events: none; }
.cut span { position: relative; color: var(--text-soft); }
.cut-outline { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; fill: none; stroke: var(--indigo); stroke-width: 1; stroke-dasharray: 6 5; overflow: visible; }
.cut-laptop { aspect-ratio: 4 / 3; width: 100%; }
.cut-laptop span { max-width: 15em; margin-bottom: 18%; }
/* three-quarter tower outline fills the slot; caption sits on the side panel */
.cut-tower { aspect-ratio: 4 / 3; width: 100%; }
.cut-tower span { max-width: 12em; margin-bottom: 0; }
.cut.on-dark .cut-outline { stroke: rgba(255, 255, 255, .85); filter: drop-shadow(0 0 1px rgba(5, 20, 65, .9)); }
.cut.on-dark span { color: var(--on-dark); }

/* Stats */
.stats { position: relative; background: var(--circuit), linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); padding: var(--s6) 0 var(--s6); }
.stats::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 32px; background: var(--white);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat; transform: scaleY(-1); pointer-events: none;
}
.stats-top { display: grid; }
.cut-ram { position: relative; z-index: 3; justify-self: end; width: min(300px, 100%); aspect-ratio: 5 / 2; margin: -8px 0 -28px; border: 1px dashed rgba(255, 255, 255, .6); border-radius: var(--radius-sm); }
.cut-ram span { color: var(--on-dark); }
.stats h2 { position: relative; z-index: 4; color: var(--white); margin-bottom: var(--s4); max-width: 14em; }
.tiles { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3); }
.tiles li { align-content: start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: var(--s3); display: grid; gap: 4px; justify-items: start; }
.tiles .tile { margin-bottom: var(--s1); }
.tiles strong { font-family: var(--display); display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 800; line-height: 1.1; color: var(--mint); }
.tiles .lab { font-size: var(--fs-body); color: var(--on-dark); }
.stats-foot { display: flex; flex-direction: column; gap: var(--s1); align-items: flex-start; }
.stats-line { font-size: var(--fs-body); color: var(--on-dark); display: flex; gap: var(--s1); align-items: flex-start; margin: 0 0 var(--s1); }
.stats-line .icon { color: var(--mint); margin-top: 3px; }
.stats .link-pill { background: var(--white); border-color: var(--white); white-space: nowrap; }
@media (max-width: 699px) {
  .tiles li { grid-template-columns: auto 1fr; column-gap: var(--s2); align-items: center; padding: var(--s2) var(--s3); }
  .tiles .tile { grid-row: span 2; margin: 0; width: 44px; height: 44px; }
}
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .tiles li { padding: var(--s3) var(--s2); } }
@media (min-width: 800px) {
  .stats-foot { flex-direction: row; justify-content: space-between; align-items: center; }
  .stats-foot p { margin: 0; }
}
@media (max-width: 959px) {
  .stats h2 { margin-bottom: var(--s2); }
  .cut-ram { width: min(240px, 70%); margin: 0 0 calc(-1 * var(--s2)); }
}
@media (min-width: 960px) {
  .stats { padding: 208px 0 var(--s7); }
  .stats-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--s4); }
  .cut-ram { width: clamp(300px, 30vw, 420px); margin: 0 0 calc(-1 * var(--s3)); }
  .stats::after { height: 48px; }
}

/* CSS tabs */
.tabs { position: relative; }
.tabs > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tablist { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: var(--s4); }
.tablist label {
  display: flex; align-items: center; justify-content: flex-start; gap: var(--s1); text-align: left; min-height: 52px; padding: var(--s1) var(--s3);
  border-radius: var(--radius); border: 2px solid var(--line); background: var(--white); color: var(--navy); font-family: var(--display); font-weight: 700; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.tablist label:hover { border-color: var(--indigo); }
@media (min-width: 800px) {
  .tablist { display: grid; grid-template-columns: repeat(3, 1fr); }
  .tablist label { justify-content: center; text-align: center; padding: var(--s1) var(--s2); }
}
@media (min-width: 800px) and (max-width: 1099px) {
  html[lang="en"] .tablist { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) {
  .tablist { grid-template-columns: repeat(3, minmax(max-content, 1fr)); }
}
#t1:checked ~ .tablist label[for="t1"],
#t2:checked ~ .tablist label[for="t2"],
#t3:checked ~ .tablist label[for="t3"] { background: var(--indigo); border-color: var(--indigo); color: var(--white); box-shadow: 0 8px 20px rgba(65, 84, 241, .3); }
#t1:focus-visible ~ .tablist label[for="t1"],
#t2:focus-visible ~ .tablist label[for="t2"],
#t3:focus-visible ~ .tablist label[for="t3"] { outline: 3px solid var(--navy); outline-offset: 3px; }
.panel { display: none; gap: var(--s3); grid-template-columns: 1fr; }
#t1:checked ~ .panels .p1, #t2:checked ~ .panels .p2, #t3:checked ~ .panels .p3 { display: grid; }
@media (min-width: 700px) { .panel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .panel > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .panel { grid-template-columns: repeat(3, 1fr); } }

.feat { position: relative; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(65, 84, 241, .35); }
.feat h3 { margin: var(--s2) 0 var(--s1); }
.feat h3 a { color: var(--navy); text-decoration: none; }
.feat h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
@supports selector(:has(*)) {
  .feat h3 a:focus-visible { outline: none; }
  .feat:has(h3 a:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 3px; }
}
.feat:hover h3 a { color: var(--indigo); }
.feat:hover .tile { background: var(--indigo); color: var(--white); }
.feat p { margin: 0; color: var(--text-soft); }
.go { position: absolute; top: calc(var(--s3) + 14px); right: var(--s3); width: 24px; height: 24px; padding: 0; background: none; color: var(--indigo); transition: color .18s ease; }
.feat:hover .go { background: none; color: var(--violet); }
@media (max-width: 699px) {
  .feat { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s2); align-items: start; }
  .feat .tile { grid-row: 1 / span 2; width: 44px; height: 44px; }
  .feat .tile .icon { width: 22px; height: 22px; }
  .feat h3 { margin: 0 0 var(--s1); padding-right: var(--s4); }
  .go { top: var(--s3); }
}

/* Split rows */
.split { display: grid; gap: var(--s4); align-items: center; }
.split-text > h2 { margin-bottom: var(--s2); }
.split-media { width: 100%; max-width: 560px; justify-self: center; }
.media-over { position: relative; }
@media (min-width: 900px) { .split.split-wide { grid-template-columns: 1.2fr 1fr; } }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s6); } .split-media { max-width: none; } .split:not(.split-wide) { align-items: start; } }
@media (max-width: 899px) { .split-media.media-over:first-child { max-width: 480px; } .media-over .ph-45 { aspect-ratio: 1 / 1; } }

/* Process: heading overlaid on the opaque image */
.media-over .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px var(--s3) var(--s3); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: linear-gradient(to top, rgba(5, 20, 65, .94) 0%, rgba(5, 20, 65, .8) 55%, rgba(5, 20, 65, 0) 100%); }
.media-over .over h2 { color: var(--white); margin: 0; }
.eyebrow.on-dark { display: inline-flex; align-items: center; padding: 6px var(--s2); border-radius: var(--pill); background: var(--navy); color: var(--white); }
.eyebrow.on-dark::before { margin-top: 0; }
.has-over { padding-bottom: 48%; }
@media (min-width: 700px) { .media-over .over { padding: 96px var(--s4) var(--s4); } }

.steps { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: var(--s3); }
.steps h3 { font-size: var(--fs-h3-lg); margin-bottom: var(--s1); }
.steps p { margin: 0; line-height: 1.65; color: var(--text-soft); }
/* small phones: icon and title share a row, body spans the card */
@media (max-width: 479px) {
  .steps li > div { display: contents; }
  .steps li { row-gap: var(--s2); align-items: center; }
  .steps h3 { margin: 0; }
  .steps p { grid-column: 1 / -1; }
}
@media (min-width: 480px) { .steps li > div { padding-top: var(--s1-5); } }

/* Worth repairing: cutout overlaps the card border */
.worth-head { max-width: 560px; }
.compare { position: relative; display: grid; gap: var(--s3); margin-top: 136px; }
.cut-board { position: absolute; z-index: 3; top: -128px; right: var(--s1); width: 200px; aspect-ratio: 4 / 3; padding: var(--s2); border: 1px dashed var(--indigo); border-radius: var(--radius-sm); }
@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; margin-top: var(--s5); }
  .worth-head { margin-bottom: 0; max-width: min(560px, 52%); }
  .cut-board { top: auto; bottom: calc(100% - 12px); right: -24px; width: clamp(190px, 21vw, 300px); padding: var(--s2); }
}
.col h3 { display: flex; align-items: center; gap: var(--s1); }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1-5); }
.col li { display: flex; gap: var(--s1-5); align-items: flex-start; }
.col .mk { width: 26px; height: 26px; margin-top: 1px; }
.yes { border-top: 6px solid var(--mint); }
.yes h3 .icon, .yes .mk, .checks .mk { color: var(--mint-ink); }
.no { border-top: 6px solid var(--navy); }
.no h3 .icon, .no .mk { color: var(--navy); }

/* Commitments */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
@media (min-width: 700px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote { position: relative; border: 1px solid var(--line); }
.quote h3 { margin: 0 0 var(--s1); }
.quote p { margin: 0; color: var(--text-soft); }

/* Price */
.price { position: relative; display: grid; gap: var(--s4); padding: var(--s4) var(--s3); border: 1px solid var(--line); background: linear-gradient(135deg, var(--white) 30%, var(--wash)); box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 559px) { .price { padding: var(--s4) var(--s2); } }
@media (min-width: 900px) { .price { padding: var(--s5); } }
@media (min-width: 1100px) { .price { padding: var(--s6); } }
.checks { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: var(--s1-5); }
.checks li { display: flex; gap: var(--s1-5); align-items: flex-start; }
.checks .mk { width: 26px; height: 26px; margin-top: 1px; }
.diag { font-weight: 700; color: var(--navy); margin: 0; }
.price-cta { display: grid; gap: var(--s1-5); justify-items: stretch; }
.price-cta .link-pill { justify-content: center; }
@media (min-width: 560px) { .price-cta { display: flex; flex-wrap: wrap; align-items: center; } .price-cta .link-pill { justify-content: flex-start; } }
@media (min-width: 900px) {
  .price { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: var(--s6); row-gap: var(--s2); align-items: start; }
  .price-text { display: contents; }
  .price h2 { grid-column: 1; grid-row: 1; margin: 0; }
  .price-text > p:not(.diag) { grid-column: 1; grid-row: 2; margin: 0; }
  .price .checks { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
  .price .diag { grid-column: 2; grid-row: 2; }
  .price-cta { grid-column: 1 / -1; grid-row: 3; margin-top: var(--s2); }
}

/* Bento */
.bento { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.bento .card { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); }
.bento .tile { align-self: flex-start; }
.bento h3 { margin: var(--s2) 0 var(--s1); }
.bento .b-large h3 { font-size: var(--fs-h3-lg); }
.bento p { color: var(--text-soft); margin: 0 0 var(--s3); }
.blist { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: var(--s1); }
.blist li { position: relative; padding-left: var(--s3); font-size: var(--fs-card); line-height: 1.5; color: var(--text-soft); }
.blist li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); }
.b-net .blist li { color: var(--on-dark); }
.b-net .blist li::before { background: var(--mint); }
.bento .bnote { font-size: var(--fs-card); }
@media (min-width: 700px) { .b-large .blist { grid-template-columns: 1fr 1fr; column-gap: var(--s3); } }
.bento .pills { margin: auto 0 0; padding-top: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.b-large { background: linear-gradient(160deg, var(--white), var(--wash)); }
.b-net { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.bento .card.b-net { border: 0; }
.b-net h3 { color: var(--white); }
.b-net p { color: var(--on-dark); }
.b-net .link-pill { background: var(--white); }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-large, .b-net { grid-column: 1 / -1; }
}
/* image beside the text while the large card spans the full row */
@media (min-width: 700px) and (max-width: 1199px) {
  .bento .b-large { display: grid; grid-template-columns: 1fr minmax(0, 320px); column-gap: var(--s4); align-content: start; }
  .b-large > * { grid-column: 1; }
  .b-large .ph { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; max-width: none; }
}
@media (min-width: 1200px) {
  .b-large .ph { order: -1; flex: 1 1 auto; width: auto; max-width: none; margin: calc(-1 * var(--s3)) calc(-1 * var(--s3)) var(--s2); border-radius: var(--radius) var(--radius) 0 0; border-width: 0 0 1px; }
  .bento { grid-template-columns: 1fr 1fr 1.2fr 1.2fr; }
  .b-large { grid-column: 1 / 3; grid-row: 1 / 3; }
  .b-sys { grid-column: 3; grid-row: 1; }
  .b-data { grid-column: 4; grid-row: 1; }
  .b-net { grid-column: 3 / 5; grid-row: 2; }
}

/* Area */
.pins { margin: var(--s3) 0; }
.pins li { align-items: flex-start; }
.pins .tile { width: 24px; height: 24px; background: none; border-radius: 0; }
.pins .tile .icon { width: 24px; height: 24px; }
.towns { position: absolute; left: var(--s2); right: var(--s2); bottom: var(--s2); margin: 0; display: flex; align-items: center; gap: var(--s1); padding: var(--s1-5) var(--s2); border-radius: var(--pill); background: var(--navy); color: var(--white); font-weight: 700; box-shadow: none; max-width: none; }
.towns .icon { color: var(--mint); }
@media (max-width: 639px) { .towns { position: static; margin-top: var(--s2); border-radius: var(--radius); } }

/* FAQ */
.faq-grid { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 2fr 1fr; gap: var(--s5); } }
.faq { display: grid; gap: var(--s1-5); }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); transition: border-color .15s ease; }
.faq details:hover, .faq details[open] { border-color: rgba(65, 84, 241, .4); }
.faq summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s2) var(--s3); font: 700 var(--fs-lead)/1.3 var(--display); color: var(--navy); border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--tint); color: var(--indigo); transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.faq details[open] .chev { transform: rotate(180deg); background: var(--indigo); color: var(--white); }
.faq details p { margin: 0; padding: 0 var(--s3) var(--s3); color: var(--text-soft); }
.side { position: relative; overflow: hidden; isolation: isolate; padding: var(--s4) var(--s3); border: 0; color: var(--white); background: linear-gradient(150deg, var(--indigo) 0%, var(--violet) 100%); box-shadow: var(--shadow); }
/* concentric rings, decoration only */
.side::after { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 28px rgba(255, 255, 255, .05), 0 0 0 29px rgba(255, 255, 255, .14), 0 0 0 60px rgba(255, 255, 255, .03); }
.side p { margin: 0; }
.side-q { font: 800 var(--fs-h3-lg)/1.2 var(--display); letter-spacing: -.01em; margin-bottom: var(--s3) !important; }
.side-acts { display: grid; gap: var(--s1-5); justify-items: stretch; }
.side-acts .btn { width: 100%; }
.side-or { justify-self: center; font-size: var(--fs-card); color: var(--on-dark); }
.side-dot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* label written lower case in the copy, shown capitalised */
.cap { display: inline-block; }
.cap::first-letter { text-transform: uppercase; }

/* Card body text, one step under body */
.steps p, .feat p, .quote p, .bento p, .faq details p { font-size: var(--fs-card); }

/* Final CTA: laptop cutout overlaps the card edges, heading layered over it */
.final { background: var(--white); padding-bottom: var(--s6); }
.cta-card { position: relative; border-radius: var(--radius); background: linear-gradient(135deg, var(--indigo), var(--violet) 60%, var(--violet-2)); color: var(--white); padding: var(--s5) var(--s3) 0; display: grid; box-shadow: var(--shadow-hover); }
.cta-copy { position: relative; z-index: 4; }
.cta-copy > p:last-child { margin: var(--s3) 0 0; }
.cta-card h2 { color: var(--white); max-width: 13em; position: relative; z-index: 4; }
.cta-card .lead { color: var(--white); }
.cut-laptop-2 { aspect-ratio: 4 / 3; width: min(260px, 80%); justify-self: end; margin: var(--s2) -8px -48px auto; }
.cut-laptop-2 span { max-width: 15em; margin-bottom: 18%; }
@media (min-width: 900px) {
  .final { padding-top: 144px; padding-bottom: var(--s7); }
  .cta-card { display: block; padding: var(--s5); }
  .cta-copy { width: 54%; }
  .cut-laptop-2 { position: absolute; top: -100px; right: -24px; width: 46%; max-width: none; margin: 0; }
}
@media (min-width: 1200px) {
  .cta-copy { width: 60%; }
  .cta-copy .lead { max-width: 24em; }
  .cut-laptop-2 { top: -120px; width: 50%; }
}

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark); padding: var(--s6) 0 var(--s4); font-size: .875rem; }
.site-footer a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s1); padding: var(--s1) 0; min-height: 44px; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: var(--s1); }
.f-mark { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: var(--s3); }
.f-cols { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
@media (max-width: 699px) {
  .f-cols { grid-template-columns: 1fr 1fr; column-gap: var(--s3); }
  .f-cols nav:last-child { grid-column: 1 / -1; }
  .f-cols nav:last-child ul { display: flex; flex-wrap: wrap; gap: 0 var(--s3); }
}
@media (min-width: 700px) { .f-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .f-cols { grid-template-columns: repeat(6, 1fr); } .site-footer a { min-height: 32px; } }
.f-cols ul { list-style: none; margin: 0; padding: 0; }
.f-social p { margin: 0; max-width: none; line-height: 1.6; }
.f-social .f-net { display: block; }
.f-social .icon { color: var(--mint); vertical-align: -4px; margin-right: 6px; }
.f-social a { display: inline-flex; padding: 0; min-height: 44px; text-decoration: underline; }
.f-note { margin: var(--s2) 0 var(--s4); }
.f-legal { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: var(--s3); margin-bottom: var(--s3); }
.f-legal dl { display: grid; gap: var(--s1); margin: 0; }
.f-legal dl div { display: flex; flex-wrap: wrap; gap: 4px var(--s1); }
.f-legal dt { font-weight: 700; color: var(--white); }
.f-legal dd { margin: 0; }
.f-legal dd a { display: inline; min-height: 0; min-width: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.f-legal code { font: 500 .8125rem var(--mono); background: rgba(255, 255, 255, .1); padding: 2px 8px; border-radius: 6px; color: var(--mint); }
.f-row { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: var(--s3); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px var(--s3); }
.f-row p { margin: 0; max-width: none; }
.f-row a { padding: var(--s1) 0; }

/* Sticky mobile bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px var(--s2) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(5, 20, 65, .1); }
.mbar .btn { flex: 1; min-height: 56px; }
/* Room for the sticky bar, on the footer so the gap stays navy */
@media (max-width: 639px) { .site-footer { padding-bottom: calc(var(--s4) + var(--bar-h) + env(safe-area-inset-bottom)); } }
@media (min-width: 640px) { .mbar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .feat:hover { transform: none; }
}

/* Real images in the slots: placeholder chrome off, image fills the slot box */
.has-img { border: 0; background: none; }
.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.ph.has-img { position: relative; overflow: hidden; background: var(--ph-fill); }
.ph.has-img > img { object-fit: cover; }
.ph-45.has-img > img { object-position: 50% 0; }
.cut.has-img > img { object-fit: contain; filter: drop-shadow(0 24px 28px rgba(5, 20, 65, .22)); }
.cut.on-dark.has-img > img { filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .45)); }
.ph-32.has-img > img { transform: scale(1.3); }

/* Header: two tiers (nav variant 1, chosen 2026-10-06) */
.nv1 .nv-util { display: none; }
.nv1 .header-row { min-height: 72px; }
@media (min-width: 900px) {
  .nv1 .nv-util { display: block; background: var(--navy); }
  .nv1 .nv-util-row { display: flex; justify-content: flex-end; align-items: center; gap: var(--s3); min-height: 40px; }
  .nv1 .nv-u { display: inline-flex; align-items: center; gap: var(--s1); min-height: 40px; color: var(--white); font-weight: 700; font-size: .9375rem; text-decoration: none; }
  .nv1 .nv-u .icon { color: var(--mint); }
  .nv1 .nv-u:hover { color: var(--mint); }
  .nv1 .nv-util .lang-on { color: var(--white); }
  .nv1 .nv-util .lang-sep { color: var(--on-dark); }
  .nv1 .nv-util .lang-off { color: var(--on-dark); min-height: 40px; }
  .nv1 .nv-mob { display: none; }
}
@media (min-width: 1200px) {
  .nv1 .menu { display: none; }
  .nv1 .header-row { flex-wrap: nowrap; }
  .nv1 .nav-desktop { display: flex; gap: 20px; margin: 0 0 0 auto; }
  .nv1 .nav-desktop a { position: relative; padding: 0; min-height: 44px; display: inline-flex; align-items: center; color: var(--navy); font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; border-radius: 0; background: none; }
  .nv1 .nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .nv1 .nav-desktop a:hover { color: var(--indigo); background: none; }
  .nv1 .nav-desktop a:hover::after { transform: scaleX(1); }
  .nv1 .header-row { max-width: 1200px; }
}

.nv1 .nv-mob .lang { margin: 0 var(--s1) 0 var(--s1-5); }

/* Phones: call and WhatsApp live in the sticky bottom bar, so the header drops them */
@media (max-width: 639px) { .nv1 .header-contact.nv-mob { display: none; } }

/* ==========================================================================
   Inner pages kit. Builds on the homepage classes above; see DESIGN.md "Inner pages".
   ========================================================================== */

/* Active page: header nav, mobile menu, footer */
.nv1 .nav-desktop a[aria-current] { color: var(--indigo); }
.nv1 .nav-desktop a[aria-current]::after { transform: scaleX(1); }
.menu nav a[aria-current] { color: var(--indigo); box-shadow: inset 3px 0 0 var(--mint); padding-left: var(--s2); }
.site-footer a[aria-current] { color: var(--mint); }

/* Page hero: breadcrumb, copy, optional cutout that drops into the next section */
.phero { position: relative; z-index: 2; padding: var(--s3) 0 var(--s5); background: linear-gradient(160deg, var(--wash) 0%, var(--tint) 60%, var(--white) 100%); }
.phero-grid { display: grid; gap: var(--s4); }
.phero-copy { max-width: 760px; }
.phero h1 { margin-bottom: var(--s3); }
.hero-note { margin: var(--s2) 0 0; font-size: var(--fs-card); color: var(--text-soft); }
.trust { margin: var(--s3) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-card); font-weight: 700; color: var(--navy); }
.phero-visual { position: relative; width: min(360px, 100%); justify-self: center; }
/* in-page jump links: a quiet text row, not buttons */
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s2); margin: var(--s2) 0 0; font-size: var(--fs-card); color: var(--slate); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
/* the gap separates the links; a separator dot would trail when the row wraps */
.jump span { display: none; }
@media (max-width: 559px) { .jump { flex-direction: column; align-items: flex-start; } }
@media (min-width: 960px) {
  .phero { padding: var(--s4) 0 var(--s6); }
  .phero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: var(--s5); align-items: end; }
  /* hero without a visual: copy takes the row, .phero-copy caps the measure */
  .phero-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
  .phero-visual { width: auto; justify-self: stretch; margin: 0 calc(-1 * var(--s4)) calc(-1 * var(--s6) - var(--s5)) 0; }
}
/* Contact channel cards in place of the cutout: stay inside the hero */
.phero-chans { width: 100%; }
.phero-chans .hero-note { text-align: center; }
@media (min-width: 960px) { .phero-chans { margin: 0; align-self: center; } }
/* Hero cutout that stays inside the hero, centred on the copy */
@media (min-width: 960px) { .phero-visual.inset { align-self: center; margin-bottom: 0; } }

/* Breadcrumb */
.crumbs ol { list-style: none; margin: 0 0 var(--s2); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s1-5); font-size: .9375rem; }
.crumbs li { display: inline-flex; align-items: center; gap: var(--s1-5); }
.crumbs li:not(:last-child)::after { content: ""; width: 6px; height: 6px; border: solid var(--slate); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-soft); font-weight: 700; text-decoration: none; }
.crumbs a:hover { color: var(--indigo); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 700; }

/* Section helpers */
.sec.slim { padding: var(--s5) 0; }
@media (min-width: 900px) { .sec.slim { padding: var(--s6) 0; } }
.duo { display: grid; }
.duo > .sec-head { margin-bottom: var(--s3); }
@media (min-width: 1100px) {
  .duo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s6); align-items: start; }
  .duo > .sec-head { margin-bottom: 0; position: sticky; top: 110px; }
}
/* Cutout under a .duo heading; only where the heading has its own column */
.duo-media { display: none; }
@media (min-width: 1100px) { .duo-media { display: flex; margin-top: var(--s5); } }
/* Flat part cutout (battery, disk): wide outline, caption centred in it */
.cut-pack { aspect-ratio: 4 / 3; width: 100%; }
.cut-pack span { max-width: 15em; }
/* caption kept inside the left shape of a two-object outline */
.cut-left span { max-width: 10em; margin-right: 32%; }
/* Note after a list: tinted box with an info icon */
.callout { display: flex; align-items: flex-start; gap: var(--s1-5); margin: var(--s5) 0 0; padding: var(--s3); background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: var(--fs-card); line-height: 1.65; color: var(--text); }
.callout .icon { color: var(--indigo); margin-top: 2px; }
.tint .callout { background: var(--white); }
@media (max-width: 639px) { .callout { margin-top: var(--s4); padding: var(--s2); } }
.callout + :is(.cta-row, .pills) { margin-top: var(--s4); }
/* image stays in view while a long text column scrolls */
@media (min-width: 900px) { .split:not(.split-wide) > .split-media:not(.media-over) { position: sticky; top: 110px; } }
.split-text > .rows:not(:first-child) { margin-top: var(--s4); }
@media (min-width: 900px) {
  .split.fill { align-items: stretch; }
  .split.fill > .split-media > .ph { height: 100%; aspect-ratio: auto; }
}
.split + .callout { max-width: none; }
.steps:last-child, .tiles:last-child { margin-bottom: 0; }
.note { font-size: var(--fs-card); color: var(--text-soft); }
.narrow { max-width: 860px; }
.prose { color: var(--text-soft); }
.prose > :last-child, .box > :last-child { margin-bottom: 0; }
.group-title { margin: 0 0 var(--s2); font: 700 var(--fs-lead)/1.3 var(--display); color: var(--navy); }
.pills { display: flex; flex-wrap: wrap; gap: var(--s1); margin: 0; }
.box { background: var(--tint); border-radius: var(--radius); padding: var(--s3); }
.tint .box { background: var(--white); }
.grid + .box, .box + .grid, .grid + .grid { margin-top: var(--s3); }
/* Link pills under any block; :where keeps component overrides like .bento .pills in charge */
.pills:where(:not(:first-child)) { margin-top: var(--s3); }
/* Box under a block that sends the reader on: one line plus a link pill */
.route:where(:not(:first-child)) { margin-top: var(--s4); }
/* Route box or the next group title after a card grid: the same gap as a closing line */
.grid + .route, .grid + .group-title { margin-top: var(--s5); }
@media (max-width: 639px) { .grid + .route, .grid + .group-title { margin-top: var(--s4); } }
/* phone number inside running text never breaks */
:is(.closing, .route) a[href^="tel:"] { white-space: nowrap; }
@media (min-width: 900px) {
  div.route:has(> .pills) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s4); }
  div.route:has(> .pills) > * { margin: 0; }
  div.route:has(> .pills) > .pills { flex: none; }
  div.route:has(> .pills) > :not(.pills) { flex: 1 1 18em; }
}
@media (min-width: 700px) { .box { padding: var(--s4); } }

/* Card grid for .feat (linked) and .quote (static) cards */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
@media (min-width: 700px) {
  .g2, .g3 { grid-template-columns: repeat(2, 1fr); }
  .g2 > :last-child:nth-child(odd), .span-all { grid-column: 1 / -1; }
}
@media (min-width: 700px) and (max-width: 1099px) { .g3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
/* A leading full-row card shifts the count, so the odd last card keeps one column */
@media (min-width: 700px) { .g2 > .span-all:first-child ~ :last-child:nth-child(odd) { grid-column: auto; } }
/* Image slot on top of a static card */
.quote > .ph { margin-bottom: var(--s3); }
/* Static card with an icon tile: laid out like .feat, tile on top from 700px, beside the title below (without :has, tile stays on top) */
.quote > .tile + h3 { margin-top: var(--s2); }
@media (max-width: 699px) {
  .quote:has(> .tile) { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s2); align-items: start; }
  .quote > .tile { grid-row: 1 / span 2; width: 44px; height: 44px; }
  .quote > .tile .icon { width: 22px; height: 22px; }
  .quote > .tile + h3 { margin-top: 0; }
}
/* Full-row linked card with a picture: picture right, text left from 700px; below the text on phones */
.feat > .ph { grid-column: 1 / -1; margin-top: var(--s3); }
@media (min-width: 700px) {
  .feat.span-all:has(> .ph) { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto auto 1fr; column-gap: var(--s4); overflow: hidden; }
  .feat.span-all:has(> .ph) > :not(.ph) { grid-column: 1; }
  /* picture bleeds to the card edge and takes the text height */
  .feat.span-all:has(> .ph) > .ph { grid-column: 2; grid-row: 1 / -1; aspect-ratio: auto; margin: calc(-1 * var(--s3)) calc(-1 * var(--s3)) calc(-1 * var(--s3)) 0; border-radius: 0; width: auto; }
  .feat.span-all:has(> .ph) > .go { right: calc(var(--s3) + var(--s4) + (100% - 2 * var(--s3) - var(--s4)) * .4); }
}
/* Picture cards: the odd card spanning the row puts its picture beside the text (without :has, picture stays on top) */
@media (min-width: 700px) and (max-width: 1099px) {
  .g3 > .quote:last-child:nth-child(odd):has(> .ph) { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: var(--s4); }
  .g3 > .quote:last-child:nth-child(odd):has(> .ph) > .ph { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .g3 > .quote:last-child:nth-child(odd):has(> .ph) > :not(.ph) { grid-column: 2; }
}

/* Icon rows without icon tiles when the copy numbers the steps */
.steps.plain li { grid-template-columns: 1fr; }
.steps.plain li > div { padding-top: 0; }
/* Four short steps in a row, tile on top: 2 columns from 700px, 4 from 1100px */
@media (min-width: 700px) {
  .steps.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.g4 li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--s2); }
  .steps.g4 li > div { padding-top: 0; }
}
@media (min-width: 1100px) { .steps.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Text rows: title and muted body separated by hairlines, no cards */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.rows li + li { padding-top: var(--s3); border-top: 1px solid var(--line); }
.rows h3 { margin: 0 0 var(--s1); }
.rows p { margin: 0; font-size: var(--fs-card); line-height: 1.65; color: var(--text-soft); }

/* Bullets: two columns, bold lead-in before a colon */
@media (min-width: 700px) { .blist.cols { grid-template-columns: 1fr 1fr; column-gap: var(--s4); } }
.blist strong { color: var(--navy); }
/* separate title and body fields: title on its own line, a step larger */
.blist.stack strong { display: block; font: 700 var(--fs-body)/1.4 var(--display); margin-bottom: 2px; }
.blist:last-child { margin-bottom: 0; }

/* The one dark band per page */
.band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--on-dark); }
.band h2, .band h3 { color: var(--white); }
.band p, .band .sub { color: var(--on-dark); }
/* violet fails contrast on navy */
.band .eyebrow { color: var(--mint); }
.band .card, .band .steps li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; }
.band .steps p { color: var(--on-dark); }
.band .blist li { color: var(--on-dark); }
.band .blist li::before { background: var(--mint); }
.band .link-pill { background: var(--white); border-color: var(--white); }
/* indigo links fail contrast on navy */
.band .closing a { color: var(--white); }
.band .closing a:hover { color: var(--mint); }

/* Price box: heading left, body right from 900px */
.pbox { display: grid; gap: var(--s3); padding: var(--s4) var(--s3); border: 1px solid var(--line); background: linear-gradient(135deg, var(--white) 30%, var(--wash)); box-shadow: var(--shadow); }
.pbox h2 { margin: 0; }
.pbox h2 + .sub { margin: var(--s2) 0 0; }
.pbox-body > :last-child { margin-bottom: 0; }
.pbox .checks { margin: var(--s3) 0; }
.pbox .diag { margin-bottom: var(--s3); }
.pbox .cta-row { margin-bottom: var(--s3); }
@media (max-width: 559px) { .pbox { padding: var(--s4) var(--s2); } }
@media (min-width: 900px) { .pbox { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s6); padding: var(--s5); } }
@media (min-width: 1100px) { .pbox { padding: var(--s6); } }
/* buttons fill their row, so a wrapped pair reads as a stack */
@media (min-width: 560px) { .pbox .cta-row .btn { flex: 1 1 auto; } }
/* Price box art: decorative inspect, price, confirm rows that fill the heading column from 900px */
.pbox-art { display: none; }
@media (min-width: 900px) {
  .pbox-art { display: grid; gap: var(--s2); margin-top: var(--s5); padding: var(--s4) var(--s3); border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
  .pa-row { display: flex; align-items: center; gap: var(--s2); padding: var(--s1-5) var(--s2); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
  .pa-row:nth-child(1) { margin-right: var(--s5); }
  .pa-row:nth-child(2) { margin: 0 var(--s3); }
  .pa-row:nth-child(3) { margin-left: var(--s5); }
  .pa-row .tile { width: var(--s5); height: var(--s5); }
  .pa-row .tile .icon { width: var(--s3); height: var(--s3); }
  .pa-row .tile.mint { color: var(--mint-ink); }
  .pa-lines { flex: 1; display: grid; gap: var(--s1); }
  .pa-lines i { display: block; height: var(--s1); border-radius: var(--s1); background: var(--line); }
  .pa-lines i + i { width: 60%; }
}

/* Price list rows with a TODO chip */
.plist { border: 1px solid var(--line); }
.plist h3 { margin: 0 0 var(--s1); }
.plist ul { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s1) var(--s2); padding: var(--s1-5) 0; border-top: 1px solid var(--line); font-size: var(--fs-card); }
/* long row titles wrap in place so the chip stays on the right */
.plist li > :first-child { flex: 1 1 0; min-width: 0; }
/* Groups of 1 to 7 rows: two columns that stack without the holes a grid leaves */
.plist-cols > .plist { break-inside: avoid; margin-bottom: var(--s3); }
/* a column break drops the last card's bottom margin, so the wrapper carries the gap */
@media (min-width: 900px) { .plist-cols { columns: 2; column-gap: var(--s3); margin-bottom: var(--s3); } }
.todo { font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); background: var(--ph-fill); border: 1px dashed var(--slate); border-radius: 6px; padding: 2px var(--s1); white-space: nowrap; }

/* Contact channel cards */
.chans { display: grid; gap: var(--s2); }
.chan { display: flex; align-items: center; gap: var(--s2); min-height: 52px; padding: var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font: 800 var(--fs-h3)/1.2 var(--display); color: var(--navy); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.chan > .icon { margin-left: auto; color: var(--indigo); }
.chan .tel { white-space: nowrap; }
.chan:hover { color: var(--indigo); transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(65, 84, 241, .35); }

/* Town list without an image */
.towns.inline { position: static; display: inline-flex; flex-wrap: nowrap; margin: 0 0 var(--s3); border-radius: var(--pill); }
@media (max-width: 559px) { .towns.inline { border-radius: var(--radius); } }
.sec-head > .towns.inline:last-child { margin-bottom: 0; }
/* Longer place lists (8 or so) than .towns.inline holds: white chips in two columns */
.town-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s1-5); }
.town-grid li { display: flex; align-items: center; gap: var(--s1); min-height: 52px; padding: var(--s1-5) var(--s2); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font: 700 var(--fs-card)/1.3 var(--display); color: var(--navy); }
.town-grid .icon { color: var(--indigo); }
/* small phones: names need the full chip width */
@media (max-width: 479px) { .town-grid li { padding: var(--s1-5) var(--s1); letter-spacing: -.01em; } .town-grid .icon { display: none; } }

/* Homepage components without their image */
.compare.flat { margin-top: 0; }
@media (min-width: 700px) { .tiles.t2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .tiles.t2 li { grid-template-columns: 1fr; } }
.final.plain .cta-card { padding-bottom: var(--s5); }
.final.plain .cta-copy { width: auto; }
@media (min-width: 900px) {
  .final.plain { padding-top: var(--s7); }
  /* no image to fill the right half, so the card centres */
  .final.plain .cta-copy { text-align: center; }
  .final.plain .cta-card h2, .final.plain .cta-card p { margin-inline: auto; }
  .final.plain .cta-row { justify-content: center; }
}

/* Below 960px the FAQ aside stacks on the final CTA card: plain box, so the page keeps one gradient card */
@media (max-width: 959px) {
  .phero ~ .sec .side { background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
  .phero ~ .sec .side::after { display: none; }
  .phero ~ .sec .side .side-q { color: var(--navy); }
  .phero ~ .sec .side .side-or { color: var(--text-soft); }
  .phero ~ .sec .side .btn-white { background: var(--white); color: var(--indigo); border-color: var(--indigo); }
  .phero ~ .sec .side .btn-mint { background: var(--indigo); color: var(--white); }
  .phero ~ .sec .side .btn-mint:hover { background: var(--violet); color: var(--white); }
  .phero ~ .sec .side :focus-visible { outline-color: var(--indigo); }
}

@media (prefers-reduced-motion: reduce) { .chan:hover { transform: none; } }

/* Hero with a wide visual (servis-racunala, picked 2026-10-08): the cutout bleeds further right,
   the copy column keeps its width so both CTAs stay on one row */
@media (min-width: 1280px) { .phero-grid.even .phero-visual { margin-right: calc(-1 * var(--s6)); } }

/* Stats band under an inner-page hero: no hero image overlaps it, so it keeps normal top padding */
@media (min-width: 960px) { .stats.inner { padding-top: var(--s6); } }
/* longer route labels than the homepage's "Više o nama" must wrap on phones */
@media (max-width: 639px) { .stats .link-pill { white-space: normal; } }

/* Fault map: linked fault cards, each with its own picture, in mixed sizes (.fm-big, .fm-side); .fm-4 or .fm-3 columns from 1100px */
.fmap .feat { display: flex; flex-direction: column; }
.fm-pic { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 10; margin: 0 0 var(--s3); padding: 0; border-radius: var(--radius-sm); background: linear-gradient(160deg, var(--wash), var(--tint)); overflow: hidden; }
.cut.fm-pic > img { inset: 8%; width: 84%; height: 84%; }
.fmap h3 { margin: 0 0 var(--s1); }
.fmap > .route { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.fmap > .route strong { display: block; margin-bottom: var(--s1); font: 800 var(--fs-h3)/1.2 var(--display); color: var(--navy); }
@media (max-width: 699px) {
  /* phones: picture as a thumbnail beside the title; the first fault keeps a full picture */
  .fmap .feat { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: var(--s2); padding: var(--s2); }
  .fmap .fm-pic { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 1; margin: 0; align-self: center; }
  .fmap .feat > h3 { grid-column: 2; grid-row: 2; }
  .fmap .feat > p { grid-column: 2; grid-row: 3; }
  .fmap .go { top: var(--s2); right: var(--s2); }
  .fmap .fm-big { display: flex; padding: var(--s3); }
  .fmap .fm-big .fm-pic { aspect-ratio: 16 / 10; margin-bottom: var(--s3); }
  .fmap .fm-big .go { top: var(--s3); right: var(--s3); }
}
@media (min-width: 700px) {
  .fmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fmap.fm-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* arrow as a badge in the picture corner */
  .fmap .go { top: calc(var(--s3) + var(--s1-5)); right: calc(var(--s3) + var(--s1-5)); z-index: 4; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); }
  .fmap .feat:hover .go { background: var(--indigo); color: var(--white); }
  .fmap .fm-big, .fmap .fm-side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: var(--s4); }
  .fm-big > .fm-pic, .fm-side > .fm-pic { grid-column: 2; grid-row: 1 / -1; aspect-ratio: auto; min-height: 220px; height: 100%; margin: 0; }
  .fm-big > h3, .fm-side > h3 { grid-column: 1; grid-row: 2; }
  .fm-big > p, .fm-side > p { grid-column: 1; grid-row: 3; }
}
@media (min-width: 1100px) {
  .fmap.fm-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fmap.fm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fmap.fm-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .fmap .fm-big { grid-column: 1 / 3; grid-row: 1 / 3; display: flex; }
  .fm-big > .fm-pic { flex: 1 1 auto; height: auto; min-height: 300px; margin-bottom: var(--s3); }
  .fm-big > h3 { font-size: 1.75rem; }
  .fmap .fm-side { grid-column: 3 / 5; }
}

/* Dolazak story (6.8 Service Area Block): three stops on a line, the area as a route of five towns west to east, optional price .callout.
   Sits on tint; neighbours are white or the band. */
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.story li { position: relative; display: grid; align-content: start; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s2); align-items: start; }
.story .tile { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; }
.story .tile .icon { width: 28px; height: 28px; }
.story h3 { margin: var(--s1-5) 0 4px; font-size: var(--fs-h3-lg); }
.story p { margin: 0; font-size: var(--fs-card); color: var(--text-soft); }
/* the line between stops: down on phones, across from 700px */
.story li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: calc(-1 * var(--s4) + var(--s1)); border-left: 2px dashed rgba(65, 84, 241, .35); }
@media (min-width: 700px) {
  .story { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story li { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .story .tile { grid-row: auto; width: 64px; height: 64px; margin-bottom: var(--s3); }
  .story h3 { margin: 0 0 var(--s1); }
  .story p { max-width: 22em; }
  .story li:not(:last-child)::after { left: calc(50% + 32px + var(--s2)); right: calc(-50% - var(--s4) + 32px + var(--s2)); top: 31px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(65, 84, 241, .35); }
}
.story-area { display: grid; gap: var(--s3); margin-top: var(--s5); padding: var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.story-km { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s1-5); margin: 0; font: 700 var(--fs-lead)/1.3 var(--display); color: var(--navy); }
.story-km strong { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--indigo); }
.story-towns { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); font: 700 .9375rem/1.4 var(--display); color: var(--navy); }
.story-towns::before { content: ""; position: absolute; left: 10%; right: 10%; top: 6px; height: 3px; border-radius: 3px; background: rgba(65, 84, 241, .35); }
.story-towns li { display: grid; grid-template-rows: 14px auto; row-gap: var(--s1); justify-items: center; text-align: center; }
.story-towns li::before { content: ""; position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--indigo); }
.story-towns li:first-child::before, .story-towns li:last-child::before { background: var(--indigo); }
.story-towns span { grid-row: 2; }
/* small screens: names alternate above and below the line so each gets two columns of room */
@media (max-width: 559px) {
  .story-towns li { grid-template-rows: 1.4em 14px 1.4em; }
  .story-towns li::before { grid-row: 2; }
  .story-towns li:nth-child(odd) span { grid-row: 3; }
  .story-towns li:nth-child(even) span { grid-row: 1; }
  .story-towns::before { top: calc(1.4em + var(--s1) + 6px); }
}
.story-post { max-width: none; display: flex; align-items: flex-start; gap: var(--s1-5); margin: 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-card); color: var(--text-soft); }
.story-post .icon { margin-top: 2px; color: var(--indigo); }
@media (min-width: 700px) { .story-area { padding: var(--s4); } }
@media (min-width: 900px) {
  .story-area { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s6); align-items: center; }
  .story-km { flex-direction: column; align-items: flex-start; }
  .story-post { grid-column: 1 / -1; }
}
.story-area + .callout { margin-top: var(--s3); max-width: none; }
/* area card without a town route: post line beside the figure from 900px */
@media (min-width: 900px) { .story-km + .story-post { grid-column: auto; padding: 0 0 0 var(--s4); border-top: 0; border-left: 1px solid var(--line); } }
.town-grid + .story-area { margin-top: var(--s3); }

/* Reach (6.8 Service Area Block with a map, presentation key "map"): steps beside the map, the two notes in a strip below.
   The map is img/karta-split.webp; pins and the 30 km ring are positioned from presentation/_map.json. */
.reach { display: grid; gap: var(--s4); }
.reach .sec-head { margin-bottom: 0; }
.reach-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.reach-steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s2); align-items: start; }
.reach-steps .tile { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; }
.reach-steps .tile .icon { width: 28px; height: 28px; }
.reach-steps h3 { margin: var(--s1-5) 0 4px; font-size: var(--fs-h3-lg); }
.reach-steps p { margin: 0; font-size: var(--fs-card); color: var(--text-soft); }
.reach-steps li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: calc(-1 * var(--s4) + var(--s1)); border-left: 2px dashed rgba(65, 84, 241, .35); }
.reach-map { position: relative; margin: 0; }
.reach-fig { position: relative; aspect-ratio: 560 / 425; overflow: hidden; background: #a9cdee; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.reach-fig > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.reach-ring { position: absolute; aspect-ratio: 1; box-sizing: border-box; border: 2px dashed var(--indigo); border-radius: 50%; background: rgba(255, 255, 255, .28); }
.reach-pins { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.reach-pin { position: absolute; width: 0; height: 0; font: 700 1rem/1.2 var(--display); color: var(--navy); }
.reach-pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: var(--white); border: 3px solid var(--indigo); }
.reach-pin span { position: absolute; white-space: nowrap; padding: 3px 8px; background: var(--white); border-radius: 8px; box-shadow: 0 1px 2px rgba(5, 20, 65, .12); }
.reach-b span { left: 50%; top: 16px; transform: translateX(-50%); }
.reach-tl span, .reach-tr span { bottom: calc(var(--lead) + 6px); }
.reach-tl span { right: -8px; }
.reach-tr span { left: -8px; }
.reach-tl::before, .reach-tr::before { content: ""; position: absolute; left: -1px; bottom: 6px; width: 2px; height: var(--lead); background: var(--indigo); }
.reach-home { font-size: 1.125rem; }
.reach-home i { left: -10px; top: -10px; width: 20px; height: 20px; background: var(--indigo); border: 4px solid var(--white); outline: 3px solid var(--indigo); }
.reach-home span { top: 22px; background: var(--navy); color: var(--white); }
.reach-cover { position: absolute; inset: 0; z-index: 1; }
.reach-open { position: absolute; z-index: 3; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: var(--pill); background: var(--white); box-shadow: var(--shadow-sm); font: 700 .8125rem/1.2 var(--display); color: var(--navy); text-decoration: none; }
.reach-open .icon { color: var(--indigo); }
.reach-credit { z-index: 3; position: absolute; right: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .85); font: 600 .6875rem/1.3 var(--font); text-align: right; color: var(--text-soft); }
.reach-badge { position: absolute; z-index: 2; top: -22px; right: 12px; width: 104px; height: 104px; margin: 0; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; background: linear-gradient(135deg, var(--indigo), var(--violet-2)); color: var(--white); box-shadow: var(--shadow); }
.reach-badge strong { font: 800 1.5rem/1 var(--display); letter-spacing: -.02em; }
.reach-badge span { max-width: 6.5em; font: 700 .75rem/1.15 var(--display); text-wrap: balance; }
.reach-notes { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.reach-note { display: flex; align-items: flex-start; gap: var(--s1-5); margin: 0; font-size: var(--fs-card); line-height: 1.5; color: var(--navy); }
.reach-note .icon { margin-top: 2px; color: var(--indigo); }
.reach-note:only-child { grid-column: 1 / -1; }
.reach > .pills { margin-top: 0; }
@media (min-width: 900px) {
  .reach { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; column-gap: var(--s5); row-gap: var(--s3); align-items: start; }
  .reach > .sec-head, .reach-steps { grid-column: 1; }
  .reach-map { grid-column: 2; grid-row: 1 / span 2; }
  .reach-notes, .reach > .pills { grid-column: 1 / -1; }
  .reach-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); margin-top: var(--s2); }
  .reach-open { top: 10px; left: 10px; gap: 6px; padding: 6px 12px; font-size: .875rem; }
  .reach-badge { top: -30px; right: 24px; width: 132px; height: 132px; }
  .reach-badge strong { font-size: 2.125rem; }
  .reach-badge span { font-size: .8125rem; }
}

/* ==========================================================================
   Step layouts picked in design review 2 (2026-10-09):
   .srows (kvarovi-laptopa reset steps), .pcards (laptop-se-ne-pali power checks),
   .timeline (repair process, servis-racunala-kastela; to be rolled out to every process section)
   ========================================================================== */

/* Step rows: one step per row, large picture beside short text, sides alternate from 700px */
.srows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
.srows li { display: grid; gap: var(--s3); align-items: center; }
.srows .ph { aspect-ratio: 16 / 10; max-height: 320px; border-radius: var(--radius); }
.srows h3 { margin: 0 0 var(--s1-5); font-size: var(--fs-h2); }
.srows p { margin: 0; max-width: 34em; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-soft); }
.srows .sr-more { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); font-size: var(--fs-card); }
.band .srows p { color: var(--on-dark); }
.band .srows .sr-more { border-top-color: rgba(255, 255, 255, .16); }
@media (min-width: 700px) {
  .srows li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s5); }
  .srows li:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .srows li:nth-child(even) > .ph { order: 2; }
}
@media (min-width: 900px) { .srows { gap: var(--s6); } .srows li { column-gap: var(--s6); } }

/* Picture cards: three tall cards, the picture bleeds to the card edge, detail behind a toggle */
.pcards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.pcards > li { display: flex; flex-direction: column; overflow: hidden; }
.pcards .ph { flex: none; width: auto; aspect-ratio: 4 / 3; margin: calc(-1 * var(--s3)) calc(-1 * var(--s3)) var(--s3); border-width: 0 0 1px; border-radius: 0; }
.pcards h3 { margin: 0 0 var(--s1); font-size: var(--fs-h3-lg); }
.pcards p { margin: 0; font-size: var(--fs-card); color: var(--text-soft); }
.pc-more { margin-top: auto; padding-top: var(--s2); }
.pc-more summary { display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; cursor: pointer; list-style: none; font: 700 1rem/1.2 var(--display); color: var(--indigo); }
.pc-more summary::-webkit-details-marker { display: none; }
.pc-more summary::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pc-more[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.pc-more p { margin-top: var(--s1); }
.band .pcards p { color: var(--on-dark); }
.band .pc-more summary { color: var(--mint); }
@media (min-width: 700px) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pcards .ph { aspect-ratio: 1; } }
@media (min-width: 700px) and (max-width: 899px) {
  .pcards { gap: var(--s2); }
  .pcards > li { padding: var(--s2); }
  .pcards .ph { margin: calc(-1 * var(--s2)) calc(-1 * var(--s2)) var(--s2); }
}

.timeline + .pills { margin-top: var(--s5); }
@media (max-width: 639px) { .timeline + .pills { margin-top: var(--s4); } }

/* Picture cards, four in a row: two columns from 700px, four from 1100px (laptop-se-ne-puni, uklanjanje-virusa) */
@media (min-width: 700px) { .pcards.pc4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pcards.pc4 .ph { aspect-ratio: 4 / 3; } }
@media (min-width: 1100px) { .pcards.pc4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pcards.pc4 .ph { aspect-ratio: 1; } }

/* Process timeline: numbered nodes on a line; vertical on phones, four columns from 1100px with each node centred over its card */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); counter-reset: tl; }
.timeline > li { counter-increment: tl; position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s2); align-items: start; }
.timeline > li::before { content: counter(tl); position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--violet-2)); color: var(--white); font: 800 1.25rem/1 var(--display); box-shadow: 0 0 0 6px var(--tint); }
.timeline > li:last-child::before { background: var(--mint); color: var(--navy); }
.timeline > li::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: calc(-1 * var(--s4)); width: 2px; background: linear-gradient(var(--indigo), var(--mint)); }
.timeline > li:last-child::after { display: none; }
.tl-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.tl-card > .ph { aspect-ratio: 4 / 3; border-radius: 0; border-width: 0 0 1px; }
.tl-text { padding: var(--s3); }
.tl-text h3 { font-size: var(--fs-h3-lg); margin: 0 0 var(--s1); }
.tl-text p { margin: 0; font-size: var(--fs-card); line-height: 1.65; color: var(--text-soft); }
@media (min-width: 700px) and (max-width: 1099px) {
  .tl-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
  .tl-card > .ph { height: 100%; border-width: 0 1px 0 0; }
}
@media (min-width: 1100px) {
  /* one column per step, whatever the count (3 on kontakt, 4 on most pages, 5 on zamjena-ekrana) */
  .timeline { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s3); }
  .timeline > li { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; row-gap: var(--s3); }
  .timeline > li::before { justify-self: center; }
  /* one continuous line across the full width; the nodes' tint ring breaks it around each number */
  .timeline { position: relative; }
  .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--mint)); }
  .timeline > li::after { display: none; }
  .tl-card { height: 100%; }
}
.timeline + .closing { margin-top: var(--s5); }

/* Mobile review (2026-10-09) */
/* the profile URL in brackets dropped onto its own line under each social link on phones */
@media (max-width: 559px) { .f-url { display: none; } }
/* stats band without the RAM cutout: give the heading room above the first card on phones */
@media (max-width: 959px) { .stats-top:not(:has(.cut)) h2 { margin-bottom: var(--s3); } }

/* Legal text (6.10): one narrow reading column */
.legal { padding-top: var(--s3); padding-bottom: var(--s7); }
.legal-text { max-width: 720px; }
.legal-text h1 { margin: 0 0 var(--s1); }
.legal-text .updated { margin: 0 0 var(--s3); font-size: var(--fs-card); color: var(--text-soft); }
.legal-text .lead { margin-bottom: var(--s5); }
.legal-text h2 { margin: var(--s5) 0 var(--s2); font-size: var(--fs-lead); }
.legal-text p, .legal-text li { line-height: 1.7; color: var(--text); }
.legal-text p { margin: 0 0 var(--s2); }
.legal-text ul { margin: 0 0 var(--s2); padding-left: var(--s3); display: grid; gap: var(--s1-5); }
.legal-text a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }

/* Mobile pass (2026-11-03) */
.f-legal code { font-size: .875rem; }
.lang-off { min-width: 36px; }
.callout a { display: inline-block; padding-block: 8px; margin-block: -8px; }
.menu nav { max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
.mbar .btn { flex: 1 1 0; min-width: 0; padding-inline: var(--s1-5); }
.chans > .chan { min-width: 0; }
.reach-credit { font-size: .75rem; }
.reach-open { min-height: 40px; font-size: .875rem; }
.reach-badge span { font-size: .75rem; }
@media (max-width: 639px) {
  .menu nav { max-height: calc(100dvh - 80px - var(--bar-h)); }
  .f-cols a { min-width: 44px; }
  /* the fixed bar already carries call and WhatsApp */
  .sec:has(.faq-grid .side):has(+ .final) .side { display: none; }
  body:has(.phero-chans) .final .cta-row { display: none; }
  .timeline > li::after { top: 36px; }
}
@media (max-width: 699px) {
  .pcards .ph, .tl-card > .ph { aspect-ratio: 16 / 10; }
}
/* service map: the profile link moves under the image so it cannot cover the badge and pins */
@media (max-width: 479px) {
  .reach-open { position: static; margin-top: var(--s1-5); }
  .reach-badge { width: 84px; height: 84px; top: -34px; right: 0; }
  .reach-badge strong { font-size: 1.25rem; }
  .reach-credit { bottom: 4px; padding: 1px 6px; line-height: 1.2; }
  .chan { padding: var(--s2); }
  .timeline > li { grid-template-columns: 36px minmax(0, 1fr); column-gap: var(--s1-5); }
  .timeline > li::before { width: 36px; height: 36px; font-size: 1rem; }
  .timeline > li::after { left: 17px; }
  .feat, .card.quote:has(> .tile) { padding: var(--s2); column-gap: var(--s1-5); }
  .feat .go { top: var(--s2); right: var(--s2); }
  .feat .tile, .quote:has(> .tile) > .tile { grid-row: auto; width: 40px; height: 40px; align-self: center; }
  .feat h3, .quote:has(> .tile) > h3 { margin: 0; padding-right: var(--s3); align-self: center; }
  .feat > p, .quote:has(> .tile) > p { grid-column: 1 / -1; margin-top: var(--s1-5); }
  .legal-text ul { padding-left: var(--s2); }
}
@media (max-width: 339px) {
  .mbar { gap: 8px; }
  .plist li { flex-direction: column; align-items: flex-start; }
  .plist li > :first-child { flex: none; }
}

/* Phone hero (2026-11-03): h1, lead and picture share the first screen; the fixed bar already carries call and WhatsApp */
@media (max-width: 639px) {
  .hero .cta-row, .phero .cta-row, .hero .eyebrow, .phero .eyebrow { display: none; }
  .hero { padding: var(--s2) 0 var(--s4); }
  .phero { padding: 0 0 var(--s4); }
  .hero-grid, .phero-grid { gap: 0; }
  .hero h1, .phero h1 { margin-bottom: var(--s1-5); }
  .hero .lead, .phero .lead { margin-bottom: var(--s2); }
  .crumbs ol { margin-bottom: 0; }
  .hero .cut-laptop { padding: 0; }
  .float-card { margin-top: calc(-1 * var(--s3)); max-width: 92%; padding: var(--s1-5); }
  .float-card .tile { width: 36px; height: 36px; flex: none; }
  .float-card .micro { font-size: .9375rem; line-height: 1.4; }
  /* inner pages: picture straight after the lead, notes and links below it */
  .phero-copy { display: contents; }
  .phero-visual { order: 1; }
  .phero-copy > .jump, .phero-copy > .hero-note, .phero-copy > .trust { order: 2; }
  .phero-copy > .jump { margin-top: var(--s2); }
  /* breadcrumb stays on one line; the last item shrinks with an ellipsis */
  .crumbs ol { flex-wrap: nowrap; }
  .crumbs li { min-width: 0; }
  .crumbs li:last-child { overflow: hidden; }
  .crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* short phones (360x640): smaller picture and no float card, so the picture clears the bar */
@media (max-width: 639px) and (max-height: 700px) {
  .hero-visual, .phero-visual { width: min(220px, 100%); max-width: 220px; }
  .hero .lead, .phero .lead { margin-bottom: var(--s1); }
  .hero .float-card { display: none; }
}
