:root {
    --ink: #1d2026;
    --body: #5d616a;
    --muted: #737780;
    --line: #e2e3e0;
    --paper: #f9f9f6;
    --white: #fff;
    --accent: #5047db;
    --accent-soft: #eeedfc;
    --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #d9d5ff; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 4.4vw, 4.15rem); }
h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); max-width: 800px; }
h3 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.025em; }
p { color: var(--body); }
.container { width: min(100% - 96px, 1180px); margin-inline: auto; }
.section { padding-block: 104px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: .76rem; line-height: 1.6; letter-spacing: .095em; text-transform: uppercase; font-weight: 650; margin-bottom: 24px; }
.status-dot { flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lead { margin-top: 24px; font-size: 1.06rem; line-height: 1.8; max-width: 650px; }
.section-heading { margin-bottom: 42px; }
.section-heading .lead { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 550; line-height: 1.5; }
.text-link:hover { color: var(--accent); }
.text-link span[aria-hidden], .button span[aria-hidden] { transition: transform .2s; }
.text-link:hover span[aria-hidden], .button:hover span[aria-hidden] { transform: translate(2px, -2px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid var(--ink); border-radius: 100px; padding: 16px 25px; background: var(--ink); color: white; font-size: .9rem; font-weight: 550; line-height: 1.5; transition: background .2s; }
.button:hover { background: #353943; }
.button-small { font-size: .8rem; padding: 10px 19px; gap: 15px; }
.logo { font-size: 1.65rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.logo span { color: var(--accent); }
.skip-link { position: fixed; left: 20px; top: -100px; background: var(--ink); color: white; padding: 12px 18px; z-index: 200; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(249,249,246,.96); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; margin-right: 20px; }
.desktop-nav a { font-size: .85rem; color: var(--body); }
.desktop-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.languages { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 100px; }
.languages a { display: grid; place-items: center; min-width: 34px; min-height: 30px; font-size: .68rem; font-weight: 650; border-radius: 100px; }
.languages a[aria-current] { background: var(--ink); color: white; }
.languages a:not([aria-current]):hover { background: var(--accent-soft); }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.mobile-menu { padding-bottom: 20px; }
.mobile-menu a { display: block; padding-block: 12px; }
.hero { padding-top: 64px; }
.hero-title-end { display: block; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.proof-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-block: 1px solid var(--line); padding-block: 31px; margin-top: 60px; }
.proof-strip p { font-size: .75rem; max-width: 225px; }
.proof-brands { display: flex; gap: 65px; align-items: center; }
.proof-brands a { font-size: 1.45rem; font-weight: 650; letter-spacing: -.04em; }
.proof-brands a:hover { color: var(--accent); }
.proof-brands span { font-size: .95rem; font-weight: 450; }
.company-logo { display: block; object-fit: contain; object-position: left center; max-width: 100%; }
.company-logo--bosch { width: 150px; height: 34px; }
.company-logo--delonghi { width: 130px; height: 40px; mix-blend-mode: multiply; }
.company-logo--zerde { width: 140px; height: 40px; }
.company-logo--bsh { width: 110px; height: 44px; }
.proof-brands a { display: flex; align-items: center; justify-content: center; min-height: 52px; }
.case-brand-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.case-brand-identity .brand-name { font-size: .72rem; font-weight: 500; color: var(--body); letter-spacing: 0; }
.review-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; min-height: 84px; }
.case-hero-identity { display: flex; align-items: center; gap: 22px; margin-bottom: 25px; }
.case-hero-identity .eyebrow { margin-bottom: 0; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.solution-card { background: transparent; border-top: 1px solid var(--line); padding: 24px 16px 0 0; display: flex; flex-direction: column; }

.number { color: var(--accent); font-size: .8rem; font-variant-numeric: tabular-nums; }
.solution-card > p { margin-top: 18px; font-size: .94rem; }
.cases { background: var(--white); border-block: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.case-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
.brand-name { font-size: 1.35rem; font-weight: 650; letter-spacing: -.025em; }
.pill { color: var(--body); font-size: .65rem; border: 1px solid var(--line); padding: 5px 10px; border-radius: 100px; }
.case-card h3 { font-size: 1.45rem; }
.case-card > p { font-size: .92rem; margin-top: 16px; margin-bottom: 26px; }
.case-card-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; margin-top: auto; }
.case-mark { font-size: .7rem; color: var(--muted); }
.case-card .text-link { color: var(--accent); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.review { border-top: 2px solid var(--ink); padding-top: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.review-brand { font-size: .79rem; font-weight: 600; }
.review blockquote { margin: 25px 0 28px; font-size: 1.35rem; font-weight: 450; line-height: 1.6; letter-spacing: -.025em; }
.review figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.review figcaption strong { font-size: .79rem; font-weight: 550; }
.review figcaption span, .translation-note { color: var(--muted); font-size: .7rem; }
.review .text-link { font-size: .78rem; margin-top: 17px; color: var(--accent); }
.translation-note { margin-top: 12px; }
.integrations { background: #eeefeb; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags span { border: 1px solid #d4d6d0; padding: 7px 12px; border-radius: 7px; font-size: .75rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.process-grid article { border-top: 1px solid var(--line); padding-top: 22px; }
.process-grid h3 { font-size: 1.17rem; margin-top: 26px; }
.process-grid p { font-size: .86rem; margin-top: 14px; }
.contact { padding-block: 110px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 85px; align-items: center; }
.contact-details { padding-top: 25px; }
.contact-person { font-size: .84rem; }
.contact-email { display: flex; gap: 20px; align-items: center; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.035em; font-weight: 550; margin-block: 15px 26px; }
.contact-email:hover { color: var(--accent); }
.contact-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.contact-actions .text-link { font-size: .8rem; }
.contact-location { margin-top: 25px; font-size: .75rem; }
.footer { border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; gap: 25px; padding-block: 32px; }
.footer-top p { font-size: .75rem; margin-left: auto; }
.footer-top > a:last-child { font-size: .8rem; }
.footer-bottom { display: flex; gap: 25px; padding-block: 20px; border-top: 1px solid var(--line); font-size: .7rem; color: var(--muted); }
.footer-bottom a { margin-left: auto; }
.case-hero { padding-block: 50px 65px; }
.back-link { font-size: .78rem; margin-bottom: 55px; color: var(--body); }
.case-hero h1 { max-width: 950px; }
.case-hero .lead { max-width: 790px; }
.case-meta { display: flex; gap: 70px; margin: 36px 0 0; padding-top: 25px; border-top: 1px solid var(--line); }
.case-meta dt { font-size: .7rem; color: var(--muted); }
.case-meta dd { font-size: .85rem; margin: 6px 0 0; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.case-context { background: #eeefeb; }
.case-context .lead, .case-project .lead { margin-top: 0; }
.case-work { background: white; }
.case-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px 60px; }
.case-work-grid article { padding-top: 20px; border-top: 1px solid var(--line); }
.case-work-grid h3 { margin-top: 17px; }
.case-work-grid p { margin-top: 17px; font-size: .95rem; }
.case-result .review { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 35px; }
.case-project { border-top: 1px solid var(--line); }
.project-status { font-size: .85rem; margin-top: 22px; }
.project-ownership { background: var(--accent-soft); border-radius: 10px; font-size: .83rem; padding: 20px; margin-top: 22px; color: var(--ink); }
.related-case { border-block: 1px solid var(--line); }
.related-case .container { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 26px; }
.related-case span { color: var(--muted); font-size: .8rem; }
.related-case a { font-size: 1.4rem; letter-spacing: -.03em; }
.related-case a span { font-size: inherit; margin-left: 15px; }
@media (min-width: 1001px) { .mobile-menu { display: none; } }
@media (max-width: 1150px) {
    .container { width: calc(100% - 64px); }
    .desktop-nav { gap: 20px; margin-right: 0; }
    .header-actions { gap: 14px; }
    .integration-grid, .about-grid, .contact-grid, .editorial-grid { gap: 45px; }
}
@media (max-width: 1000px) {
    .desktop-nav, .header-cta { display: none; }
    .menu-toggle { display: block; }
    h1 { font-size: 3rem; }
    .hero-actions { gap: 20px; }
    .proof-brands { gap: 35px; }
    .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .case-card { padding: 26px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 30px; }
    .review blockquote { font-size: 1.2rem; }
}
@media (max-width: 760px) {
    .container { width: calc(100% - 40px); }
    .section { padding-block: 68px; }
    .header-inner { min-height: 68px; gap: 12px; }
    .logo { font-size: 1.5rem; }
    .header-actions { gap: 9px; }
    .languages a { min-height: 32px; }
    .hero { padding-top: 38px; }
    .eyebrow { font-size: .68rem; margin-bottom: 20px; }
    .hero-grid, .solutions-grid, .case-grid, .reviews-grid, .integration-grid, .about-grid, .contact-grid, .editorial-grid { grid-template-columns: 1fr; gap: 30px; }
    h1 { font-size: clamp(2.45rem, 7.8vw, 3.6rem); }
    h2 { font-size: 2rem; }
    .lead { font-size: .98rem; margin-top: 20px; line-height: 1.75; }
    .hero-actions { margin-top: 28px; gap: 22px; }
    .button { font-size: .84rem; padding: 14px 20px; gap: 15px; }
    .hero-actions .text-link { font-size: .82rem; }
    .proof-strip { display: block; margin-top: 35px; padding-block: 25px; }
    .proof-strip p { max-width: none; font-size: .68rem; }
    .proof-brands { gap: 24px; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; }
    .proof-brands a { font-size: 1.1rem; }
    .proof-brands span { font-size: .78rem; }
    .proof-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .proof-brands .company-logo { width: 100%; height: 34px; object-position: center; }
    .proof-brands .company-logo--bosch { max-width: 120px; }
    .proof-brands .company-logo--delonghi { max-width: 105px; }
    .proof-brands .company-logo--zerde { max-width: 110px; }
    .case-hero-identity { flex-wrap: wrap; gap: 16px; }
    .section-heading { margin-bottom: 30px; }
    .solution-card { padding: 24px 0 0; }
    .solution-card h3 { font-size: 1.45rem; }
    .reviews-grid { gap: 45px; }
    .review blockquote { font-size: 1.25rem; }
    .process-grid { gap: 30px; }
    .process-grid h3 { font-size: 1.07rem; }
    .contact-details { padding-top: 0; }
    .contact-email { font-size: 1.9rem; }
    .footer-top { flex-wrap: wrap; gap: 18px 25px; }
    .footer-top p { margin: 0; order: 3; width: 100%; }
    .footer-top > a:last-child { margin-left: auto; }
    .footer-bottom { flex-wrap: wrap; gap: 12px; }
    .case-hero { padding-block: 30px 45px; }
    .back-link { margin-bottom: 34px; }
    .case-meta { gap: 30px; flex-wrap: wrap; }
    .case-work-grid { grid-template-columns: 1fr; gap: 30px; }
    .case-result .review { padding: 25px; }
    .related-case a { font-size: 1.15rem; }
}
@media (max-width: 380px) {
    .container { width: calc(100% - 32px); }
    h1 { font-size: 2.25rem; }
    .process-grid { grid-template-columns: 1fr; }
    .contact-email { font-size: 1.7rem; }
    .proof-brands { gap: 16px; }
    .proof-brands a { font-size: 1rem; }
    .case-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

.home-page .section { padding-block: 80px; }
.home-page .hero { padding-top: 64px; }
.home-page .hero h1 { max-width: 1120px; font-size: clamp(3rem, 5.2vw, 4.5rem); letter-spacing: -.045em; line-height: 1.1; text-wrap: initial; }
.home-page .hero .lead { max-width: none; font-size: 1.15rem; }
.home-page .hero-actions { margin-top: 28px; }
.home-page .proof-strip { margin-top: 54px; }
.home-page .section-heading { margin-bottom: 36px; }
.home-page h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.solution-card h3 { margin-top: 28px; font-size: 1.4rem; }
.solution-card > p { margin-top: 16px; font-size: .92rem; }
.reference-link { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; color: var(--body); line-height: 1.5; }
.reference-link svg { flex-shrink: 0; }
.reference-link:hover { color: var(--accent); }
.home-page .case-card-bottom { padding-top: 20px; border-top: 1px solid var(--line); width: 100%; }
.integration-brief { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
.integration-brief h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.integration-brief p { margin-top: 16px; font-size: .92rem; }
.integration-brief .tags { margin: 0; justify-content: flex-end; }
.connector-note { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-block: 24px 68px; font-size: .8rem; }
.connector-note .text-link { color: var(--accent); font-size: inherit; }
.home-page + .contact { background: var(--ink); color: white; padding-block: 80px; }
.home-page + .contact p { color: #c4c6cd; }
.home-page + .contact .eyebrow { color: #bbb5ff; }
.home-page + .contact .status-dot { background: #bbb5ff; }
.home-page + .contact .button { background: white; border-color: white; color: var(--ink); }
.home-page + .contact a:hover { color: #bbb5ff; }
.home-page + .contact .button:hover { color: var(--ink); background: #eeedfc; }
@media (max-width: 1000px) {
    .home-page .hero h1 { font-size: clamp(2.8rem, 5.5vw, 3.5rem); }
    .home-page .case-grid { grid-template-columns: 1fr; }
    .home-page .case-card { display: grid; grid-template-columns: .7fr 1fr; column-gap: 32px; }
    .home-page .case-card-top { grid-row: 1 / 4; margin-bottom: 0; }
    .home-page .case-card-bottom { grid-column: 2; }
    .home-page .solutions-grid { gap: 20px; }
    .solution-card h3 { font-size: 1.15rem; }
}
@media (max-width: 760px) {
    .home-page .section { padding-block: 56px; }
    .home-page .hero { padding-top: 40px; }
    .home-page .hero h1 { font-size: clamp(2rem, 6.65vw, 3.2rem); line-height: 1.14; }
    .home-page .hero .lead { font-size: 1rem; max-width: 440px; }
    .home-page .proof-strip { margin-top: 38px; }
    .home-page .section-heading { margin-bottom: 28px; }
    .home-page .solutions-grid { grid-template-columns: 1fr; gap: 26px; }
    .solution-card h3 { font-size: 1.35rem; margin-top: 14px; }
    .solution-card > p { margin-top: 10px; }
    .home-page .case-card { display: flex; }
    .home-page .case-card-top { margin-bottom: 24px; }
    .home-page .case-card-bottom { margin-top: 0; }
    .integration-brief { grid-template-columns: 1fr; gap: 24px; }
    .integration-brief .tags { justify-content: flex-start; }
    .connector-note { margin-bottom: 48px; }
    .home-page .process-grid { grid-template-columns: 1fr; gap: 24px; }
    .home-page .process-grid h3 { margin-top: 12px; }
    .home-page .process-grid p { margin-top: 10px; }
    .home-page + .contact { padding-block: 56px; }
}

.home-page .case-brand-identity .company-logo { height: 40px; }
@media (max-width: 380px) {
    html[lang="kk"] .home-page .hero h1 { font-size: 1.75rem; }
}
