/* ===== Kostas Tsatsos Automations — styles ===== */
:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #fff;
  --sky: #0284c7;
  --sky-2: #0ea5e9;
  --sky-soft: #e0f2fe;
  --green: #10b981;
  --red: #ef4444;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--sky-soft); color: #0c4a6e; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background .2s, transform .2s, box-shadow .2s; font-size: .97rem; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sky); color: var(--white); box-shadow: 0 8px 20px -10px rgba(2, 132, 199, .7); }
.btn-primary:hover { background: #0369a1; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn-sm { padding: .5rem .95rem; font-size: .88rem; }
.btn-block { width: 100%; }
.link-underline { font-weight: 600; text-underline-offset: 5px; }
.eyebrow { font-family: var(--mono); font-size: .8rem; color: var(--sky); font-weight: 500; letter-spacing: .02em; margin-bottom: .75rem; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 250, 252, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.brand img { border-radius: 10px; background: var(--white); border: 1px solid var(--line); object-fit: contain; padding: 3px; }
.brand em { font-style: normal; color: var(--sky); }
.main-nav { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.main-nav a:not(.btn) { text-decoration: none; color: var(--slate); font-weight: 500; font-size: .93rem; }
.main-nav a:not(.btn):hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: flex; background: var(--white); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.lang-switch button { border: 0; background: none; padding: .3rem .6rem; border-radius: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: 9px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { padding: 4.5rem 0 5rem; background: radial-gradient(800px 400px at 85% 10%, rgba(14, 165, 233, .1), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.kicker { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.kicker span + span::before { content: "·"; margin: 0 .6rem; color: var(--sky); }
.lead { font-size: 1.13rem; color: var(--slate); max-width: 38rem; }
.hero-ctas { display: flex; align-items: center; gap: 1.5rem; margin: 2rem 0 2.5rem; flex-wrap: wrap; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.8rem; margin: 0; }
.hero-metrics dt { font-family: var(--display); font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.hero-metrics dd { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.4; }

.pipeline-card { background: var(--ink); color: #cbd5e1; border-radius: 20px; padding: 1.4rem; box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .55); }
.pipeline-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pipeline-head img { background: var(--white); border-radius: 10px; padding: 3px; object-fit: contain; }
.pipeline-head strong { display: block; color: var(--white); font-family: var(--display); }
.pipeline-head span { font-size: .8rem; }
.pipeline-head code { margin-left: auto; white-space: nowrap; font-family: var(--mono); font-size: .75rem; color: var(--sky-2); }
.pipeline-steps { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .7rem; }
.pipeline-steps button { width: 100%; text-align: left; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: .9rem 1rem; color: inherit; transition: border-color .25s, background .25s; }
.pipeline-steps button:hover { border-color: rgba(14, 165, 233, .5); }
.pipeline-steps button.active { border-color: var(--sky-2); background: rgba(14, 165, 233, .1); }
.pipeline-steps .tool { font-family: var(--mono); font-size: .72rem; color: #94a3b8; }
.pipeline-steps .title { display: block; color: var(--white); font-weight: 600; margin: .2rem 0; }
.pipeline-steps .detail { font-size: .85rem; }
.pipeline-steps .output { display: none; margin-top: .6rem; font-family: var(--mono); font-size: .75rem; color: #6ee7b7; }
.pipeline-steps .output::before { content: "✓ "; }
.pipeline-steps button.done .output, .pipeline-steps button.active .output { display: block; }
.pipeline-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.pipeline-foot .hint { font-size: .78rem; color: #64748b; }

/* Sections */
.section { padding: 6rem 0; }
.section-tint { background: #eef4f9; }
.section-dark { background: var(--ink); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p:last-child { color: #94a3b8; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.pillar:hover { transform: translateY(-4px); border-color: #bae6fd; }
.pillar:first-child { background: var(--ink); color: #cbd5e1; border-color: var(--ink); }
.pillar:first-child h3 { color: var(--white); }
.pillar-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .8rem; margin-bottom: 1.2rem; }
.pillar-top b { color: var(--sky-2); }
.pillar-top span { color: var(--muted); }
.pillar p { flex: 1; }
.pillar .tools { font-family: var(--mono); font-size: .76rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.pillar:first-child .tools { border-color: rgba(255, 255, 255, .1); color: #94a3b8; }
.pillar a { margin-top: 1rem; color: var(--sky); font-weight: 600; text-decoration: none; font-size: .93rem; }
.pillar:first-child a { color: var(--sky-2); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { border: 1px solid var(--line); background: var(--white); color: var(--slate); padding: .45rem 1rem; border-radius: 999px; font-size: .87rem; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: var(--white); }
.section-dark .filters button { background: transparent; border-color: rgba(255, 255, 255, .15); color: #cbd5e1; }
.section-dark .filters button[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: var(--white); }

/* Case studies */
.cases { display: grid; gap: 1.5rem; }
.case { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px; padding: 2.2rem; display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem; animation: fade .4s ease; }
.case[hidden] { display: none; }
.case-index { font-family: var(--mono); color: var(--sky-2); font-size: .85rem; }
.case-tags { font-size: .82rem; color: #94a3b8; margin: .4rem 0 .2rem; }
.case-stack { font-family: var(--mono); font-size: .74rem; color: #64748b; margin-bottom: 1.2rem; }
.case h3 { font-size: 1.45rem; }
.case-sub { color: #94a3b8; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.5rem; }
.case-metrics div { background: rgba(14, 165, 233, .08); border: 1px solid rgba(14, 165, 233, .2); border-radius: 12px; padding: .9rem; }
.case-metrics b { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--white); }
.case-metrics span { font-size: .76rem; color: #94a3b8; line-height: 1.3; display: block; }
.case h4 { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sky-2); margin: 0 0 .5rem; }
.case-body p { font-size: .95rem; }
.case-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.case-body li { padding-left: 1.5rem; position: relative; font-size: .95rem; color: #e2e8f0; }
.case-body li::before { content: "→"; position: absolute; left: 0; color: var(--green); }
.cta-band { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.2rem; border-radius: 20px; background: linear-gradient(120deg, rgba(2, 132, 199, .25), rgba(14, 165, 233, .05)); border: 1px solid rgba(14, 165, 233, .3); }
.cta-band h3 { margin: 0; }
.cta-band .eyebrow { margin-bottom: .3rem; }

/* Methodology */
.steps { list-style: none; padding: 0; margin: 0 0 4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; }
.steps li b { font-family: var(--mono); color: var(--sky); font-size: .85rem; }
.steps h3 { font-size: 1.08rem; margin: .7rem 0 .6rem; }
.steps p { color: var(--slate); font-size: .93rem; margin: 0; }
.fit { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 1.3rem; align-items: stretch; }
.fit-box { border-radius: var(--radius); padding: 1.6rem; border: 1px solid; }
.fit-good { background: #ecfdf5; border-color: #a7f3d0; }
.fit-bad { background: #fef2f2; border-color: #fecaca; }
.fit-box h4 { font-size: 1rem; }
.fit-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.fit-box li { padding-left: 1.6rem; position: relative; font-size: .94rem; color: var(--ink-2); }
.fit-good li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.fit-bad li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Blueprints */
.bp-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.search input { width: min(320px, 100%); padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .92rem; background: var(--white); }
.bp-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 1.5rem; align-items: start; }
.bp-list { display: grid; gap: .9rem; }
.bp-card { text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem; color: inherit; transition: border-color .2s, box-shadow .2s; }
.bp-card:hover { border-color: #7dd3fc; }
.bp-card.active { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(2, 132, 199, .12); }
.bp-meta { font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem; }
.bp-meta .cat { color: var(--sky); font-weight: 600; }
.bp-meta .save { color: #059669; font-weight: 600; }
.bp-card h3 { font-size: 1.05rem; margin: .5rem 0 .35rem; }
.bp-card p { font-size: .9rem; color: var(--slate); margin-bottom: .6rem; }
.bp-foot { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); gap: .5rem; }
.bp-foot b { color: var(--sky); font-weight: 600; white-space: nowrap; }
.bp-empty { background: var(--white); border: 1px dashed var(--line); border-radius: 14px; padding: 2rem; text-align: center; }
.bp-detail { position: sticky; top: 90px; background: var(--ink); color: #cbd5e1; border-radius: 20px; padding: 1.6rem; }
.bp-detail h3 { color: var(--white); }
.bp-detail .bp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.bp-detail .problem { font-size: .9rem; background: rgba(255, 255, 255, .04); border-radius: 10px; padding: .8rem 1rem; }
.bp-detail .problem b { color: #fca5a5; }
.nodes { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.node { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; padding: .85rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; transition: border-color .3s, background .3s; }
.node .num { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font-family: var(--mono); font-size: .8rem; color: var(--sky-2); }
.node strong { color: var(--white); font-size: .95rem; }
.node .role { font-family: var(--mono); font-size: .68rem; padding: .1rem .45rem; border-radius: 5px; background: rgba(14, 165, 233, .15); color: var(--sky-2); margin-left: .4rem; }
.node .tool { display: block; font-family: var(--mono); font-size: .72rem; color: #64748b; }
.node p { font-size: .85rem; margin: .3rem 0 0; }
.node .out { display: none; font-family: var(--mono); font-size: .72rem; color: #6ee7b7; margin-top: .45rem; word-break: break-word; }
.node.running { border-color: var(--sky-2); background: rgba(14, 165, 233, .08); }
.node.done { border-color: rgba(16, 185, 129, .45); }
.node.done .num { background: rgba(16, 185, 129, .18); color: #6ee7b7; }
.node.done .out { display: block; }
.bp-detail .est { font-family: var(--mono); font-size: .78rem; color: #94a3b8; margin-bottom: 1rem; }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.section-head.left { margin-bottom: 2rem; }
.calc-controls { display: grid; gap: 1.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.range-top { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.range-top output { font-family: var(--mono); color: var(--sky); white-space: nowrap; }
input[type="range"] { width: 100%; accent-color: var(--sky); height: 6px; }
.range-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: .35rem; }
.seg { display: flex; gap: .5rem; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 70px; border: 1px solid var(--line); background: var(--bg); border-radius: 9px; padding: .55rem; font-weight: 600; font-size: .88rem; color: var(--slate); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.calc-result { position: sticky; top: 90px; background: var(--ink); color: #cbd5e1; border-radius: 20px; padding: 2rem; }
.calc-result .big { font-family: var(--display); font-size: 3.2rem; font-weight: 800; color: var(--white); margin: 0; letter-spacing: -.03em; }
.muted-light { color: #94a3b8; font-size: .92rem; }
.calc-result dl { margin: 1.5rem 0; display: grid; gap: .1rem; }
.calc-result dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .93rem; }
.calc-result dd { margin: 0; font-family: var(--mono); color: var(--white); font-weight: 600; }

/* About */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3.5rem; align-items: center; }
.about-card { margin: 0; }
.about-card img { border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); border: 1px solid var(--line); }
.about-card figcaption { font-size: .85rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.role { font-family: var(--mono); font-size: .85rem; color: var(--sky); }
.contact-chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.contact-chips a, .contact-chips span { display: inline-block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .88rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-list { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-item { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; }
.contact-item a { font-weight: 600; text-decoration: none; word-break: break-all; }
.ci-label { font-family: var(--mono); font-size: .75rem; color: var(--muted); text-transform: uppercase; }
.copy { border: 1px solid var(--line); background: var(--bg); border-radius: 7px; padding: .3rem .7rem; font-size: .78rem; font-weight: 600; color: var(--slate); }
.copy.copied { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: .7rem .9rem; border: 1px solid #cbd5e1; border-radius: 10px; background: var(--white); color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(2, 132, 199, .15); }
.field [aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: .8rem; }
.form-error { color: #b91c1c; background: #fef2f2; border-radius: 8px; padding: .7rem 1rem; font-size: .9rem; }
.confirmation { text-align: center; }
.confirmation .check { width: 56px; height: 56px; border-radius: 50%; background: #ecfdf5; color: #059669; display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto 1rem; }
.confirmation p { color: var(--slate); }
.conf-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Footer */
.site-footer { background: var(--ink); color: #94a3b8; padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.brand-light { color: var(--white); margin-bottom: .6rem; }
.brand-light img { border-color: transparent; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.footer-nav a, .footer-bottom a { text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { gap: 1rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fit { grid-template-columns: 1fr 1fr; }
  .fit-intro { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; display: none; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 1rem; }
  .header-actions { margin-left: auto; }
  .hero-grid, .calc-grid, .about-grid, .contact-grid, .bp-layout { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.6rem; }
  .bp-detail, .calc-result { position: static; }
  .section { padding: 4.5rem 0; }
}
@media (max-width: 600px) {
  .brand span { font-size: .92rem; }
  .brand em { display: none; }
  .hero { padding-top: 2.5rem; }
  .hero-metrics { grid-template-columns: 1fr; gap: 1rem; }
  .steps, .fit { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .case-metrics { grid-template-columns: 1fr; }
  .contact-item { grid-template-columns: 1fr auto; }
  .contact-item .ci-label { grid-column: 1 / -1; }
  .calc-result .big { font-size: 2.6rem; }
}
.privacy { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
.main-nav a, .brand span { white-space: nowrap; }
@media (max-width: 1240px) {
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; display: none; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 1rem; }
  .header-actions { margin-left: auto; }
}

/* ===== v3 additions ===== */
.pipeline-head img.avatar { border-radius: 50%; padding: 0; object-fit: cover; }
/* IT support */
.it-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; }
.it-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.it-icon { font-size: 1.7rem; display: block; margin-bottom: .7rem; }
.it-card h3 { font-size: 1.05rem; }
.it-card p { color: var(--slate); font-size: .92rem; margin: 0; }
.it-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.it-foot p { margin: 0; }
/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--sky); box-shadow: 0 25px 50px -25px rgba(2, 132, 199, .45); }
.badge { position: absolute; top: -13px; left: 1.8rem; background: var(--sky); color: var(--white); font-size: .75rem; font-weight: 700; padding: .25rem .75rem; border-radius: 999px; }
.price { margin: .3rem 0 .6rem; }
.price b { font-family: var(--display); font-size: 2.2rem; letter-spacing: -.02em; }
.price .on-request { font-size: 1.5rem; }
.price .from, .price .unit { color: var(--muted); font-size: .9rem; }
.plan-desc { color: var(--slate); font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: .5rem 0 1.6rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.plan li { padding-left: 1.5rem; position: relative; font-size: .93rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plans-note { font-size: .85rem; margin-top: 1.5rem; text-align: center; }
/* About photo + LinkedIn */
.about-card img.about-photo { width: min(380px, 100%); aspect-ratio: 1; object-fit: cover; margin-inline: auto; border-radius: 24px; }
.btn-linkedin { margin-top: 1.4rem; background: #0a66c2; color: var(--white); }
.btn-linkedin:hover { background: #004182; }
/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: .8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.3rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--sky); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--slate); margin: 0 0 1.2rem; }
/* Map */
.map { width: 100%; height: 220px; border: 1px solid var(--line); border-radius: 14px; margin-top: 1rem; }
.privacy a { color: var(--sky); }
/* Floating quick contact */
.quick { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.quick-btn { display: flex; align-items: center; gap: .5rem; border: 0; background: var(--green); color: var(--white); border-radius: 999px; padding: .8rem 1.1rem; box-shadow: 0 12px 30px -10px rgba(16, 185, 129, .7); font-weight: 600; }
.quick-btn:hover { background: #059669; }
.quick-menu { display: grid; gap: .45rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .5rem; box-shadow: var(--shadow); }
.quick-menu[hidden] { display: none; }
.quick-menu a { display: flex; align-items: center; gap: .6rem; text-decoration: none; padding: .55rem .9rem; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.quick-menu a:hover { background: var(--bg); }
.q-viber { color: #7360f2; }
.q-wa { color: #128c7e; }
.q-call { color: var(--ink); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .quick-label { display: none; }
  .quick-btn { padding: .85rem; }
}

/* Service examples */
.pillar .examples { margin: 0 0 1.2rem; font-size: .9rem; }
.pillar .examples strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--sky); margin-bottom: .45rem; }
.pillar:first-child .examples strong { color: var(--sky-2); }
.pillar .examples ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pillar .examples li { padding-left: 1.3rem; position: relative; }
.pillar .examples li::before { content: "→"; position: absolute; left: 0; color: var(--green); }
.pillar p { flex: 0 0 auto; }
.pillar .examples { flex: 1; }
