:root {
    --bg: #f3f0e8;
    --panel: rgba(255, 255, 255, 0.85);
    --panel-strong: #fffdf8;
    --text: #1c1d1f;
    --muted: #5c626b;
    --primary: #f4b400;
    --primary-dark: #cc9200;
    --accent: #23303b;
    --accent-soft: #314251;
    --line: rgba(28, 29, 31, 0.1);
    --success: #198754;
    --danger: #dc3545;
    --shadow: 0 20px 60px rgba(35, 48, 59, 0.14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), transparent 28%),
        linear-gradient(135deg, var(--bg) 0%, var(--panel-strong) 100%);
    color: var(--text);
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(244, 180, 0, 0.18), transparent 45%),
        linear-gradient(145deg, rgba(12, 18, 24, 0.95), rgba(25, 34, 44, 0.95));
    opacity: 1;
    visibility: visible;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader-inner {
    text-align: center;
    padding: 10px 24px 26px;
}

.site-loader-forklift {
    position: relative;
    width: 515px;
    height: 430px;
    margin: 0 auto 4px;
    transform: scale(0.42);
    transform-origin: center bottom;
}

.site-loader-forklift::after {
    background-image: url("https://i.ibb.co/Ttdjv1w/smoke.png");
    width: 217px;
    height: 122px;
    content: "";
    display: inline-block;
    animation: smoke 0.75s steps(7) infinite;
    position: absolute;
    left: 90%;
    bottom: -3%;
    transform: scaleX(-1);
}

.site-loader-forklift::before {
    content: "";
    display: block;
    width: 120%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.26);
    position: absolute;
    bottom: -3%;
}

.site-loader-forklift .forklift {
    position: absolute;
    z-index: 1;
    right: 0;
    animation: bounce 1s infinite;
}

.site-loader-forklift .box {
    position: absolute;
    top: 160px;
    animation: bounce2 1s ease-in infinite;
}

.site-loader-forklift .wheel {
    position: absolute;
    animation: spin 4s infinite linear;
    top: 340px;
    z-index: 2;
}

.site-loader-forklift .wheel-1 {
    left: 280px;
}

.site-loader-forklift .wheel-2 {
    left: 400px;
}

.site-loader-forklift .lift {
    position: absolute;
    left: 0;
    top: 120px;
    animation: bounce 1s infinite;
}

.site-loader-title {
    color: #f5f8fb;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes smoke {
    from {
        background-position-x: 0px;
    }

    to {
        background-position-x: -1491px;
    }
}

@keyframes bounce {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0) rotate(1deg);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes bounce2 {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -20px, 0) rotate(1deg);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 640px) {
    .site-loader-forklift {
        transform: scale(0.3);
    }

    .site-loader-title {
        font-size: 16px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: var(--accent);
    color: #fefaf0;
    font-size: 14px;
}

.topbar .container,
.navbar .container,
.split,
.metrics,
.cards,
.footer-grid,
.detail-grid,
.contact-grid,
.admin-grid,
.admin-form-grid,
.stats-grid {
    display: grid;
    gap: 24px;
}

.topbar .container {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    padding: 12px 0;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(28, 29, 31, 0.06);
}

.navbar .container {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 16px 0;
}

.nav-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-logo {
    max-height: 70px;
    width: auto;
}

.brand span {
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-links > a,
.nav-link-button {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    background: transparent;
    font: inherit;
    font-weight: 600;
    box-shadow: none;
}

.nav-link-button:hover {
    transform: none;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown:hover > .nav-link-button,
.nav-dropdown.active > .nav-link-button,
.nav-dropdown.open > .nav-link-button {
    background: rgba(244, 180, 0, 0.14);
    color: var(--text);
}

.nav-dropdown {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: -16px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 270px;
    display: none;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(28, 29, 31, 0.08);
    box-shadow: var(--shadow);
    z-index: 30;
}

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text);
}

.dropdown-menu a:hover {
    background: rgba(244, 180, 0, 0.12);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    display: block;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-dropdown {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: -12px;
}

.lang-button {
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(28, 29, 31, 0.08);
    background: rgba(255, 255, 255, 0.7);
    padding: 7px 9px;
    border-radius: 999px;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-button:hover {
    transform: none;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    display: none;
    min-width: 82px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(28, 29, 31, 0.08);
    box-shadow: var(--shadow);
    z-index: 40;
}

.lang-menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
}

.lang-flag-img {
    width: 24px;
    object-fit: cover;
    display: block;
    box-shadow: none;
}

.lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1em;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.lang-dropdown-text-only .lang-menu {
    min-width: 56px;
}

.lang-menu a.active,
.lang-menu a:hover {
    background: var(--accent);
    color: #fff;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu,
.lang-dropdown.open .lang-menu {
    display: block;
}

.navbar-mobile-bar {
    display: none;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.menu-toggle {
    display: none;
    background: #182028;
    color: #fff;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 14px;
    font-size: 18px;
}

.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
button:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ffd769);
    color: #1d1b16;
    box-shadow: 0 16px 30px rgba(244, 180, 0, 0.26);
}

.btn-dark {
    background: var(--accent);
    color: #fff;
}

.hero {
    padding: 72px 0 48px;
}

.split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(35, 48, 59, 0.08);
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1,
.section-head h2,
.page-hero h1 {
    margin: 0 0 18px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 74px);
}

.lead,
.section-head p,
.page-hero p,
.card p,
.admin-card p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-panel,
.card,
.detail-card,
.contact-card,
.admin-card,
.table-wrap,
.auth-card,
.form-shell,
.section-shell {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 26px;
    background: var(--panel-strong);
}

.hero-slider {
    position: relative;
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    transition: opacity 0.45s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 22, 29, 0.2), rgba(15, 22, 29, 0.82));
}

.slide-overlay {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    color: #fff;
    z-index: 2;
}

.slide-overlay h3 {
    font-size: clamp(26px, 3vw, 38px);
    margin: 0 0 10px;
}

.slide-overlay p {
    max-width: 420px;
    margin: 0;
    line-height: 1.7;
}

.slider-dots {
    position: absolute;
    left: 26px;
    bottom: 22px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    border: 0;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
}

.metrics,
.cards,
.footer-grid,
.detail-grid,
.contact-grid,
.admin-grid,
.admin-form-grid,
.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics {
    margin-top: 28px;
}

.metric {
    background: rgba(255, 255, 255, 0.56);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(28, 29, 31, 0.06);
}

.metric strong,
.stat strong {
    display: block;
    font-size: 34px;
    margin-bottom: 8px;
}

section {
    padding: 44px 0;
}

.section-head {
    max-width: 700px;
    margin-bottom: 22px;
}

.card,
.detail-card,
.contact-card,
.admin-card,
.auth-card,
.form-shell,
.section-shell {
    padding: 28px;
    margin-bottom: 20px;
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 16px;
}

.products-grid .product-card-image {
    object-fit: contain;
    background: #fff;
}

.image-preview-trigger {
    display: block;
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    text-align: inherit;
}

.detail-featured-image .detail-image-preview-trigger img {
    margin-bottom: 0;
}

.card h3,
.detail-card h3,
.admin-card h3 {
    margin-top: 0;
}

.card-tag {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(244, 180, 0, 0.18);
    color: #6d4a00;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.page-hero {
    padding: 52px 0 22px;
}

.about-page-stack {
    display: grid;
    gap: 36px;
    max-width: 820px;
    margin: 0 auto;
}

.about-page-stack .detail-card-accent {
    background: var(--panel-strong);
    border-color: rgba(244, 180, 0, 0.22);
}

.detail-body-section {
    padding-top: 32px;
    padding-bottom: 56px;
}

.service-detail-stack,
.product-detail-stack {
    display: grid;
    row-gap: 52px;
    column-gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-stack > .detail-featured-image {
    margin-bottom: 0;
}

.detail-card .detail-featured-image {
    margin-top: 6px;
    margin-bottom: 20px;
}

.service-detail-stack .detail-card-cta .btn,
.product-detail-stack .detail-card-cta .btn {
    margin-top: 16px;
}

.product-detail-stack .detail-card-accent {
    background: var(--panel-strong);
    border-color: rgba(244, 180, 0, 0.22);
}

.detail-featured-image {
    margin: 0 0 24px;
    text-align: center;
}

/* Icerik detayinda (urun/hizmet/blog): orani bozmadan goster; ana sayfa kartlari .card-image ile ayri */
.detail-featured-image img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: min(520px, 72vh);
    margin-inline: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    padding: 20px;
}

.image-preview-modal.open {
    display: flex;
}

.image-preview-modal img {
    max-width: min(96vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.48);
    background: #fff;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.footer {
    padding: 52px 0;
    background: var(--accent);
    color: rgba(255, 255, 255, 0.78);
    margin-top: 32px;
}

.footer .brand {
    color: #fff;
}

.footer a {
    color: #fff;
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.floating-actions {
    position: fixed;
    bottom: 22px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
    z-index: 60;
}

.floating-actions-left {
    left: 18px;
    align-items: flex-start;
}

.floating-actions-right {
    right: 18px;
    align-items: flex-end;
}

.floating-chip,
.floating-top {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 12px 16px;
    color: #fff;
    border: 0;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.floating-call {
    background: var(--accent);
}

.floating-whatsapp {
    background: #25d366;
}

.floating-fault {
    background: #c23b2e;
}

.floating-top {
    width: 50px;
    height: 50px;
    justify-content: center;
    padding: 0;
    background: var(--primary);
    color: #1d1b16;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.floating-top.visible {
    opacity: 1;
    visibility: visible;
}

.fault-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.fault-modal.open {
    display: block;
}

.fault-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 20, 25, 0.58);
    backdrop-filter: blur(5px);
}

.fault-modal-panel {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(94vw, 780px);
    height: min(88vh, 760px);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.fault-modal-panel iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.fault-modal-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #1f2d35;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

.form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(28, 29, 31, 0.12);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    background: rgba(255, 255, 255, 0.76);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.flash {
    padding: 16px 18px;
    border-radius: 18px;
    margin-bottom: 18px;
    font-weight: 600;
}

.flash.success {
    background: rgba(25, 135, 84, 0.12);
    color: #10653e;
}

.flash.error {
    background: rgba(220, 53, 69, 0.12);
    color: #9e2230;
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
    color: #fff;
    padding: 22px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-overlay {
    display: none;
}

.sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.sidebar nav a {
    color: rgba(255, 255, 255, 0.78);
    padding: 11px 13px;
    border-radius: 14px;
    font-size: 14px;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.translation-tabs {
    display: grid;
    gap: 18px;
}

.translation-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(28, 29, 31, 0.08);
}

.admin-collapsible-trigger {
    width: 100%;
    justify-content: space-between;
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    box-shadow: none;
    margin-bottom: 14px;
}

.admin-collapsible-trigger:hover {
    transform: none;
}

.admin-collapsible-content.is-collapsed {
    display: none;
}

.admin-image-preview,
.table-thumb {
    margin-top: 12px;
}

.admin-image-preview img {
    width: 180px;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(28, 29, 31, 0.08);
}

.table-thumb img {
    width: 76px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

.admin-main {
    padding: 22px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    align-items: center;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.01em;
}

.admin-topbar .muted {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
}

.admin-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    flex: 0 0 auto;
}

.stats-grid {
    margin-bottom: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
    background: linear-gradient(135deg, rgba(244, 180, 0, 0.12), rgba(255, 255, 255, 0.95));
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(28, 29, 31, 0.08);
}

.stat strong {
    font-size: 28px;
    margin-bottom: 6px;
}

.stat span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.01em;
}

.admin-card {
    padding: 22px;
}

.admin-card-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(244, 180, 0, 0.14);
    color: #6d4a00;
    font-size: 12px;
    font-weight: 800;
}

.admin-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.admin-card p {
    font-size: 14px;
    line-height: 1.65;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: min(460px, 100%);
}

.icon-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    background: rgba(35, 48, 59, 0.12);
    color: var(--accent);
    border: 1px solid rgba(35, 48, 59, 0.2);
    box-shadow: none;
}

.icon-toggle:hover {
    transform: none;
    background: rgba(35, 48, 59, 0.18);
}

.admin-form-grid {
    grid-template-columns: 1fr 1fr;
}

.admin-password-form .btn {
    margin-top: 8px;
}

.backup-code-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.backup-code-grid code {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(35, 48, 59, 0.16);
    color: var(--accent);
    font-size: 13px;
}

.section-shell + .section-shell {
    margin-top: 18px;
}

.settings-mini-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.settings-mini-nav a {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(35, 48, 59, 0.1);
    border: 1px solid rgba(35, 48, 59, 0.16);
    color: var(--accent);
}

.settings-mini-nav a:hover {
    background: rgba(244, 180, 0, 0.2);
}

.contact-card h3 {
    margin-bottom: 14px;
}

.contact-badge-card {
    grid-column: 1 / -1;
}

.contact-info-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-info-badge {
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(28, 29, 31, 0.08);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    color: inherit;
    display: grid;
    gap: 10px;
    align-content: center;
    min-height: 190px;
}

a.contact-info-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-info-badge i {
    font-size: 42px;
    color: #8f3a2f;
}

.contact-info-badge-title {
    font-size: 24px;
    font-weight: 700;
    color: #24262a;
}

.contact-info-badge-value {
    font-size: 17px;
    color: #4b4f57;
    word-break: break-word;
}

.contact-info-note {
    margin-top: 14px;
}

.contact-form-card {
    grid-column: 1 / -1;
}

.contact-map-card {
    grid-column: 1 / -1;
}

.contact-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(28, 29, 31, 0.08);
    box-shadow: var(--shadow);
    background: #fff;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.contact-form {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(28, 29, 31, 0.08);
    border-radius: 20px;
    padding: 18px;
}

.contact-form label {
    font-size: 13px;
    color: var(--accent);
}

.contact-form input,
.contact-form textarea {
    background: #fff;
    border-color: rgba(35, 48, 59, 0.16);
    border-radius: 14px;
    padding: 12px 14px;
}

.contact-form textarea {
    min-height: 150px;
}

.recaptcha-wrap {
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 8px 0;
}

.contact-form .btn {
    width: 100%;
}

.rich-content p {
    margin: 0 0 12px;
}

.rich-content p:last-child {
    margin-bottom: 0;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 12px 20px;
    padding: 0;
}

.rich-content a {
    color: var(--accent);
    text-decoration: underline;
}

.muted {
    color: var(--muted);
}

@media (max-width: 960px) {
    .split,
    .metrics,
    .cards,
    .footer-grid,
    .detail-grid,
    .contact-grid,
    .admin-grid,
    .admin-form-grid,
    .stats-grid,
    .admin-shell,
    .navbar .container,
    .topbar .container {
        grid-template-columns: 1fr;
    }

    .contact-info-badges {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        width: min(280px, calc(100vw - 42px));
        height: 100vh;
        transform: translateX(-105%);
        transition: transform 0.24s ease;
    }

    .admin-shell.admin-nav-open .sidebar {
        transform: translateX(0);
    }

    .admin-overlay {
        position: fixed;
        inset: 0;
        background: rgba(13, 18, 22, 0.38);
        z-index: 70;
    }

    .admin-shell.admin-nav-open .admin-overlay {
        display: block;
    }

    .topbar {
        display: none;
    }

    .navbar .container {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .navbar-mobile-bar {
        display: flex;
    }

    .lang-dropdown-desktop {
        display: none !important;
    }

    .lang-dropdown-mobile {
        width: auto;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .lang-dropdown-mobile .lang-button {
        justify-content: center;
    }

    .lang-dropdown-mobile .lang-menu {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        left: auto;
        display: none;
        margin-top: 0;
        min-width: 82px;
        padding: 8px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(28, 29, 31, 0.08);
        box-shadow: var(--shadow);
        z-index: 50;
    }

    .lang-dropdown-mobile.open .lang-menu,
    .lang-dropdown-mobile:focus-within .lang-menu,
    .lang-dropdown-mobile:hover .lang-menu {
        display: block;
    }

    .nav-links {
        justify-content: start;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .nav-area {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding-top: 14px;
    }

    .nav-area.open {
        display: flex;
    }

    .nav-links > a,
    .nav-link-button {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: 1px solid rgba(28, 29, 31, 0.06);
        padding: 8px;
        background: rgba(255, 255, 255, 0.8);
        margin-top: 6px;
    }

    .nav-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .lang-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
        width: 100%;
    }

    .lang-button {
        justify-content: space-between;
    }

    .lang-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 8px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.82);
    }

    .nav-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .lang-dropdown.open .lang-menu {
        display: block;
    }

    .hero-slider {
        min-height: 380px;
        order: -1;
    }

    .card-image {
        height: 190px;
    }

    .floating-actions {
        bottom: 16px;
        gap: 8px;
    }

    .floating-actions-left {
        left: 12px;
    }

    .floating-actions-right {
        right: 12px;
    }

    .floating-chip {
        padding: 11px 14px;
        font-size: 14px;
    }

    .floating-top {
        width: 46px;
        height: 46px;
    }

    .fault-modal-panel {
        width: min(94vw, 720px);
        height: min(88vh, 720px);
        border-radius: 14px;
    }

    .admin-main {
        padding: 16px;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }

    .admin-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .section-shell,
    .translation-card,
    .admin-card {
        padding: 16px;
        border-radius: 16px;
    }
}
