:root {
    --green: #16852e;
    --green-dark: #0d6923;
    --green-bright: #70d440;
    --green-soft: #eff8ee;
    --ink: #12191f;
    --ink-soft: #25313a;
    --muted: #5b6670;
    --line: #dbe2dc;
    --surface: #ffffff;
    --surface-alt: #f6f8f5;
    --error: #9b1c1c;
    --success: #116437;
    --container: 1240px;
    --radius: 7px;
    --shadow: 0 12px 34px rgba(16, 31, 21, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--surface);
    color: var(--ink);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    padding-bottom: 62px;
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green-dark);
    text-decoration: none;
}

a:hover { color: var(--green); }

button,
input,
select,
textarea { font: inherit; }

:focus-visible {
    outline: 3px solid #8ce065;
    outline-offset: 3px;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(219, 226, 220, 0.82);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    position: relative;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    flex: 0 0 auto;
}

.brand-img {
    width: 176px;
    height: 72px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
}

.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}

.hamburger-bar {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
}

.primary-nav {
    display: none;
    position: absolute;
    left: -16px;
    right: -16px;
    top: 100%;
    padding: 18px 16px 22px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.primary-nav.is-open { display: block; }

.nav-list {
    list-style: none;
    display: grid;
    gap: 3px;
}

.nav-link {
    display: block;
    padding: 11px 10px;
    color: var(--ink-soft);
    font-size: .9rem;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-dark);
    border-bottom-color: var(--green);
}

.header-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 800;
}

@media (min-width: 1040px) {
    .mobile-menu-toggle { display: none; }
    .primary-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 25px;
        position: static;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        flex: 1;
    }
    .nav-list {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .nav-link { padding: 30px 10px 28px; }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        margin: 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 11px 18px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 15px; font-size: .87rem; }
.btn-xs { padding: 7px 11px; min-height: 36px; font-size: .8rem; }
.btn-lg { padding: 14px 22px; min-height: 52px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-whatsapp { background: #1f9d35; color: #fff; }
.btn-whatsapp:hover { background: #147d28; color: #fff; }
.btn-outline-green { border-color: var(--green); color: var(--green-dark); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(12,20,26,.18); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-soft); color: var(--green-dark); }

/* Homepage hero */
.hero-section {
    min-height: 555px;
    display: grid;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background-color: #18231f;
    background-image: url("../images/hero-recycling-yard.webp");
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(8, 17, 20, .44);
}

.hero-layout { padding-block: 80px; }
.hero-content { max-width: 690px; }

.hero-eyebrow,
.section-kicker {
    display: block;
    margin-bottom: 15px;
    color: var(--green-bright);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 720px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(2.45rem, 6vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero-title-highlight {
    display: block;
    color: #77df4b;
}

.hero-subtitle {
    max-width: 670px;
    margin-bottom: 30px;
    color: #eef4ef;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Quick service navigation */
.service-quick-nav {
    background: var(--green-soft);
    border-bottom: 1px solid #d8e8d4;
}

.service-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-quick-item {
    min-height: 124px;
    padding: 19px 14px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    border-right: 1px solid #cfdfcc;
    border-bottom: 1px solid #cfdfcc;
}

.service-quick-item > .bi:first-child {
    color: var(--ink-soft);
    font-size: 2rem;
}

.service-quick-item span {
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.3;
}

.service-quick-item .quick-arrow { color: var(--green); }
.service-quick-item:hover { background: #fff; color: var(--green-dark); }

@media (min-width: 780px) {
    .service-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
    .service-quick-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .service-quick-item {
        min-height: 145px;
        grid-template-columns: 1fr auto;
        align-content: center;
        padding: 22px 18px;
    }
    .service-quick-item > .bi:first-child { grid-column: 1 / -1; margin-bottom: 8px; font-size: 2.45rem; }
    .service-quick-item span { font-size: .9rem; }
}

/* Homepage sections */
.section { padding: 72px 0; }
.bg-light { background: var(--surface-alt); }

.section-heading-left {
    max-width: 680px;
    margin-bottom: 42px;
}

.section-title {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.section-desc { color: var(--muted); }
.section-header { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-badge { display: inline-block; margin-bottom: 12px; color: var(--green-dark); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.process-section { background: #fff; }
.process-grid { display: grid; gap: 30px; }

.process-item {
    position: relative;
    padding: 0 10px 0 84px;
    min-height: 126px;
}

.process-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 84px;
    right: 0;
    bottom: -16px;
    height: 1px;
    background: var(--line);
}

.process-icon {
    width: 62px;
    height: 62px;
    position: absolute;
    left: 0;
    top: 3px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green-dark);
    border-radius: 50%;
    font-size: 1.7rem;
}

.process-number { color: #a8b0aa; font-size: .82rem; font-weight: 800; }
.process-item h3 { margin: 2px 0 7px; font-size: 1.16rem; }
.process-item p { color: var(--muted); font-size: .94rem; }

@media (min-width: 820px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
    .process-item { padding: 82px 42px 0 0; min-height: 270px; }
    .process-item:not(:last-child)::after { left: auto; right: 20px; top: 0; bottom: 0; width: 1px; height: auto; }
    .process-icon { top: 0; }
}

.trust-section {
    display: grid;
    background: var(--surface-alt);
}

.trust-media { min-height: 360px; }
.trust-media img { width: 100%; height: 100%; object-fit: cover; }
.trust-content { padding: 56px max(24px, calc((100vw - var(--container)) / 2)); }
.trust-content h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.04em; }
.trust-content > p { max-width: 580px; margin-bottom: 24px; color: var(--muted); font-size: 1.04rem; }
.trust-list { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; }
.trust-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; }
.trust-list i { color: var(--green); }

@media (min-width: 940px) {
    .trust-section { grid-template-columns: minmax(0, 1.1fr) minmax(440px, .9fr); }
    .trust-content { padding: 76px clamp(44px, 6vw, 100px); }
}

.compact-cta-section { background: var(--ink-soft); color: #fff; }
.compact-cta { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; justify-content: space-between; }
.compact-cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
.compact-cta p { max-width: 690px; color: #c9d1cc; }
.section-kicker-light { color: #8be062; }

@media (min-width: 900px) {
    .compact-cta { flex-direction: row; align-items: center; }
}

/* Inner pages */
.page-banner {
    padding: 62px 0 54px;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--line);
}

.page-title {
    max-width: 900px;
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.page-subtitle { max-width: 800px; color: var(--muted); font-size: 1.05rem; }
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); }
.section-intro { margin-bottom: 38px; }

.about-grid { display: grid; gap: 38px; }
.about-main h2 { margin-bottom: 18px; font-size: 1.55rem; }
.info-card { padding: 26px; background: var(--surface-alt); border-left: 4px solid var(--green); }
.info-card h2 { margin-bottom: 16px; font-size: 1.25rem; }
.info-list dt { margin-top: 14px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.info-list dd { padding: 5px 0 13px; border-bottom: 1px solid var(--line); font-weight: 700; }
.sidebar-cta { display: grid; gap: 10px; margin-top: 22px; }

@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1.45fr .8fr; align-items: start; }
}

/* Service listing */
.cards-grid { display: grid; gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); }
.service-card-media img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 23px; }
.card-tag { display: inline-block; margin-bottom: 9px; color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-card-title { margin-bottom: 9px; font-size: 1.2rem; line-height: 1.3; }
.service-card-title a { color: var(--ink); }
.service-card-desc { margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.service-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.btn-link { font-size: .88rem; font-weight: 800; }

@media (min-width: 650px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.services-detail-list { display: grid; gap: 22px; }
.service-detail-item { display: grid; gap: 24px; padding: 26px; border: 1px solid var(--line); background: #fff; }
.service-detail-media img { width: 100%; height: 240px; object-fit: cover; }
.service-detail-title { margin-bottom: 8px; font-size: 1.55rem; line-height: 1.25; }
.service-detail-lead { margin-bottom: 12px; font-weight: 700; }
.service-detail-desc p { margin-bottom: 11px; color: var(--muted); }
.service-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (min-width: 820px) {
    .service-detail-item.has-media { grid-template-columns: 330px 1fr; }
}

/* Contact and form */
.contact-layout { display: grid; gap: 44px; }
.contact-info-column > h2 { margin-bottom: 10px; font-size: 1.6rem; }
.contact-intro { margin-bottom: 24px; color: var(--muted); }
.contact-cards { display: grid; gap: 12px; margin-bottom: 30px; }
.contact-card { padding: 17px 18px; background: var(--surface-alt); border-left: 3px solid var(--green); }
.contact-card h3 { margin-bottom: 6px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.contact-value-link { color: var(--ink); font-weight: 800; }
.text-green { color: var(--green-dark); }
.placeholder-box, .placeholder-inline { color: var(--muted); font-size: .88rem; font-style: italic; }
.map-section h2 { margin-bottom: 12px; font-size: 1.35rem; }
.map-embed-wrapper { overflow: hidden; border: 1px solid var(--line); }
.map-placeholder { padding: 22px; background: var(--surface-alt); color: var(--muted); }
.map-link-box { margin-top: 12px; }

.form-panel { padding: 26px; border: 1px solid var(--line); border-top: 4px solid var(--green); background: #fff; box-shadow: var(--shadow); }
.form-panel h2 { margin-bottom: 7px; font-size: 1.55rem; }
.form-panel-desc { margin-bottom: 24px; color: var(--muted); font-size: .93rem; }
.form-row { display: grid; gap: 15px; }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .9rem; font-weight: 800; }
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    border: 1px solid #bfc9c1;
    border-radius: 4px;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,133,46,.13); outline: 0; }
.req { color: #c62828; }
.opt { color: var(--muted); font-size: .8rem; font-weight: 400; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kvkk-group { padding: 13px; background: var(--surface-alt); }
.checkbox-label { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 400 !important; }
.checkbox-label input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: 0 0 auto; }
.kvkk-text { color: var(--muted); font-size: .83rem; }
.alert { margin-bottom: 20px; padding: 15px; border-left: 4px solid; }
.alert ul { margin: 8px 0 0 20px; }
.alert-success { background: #edf9f2; border-color: #2b9d5d; color: var(--success); }
.alert-error { background: #fff1f1; border-color: #d74c4c; color: var(--error); }

@media (min-width: 580px) {
    .contact-cards, .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
    .contact-layout { grid-template-columns: .9fr 1.1fr; align-items: start; }
    .form-panel { padding: 34px; }
}

.empty-notice { padding: 24px; background: var(--surface-alt); border-left: 4px solid var(--green); }
.error-page { text-align: center; }

/* Footer */
.site-footer { padding-top: 55px; background: #141d1f; color: #c7d0cb; }
.footer-grid { display: grid; gap: 35px; padding-bottom: 42px; }
.footer-logo { width: 185px; height: 92px; margin-bottom: 14px; object-fit: contain; background: #fff; }
.footer-title { color: #fff; }
.footer-desc { max-width: 470px; color: #98a59e; font-size: .91rem; }
.footer-heading { margin-bottom: 15px; color: #fff; font-size: 1rem; }
.footer-links, .footer-contact-list { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact-list a { color: #c7d0cb; }
.footer-links a:hover, .footer-contact-list a:hover { color: #8be062; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact-list i { margin-top: 2px; color: #8be062; }
.footer-bottom { padding: 19px 0; border-top: 1px solid rgba(255,255,255,.1); color: #84928b; font-size: .82rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom a { color: #aab5af; }
.footer-meta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-meta-links span { color: #52615a; }
.footer-meta-links a:hover { color: #8be062; }

@media (min-width: 760px) {
    .footer-grid { grid-template-columns: 1.2fr .65fr 1fr; }
}

.mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    display: flex;
    min-height: 62px;
    box-shadow: 0 -4px 18px rgba(0,0,0,.14);
}
.mobile-bar-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 8px; color: #fff; font-size: .87rem; font-weight: 800; }
.mobile-bar-btn:hover { color: #fff; }
.mobile-bar-call { background: var(--ink-soft); }
.mobile-bar-wa { background: #1f9d35; }

@media (min-width: 768px) { .mobile-sticky-bar { display: none; } }

@media (max-width: 620px) {
    .header-inner { min-height: 74px; }
    .brand-img { width: 140px; height: 62px; }
    .hero-section { min-height: 610px; background-position: 61% center; }
    .hero-layout { padding-block: 72px; }
    .hero-overlay { background: rgba(7, 15, 18, .62); }
    .hero-actions .btn { width: 100%; }
    .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
