:root {
    --bg: #efeae1;
    --paper: #f7f4ee;
    --ink: #1c1915;
    --muted: #5f584e;
    --line: #d8d0c3;
    --accent: #7a3410;
    --deep: #241c16;
    --deep-text: #f6f1e8;
    --serif: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
    --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --shadow: 0 22px 50px rgba(36, 28, 22, 0.08);
}

body[data-brand="servis"] {
    --accent: #7d2824;
    --deep: #241616;
}

body[data-brand="ikitelli"] {
    --accent: #1c4f3c;
    --deep: #13241c;
}

body[data-brand="zym"] {
    --accent: #0e5c55;
    --deep: #10211f;
}

body[data-brand="zymcom"] {
    --accent: #1a3f66;
    --deep: #101820;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.55;
}

body.miss {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px 96px;
}

body.miss main { max-width: 36rem; }

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, .brand strong, .mark {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.03em;
}

h1 {
    margin: 0.15em 0 0.35em;
    font-size: clamp(2.45rem, 4.6vw, 4.15rem);
    line-height: 0.98;
    text-wrap: balance;
}

h2 {
    margin: 0 0 0.4em;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
}

h3 { margin: 0 0 0.3em; font-size: 1.35rem; line-height: 1.2; }

p { margin: 0 0 0.8em; }

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: 12px;
    top: -48px;
    background: var(--deep);
    color: var(--deep-text);
    padding: 8px 12px;
    z-index: 5;
}

.skip:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(239, 234, 225, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.topbar {
    background: var(--deep);
    color: var(--deep-text);
}

.top, .bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top {
    min-height: 40px;
    font-size: 0.92rem;
}

.top a { text-decoration: none; border-bottom: 1px solid rgba(246, 241, 232, 0.45); }

.top p { margin: 0; }

.top-phones { display: flex; gap: 16px; }

.top a, .text-link { text-underline-offset: 3px; }

.bar { min-height: 78px; }

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand small {
    display: block;
    color: var(--muted);
    letter-spacing: 0;
    font-family: var(--sans);
    font-size: 0.82rem;
}

.mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fffaf6;
    font-size: 1.55rem;
}

.nav-wrap { display: flex; align-items: center; gap: 18px; }

.menu { display: flex; gap: 18px; }

.menu a { text-decoration: none; }

.menu a:hover { color: var(--accent); }

.menu-check {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.menu-btn { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    text-decoration: none;
    border: 1px solid transparent;
    font: inherit;
    cursor: pointer;
}

.btn-solid { background: var(--accent); color: #fffaf6; }

.btn-solid:hover { filter: brightness(1.08); }

.btn-line { background: transparent; border-color: var(--ink); }

.stage {
    position: relative;
    background:
        radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 46%),
        var(--deep);
    color: var(--deep-text);
    padding: 8px 0 40px;
    overflow: hidden;
}

.stage .kicker { color: #e7c7a4; }

.stage .lede { color: rgba(246, 241, 232, 0.82); }

.stage .btn-line {
    border-color: rgba(246, 241, 232, 0.55);
    color: var(--deep-text);
}

.hero-actions .btn-solid {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}

.hero-actions .btn-line {
    background: #25d366;
    border-color: #25d366;
    color: #083018;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.1fr);
    grid-template-areas: "copy slide";
    gap: 28px 40px;
    align-items: center;
    padding: 40px 0 8px;
}

.hero-copy { grid-area: copy; min-width: 0; position: relative; z-index: 1; }

.hero-copy .lede { margin-bottom: 1.15rem; }

.hero-visual {
    grid-area: slide;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.hero h1 { font-size: clamp(2.2rem, 3.3vw, 3.45rem); }

.hero-watermark {
    display: none;
    position: absolute;
    right: 6%;
    top: -0.35em;
    margin: 0;
    font-family: var(--serif);
    font-size: 18rem;
    line-height: 0.8;
    color: rgba(255, 250, 246, 0.06);
    pointer-events: none;
    user-select: none;
}

.kicker {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lede { font-size: 1.14rem; color: var(--muted); max-width: 38rem; }

.hero-actions, .callbar { display: flex; gap: 10px; flex-wrap: wrap; }

@keyframes cta-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-actions .btn {
    animation: cta-blink 1.6s ease-in-out infinite;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    border: 1px solid rgba(246, 241, 232, 0.28);
    padding: 8px 12px;
    font-size: 0.92rem;
}

.slider {
    background: transparent;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.slider-frame {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: #1a1612;
}

.slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.slide.is-on { opacity: 1; z-index: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide figcaption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    max-width: min(28rem, calc(100% - 120px));
    margin: 0;
    padding: 14px 16px;
    background: rgba(20, 16, 12, 0.78);
    color: #f6f1e8;
}

.slide figcaption strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.slide figcaption span { display: block; margin-top: 4px; }

.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 0;
    background: rgba(20, 16, 12, 0.72);
    color: #f6f1e8;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.slider-prev { left: 14px; }

.slider-next { right: 14px; }

.slider-note {
    margin: 8px 0 0;
    color: rgba(246, 241, 232, 0.7);
    font-size: 0.86rem;
}

.section, .band { scroll-margin-top: 108px; }

.section { padding: 56px 0; }

.section-head {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 18px;
}

.section-head p { color: var(--muted); margin: 0; }

.services, .steps, .reasons, .areas, .faqs { list-style: none; margin: 0; padding: 0; }

.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.services li {
    background: #fffdf9;
    border: 1px solid var(--line);
    padding: 22px 22px 18px;
}

.services span, .steps span {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 1.7rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.band {
    background: var(--deep);
    color: var(--deep-text);
    padding: 56px 0;
}

.band .kicker, .steps span { color: #e7c7a4; }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.steps li {
    background: rgba(255, 250, 246, 0.04);
    border: 1px solid rgba(246, 241, 232, 0.12);
    padding: 18px 16px 8px;
}

.steps span {
    width: 36px;
    font-size: 1.4rem;
}

.steps p, .reasons p { color: inherit; opacity: 0.84; }

.split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.reasons li + li { margin-top: 18px; }

.areas { display: flex; flex-wrap: wrap; gap: 8px; }

.areas li {
    border: 0;
    background: var(--deep);
    color: var(--deep-text);
    padding: 10px 14px;
}

.faqs details {
    border-top: 1px solid var(--line);
    padding: 14px 0;
}

.faqs details:last-child { border-bottom: 1px solid var(--line); }

.faqs summary { cursor: pointer; font-size: 1.12rem; }

.faqs p { color: var(--muted); }

.contact {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.contact-form, .panel-card {
    display: grid;
    gap: 8px;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    box-shadow: var(--shadow);
    padding: 26px;
}

label { font-size: 0.92rem; }

label span { color: var(--muted); }

input, select, textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea { min-height: 140px; resize: vertical; }

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check input { width: 20px; min-height: 20px; margin-top: 3px; }

.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hp input { width: 1px; min-height: 0; }

.alert { padding: 12px 14px; margin: 0; }

.alert-ok { background: #e5f2ea; color: #145233; }

.alert-err { background: #f8e6e2; color: #6d221c; }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 96px;
    color: var(--muted);
}

.callbar { display: none; }

.panel-body { background: var(--bg); }

.panel {
    width: min(880px, calc(100% - 32px));
    margin: 32px auto 64px;
}

.panel-head { margin-bottom: 18px; }

.msg {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 16px;
    margin-top: 12px;
}

.msg header, .panel form { display: flex; justify-content: space-between; gap: 12px; align-items: center; }

.msg.is-read { opacity: 0.72; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "slide"
            "copy";
    }
    .hero-copy { align-self: start; }
    .slider-frame { min-height: 0; height: min(72vw, 340px); flex: none; }
    .slide figcaption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
    .slider-btn { top: 12px; bottom: auto; margin-top: 0; }
    .hero, .section-head, .services, .steps, .split, .contact { grid-template-columns: 1fr; }
    .stage { padding-bottom: 36px; }
    .hero { padding-top: 12px; gap: 22px; }
    h1 { font-size: clamp(2.15rem, 9vw, 2.8rem); }
    .top { align-items: center; font-size: 0.84rem; }
    .top-gsm { display: none; }
    .top-phones a { white-space: nowrap; }
    .site-footer { padding-bottom: 92px; }
    .services li, .services li:nth-child(odd), .services li:nth-child(even) {
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .hero-watermark { display: none; }
    .call-desktop { display: none; }
    .menu-btn {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid var(--ink);
    }
    .menu {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 118px;
        flex-direction: column;
        gap: 0;
        background: var(--paper);
        border: 1px solid var(--line);
        padding: 8px;
    }
    .menu a { padding: 12px; }
    .menu-check:checked ~ .menu { display: flex; }
    .nav-wrap { position: static; }
    .site-header { position: sticky; }
    .callbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 5;
        background: var(--deep);
    }
    .callbar a {
        color: #fff;
        text-align: center;
        text-decoration: none;
        padding: 16px 8px;
        background: #1a73e8;
    }
    .callbar a + a { background: #25d366; color: #083018; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slide { transition: none; }
    .hero-actions .btn { animation: none; }
}
