/* Balkan Yazılım — modern tema */
:root {
    --green-50: #eef8f1;
    --green-100: #d5efdc;
    --green-500: #1f8a45;
    --green-600: #17743a;
    --green-700: #115c2d;
    --green-900: #0a3a1d;
    --red-500: #d7263d;
    --red-600: #b91c32;
    --ink: #0f1c16;
    --ink-2: #33423a;
    --muted: #5d6b64;
    --line: #e3e9e5;
    --surface: #f5f8f6;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 28, 22, .06), 0 1px 3px rgba(15, 28, 22, .08);
    --shadow: 0 10px 30px -12px rgba(15, 28, 22, .18);
    --shadow-lg: 0 24px 60px -20px rgba(15, 28, 22, .28);
    --container: 1180px;
    --header-h: 76px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--green-600); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red-500); border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
    cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(23, 116, 58, .6); }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--accent { background: var(--red-500); color: #fff; box-shadow: 0 8px 20px -8px rgba(215, 38, 61, .6); }
.btn--accent:hover { background: var(--red-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green-500); color: var(--green-700); }
.btn--light { background: #fff; color: var(--green-700); }
.btn--light:hover { color: var(--green-900); }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

/* Top bar */
.topbar { background: var(--green-900); color: rgba(255, 255, 255, .8); font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--green-100); }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 10px; border: 0; background: none;
    font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--surface); color: var(--green-700); }
.nav__link.is-active { color: var(--green-600); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
    list-style: none; margin: 0; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown, .nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover > .nav__link svg, .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; }
.dropdown a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.dropdown a:hover { background: var(--green-50); color: var(--green-700); }
.nav__cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    /* backdrop-filter, sabit konumlu menü paneli için kapsayıcı blok oluşturur; mobilde kapat */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .nav {
        position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 32px;
        background: #fff; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open { overflow: hidden; }
    .nav__list { flex-direction: column; align-items: stretch; }
    .nav__link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .dropdown { position: static; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 8px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
    .nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { display: none; }
    .nav__item.is-open > .dropdown { display: block; }
    .nav__item:hover > .nav__link svg { transform: none; }
    .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
    .nav__cta { margin: 20px 0 0; }
    .nav__cta .btn { width: 100%; }
}

/* Hero slider */
.hero { position: relative; overflow: hidden; background: var(--green-900); }
.hero__track { position: relative; min-height: clamp(520px, 72vh, 680px); }
.slide {
    position: absolute; inset: 0; display: flex; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center right; transform: scale(1.06); transition: transform 9s ease-out; }
.slide.is-active .slide__bg { transform: scale(1); }
/* isyerihekimi.png görselinin sağında ~%15'lik beyaz şerit var; kutuyu taşırarak gizle */
.slide__bg--crop-right { right: -18%; background-position: left center; transform-origin: left center; }
.slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 36, 19, .94) 0%, rgba(8, 36, 19, .82) 38%, rgba(8, 36, 19, .25) 75%, rgba(8, 36, 19, .1) 100%);
}
.slide--right::after { background: linear-gradient(270deg, rgba(8, 36, 19, .94) 0%, rgba(8, 36, 19, .82) 38%, rgba(8, 36, 19, .25) 75%, rgba(8, 36, 19, .1) 100%); }
.slide__content { position: relative; z-index: 2; width: 100%; }
.slide__inner { max-width: 600px; color: #fff; }
.slide--right .slide__inner { margin-left: auto; }
.slide__inner h1, .slide__inner h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.slide__inner h1 span, .slide__inner h2 span { color: #7fe0a0; display: block; }
.slide__inner p { font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin-bottom: 30px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slide .eyebrow { color: #7fe0a0; }
.slide .slide__inner > * { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.slide.is-active .slide__inner > * { opacity: 1; transform: none; }
.slide.is-active .slide__inner > *:nth-child(2) { transition-delay: .1s; }
.slide.is-active .slide__inner > *:nth-child(3) { transition-delay: .2s; }
.slide.is-active .slide__inner > *:nth-child(4) { transition-delay: .3s; }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; }
.hero__controls .container { display: flex; align-items: center; gap: 14px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 34px; height: 5px; border-radius: 5px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .2s, width .2s; }
.hero__dot.is-active { background: #fff; width: 54px; }
.hero__arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.hero__arrow:hover { background: rgba(255, 255, 255, .2); }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrows { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 720px) {
    .slide::after, .slide--right::after { background: linear-gradient(180deg, rgba(8, 36, 19, .55) 0%, rgba(8, 36, 19, .92) 60%); }
    .slide { align-items: flex-end; padding-bottom: 90px; }
    .slide__bg--crop-right { right: 0; background-position: 72% center; }
    .hero__arrows { display: none; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--green-900); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8, 36, 19, .95) 0%, rgba(8, 36, 19, .7) 55%, rgba(8, 36, 19, .35) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; max-width: 820px; margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.page-hero .eyebrow { color: #7fe0a0; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; margin: 14px 0 0; font-size: 1.08rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero--map { background: var(--surface); }
.page-hero--map::after { display: none; }
.map-frame { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 10px; }

.feature {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    color: var(--ink-2); box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink-2); }
.feature__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__icon {
    position: relative; z-index: 1; margin: -48px 0 14px;
    width: 48px; height: 48px; border-radius: 14px; background: var(--green-600); color: #fff;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px -8px rgba(23, 116, 58, .7);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__body { padding: 24px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.feature__subtitle { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red-500); margin-bottom: 4px; }
.feature__title { font-size: 1.2rem; margin-bottom: 10px; }
.feature__text { font-size: .95rem; color: var(--muted); flex: 1; }
.feature__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-600); font-size: .92rem; margin-top: 8px; }
.feature__more svg { width: 16px; height: 16px; transition: transform .2s; }
.feature:hover .feature__more svg { transform: translateX(4px); }

/* References */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .refs { grid-template-columns: 1fr; } }
.ref {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; color: var(--ink-2); transition: transform .25s, box-shadow .25s;
}
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.ref__logo { height: 170px; display: flex; align-items: center; justify-content: center; padding: 22px; background: linear-gradient(180deg, #fff, var(--surface)); border-bottom: 1px solid var(--line); }
.ref__logo img { max-height: 120px; width: auto; object-fit: contain; }
.ref__logo--dark { background: linear-gradient(180deg, var(--green-700), var(--green-900)); }.ref__body { padding: 18px 22px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ref__name { font-weight: 700; color: var(--ink); font-size: 1rem; margin: 0 0 6px; line-height: 1.35; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: .78rem; font-weight: 700; }
.ref__ext { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--green-600); transition: background .2s, color .2s; }
.ref:hover .ref__ext { background: var(--green-600); color: #fff; }
.ref__ext svg { width: 16px; height: 16px; }

/* Accordion (details/summary) */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc { scroll-margin-top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: var(--green-100); box-shadow: var(--shadow); }
.acc > summary {
    list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 20px; font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.45;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
    content: ""; flex: none; margin-left: auto; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317743a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform .25s;
}
.acc[open] > summary::after { transform: rotate(45deg); background-color: var(--green-50); }
.acc__q { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--green-50); color: var(--green-600); display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 800; margin-top: -1px; }
.acc__body { padding: 0 20px 20px 60px; color: var(--ink-2); }
.acc__body--plain { padding-left: 20px; }
.acc__body h4 { margin-top: 1.2em; color: var(--green-700); }
.acc__body a { word-break: break-word; }
@media (max-width: 640px) { .acc__body { padding-left: 20px; } }

/* Content layout with sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 1024px) { .layout { grid-template-columns: 1fr; } }
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1024px) { .sidebar { position: static; } }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.widget__title { font-size: 1.02rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.widget__title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--red-500); }
.widget--promo { background: linear-gradient(145deg, var(--green-600), var(--green-900)); color: rgba(255, 255, 255, .88); border: 0; box-shadow: var(--shadow-lg); }
.widget--promo .widget__title { color: #fff; font-size: 1.25rem; line-height: 1.35; }
.widget--promo .widget__title::before { background: #7fe0a0; }
.widget--promo p { font-size: .95rem; }
.widget--promo .btn { margin-top: 6px; }
.widget--promo dl { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-size: .92rem; }
.widget--promo dt { font-weight: 700; color: #fff; }
.widget--promo dd { margin: 0 0 8px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.widget--promo dd:last-child { margin-bottom: 0; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li + li { border-top: 1px solid var(--line); }
.link-list a, .link-list span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.link-list a:hover { color: var(--green-600); }
.link-list a.is-active { color: var(--green-600); }
.link-list svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); font-weight: 600; }

/* Prose */
.prose { font-size: 1.04rem; }
.prose > h2 { margin-bottom: .8em; }
.prose h3 { margin-top: 1.8em; }
.prose img, .shot img { border-radius: var(--radius); }
.shot { margin: 8px 0 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; }
.shot img { width: 100%; box-shadow: var(--shadow-sm); }
.shot figcaption { padding: 12px 6px 2px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.intro-card { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: center; margin-bottom: 36px; }
.intro-card img { width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 640px) { .intro-card { grid-template-columns: 1fr; } .intro-card img { max-width: 180px; } }
.point-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.point-list li { position: relative; padding-left: 30px; }
.point-list li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317743a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.mod { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.mod__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-600); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.mod__icon svg { width: 22px; height: 22px; }
.mod h3 { font-size: 1.08rem; }
.mod p { color: var(--muted); font-size: .95rem; margin-bottom: .5em; }
.mod p:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 16px; border-radius: 12px; background: var(--green-50); color: var(--green-700); font-weight: 700; font-size: .92rem; }
.block-title { margin-top: 48px; }

/* About / testimonial */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.testimonial { background: linear-gradient(145deg, var(--green-600), var(--green-900)); color: rgba(255, 255, 255, .9); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.testimonial::before { content: "\201C"; position: absolute; right: 18px; top: -30px; font-size: 180px; line-height: 1; color: rgba(255, 255, 255, .08); font-family: Georgia, serif; }
.testimonial h3 { color: #fff; }
.testimonial blockquote { margin: 0 0 22px; font-size: 1.08rem; }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.testimonial__name { color: #fff; font-weight: 700; margin: 0; font-size: 1.02rem; }
.testimonial__role { font-size: .88rem; color: rgba(255, 255, 255, .75); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-700), var(--green-900)); border-radius: var(--radius-lg); padding: 44px; color: rgba(255, 255, 255, .88); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(127, 224, 160, .25), transparent); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .slide__actions { flex: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--red-500); }
.input {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(31, 138, 69, .14); }
textarea.input { resize: vertical; min-height: 160px; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { background: #fdecee; color: var(--red-600); }
.form-status.is-success { background: var(--green-50); color: var(--green-700); }
.info-block { display: flex; gap: 14px; padding: 16px 0; }
.info-block + .info-block { border-top: 1px solid var(--line); }
.info-block__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); color: var(--green-600); display: flex; align-items: center; justify-content: center; }
.info-block__icon svg { width: 20px; height: 20px; }
.info-block h4 { margin: 0 0 4px; }
.info-block p { margin: 0; font-size: .95rem; }
.info-block a { color: var(--ink-2); font-weight: 600; }
.info-block a:hover { color: var(--green-600); }

/* Footer */
.site-footer { background: #07170e; color: rgba(255, 255, 255, .7); font-size: .94rem; margin-top: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #7fe0a0; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding: 72px 0 48px; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 16px; }
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; }
.footer-list strong { color: #fff; font-weight: 600; }
.footer-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #7fe0a0; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; padding: 11px 14px; min-width: 0; }
.newsletter .input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter .input:focus { border-color: #7fe0a0; box-shadow: 0 0 0 4px rgba(127, 224, 160, .15); }
.newsletter-status { font-size: .88rem; margin: 10px 0 0; min-height: 1.2em; }
.newsletter-status.is-error { color: #ff9aa8; }
.newsletter-status.is-success { color: #7fe0a0; }
.socials { display: flex; gap: 10px; }
.social { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.social:hover { background: var(--green-600); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Reveal on scroll */
.has-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease, box-shadow .25s; }
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
.has-reveal .feature.is-visible:hover, .has-reveal .ref.is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Error page */
.error-page { padding: 120px 0; text-align: center; }
