/* Health & Sugar – TECNADE GmbH */
:root {
  --teal: #087565;
  --teal-dark: #0b5d6b;
  --navy: #12324a;
  --gold: #f2b632;
  --red: #e2463f;
  --ink: #1d2b33;
  --muted: #55666f;
  --line: #d8e4e1;
  --bg: #ffffff;
  --bg-soft: #f2f8f6;
  --cream: #fbf6ec;
  --sand: #ead8bb;
  --warm: #925127;
  --radius: 20px;
  --shadow: 0 14px 38px rgba(18, 50, 74, .09);
  --max: 1180px;
  --nav-height: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.16; color: var(--navy); margin: 0 0 .65em; overflow-wrap: break-word; text-wrap: balance; }
p, li { overflow-wrap: break-word; }
h1 { font-size: clamp(2.35rem, 4.8vw, 4.15rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.36rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section.soft { background: linear-gradient(155deg, var(--cream), #f3f8f5 75%); }
.section.soft::before { content: ""; position: absolute; inset: -1px 0 auto; height: 34px; background: #fff; clip-path: ellipse(58% 100% at 50% 0); }
.section.soft > .container { position: relative; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 1em; }
.section-head h2::after { content: ""; display: block; width: 54px; height: 3px; margin-top: 18px; border-radius: 2px; background: var(--warm); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 760px; line-height: 1.55; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { margin-bottom: 0; }
section[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.zafra :focus-visible, .contact-box .left :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: 10px; top: 10px; transform: translateY(-150%); background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { transform: none; outline-color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: .5em; padding: .75em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal-dark); color: #fff; }
.btn-primary:hover { background: var(--navy); box-shadow: 0 7px 18px rgba(11, 93, 107, .2); }
.btn-ghost { border-color: var(--teal-dark); color: var(--teal-dark); background: #fff; }
.btn-ghost:hover { background: var(--bg-soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #e9e1d5; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-height); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 44px; height: 44px; }
.brand small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; padding: 10px 11px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .9rem; transition: background .2s ease, color .2s ease, transform .2s ease; }
.nav-links a::after { content: ""; position: absolute; bottom: 5px; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="location"] { color: var(--teal-dark); background: var(--bg-soft); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="location"]::after { transform: scaleX(1); }
.nav-links .cta { margin-left: 4px; padding-inline: 18px; background: var(--teal-dark); color: #fff; box-shadow: 0 5px 14px rgba(11, 93, 107, .15); }
.nav-links .cta::after { display: none; }
.nav-links .cta:hover, .nav-links .cta:focus-visible, .nav-links .cta[aria-current="location"] { background: var(--navy); color: #fff; transform: translateY(-2px); }
.menu-btn { display: none; position: relative; flex: 0 0 46px; width: 46px; height: 46px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 0; cursor: pointer; z-index: 52; transition: background .2s ease, border-color .2s ease; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: #e5f1ed; border-color: #a6cdc2; }
.menu-btn span { position: absolute; left: 11px; top: 21px; display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy); transform-origin: center; transition: transform .25s ease, opacity .15s ease; }
.menu-btn span:first-child { transform: translateY(-7px); }
.menu-btn span:last-child { transform: translateY(7px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.menu-backdrop, .mobile-menu { display: none; }

/* Language switch */
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .nav-links { order: 1; }
.nav-right .lang-switch { order: 2; }
.nav-right .menu-btn { order: 3; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; flex-shrink: 0; }
.lang-switch a { padding: 6px 9px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--muted); line-height: 1.2; }
.lang-switch a:first-child { border-radius: 999px 0 0 999px; }
.lang-switch a:last-child { border-radius: 0 999px 999px 0; }
.lang-switch a:focus-visible { outline-offset: -2px; }
.lang-switch a:hover { background: var(--bg-soft); color: var(--teal-dark); }
.lang-switch a[aria-current] { background: var(--teal-dark); color: #fff; }
.eyebrow-gold { color: var(--gold) !important; }
.contact-cta { margin-top: 24px; }
.values { margin-top: 48px; }
.back { margin: 0 0 1.2em; font-weight: 600; }
.back a { text-decoration: none; }
.lang-gate { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 24px 16px; gap: 6px; background: radial-gradient(circle at 80% 20%, #e0eee7, transparent 42%), linear-gradient(145deg, var(--cream), #fff); }
.lang-gate img { margin: 0 auto 8px; }
.lang-gate p { color: var(--muted); max-width: 560px; margin: 0 auto 18px; }
.lang-gate ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lang-gate a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--teal-dark); color: #fff; text-decoration: none; font-weight: 650; }

/* Hero */
.hero { position: relative; background: radial-gradient(circle at 88% 12%, #dcece5 0, transparent 36%), radial-gradient(circle at 0 92%, #f7e9d4 0, transparent 38%), linear-gradient(145deg, #fbf6ec 0%, #f8fbf8 68%, #fff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 46vw; height: 46vw; max-width: 650px; max-height: 650px; right: -14vw; top: -25vw; border: 1px solid rgba(146, 81, 39, .13); border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(52px, 7vw, 86px); }
.hero h1 { max-width: 690px; }
.hero p.lead { margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; border: 8px solid #fff; border-radius: 36px; overflow: hidden; box-shadow: 0 26px 55px rgba(18, 50, 74, .16), 0 0 0 1px rgba(18, 50, 74, .05); aspect-ratio: 3 / 2; transform: rotate(1.2deg); }
.hero-art img { width: 100%; height: 100%; object-fit: contain; }
.tagline { display: inline-block; color: var(--warm); font-weight: 750; font-size: .91rem; letter-spacing: .04em; margin-bottom: 1.2em; padding: .45em .85em; border-radius: 999px; background: #f5e7cf; }

/* Facts */
.facts { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: #e5ded0; border: 1px solid #e5ded0; border-radius: var(--radius); overflow: hidden; margin-top: -10px; margin-bottom: 34px; box-shadow: 0 18px 36px rgba(18, 50, 74, .07); }
.fact { background: #fffdfa; padding: 26px 16px; text-align: center; }
.fact strong { display: block; font-size: 1.6rem; color: var(--teal-dark); line-height: 1.1; }
.fact span { font-size: .85rem; color: var(--muted); }

/* Generic grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid #e7e8df; border-radius: var(--radius); padding: clamp(24px, 2.7vw, 34px); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .model:hover, .service:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(18, 50, 74, .13); }
.card h3 { margin-top: 0; }
.value-icon { width: 52px; height: 52px; border-radius: 16px; background: #f6ebd8; display: grid; place-items: center; margin-bottom: 18px; color: var(--warm); }
.value-icon svg { width: 26px; height: 26px; }

/* Models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model { background: #fff; border: 1px solid #e7e8df; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.model figure { margin: 0; aspect-ratio: 3 / 2; background: var(--bg-soft); }
.model figure img { width: 100%; height: 100%; object-fit: contain; }
.model .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.badge { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--teal-dark); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.badge.mobile { background: var(--gold); color: var(--navy); }
.badge.icu { background: #a52b27; }
.model ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--muted); font-size: .95rem; }
.model .meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.model .meta b { color: var(--navy); }

.btn:focus-visible, .nav-links a:focus-visible { outline-offset: 4px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { background: #fff; border: 1px solid #e7e8df; border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 22px rgba(18, 50, 74, .05); transition: transform .25s ease, box-shadow .25s ease; }
.service-icon, .quality-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #edf4ef; color: var(--teal-dark); margin-bottom: 16px; }
.service-icon svg, .quality-icon svg { width: 23px; height: 23px; }
.service h3 { font-size: 1.05rem; margin-bottom: .4em; }
.service p { font-size: .9rem; color: var(--muted); margin: 0; }
.specialties { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; }
.specialties li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--teal-dark); font-size: .95rem; }

/* Zafra */
.zafra { background: radial-gradient(circle at 95% 10%, rgba(242, 182, 50, .13), transparent 34%), linear-gradient(135deg, #12324a 0%, #0b5d6b 100%); color: #e8f4f2; }
.zafra h2, .zafra h3 { color: #fff; }
.zafra .lead { color: #cfe7e4; }
.zafra .eyebrow { color: var(--gold); }
.zafra-art { border: 6px solid rgba(255, 255, 255, .13); border-radius: 26px; overflow: hidden; box-shadow: 0 20px 45px rgba(0, 0, 0, .15); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); padding: 8px 14px; border-radius: 999px; font-size: .92rem; }

/* Modular quality */
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.quality { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.quality .card { padding: 24px; }
.quality h3 { font-size: 1.02rem; }
.quality p { font-size: .9rem; color: var(--muted); margin: 0; }
.note { font-size: .88rem; color: var(--muted); margin-top: 28px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; margin: 8px 0 48px; }
.step { position: relative; padding: 0 18px 0 0; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-weight: 800; position: relative; z-index: 1; box-shadow: 0 0 0 6px #e9f2ec; }
.step::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { margin: 16px 0 4px; font-size: 1.05rem; }
.step .dur { font-weight: 700; color: var(--teal-dark); }
.step p { font-size: .92rem; color: var(--muted); margin: 6px 0 0; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { display: flex; gap: 18px; align-items: flex-start; }
.avatar { flex: 0 0 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; background: linear-gradient(135deg, #a4673e, var(--teal-dark)); font-size: 1.2rem; }
.person h3 { margin-bottom: 2px; font-size: 1.1rem; }
.person .role { color: var(--teal-dark); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.person p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Contact */
.contact-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 26px 54px rgba(18, 50, 74, .13); border: 1px solid var(--line); }
.contact-box .left { background: var(--navy); color: #e3eff0; padding: clamp(28px, 5vw, 56px); }
.contact-box .left h2 { color: #fff; }
.contact-box .right { background: #fff; padding: clamp(28px, 5vw, 56px); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.contact-list b { display: block; color: var(--navy); }
.contact-list a { text-decoration: underline; text-underline-offset: .2em; }
.contact-list a:hover { color: var(--teal); }

/* Footer */
.site-footer { background: #0d2333; color: #a9c0c6; padding: 48px 0 28px; font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.site-footer a { color: #d7ebee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 18px; font-size: .85rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #a9c0c6; }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal address { font-style: normal; }
.legal .box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 1em 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.legal th { color: var(--navy); }
.table-wrap { overflow-x: auto; }

/* Reveal animation */
.js body::before { content: ""; position: fixed; inset: 0 auto auto 0; width: 100%; height: 3px; z-index: 110; background: var(--teal); transform-origin: left; pointer-events: none; animation: page-intro .55s ease-out both; }
@keyframes page-intro { 0% { transform: scaleX(0); opacity: 1; } 75% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.js img.image-pending { opacity: .45; background: linear-gradient(100deg, var(--bg-soft) 20%, #e4eee9 45%, var(--bg-soft) 70%); background-size: 200% 100%; animation: image-skeleton 1s linear infinite; }
img[loading="lazy"] { transition: opacity .35s ease; }
@keyframes image-skeleton { to { background-position-x: -200%; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.scroll-progress { position: fixed; inset: 0 auto auto 0; width: 100%; height: 3px; z-index: 100; background: var(--warm); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-progress { transition: transform .1s linear; }
  .nav-links a:not(.cta) { position: relative; }
  .nav-links a:not(.cta)::after { content: ""; position: absolute; inset: auto 12px 7px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .nav-links a:not(.cta):is(:hover, :focus-visible)::after { transform: scaleX(1); }
  .btn { position: relative; isolation: isolate; overflow: hidden; }
  .btn::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(255,255,255,.2); transform: translateX(-105%) skewX(-20deg); transition: transform .4s ease; }
  .btn:is(:hover, :focus-visible)::before { transform: translateX(110%) skewX(-20deg); }
  .btn::after { content: "→"; display: inline-block; transition: transform .25s ease; }
  .btn:is(:hover, :focus-visible)::after { transform: translateX(5px); }
  .js :is(.card, .service).reveal.in:is(:hover, :focus-visible, :focus-within) { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(18, 50, 74, .15); }
  .js .model.reveal.in:is(:hover, :focus-visible) { transform: perspective(1000px) rotateX(1deg) rotateY(-2deg) translateY(-6px); box-shadow: 0 25px 50px rgba(18, 50, 74, .16); }
  :is(.value-icon, .service-icon, .quality-icon) svg { transition: transform .35s ease; transform-origin: center; }
  :is(.card, .service):is(:hover, :focus-within) :is(.value-icon, .service-icon, .quality-icon) svg { transform: rotate(-9deg) scale(1.16); }
  .model:is(:hover, :focus-visible) img, .hero-art:hover img, .grid-2 .reveal:hover > img, .zafra-art:hover img { transform: scale(1.045); }
  :is(.model, .hero-art, .grid-2 .reveal, .zafra-art) img { transition: transform .45s ease; }
  .hero-art:hover { box-shadow: 0 32px 65px rgba(18, 50, 74, .21); }
}
@media (prefers-reduced-motion: reduce) {
  .js body::before { display: none; }
  .js img.image-pending { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .card:hover, .model:hover, .service:hover, .hero-art:hover img { transform: none; }
  .scroll-progress { display: none; }
}

/* 404 */
.not-found-page { min-height: 100vh; background: radial-gradient(circle at 85% 15%, #e5f3ec, transparent 35%), var(--cream); }
.not-found { min-height: 100vh; display: flex; flex-direction: column; padding-top: clamp(20px, 4vw, 48px); padding-bottom: 28px; }
.not-found-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
.not-found-copy { max-width: 560px; padding: 48px 0; }
.not-found-copy h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.not-found-copy > p { color: var(--muted); font-size: 1.1rem; }
.not-found-search { display: none; margin: 30px 0 16px; }
.js .not-found-search { display: block; }
.not-found-search label { display: block; font-weight: 700; margin-bottom: 8px; }
.not-found-search-row { display: flex; gap: 8px; }
.not-found-search input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid #9cb4ae; border-radius: 999px; padding: 10px 18px; font: inherit; background: #fff; }
.not-found-results { min-height: 90px; }
.not-found-results p { margin: 0 0 5px; color: var(--muted); font-size: .9rem; }
.not-found-results ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; padding: 0; margin: 0 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.not-found-visual { position: relative; width: 100%; max-width: 520px; margin: auto; filter: drop-shadow(0 20px 35px rgba(18, 50, 74, .09)); }
.not-found-art { display: block; width: 100%; }
.not-found-lottie { position: absolute; inset: 0; visibility: hidden; }
.not-found-lottie svg { width: 100%; height: 100%; }
.not-found-visual.is-ready .not-found-art { visibility: hidden; }
.not-found-visual.is-ready .not-found-lottie { visibility: visible; }
.not-found-languages { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--line); padding-top: 20px; font-size: .9rem; }
.not-found-languages a { font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .nf-pin { animation: nf-float 3s ease-in-out infinite; }
  .nf-glitch { animation: nf-glitch 5s steps(1) infinite; }
  .nf-route { animation: nf-route 12s linear infinite; }
}
@keyframes nf-float { 50% { transform: translateY(-10px); } }
@keyframes nf-glitch { 94% { transform: none; } 95% { transform: translateX(3px); } 96% { transform: translateX(-2px); } 97%, 100% { transform: none; } }
@keyframes nf-route { to { stroke-dashoffset: -312; } }
@media (max-width: 720px) {
  .not-found-grid { grid-template-columns: 1fr; gap: 0; }
  .not-found-copy { padding: 48px 0 8px; }
  .not-found-visual { max-width: 340px; }
}
@media (max-width: 380px) { .not-found-search-row { flex-direction: column; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav-links { display: none; }
  body.menu-open { overflow: hidden; }
  .menu-backdrop { display: block; position: fixed; inset: var(--nav-height) 0 0; z-index: 48; background: rgba(12, 39, 47, .4); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s; }
  .menu-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-menu { display: block; position: fixed; top: var(--nav-height); right: 0; bottom: 0; z-index: 49; width: min(100%, 540px); background: radial-gradient(circle at 90% 0, #dcece5, transparent 42%), linear-gradient(145deg, #fffdf8, #f5f9f5); box-shadow: -18px 0 55px rgba(18, 50, 74, .16); border-left: 1px solid rgba(18, 50, 74, .1); transform: translateX(104%); visibility: hidden; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s linear .38s; overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; padding: clamp(22px, 5vh, 48px) clamp(24px, 6vw, 48px) 28px; }
  .menu-kicker { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 20px; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--teal-dark); }
  .menu-kicker span { color: var(--warm); }
  .mobile-menu-links { list-style: none; margin: 0; padding: 0; }
  .mobile-menu-links li { border-top: 1px solid rgba(18, 50, 74, .13); opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
  .mobile-menu.open .mobile-menu-links li { opacity: 1; transform: none; transition-delay: calc(60ms + var(--link-index) * 45ms); }
  .mobile-menu-links a { display: flex; align-items: baseline; gap: 16px; min-height: 54px; padding: 7px 6px; color: var(--navy); text-decoration: none; font-family: var(--font-display); font-size: clamp(1.55rem, 4vw, 2.25rem); line-height: 1.15; transition: color .2s ease, padding-left .2s ease; }
  .mobile-menu-links a:hover, .mobile-menu-links a:focus-visible, .mobile-menu-links a[aria-current="location"] { color: var(--teal-dark); padding-left: 14px; }
  .mobile-menu-links a[aria-current="location"] { background: linear-gradient(90deg, rgba(8, 117, 101, .1), transparent 75%); }
  .menu-index { font-family: var(--font); font-size: .7rem; font-weight: 800; color: var(--warm); letter-spacing: .08em; }
  .menu-arrow { margin-left: auto; font-family: var(--font); font-size: 1.15rem; color: var(--teal); opacity: 0; transform: translate(-5px, 5px); transition: opacity .2s ease, transform .2s ease; }
  .mobile-menu-links a:hover .menu-arrow, .mobile-menu-links a:focus-visible .menu-arrow, .mobile-menu-links a[aria-current="location"] .menu-arrow { opacity: 1; transform: none; }
  .mobile-menu-bottom { margin-top: auto; padding-top: 24px; }
  .mobile-menu-cta { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 12px 22px; border-radius: 16px; background: var(--teal-dark); color: #fff; font-weight: 750; font-size: 1.1rem; text-decoration: none; box-shadow: 0 12px 26px rgba(11, 93, 107, .18); transition: background .2s ease, transform .2s ease; }
  .mobile-menu-cta:hover, .mobile-menu-cta:focus-visible { background: var(--navy); color: #fff; transform: translateY(-2px); }
  .mobile-menu-language { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 700; }
  .mobile-menu-language .lang-switch a { min-width: 40px; text-align: center; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .quality { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid, .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .models, .grid-3, .team { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  h1, h2, h3 { hyphens: auto; }
  body { font-size: 16px; }
  .nav { gap: 6px; }
  .brand { font-size: .92rem; gap: 6px; white-space: nowrap; }
  .brand img { width: 36px; height: 36px; }
  .nav-right { gap: 4px; }
  .nav-right > .lang-switch { display: none; }
  .lang-switch a { padding: 7px 5px; font-size: .7rem; }
  .menu-btn { flex-basis: 46px; }
  .section { padding: 68px 0; }
  .section.soft::before { height: 20px; }
  .hero-grid { padding-top: 56px; padding-bottom: 46px; }
  .hero-art { transform: none; border-width: 5px; border-radius: 24px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact strong { font-size: 1.35rem; }
  .models, .grid-3, .team, .services, .quality { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .step { padding: 0 0 0 60px; min-height: 44px; }
  .step::before { position: absolute; left: 0; top: 0; }
  .step::after { top: 44px; bottom: -28px; left: 21px; right: auto; width: 2px; height: auto; display: block; }
  .step:last-child::after { display: none; }
  .step h3 { margin-top: 8px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .brand small { display: none; }
}
@media (max-width: 360px) {
  .site-header .brand span { display: none; }
  .site-header .brand img { width: 40px; height: 40px; }
}
@media (max-width: 400px) {
  .nav { height: 64px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .nav-right { gap: 4px; }
  .lang-switch a { padding: 6px 6px; font-size: .72rem; }
  .menu-btn { padding: 0; }
  h1 { font-size: 2rem; }
  .fact { padding: 16px 8px; }
  .card, .service { padding: 20px; }
  .model .body { padding: 20px; }
}
@media (max-width: 340px) {
  .brand span { font-size: .92rem; }
  .facts { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .menu-btn, .hero-actions { display: none; }
  .reveal { opacity: 1; transform: none; }
}
