/* Hornerito — original visual system */
:root {
    --ink: #17223b;
    --ink-deep: #10182b;
    --paper: #f8f4eb;
    --paper-warm: #f3ede2;
    --orange: #ff7a00;
    --orange-light: #ffb548;
    --violet: #283653;
    --pink: #ff7a00;
    --line: rgba(23, 34, 59, 0.14);
    --muted: #586174;
    --white: #fffdf9;
    --radius: 28px;
    --font: "Manrope", system-ui, sans-serif;
    --max: 1200px;
    --nav-h: 78px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.03rem;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { letter-spacing: -.055em; line-height: 1; margin: 0; }

.skip-link {
    background: var(--orange);
    border-radius: 9px;
    color: var(--ink);
    font-weight: 800;
    left: 1rem;
    padding: .75rem 1rem;
    position: absolute;
    top: -100px;
    z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.container { margin-inline: auto; width: min(100% - 3rem, var(--max)); }

/* Navigation */
.site-header {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
    z-index: 100;
}

.site-header.is-scrolled,
.site-header.on-light.is-scrolled {
    background: rgba(255, 253, 249, .9);
    box-shadow: 0 7px 28px rgba(23, 34, 59, .08);
    color: var(--ink);
    backdrop-filter: blur(16px);
}

.nav {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-inline: auto;
    min-height: var(--nav-h);
    width: min(100% - 2.25rem, var(--max));
}

.nav-brand {
    align-items: center;
    color: var(--white);
    display: inline-flex;
    font-size: .88rem;
    font-weight: 800;
    gap: .7rem;
    letter-spacing: .12em;
}
.is-scrolled .nav-brand { color: var(--ink); }
.nav-logo { height: 38px; transition: transform .3s var(--ease); width: 38px; }
.nav-brand:hover .nav-logo { transform: rotate(-6deg) scale(1.07); }

.nav-menu { align-items: center; display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 700;
    padding: .55rem .85rem;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.is-scrolled .nav-menu a { color: var(--ink); }
.nav-menu a:hover,
.nav-menu a.is-active { background: rgba(255,255,255,.14); color: #fff; }
.is-scrolled .nav-menu a:hover,
.is-scrolled .nav-menu a.is-active { background: var(--paper-warm); color: var(--ink); }
.nav-cta {
    background: var(--orange) !important;
    color: var(--ink) !important;
    margin-left: .35rem;
    padding-inline: 1.05rem !important;
}
.nav-cta:hover { background: var(--orange-light) !important; transform: translateY(-1px); }

.lang-switch {
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-left: auto;
    padding: .48rem .64rem;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.lang-switch:hover { background: rgba(255,255,255,.12); }
.is-scrolled .lang-switch { border-color: var(--line); color: var(--ink); }
.is-scrolled .lang-switch:hover { background: var(--paper-warm); }

.nav-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 11px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    height: 43px;
    justify-content: center;
    padding: 0;
    width: 43px;
}
.is-scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle-bar { background: #fff; border-radius: 99px; height: 2px; transition: .25s var(--ease); width: 18px; }
.is-scrolled .nav-toggle-bar { background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    background: var(--ink-deep);
    color: var(--white);
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    padding: calc(var(--nav-h) + 6.5rem) 0 5.5rem;
    position: relative;
}

.hero::before {
    background:
        linear-gradient(120deg, transparent 50%, rgba(255,255,255,.04) 50%),
        repeating-linear-gradient(90deg, transparent 0 86px, rgba(255,255,255,.035) 86px 87px);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.hero-glow {
    background: radial-gradient(circle, var(--orange), transparent 68%);
    filter: blur(22px);
    height: min(60vw, 760px);
    opacity: .58;
    position: absolute;
    right: -11%;
    top: 9%;
    width: min(60vw, 760px);
    z-index: -1;
}

.hero-grid {
    align-items: end;
    display: grid;
    gap: 4rem;
    grid-template-columns: 1.05fr .75fr;
}

.hero-kicker {
    align-items: center;
    color: var(--orange-light);
    display: flex;
    font-size: .75rem;
    font-weight: 800;
    gap: .75rem;
    letter-spacing: .14em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.kicker-line { background: var(--orange); display: block; height: 3px; width: 34px; }

.hero-title {
    font-size: clamp(3.4rem, 7vw, 6.6rem);
    font-weight: 800;
    max-width: 9ch;
}

.hero-title::first-line { color: var(--orange-light); }

.hero-lead {
    color: #c9cfdd;
    font-size: clamp(1.05rem, 1.7vw, 1.23rem);
    margin: 1.8rem 0 2rem;
    max-width: 43ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-size: .96rem;
    font-weight: 800;
    gap: .55rem;
    justify-content: center;
    min-height: 52px;
    padding: .85rem 1.25rem;
    transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-light); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-arrow { font-size: 1.2em; }

.hero-panel {
    align-self: center;
    background: var(--paper);
    border-radius: var(--radius);
    color: var(--ink);
    overflow: hidden;
    padding: 1.8rem;
    position: relative;
    transform: rotate(2deg);
}
.hero-panel::after {
    background: var(--pink);
    bottom: 0;
    content: "";
    height: 9px;
    left: 0;
    position: absolute;
    width: 100%;
}
.panel-label {
    color: var(--violet);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li { border-top: 1px solid var(--line); display: flex; gap: .75rem; padding: 1.05rem 0; }
.panel-list li:last-child { padding-bottom: .7rem; }
.panel-dot { background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,122,0,.16); flex: 0 0 auto; height: 9px; margin-top: .44rem; width: 9px; }
.panel-list strong { display: block; font-size: 1.05rem; letter-spacing: -.03em; }
.panel-list span { color: var(--muted); display: block; font-size: .88rem; margin-top: .1rem; }

.scroll-explore {
    align-items: center;
    bottom: 2.2rem;
    color: rgba(255,255,255,.62);
    display: flex;
    font-size: .68rem;
    font-weight: 800;
    gap: .65rem;
    letter-spacing: .12em;
    position: absolute;
    right: 2rem;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-explore i { background: var(--orange); display: block; height: 42px; width: 2px; }

/* Shared section styles */
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 1rem; text-transform: uppercase; }
.section-kicker.dark { color: var(--violet); }
.section-kicker.light { color: var(--orange-light); }
.section-kicker.on-teal { color: var(--orange-light); }
.section-title { font-size: clamp(2.65rem, 5vw, 4.6rem); font-weight: 800; }
.section-title.dark { color: var(--ink); }
.section-title.light, .section-title.on-teal { color: var(--white); }
.section-lead { font-size: 1.08rem; line-height: 1.7; max-width: 50ch; }
.section-lead.dark { color: var(--muted); }
.section-lead.light { color: #d4d9e7; }
.section-lead.on-teal { color: #fff0dd; }

/* Company */
.section-about { background: var(--paper); position: relative; }
.section-about::before {
    background: var(--orange);
    content: "";
    height: 180px;
    position: absolute;
    right: 0;
    top: 0;
    width: 16%;
}
.about-grid { display: grid; gap: 3rem; grid-template-columns: .95fr 1.05fr; margin-bottom: 4rem; position: relative; }
.about-copy { background: var(--white); border-left: 7px solid var(--violet); padding: 2rem; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.about-copy p:last-child { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stat-card { background: var(--ink); color: #fff; min-height: 180px; padding: 1.8rem; }
.stat-card:nth-child(2) { background: var(--violet); }
.stat-card:nth-child(3) { background: var(--orange); color: var(--ink); }
.stat-card strong { display: block; font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.05em; margin-bottom: .45rem; }
.stat-card span { color: rgba(255,255,255,.74); display: block; font-size: .92rem; }
.stat-card:nth-child(3) span { color: rgba(23,34,59,.78); }

/* Services */
.section-capabilities { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.section-capabilities::after {
    background: var(--orange);
    border-radius: 50%;
    content: "";
    height: 42vw;
    max-height: 580px;
    max-width: 580px;
    opacity: .85;
    position: absolute;
    right: -14vw;
    top: -15vw;
    width: 42vw;
}
.cap-head { margin-bottom: 3.5rem; max-width: 700px; position: relative; z-index: 1; }
.cap-head .section-lead { margin-top: 1.2rem; }
.cap-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.cap-card {
    background: var(--white);
    color: var(--ink);
    min-height: 320px;
    padding: 1.65rem;
    position: relative;
    transition: transform .3s var(--ease);
}
.cap-card:nth-child(2) { background: var(--orange-light); margin-top: 3rem; }
.cap-card:nth-child(3) { background: var(--paper-warm); }
.cap-card:hover { transform: translateY(-8px) rotate(-1deg); }
.cap-index { color: var(--violet); font-size: .77rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 3rem; text-transform: uppercase; }
.cap-card:nth-child(2) .cap-index { color: var(--ink); }
.cap-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: .8rem; }
.cap-card p:last-child { color: var(--muted); margin: 0; }

/* Approach */
.section-approach { background: var(--paper-warm); }
.approach-layout { display: grid; gap: 4rem; grid-template-columns: .9fr 1.1fr; }
.approach-intro { align-self: start; position: sticky; top: 120px; }
.approach-intro .section-lead { margin-top: 1.2rem; }
.approach-steps { counter-reset: steps; list-style: none; margin: 0; padding: 0; }
.approach-steps li {
    align-items: start;
    border-top: 2px solid var(--ink);
    display: grid;
    gap: 1.4rem;
    grid-template-columns: 72px 1fr;
    padding: 1.5rem 0;
}
.approach-steps li:last-child { border-bottom: 2px solid var(--ink); }
.step-num { color: var(--orange); font-size: 1.1rem; font-weight: 800; }
.approach-steps h3 { font-size: 1.75rem; margin-bottom: .35rem; }
.approach-steps p { color: var(--muted); margin: 0; }

/* Customers */
.section-customers { background: var(--paper-warm); }
.customers-head { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; margin-bottom: 3rem; }
.customers-head .section-kicker, .customers-head .section-title { grid-column: 1; }
.customers-head .section-lead { align-self: end; grid-column: 2; grid-row: 1 / span 2; }
.customers-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.customer-card {
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 165px;
    padding: 1.6rem;
    transition: transform .3s var(--ease);
}
.customer-card:hover { transform: translateY(-6px) scale(1.02); }
.customer-card img { max-height: 80px; object-fit: contain; width: auto; }

/* Contact */
.section-contact { background: var(--orange); overflow: hidden; position: relative; }
.contact-rings {
    border: 55px solid rgba(255,255,255,.18);
    border-radius: 50%;
    bottom: -42%;
    height: min(70vw, 720px);
    position: absolute;
    right: -10%;
    width: min(70vw, 720px);
}
.contact-grid { align-items: end; display: grid; gap: 4rem; grid-template-columns: 1.1fr .9fr; position: relative; }
.contact-copy .section-title { color: var(--ink); max-width: 12ch; }
.contact-copy .section-kicker { color: var(--ink); }
.contact-copy .section-lead { color: rgba(23,34,59,.82); margin-top: 1.25rem; }
.contact-channels { display: grid; gap: .75rem; }
.contact-item {
    background: var(--ink);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1.1rem 1.2rem;
    transition: transform .25s var(--ease), background .25s var(--ease);
}
.contact-item:hover { background: var(--violet); transform: translateX(8px); }
.contact-label { color: var(--orange-light); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-value { font-size: 1.05rem; font-weight: 800; }

.site-footer { background: var(--ink); color: #fff; padding: 1.25rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; font-size: .86rem; gap: 1rem; justify-content: space-between; }
.footer-copy, .footer-tag { margin: 0; }
.footer-tag { color: var(--orange-light); }

/* Motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.cap-grid .reveal:nth-child(2), .customers-grid .reveal:nth-child(2), .approach-steps .reveal:nth-child(2) { --delay: 100ms; }
.cap-grid .reveal:nth-child(3), .customers-grid .reveal:nth-child(3), .approach-steps .reveal:nth-child(3) { --delay: 200ms; }
.approach-steps .reveal:nth-child(4) { --delay: 300ms; }
::selection { background: var(--orange); color: var(--ink); }

@media (max-width: 900px) {
    .hero { min-height: auto; padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem; }
    .hero-grid, .about-grid, .approach-layout, .contact-grid, .customers-head { grid-template-columns: 1fr; }
    .hero-panel { max-width: 560px; transform: none; }
    .about-copy { margin-inline: 0; }
    .customers-head .section-kicker, .customers-head .section-title, .customers-head .section-lead { grid-column: 1; grid-row: auto; }
    .cap-grid, .customers-grid { grid-template-columns: 1fr; }
    .cap-card { min-height: 0; }
    .cap-card:nth-child(2) { margin-top: 0; }
    .approach-intro { position: static; }
    .scroll-explore { display: none; }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; margin-left: .45rem; }
    .lang-switch { margin-left: auto; }
    .nav-menu {
        background: rgba(16,24,43,.98);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        inset: calc(var(--nav-h) + .5rem) .75rem auto;
        opacity: 0;
        padding: .85rem;
        pointer-events: none;
        position: fixed;
        transform: translateY(-12px);
        transition: opacity .25s var(--ease), transform .25s var(--ease);
    }
    .is-scrolled .nav-menu { background: var(--white); box-shadow: 0 16px 40px rgba(23,34,59,.16); }
    .nav-menu.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .nav-menu a { padding: .8rem 1rem; width: 100%; }
    .nav-cta { justify-content: center; margin-left: 0; }
}

@media (max-width: 600px) {
    .container { width: min(100% - 1.5rem, var(--max)); }
    .hero-title { font-size: clamp(3rem, 16vw, 4.7rem); }
    .hero-actions, .hero-actions .btn { width: 100%; }
    .stat-row { grid-template-columns: 1fr; }
    .stat-card { min-height: 135px; }
    .footer-inner { flex-direction: column; }
    .section-about::before { height: 80px; width: 28%; }
}
