/* =========================================================
   Endülüs Krom v2 — layout.css (global, loaded on every page)
   Design: gpi-tanks.com style — white/light-gray surfaces,
   navy text, teal accent. Footer stays dark navy.
   ========================================================= */

:root {
    --navy: #0e2a3a;
    --navy-dark: #0a1f2c;
    --red: #34707a;        /* teal accent (class names keep "red" for compat) */
    --red-dark: #218376;
    --text: #33424e;
    --muted: #68798a;
    --line: #e4e9ee;
    --bg-gray: #f5f7f9;
    --bg-gray-2: #eef1f3;
    --white: #ffffff;
    --radius: 10px;
    --radius-lg: 24px;
    --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    --font-title: var(--font);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .page-title, .block-title,
.cat-card-title, .post-card-title, .industry-card-title,
.subcat-card-title, .sector-title, .team-card-name,
.qp-hero-title, .qp-section-title, .qp-contact-title,
.cta-title, .footer-title, .sidebar-card-title {
    font-family: var(--font-title);
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.site-main { flex: 1; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    line-height: 1.3;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- Top bar (white, gpi style) ---------- */
.topbar {
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 250;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    gap: 12px;
}
.topbar-contact { display: flex; gap: 20px; }
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-weight: 500;
}
.topbar-item:hover { color: var(--red); }
.topbar-item svg { color: var(--red); width: 15px; height: 15px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-label { margin-right: 2px; color: var(--text); font-weight: 500; }
.topbar-social a { color: var(--navy); display: inline-flex; transition: color .2s, transform .2s; }
.topbar-social a:hover { color: var(--red); transform: translateY(-1px); }

.lang-switcher { position: relative; }
.lang-toggle {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--navy);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}
.lang-toggle:hover { border-color: var(--navy); }
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    list-style: none;
    min-width: 130px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(14,42,58,.12);
}
.lang-dropdown.is-open { display: block; }
.lang-dropdown a {
    display: block;
    padding: 9px 14px;
    color: var(--text);
    font-size: 14px;
}
.lang-dropdown a:hover { background: var(--bg-gray); color: var(--red); }

/* ---------- Header / nav (white) ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 200;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(14,42,58,.08); }
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 78px;
}
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand-logo { height: 42px; width: auto; max-width: 100%; display: block; }

.main-nav { flex: 1; }
.navbar-nav {
    list-style: none;
    display: flex;
    gap: 4px;
    align-items: center;
}
.nav-item { position: relative; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    white-space: nowrap;
}
.nav-link:hover { color: var(--red); background: var(--bg-gray); }
.dropdown-chevron { display: inline-flex; align-items: center; line-height: 0; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    list-style: none;
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 12px 32px rgba(14,42,58,.14);
    z-index: 210;
}
.has-dropdown:hover > .dropdown-menu { display: block; }
.dropdown-link {
    display: block;
    padding: 9px 18px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}
.dropdown-link:hover { color: var(--red); background: var(--bg-gray); }
.dropdown-menu .dropdown-menu { top: 0; left: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-search { position: relative; display: flex; }

.search-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    border-radius: 6px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, border-color .2s;
}
.search-toggle:hover { color: var(--red); border-color: var(--red); }

.search-overlay {
    position: relative;
    background: var(--red);
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease;
}
.search-overlay.is-open { max-height: 300px; overflow: visible; }
.search-overlay-close {
    position: absolute;
    top: 14px;
    right: 22px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    opacity: .85;
    transition: opacity .2s, transform .2s;
    z-index: 2;
}
.search-overlay-close:hover { opacity: 1; transform: rotate(90deg); }
.search-overlay-inner {
    width: 100%;
    padding: 56px 0;
}
.search-overlay-form {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid rgba(255,255,255,.45);
    padding-bottom: 10px;
}
.search-overlay-form .search-overlay-input {
    flex: 1;
    width: auto;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    min-width: 0;
}
.search-overlay-input::placeholder { color: rgba(255,255,255,.55); }
.search-overlay-submit {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    opacity: .85;
    transition: opacity .2s;
}
.search-overlay-submit:hover { opacity: 1; }
.search-overlay-form .nav-search-dropdown { top: calc(100% + 16px); }

.nav-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(14,42,58,.16);
    z-index: 220;
    max-height: 360px;
    overflow-y: auto;
}
.nav-search-dropdown.is-open { display: block; }
.nav-search-section {
    padding: 8px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}
.nav-search-item {
    display: block;
    padding: 9px 14px;
    color: var(--text);
}
.nav-search-item:hover, .nav-search-item.is-active { background: var(--bg-gray); color: var(--red); }
.nav-search-item-title { display: block; font-weight: 600; font-size: 14px; }
.nav-search-item-meta { display: block; font-size: 12px; color: var(--muted); }
.nav-search-no-results { padding: 14px; font-size: 14px; color: var(--muted); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14,42,58,.45);
    z-index: 190;
}
.nav-backdrop.is-open { display: block; }

/* ---------- Breadcrumb (small, on white) ---------- */
.breadcrumb { padding: 18px 0 4px; }
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13.5px;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "»"; color: var(--red); }
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { color: var(--red-dark); text-decoration: underline; }

/* ---------- Inner page hero (large rounded image) ---------- */
.inner-hero { margin: 26px auto 44px; }
.inner-hero img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: var(--bg-gray);
}

.page-title {
    color: var(--navy);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
    margin-bottom: 18px;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding-top: 36px; }
.section-gray { background: var(--bg-gray); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-kicker {
    display: inline-block;
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px;
}
.section-title {
    color: var(--navy);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.01em;
    position: relative;
    padding-bottom: 14px;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}
.section-head .section-title::after { left: 50%; transform: translateX(-50%); }
.section-sub { color: var(--muted); margin-top: 14px; }
.section-foot { text-align: center; margin-top: 40px; }
.page-intro { max-width: 760px; margin-bottom: 36px; }
.block-title {
    color: var(--navy);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
}
.empty-state {
    background: var(--bg-gray);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--muted);
}

/* Split (text + image) */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.split-media img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.split-text p { margin-bottom: 16px; }

/* Card grids */
.card-grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Category card */
.cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    color: var(--text);
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(14,42,58,.10);
    border-color: transparent;
}
.cat-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-gray); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.cat-card-title { color: var(--navy); font-size: 18px; font-weight: 700; }
.cat-card-desc { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }
.cat-card-link {
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    margin-top: 14px;
}

/* Industry card */
.industry-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    transition: transform .2s, box-shadow .2s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,42,58,.14); }
.industry-card-img { aspect-ratio: 4/3; }
.industry-card-img img { width: 100%; height: 100%; object-fit: cover; }
.industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14,42,58,.85) 0%, rgba(14,42,58,0) 55%);
}
.industry-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    z-index: 2;
}

/* Post card */
.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,42,58,.10); }
.post-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-gray); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post-card-cat {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.post-card-title { font-size: 17px; font-weight: 700; margin: 6px 0 8px; line-height: 1.4; }
.post-card-title a { color: var(--navy); }
.post-card-title a:hover { color: var(--red); }
.post-card-excerpt { font-size: 14px; color: var(--muted); flex: 1; }
.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.post-card-more { font-weight: 700; color: var(--red); }

/* Horizontal product row card (gpi style) */
.prod-row {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}
.prod-row:first-child { padding-top: 6px; }
.prod-row-img {
    flex: none;
    width: 110px;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-gray);
}
.prod-row-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-row-body { flex: 1; min-width: 0; }
.prod-row-title {
    display: block;
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.prod-row:hover .prod-row-title { color: var(--red); }
.prod-row-excerpt {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}
.prod-row-arrow {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--red);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background .2s, color .2s, transform .2s;
}
.prod-row:hover .prod-row-arrow {
    background: var(--red);
    color: #fff;
    transform: translateX(4px);
}

/* Chips */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
}
.chip:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* CTA band (light gray, navy text) */
.cta-band { background: var(--bg-gray); padding: 56px 0; }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-title { font-size: 26px; font-weight: 700; color: var(--navy); }
.cta-text { color: var(--muted); margin-top: 8px; max-width: 620px; }

/* FAQ accordion (gpi minimal: separators only, + icon right) */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: 0;
    padding: 20px 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}
.faq-question:hover { color: var(--red); }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s;
}
.faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); }
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
    padding: 0 4px;
    color: var(--text);
}
.faq-answer > .content { overflow: hidden; min-height: 0; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; padding-bottom: 22px; }

/* Rich content */
.content { font-weight: 400; line-height: 1.8; }
.content h2, .content h3, .content h4 { color: var(--navy); margin: 28px 0 14px; font-weight: 700; line-height: 1.4; }
.content h2 { font-size: 24px; }
.content h3 { font-size: 19px; }
.content p { margin-bottom: 18px; letter-spacing: 0.02rem; }
.content strong, .content b { font-weight: 700; }
.content a:not(.btn) { color: var(--red); text-decoration: underline; }
.content a:not(.btn):hover { color: var(--red-dark); }
.content img { border-radius: 14px; margin: 12px 0; }
.content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content th, .content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14.5px; }
.content th { background: var(--bg-gray); color: var(--navy); }
.content iframe { max-width: 100%; }

/* Unordered lists inside content: gray rounded box + teal checks (gpi style) */
.content ul {
    list-style: none;
    background: var(--bg-gray-2);
    border-radius: 14px;
    padding: 24px 28px;
    margin: 20px 0 24px;
}
.content ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-weight: 400;
    color: var(--text);
}
.content ul li:last-child { margin-bottom: 0; }
.content ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 2px;
    width: 20px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2334707a'/%3E%3Cpath d='M6 10.4l2.7 2.7L14 7.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.content ul li::after { content: none; }
.content ol { margin: 0 0 16px 22px; }
.content ol li { margin-bottom: 6px; }

/* Check list (home quality) */
.check-list { list-style: none; margin-top: 8px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 3px;
    width: 19px; height: 19px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2334707a'/%3E%3Cpath d='M6 10.4l2.7 2.7L14 7.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.check-list li::after { content: none; }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { margin-bottom: 16px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--red); }
textarea { resize: vertical; }
.form-status { margin: 4px 0 12px; font-size: 14.5px; font-weight: 600; min-height: 0; }
.form-status.is-success { color: #1a7f37; background: #e9f7ee; border: 1px solid #bfe6cb; padding: 12px 16px; border-radius: 6px; }
.form-status.is-error { color: #b31c22; background: #fdecec; border: 1px solid #f3c1c3; padding: 12px 16px; border-radius: 6px; }

/* ---------- Sidebar (gpi style gray cards) ---------- */
.inner-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: start;
    padding-bottom: 72px;
}
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
    padding-bottom: 72px;
}
.blog-layout .blog-article { min-width: 0; }
.inner-content { min-width: 0; }

.sidebar { position: sticky; top: 100px; }
.side-card {
    background: var(--bg-gray-2);
    border-radius: 14px;
    padding: 28px 26px;
}
.side-card + .side-card { margin-top: 20px; }
.side-card-title,
.side-card .side-card-title {
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}
.side-card p { font-size: 14px; color: var(--text); margin-bottom: 16px; }

.side-quote-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--navy);
    font-weight: 700;
    font-size: 16px;
}
.side-quote-link .circle-arrow {
    flex: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid var(--red);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background .2s, color .2s, transform .2s;
}
.side-quote-link:hover .circle-arrow { background: var(--red); color: #fff; transform: translateX(4px); }

.side-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14.5px;
    font-weight: 600;
    padding: 6px 0;
}
.side-contact-row svg { color: var(--red); flex: none; }
.side-contact-row:hover { color: var(--red); }

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
    margin-bottom: 14px;
}
.sidebar-nav { list-style: none; }
.sidebar-nav a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}
.sidebar-nav a:hover { background: #fff; color: var(--red); }
.sidebar-nav a.is-active { background: var(--navy); color: #fff; }

.sidebar-cta {
    margin-top: 28px;
    background: var(--bg-gray-2);
    border-radius: 14px;
    padding: 22px;
    color: var(--text);
    font-size: 14px;
}
.sidebar-cta p { margin-bottom: 14px; }

.page-image { margin-bottom: 28px; }
.page-image img { border-radius: var(--radius-lg); width: 100%; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
}
.page-link:hover { border-color: var(--red); color: var(--red); }
.page-link.is-current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Footer (stays dark navy) ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.75);
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 44px;
    padding: 64px 20px 48px;
}
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 48px; width: auto; max-width: 100%; display: block; }
.footer-about-col p { font-size: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 6px;
    color: rgba(255,255,255,.85);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; }
.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14.5px;
    align-items: flex-start;
}
.footer-contact svg { flex: none; margin-top: 3px; color: var(--red); }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13.5px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.75); }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- 404 ---------- */
.error-404-section { padding: 100px 0; }
.error-404-box { text-align: center; max-width: 560px; margin: 0 auto; }
.error-404-code {
    font-size: 96px;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    letter-spacing: -.03em;
}
.error-404-box h1 { color: var(--navy); font-size: 28px; margin: 18px 0 10px; }
.error-404-box p { color: var(--muted); margin-bottom: 28px; }
.error-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
/* Persistent quote and contact actions */
#quoteBox, #contactForm { scroll-margin-top: 110px; }
.lead-actions {
    position: fixed;
    inset-inline-end: 24px;
    bottom: 24px;
    z-index: 180;
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(14, 42, 58, .16);
}
.lead-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    color: var(--navy);
    background: var(--bg-gray);
}
.lead-action-quote { color: #fff; background: var(--red); }
.lead-action-whatsapp { color: #145c38; background: #eaf7ef; }
.lead-action:hover { filter: brightness(.94); }
.lead-action-quote:hover, .lead-action-quote:focus-visible { color: #fff; background: var(--red-dark); }
.lead-action-whatsapp:hover, .lead-action-whatsapp:focus-visible { color: #145c38; }
.lead-action-contact:hover, .lead-action-contact:focus-visible { color: var(--navy); }
.lead-action svg { flex-shrink: 0; }
.lead-action:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.site-footer { padding-bottom: 70px; }
@media (max-width: 991px) {
    .lead-actions {
        inset-inline: 0;
        bottom: 0;
        gap: 4px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
        border-radius: 0;
        border-width: 1px 0 0;
    }
    .lead-action {
        flex: 1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3px;
        padding: 6px 2px;
        min-height: 56px;
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
    }
    .lead-action span { display: block; max-width: 100%; text-align: center; }
    body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
    .site-footer { padding-bottom: 0; }
    body.is-form-editing .lead-actions,
    body:has(form input:focus, form textarea:focus, form select:focus) .lead-actions { display: none; }
}

@media (max-width: 767px) {
    .header-inner { min-height: 64px; gap: 12px; }
    .brand-logo { height: 40px; }
}

@media (max-width: 1100px) {
    .nav-link { padding: 10px 8px; font-size: 14px; }
}

@media (max-width: 991px) {
    .header-actions { margin-left: auto; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        z-index: 230;
        padding: 90px 24px 40px;
        overflow-y: auto;
        box-shadow: -12px 0 40px rgba(14,42,58,.18);
        transition: right .3s ease;
    }
    .main-nav.is-open { right: 0; }
    .navbar-nav { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { display: flex; justify-content: space-between; width: 100%; padding: 13px 12px; }
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        margin-left: 12px;
        padding: 0;
    }
    .has-dropdown.is-open > .dropdown-menu { display: block; }
    .has-dropdown:hover > .dropdown-menu { display: none; }
    .has-dropdown.is-open:hover > .dropdown-menu { display: block; }
    .topbar-contact .topbar-item span { display: none; }
    .topbar-contact .topbar-item svg { width: 15px; height: 15px; }

    .split { grid-template-columns: 1fr; gap: 32px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .inner-layout, .blog-layout { grid-template-columns: 1fr; gap: 36px; padding-bottom: 52px; }
    .inner-layout > .inner-content, .blog-layout > .blog-article { order: 1; }
    .inner-layout > .sidebar, .blog-layout > .sidebar { order: 2; }
    .sidebar { position: static; }
    .inner-hero { margin: 18px auto 32px; }
    .inner-hero img { aspect-ratio: 16/9; border-radius: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .section { padding: 52px 0; }
    .page-title { font-size: 25px; }
}

@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 25px; }
    .topbar-label { display: none; }
    .search-overlay-form .search-overlay-input { font-size: 18px; }
    .search-overlay-inner { padding: 64px 18px 32px; }
    .search-overlay-close { top: 12px; right: 14px; }
    .prod-row { gap: 14px; }
    .prod-row-img { width: 84px; height: 66px; }
    .prod-row-arrow { width: 34px; height: 34px; font-size: 15px; }
}

/* Shared content block spacing (product, category, application, blog detail) */
.product-block { margin-bottom: 48px; }

/* Quote box */
.quote-box {
    background: var(--bg-gray);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 48px;
}
.quote-box-text { margin-bottom: 24px; }
.quote-box-text h2 { color: var(--navy); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.quote-box-text p { color: var(--muted); font-size: 14.5px; }
.quote-form .form-row { margin-bottom: 12px; }
.quote-form textarea { margin-bottom: 12px; }

@media (max-width: 991px) {
    .product-layout { grid-template-columns: 1fr; gap: 32px; }
    .quote-box { padding: 26px; }
}

/* Product quote form */
.quote-box { background: linear-gradient(135deg, #edf4f5, #f8fafb 70%); border-top: 4px solid var(--red); box-shadow: 0 8px 28px rgba(16,45,59,.05); }
.quote-kicker { display: block; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.quote-box-text h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; }
.quote-box-text p { font-size: 16px; line-height: 1.6; color: var(--text); }
.quote-product { background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--red); border-radius: 8px; padding: 14px 18px; margin-bottom: 16px; }
.quote-product span { display: block; font-size: 13px; color: var(--muted); }
.quote-product strong { display: block; font-size: 18px; color: var(--navy); margin-top: 3px; }
.quote-note, .quote-hint, .quote-footer { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.quote-note { margin-bottom: 20px; }
.quote-optional { font-weight: 400; color: var(--muted); }
.quote-form .form-row { margin-bottom: 18px; }
.quote-form textarea { margin-bottom: 6px; }
.quote-form input:focus, .quote-form textarea:focus { box-shadow: 0 0 0 3px rgba(49,113,125,.12); }
.quote-submit { width: 100%; min-height: 50px; justify-content: center; gap: 12px; font-size: 16px; }
.quote-box .quote-submit:hover, .quote-box .quote-submit:focus-visible { color: #fff; background: var(--navy); }
.quote-footer { text-align: center; margin: 12px 0 0; }
@media (max-width: 575px) { .quote-box { padding: 22px 18px; } .quote-kicker { font-size: 11px; } }

/* Kart anchor'i yalnizca baslik; kartin tamami ::after ile tiklanir */
.prod-row { position: relative; }
.prod-row-link { text-decoration: none; }
.prod-row-link::after { content: ""; position: absolute; inset: 0; }
.prod-row-link:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Admin edit shortcut (front, only when logged into admin) */
.admin-edit-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--red);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    transition: transform .2s, box-shadow .2s;
}
.admin-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    color: #fff;
}
/* German build: link under the contact map */
.contact-map-link{margin:0;padding:.6rem 1rem;text-align:right;font-size:.95rem}
.contact-map-link a{font-weight:600}
