/* =========================================================
   Dönmez Polimer Plastik ve Geri Dönüşüm
   Pure CSS3 — Mobile-first, premium B2B corporate
   Gold / Silver / Black Theme
   ========================================================= */

:root {
    --color-bg: #ffffff;
    --color-bg-muted: #f5f5f5;
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-text: #0f172a;
    --color-text-soft: #475569;
    --color-text-mute: #64748b;

    --color-primary: #121212;
    --color-primary-600: #0a0a0a;
    --color-primary-700: #000000;
    --color-primary-50: rgba(0, 0, 0, 0.06);
    
    --color-accent: #d4af37; /* Premium Gold */
    --color-accent-600: #b5952f;
    --color-accent-50: rgba(212, 175, 55, 0.10);

    --color-slate: #546e7a;
    --color-slate-light: #78909c;
    --color-silver: #e2e8f0;
    --color-silver-light: #f8fafc;
    --color-dark: #000000;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, .03);
    --shadow: 0 4px 12px rgba(15, 23, 42, .05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 16px 32px rgba(15, 23, 42, .08);

    --container: 1200px;
    --section-y: clamp(64px, 9vw, 120px);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-600); }

h1, h2, h3, h4, h5 {
    color: var(--color-text);
    line-height: 1.2;
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--color-text-soft); }

ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--color-primary); }
.accent.green { color: var(--color-accent); }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-50);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow-green { color: var(--color-accent); background: var(--color-accent-50); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: .95rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .1s ease, box-shadow .1s ease, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    font-family: inherit;
}
.btn-primary {
    background: var(--color-accent);
    color: #121212;
    box-shadow: 0 4px 0 #a38526; /* Mechanical button bottom */
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.btn-primary:hover { 
    background: var(--color-accent-600); 
    color: #121212; 
    transform: translateY(2px); 
    box-shadow: 0 2px 0 #a38526; 
}
.btn-primary:active {
    transform: translateY(4px);
    box-shadow: none;
}
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); border-radius: 4px; font-weight: 600; }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(0,31,92, .03); }
.btn-light { background: #fff; color: var(--color-primary); border-radius: 4px; box-shadow: 0 4px 0 var(--color-border); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.btn-light:hover { background: var(--color-bg-muted); transform: translateY(2px); box-shadow: 0 2px 0 var(--color-border); }
.btn-light:active { transform: translateY(4px); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* =========================================================
   Top Bar
   ========================================================= */
.top-bar {
    background: var(--color-primary-700);
    color: #cbd5e1;
    font-size: .82rem;
}
.top-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    gap: 32px;
    flex-wrap: wrap;
}
.tb-left, .tb-right { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.top-bar span { display: inline-flex; align-items: center; gap: 6px; }
.top-bar svg { opacity: .75; }
.tb-badge {
    background: rgba(255,255,255,.08);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .04em;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--color-text); }
.logo:hover { color: var(--color-text); }
.header-logo-img { max-height: 80px; width: auto; display: block; clip-path: circle(46% at 50% 50%); }
.footer-logo-img { max-height: 220px; width: auto; display: block; clip-path: circle(46% at 50% 50%); }
.logo-mark {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 8px; /* Square technical look */
    flex-shrink: 0;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .02em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.logo-text small { font-size: .72rem; color: var(--color-text-mute); font-weight: 500; }

.nav ul { display: flex; gap: 4px; align-items: center; }
.nav a {
    color: var(--color-text-soft);
    font-weight: 500;
    font-size: .9rem;
    padding: 10px 12px;
    border-radius: 8px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.nav a:hover { color: var(--color-primary); background: var(--color-primary-50); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
    display: none;
    background: none; border: 0;
    width: 42px; height: 42px;
    flex-direction: column; justify-content: center;
    gap: 5px; cursor: pointer; padding: 0 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    padding: clamp(56px, 8vw, 110px) 0 var(--section-y);
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 90% -10%, rgba(0, 31, 92, .05), transparent 60%),
        radial-gradient(800px 500px at -10% 30%, rgba(84, 110, 122, .04), transparent 60%),
        var(--color-bg);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero-content .lead {
    font-size: 1.15rem;
    color: var(--color-text-soft);
    max-width: 560px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats dt { font-size: 1.7rem; font-weight: 800; color: var(--color-primary); letter-spacing: -0.02em; }
.hero-stats dd { margin: 4px 0 0; font-size: .85rem; color: var(--color-text-mute); }

/* Hero visual */
.hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 460px;
    margin-left: auto;
    width: 100%;
}
.hero-image {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}
.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-image::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, .40) 100%);
}
.hero-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    z-index: 2;
}
.hero-card strong { display: block; font-size: .9rem; }
.hero-card small { color: var(--color-text-mute); font-size: .76rem; }
.hero-card .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-50);
    flex-shrink: 0;
}
.hero-card .dot.green { background: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-50); }
.card-1 { top: 20px; left: -30px; }
.card-2 { bottom: 30px; right: -20px; }

/* =========================================================
   Trust Bar
   ========================================================= */
.trust-bar {
    background: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
}
.trust-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-soft);
}
.trust-item svg { width: 28px; height: 28px; color: var(--color-primary); flex-shrink: 0; }
.trust-item strong { display: block; font-size: .92rem; color: var(--color-text); font-weight: 600; }
.trust-item span { font-size: .78rem; color: var(--color-text-mute); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--section-y) 0; }
.section-muted { background: var(--color-bg-muted); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header p { font-size: 1.05rem; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.two-col.reverse .col-text { order: 2; }
.two-col.reverse .col-visual { order: 1; }

.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--color-text); font-weight: 500; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--color-primary-50);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8963e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat; background-position: center; background-size: 12px;
}

.about-cta { margin-top: 32px; }

/* About visual */
.about-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}
.about-img-main, .about-img-secondary {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-img-main { top: 0; right: 0; width: 75%; aspect-ratio: 4 / 5; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary { bottom: 0; left: 0; width: 55%; aspect-ratio: 4 / 3; border: 6px solid #fff; }
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-experience-badge {
    position: absolute;
    top: 24px; left: -10px;
    background: var(--color-primary);
    color: #fff;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}
.about-experience-badge strong { font-size: 2rem; line-height: 1; font-weight: 800; }
.about-experience-badge span { font-size: .8rem; line-height: 1.2; opacity: .9; }

/* Mission grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}
.info-block {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.info-block:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mb-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-primary-50);
    color: var(--color-primary);
    border-radius: 12px;
    margin-bottom: 16px;
}
.mb-icon svg { width: 24px; height: 24px; }
.info-block.alt .mb-icon { background: var(--color-accent-50); color: var(--color-accent-600); }
.info-block h3 { color: var(--color-text); margin-bottom: 8px; }
.info-block p { margin: 0; }

/* =========================================================
   Cards Grid (services)
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card-icon {
    width: 52px; height: 52px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: var(--color-primary-50);
    color: var(--color-primary);
    border-radius: 12px;
    margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .95rem; }

/* =========================================================
   Process
   ========================================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    position: relative;
}
.process-step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ps-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    background: var(--color-primary-50);
    width: 60px; height: 60px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 14px;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { margin: 0; font-size: .92rem; }

/* =========================================================
   Sectors
   ========================================================= */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.sector-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s, color .25s;
    cursor: default;
}
.sector-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--color-primary);
}
.sector-item svg {
    width: 36px; height: 36px;
    color: var(--color-primary);
    margin: 0 auto 12px;
}
.sector-item span { font-weight: 600; font-size: .92rem; color: var(--color-text); }

/* =========================================================
   Sustainability
   ========================================================= */
.sustainability { background: #fff; }
.sustain-visual { position: relative; }
.sustain-visual > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.sustain-card {
    position: absolute;
    bottom: -30px; right: -10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    width: 70%;
    max-width: 320px;
    box-shadow: var(--shadow-lg);
}
.sustain-card > svg {
    color: var(--color-accent);
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}
.sustain-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
}
.stat-row li { display: flex; flex-direction: column; }
.stat-row strong { font-size: 1.25rem; color: var(--color-text); font-weight: 800; }
.stat-row span { font-size: .8rem; color: var(--color-text-soft); font-weight: 500; }
.check-list.green li::before {
    background: var(--color-primary-50);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8963e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 16 / 9;
}
.g-item {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
}
.g-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
    position: absolute;
    left: 16px; bottom: 14px;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.g-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, .60) 100%);
}
.g-large { grid-row: span 2; }

/* =========================================================
   CTA Banner
   ========================================================= */
.cta-banner {
    background: var(--color-primary);
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}
.cta-banner::before {
    width: 400px; height: 400px;
    right: -120px; top: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%);
}
.cta-banner::after {
    width: 300px; height: 300px;
    left: -80px; bottom: -100px;
    background: radial-gradient(circle, rgba(102, 187, 106, .1), transparent 70%);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: 8px; max-width: 640px; }
.cta-inner p { color: rgba(255,255,255,.85); margin: 0; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
    width: 42px; height: 42px;
    flex-shrink: 0;
    background: var(--color-primary-50);
    color: var(--color-primary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center; justify-content: center;
}
.ci-icon svg { width: 20px; height: 20px; }
.contact-item h4 { margin: 0 0 4px; font-size: .95rem; }
.contact-item p { margin: 0; font-size: .92rem; color: var(--color-text-soft); }
.contact-item a { color: var(--color-text-soft); }
.contact-item a:hover { color: var(--color-primary); }

.map-embed {
    margin-top: 8px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form { display: grid; gap: 16px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--color-text); }
.form-group input,
.form-group select,
.form-group textarea {
    font-family: inherit;
    font-size: .95rem;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text);
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-50);
}
.form-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .82rem; color: var(--color-text-soft);
    cursor: pointer;
}
.form-check input { margin-top: 3px; accent-color: var(--color-primary); }
.form-check a { color: var(--color-primary); text-decoration: underline; }
.form-note {
    font-size: .78rem;
    color: var(--color-text-mute);
    margin: 4px 0 0;
    text-align: center;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--color-dark);
    color: #999;
    padding-top: 64px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: var(--color-primary); border: none; color: #fff; border-radius: 8px; }
.site-footer .logo-text small { color: var(--color-silver); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand p { color: #888; margin-top: 16px; font-size: .92rem; max-width: 360px; }
.footer-col h5 {
    color: var(--color-silver);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li, .footer-col a { color: #888; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0;
    font-size: .82rem;
    color: var(--color-silver);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px; height: 44px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s, visibility .25s, background .2s;
    z-index: 40;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-primary-600); color: #fff; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Thank-you page
   ========================================================= */
.thanks-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}
.thanks-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    text-align: center;
    max-width: 560px;
    width: 100%;
    box-shadow: var(--shadow);
}
.thanks-icon {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    background: var(--color-accent-50);
    color: var(--color-accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
}
.thanks-icon svg { width: 40px; height: 40px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
    .trust-inner { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .sector-grid { grid-template-columns: repeat(4, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-grid { grid-template-columns: 1fr; }
    .gallery { aspect-ratio: auto; }
}

@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .two-col { grid-template-columns: 1fr; gap: 56px; }
    .two-col.reverse .col-text { order: 1; }
    .two-col.reverse .col-visual { order: 2; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; padding: 28px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .gallery { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
    .g-large { grid-column: span 2; grid-row: span 1; height: 100%; }
}

@media (max-width: 720px) {
    .top-bar { display: none; }
    .nav {
        position: fixed;
        top: 76px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
        transform: translateY(-120%);
        transition: transform .3s ease;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }
    .nav.open { transform: translateY(0); }
    .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav a { padding: 14px 16px; display: block; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }

    .hero-stats { grid-template-columns: 1fr; gap: 16px; }
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { justify-content: center; text-align: center; }
    .gallery { grid-template-rows: 200px 160px 160px; gap: 12px; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .sustain-card { position: static; width: 100%; max-width: none; margin-top: -24px; }
    .cta-inner { text-align: center; justify-content: center; }
    .cta-inner > div { flex: 1 1 100%; }
    .about-experience-badge { padding: 12px 16px; }
    .about-experience-badge strong { font-size: 1.4rem; }
}

@media (max-width: 420px) {
    .logo-text small { display: none; }
    .hero-card { padding: 8px 12px; }
    .card-1 { left: -10px; }
    .card-2 { right: -10px; }
}

/* =========================================================
   Custom Scrollbar
   ========================================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-muted); }
::-webkit-scrollbar-thumb { background: var(--color-slate-light); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary-600); }

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
    position: fixed; inset: 0;
    background: var(--color-dark);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
    color: var(--color-primary);
    margin: 0 auto 20px;
    animation: pulseLogo 1.6s ease-in-out infinite;
}
@keyframes pulseLogo {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.92); }
}
.preloader-bar {
    width: 120px; height: 3px;
    background: #333;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
}
.preloader-bar span {
    display: block; height: 100%; width: 0;
    background: var(--color-primary);
    border-radius: 999px;
    animation: loadBar 1.2s ease-in-out forwards;
}
@keyframes loadBar {
    to { width: 100%; }
}

/* =========================================================
   Noise texture overlay for premium feel
   ========================================================= */
body::after {
    content: "";
    position: fixed; inset: 0; pointer-events: none; z-index: 9998;
    opacity: .018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* =========================================================
   Hero parallax fix
   ========================================================= */
.hero-image img {
    will-change: transform;
    transition: transform .1s linear;
}

/* =========================================================
   Card stagger delays
   ========================================================= */
.card:nth-child(1) { transition-delay: .0s; }
.card:nth-child(2) { transition-delay: .06s; }
.card:nth-child(3) { transition-delay: .12s; }
.card:nth-child(4) { transition-delay: .18s; }
.card:nth-child(5) { transition-delay: .24s; }
.card:nth-child(6) { transition-delay: .30s; }

.process-step:nth-child(1) { transition-delay: .0s; }
.process-step:nth-child(2) { transition-delay: .08s; }
.process-step:nth-child(3) { transition-delay: .16s; }
.process-step:nth-child(4) { transition-delay: .24s; }

.sector-item:nth-child(1) { transition-delay: .0s; }
.sector-item:nth-child(2) { transition-delay: .04s; }
.sector-item:nth-child(3) { transition-delay: .08s; }
.sector-item:nth-child(4) { transition-delay: .12s; }
.sector-item:nth-child(5) { transition-delay: .16s; }
.sector-item:nth-child(6) { transition-delay: .20s; }
.sector-item:nth-child(7) { transition-delay: .24s; }
.sector-item:nth-child(8) { transition-delay: .28s; }

/* =========================================================
   Improved reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }

/* =========================================================
   Image loading state
   ========================================================= */
img { background: linear-gradient(110deg, var(--color-bg-muted) 8%, #f0f4f8 18%, var(--color-bg-muted) 33%); background-size: 200% 100%; }
img[src] { animation: shimmer 1.5s linear forwards; }
@keyframes shimmer { to { background-position-x: -200%; } }

/* =========================================================
   Better hover depth
   ========================================================= */
.hero-card {
    transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s;
}
.hero-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); }

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