:root {
    --ink: #17202a;
    --muted: #687385;
    --line: #dce3ea;
    --soft: #f4f7f9;
    --white: #ffffff;
    --primary: rgb(15, 35, 56);
    --primary-dark: rgb(10, 24, 39);
    --accent: rgb(235, 89, 60);
    --gold: #b7791f;
    --bgc-1: #edf1f4;
    --bgc-2: #f8fafc;
    --shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
}

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

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

.top-contact-bar {
    color: rgba(255, 255, 255, 0.82);
    background: #111820;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-contact-wrap {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-contact-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    font-size: 13px;
    font-weight: 700;
}

.top-contact-list a,
.top-contact-list > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.82);
}

.top-contact-list a:hover {
    color: var(--white);
}

.top-contact-list svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: #f7c873;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: visible;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 20px;
    line-height: 1;
}

.brand small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.hero-slogan {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.hero-slogan i {
    width: 5px;
    height: 5px;
    display: inline-block;
    flex: 0 0 auto;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: none;
}

.hero-slogan i {
    background: #f7c873;
    box-shadow: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-nav-menu {
    display: none;
    position: relative;
}

.mobile-nav-menu summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    color: var(--primary-dark);
    background: #e9f5f3;
    border: 1px solid rgba(15, 35, 56, 0.18);
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.mobile-nav-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-menu div {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 45;
}

.mobile-nav-menu a {
    display: block;
    padding: 11px 12px;
    color: var(--muted);
    border-radius: 7px;
    font-weight: 800;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    color: var(--primary-dark);
    background: #e9f5f3;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-dark);
    background: #e9f5f3;
}

.lang-menu {
    position: relative;
    flex: 0 0 auto;
}

.lang-menu summary {
    min-width: 112px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    list-style: none;
}

.lang-menu summary::-webkit-details-marker {
    display: none;
}

.lang-menu summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-2px);
}

.lang-menu[open] summary::after {
    transform: rotate(225deg) translateY(-1px);
}

.lang-menu summary span,
.lang-dropdown span {
    font-weight: 800;
    font-size: 13px;
}

.lang-menu summary small,
.lang-dropdown small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 40;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 10px;
    border-radius: 7px;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: #e9f5f3;
}

.lang-dropdown a.active span {
    color: var(--primary-dark);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(110deg, rgba(15, 35, 56, 0.92), rgba(23, 32, 42, 0.88)),
        url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 52px;
    padding: 72px 0;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f7c873;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: clamp(48px, 8vw, 92px);
    line-height: 0.94;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.2;
}

.hero-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.hero-slogan {
    margin-bottom: 18px;
    color: #ffffff !important;
    font-size: 25px !important;
    font-weight: 700;
}

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

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 800;
    cursor: pointer;
}

.btn.primary {
    color: var(--white);
    background: var(--primary);
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn.light {
    color: var(--primary-dark);
    background: var(--white);
}

.hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hero-panel div {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 18px;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    align-items: start;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07)),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel div::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    pointer-events: none;
}

.hero-panel em {
    position: relative;
    z-index: 1;
    color: #f7c873;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.hero-panel strong {
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: center;
    font-size: clamp(46px, 7vw, 66px);
    line-height: 1;
}

.hero-panel span {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.hero-panel small {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.section {
    padding: 86px 0;
}

.muted {
    background: var(--soft);
}

.project-categories-section {
    background: var(--bgc-1);
    color: #fff;
}

.project-list-section {
    background: var(--bgc-2);
    color: #fff;
}

.intro-grid,
.split,
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.contact-grid {
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-panel {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.contact-panel .btn {
    margin-top: auto;
    width: 100%;
}

.intro-grid p,
.content-flow p,
.page-hero p,
.contact-panel p {
    color: var(--muted);
    font-size: 18px;
}

.card-grid,
.values-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.values-grid,
.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-overview {
    background: var(--white);
}

.about-overview-grid,
.section-heading {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.about-services {
    background: var(--soft);
}

.section-heading {
    margin-bottom: 32px;
}

.listing-heading {
    margin-bottom: 26px;
}

.listing-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(28px, 3vw, 38px);
}

.project-categories-section .section-kicker,
.project-list-section .section-kicker {
    color: rgba(255, 255, 255, 0.78);
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 18px;
}

.about-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-service-grid article {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.about-service-grid i {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 16px;
    color: var(--primary-dark);
    background: #e9f5f3;
    border-radius: 8px;
    font-size: 18px;
}

.about-service-grid span {
    display: block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

.about-service-grid h3 {
    margin-top: 8px;
}

.about-service-grid p {
    color: var(--muted);
}

.about-values {
    background: var(--white);
}

.compact-values article {
    box-shadow: none;
}

.compact-values i {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 22px;
}

.service-card,
.values-grid article,
.project-card,
.contact-panel,
.contact-form {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 32, 42, 0.06);
}

.service-card span,
.project-card span,
.services-list article span {
    color: var(--accent);
    font-weight: 800;
    font-size: 13px;
}

.service-card p,
.values-grid p,
.project-card p,
.services-list p {
    color: var(--muted);
}

.public-project-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(23, 32, 42, 0.14);
}

.project-image {
    display: block;
    margin: -28px -28px 8px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: var(--soft);
}

.project-image img,
.project-detail-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.text-link {
    margin-top: auto;
    color: var(--primary-dark);
    font-weight: 900;
}

.empty-state {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.empty-state h2 {
    margin: 8px 0 10px;
}

.empty-state p {
    margin-bottom: 0;
    color: var(--muted);
}

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

.category-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 32, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(23, 32, 42, 0.14);
}

.category-card > i {
    width: 76px;
    height: 76px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 8px;
    font-size: 34px;
}

.category-card h2 {
    margin: 18px 0 10px;
    font-size: 26px;
}

.category-card p {
    color: var(--muted);
}

.category-card span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

.project-grid-spaced {
    margin-top: 8px;
}

.public-project-card > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.page-hero {
    padding: 34px 0;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(15, 35, 56, 0.96), rgba(15, 35, 56, 0.88));
}

.page-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.project-detail-media {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 8px;
    background: var(--soft);
}

.project-detail-content {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 32, 42, 0.06);
    color: var(--muted);
    font-size: 18px;
    overflow: visible;
    word-break: normal;
    overflow-wrap: anywhere;
}

.project-detail-content .section-kicker {
    margin-bottom: 12px;
}

.project-detail-content p,
.project-detail-content ul,
.project-detail-content ol,
.project-detail-content blockquote {
    margin-bottom: 18px;
}

.project-detail-content .ql-align-center {
    text-align: center;
}

.project-detail-content .ql-align-right {
    text-align: right;
}

.project-detail-content .ql-align-justify {
    text-align: justify;
}

.project-detail-meta {
    padding: 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.project-detail-meta h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

.project-detail-meta span,
.project-detail-meta strong {
    display: block;
}

.project-detail-meta span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.project-detail-meta strong {
    margin: 4px 0 16px;
}

.services-list {
    display: grid;
    gap: 18px;
}

.services-list article {
    padding: 30px;
    display: grid;
    grid-template-columns: 180px 0.8fr 1.2fr;
    gap: 24px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.services-list h2 {
    margin-bottom: 0;
    font-size: 30px;
}

.cta-band {
    padding: 58px 0;
    color: var(--white);
    background: var(--primary-dark);
}

.cta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-wrap h2 {
    margin-bottom: 8px;
}

.cta-wrap p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.contact-form {
    display: grid;
    gap: 16px;
    min-height: 100%;
}

.contact-form label,
.contact-panel {
    font-size: 15px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfcfd;
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(15, 35, 56, 0.18);
    border-color: var(--primary);
}

.contact-logo {
    width: min(220px, 70%);
    height: auto;
    display: block;
    margin: 0 auto 26px;
    opacity: 0.96;
}

.contact-email-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.contact-email-row h2 {
    margin-bottom: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    word-break: break-word;
}

.copy-email-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--primary-dark);
    background: #e9f5f3;
    border: 1px solid rgba(15, 35, 56, 0.18);
    border-radius: 8px;
    cursor: pointer;
}

.copy-email-btn.copied {
    color: var(--white);
    background: var(--primary);
}

.contact-submit {
    min-height: 50px;
    width: 100%;
}

.contact-panel p {
    margin-bottom: 22px;
}

.site-footer {
    padding: 22px 0;
    color: rgba(255, 255, 255, 0.82);
    background: #111820;
}

.footer-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.45;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 0;
}

.site-footer .brand small,
.site-footer p,
.site-footer span {
    color: rgba(255, 255, 255, 0.68);
}

.footer-email {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 800;
}

.footer-email:hover {
    color: var(--white);
}

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .top-contact-wrap,
[dir="rtl"] .top-contact-list,
[dir="rtl"] .brand,
[dir="rtl"] .nav-wrap,
[dir="rtl"] .hero-actions,
[dir="rtl"] .cta-wrap,
[dir="rtl"] .footer-simple {
    direction: rtl;
}

[dir="rtl"] .hero-panel,
[dir="rtl"] .card-grid,
[dir="rtl"] .values-grid,
[dir="rtl"] .project-grid,
[dir="rtl"] .services-list article {
    direction: rtl;
}

@media (max-width: 900px) {
    .nav-wrap,
    .cta-wrap,
    .footer-simple {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        display: none;
    }

    .main-nav a {
        width: auto;
    }

    .mobile-nav-menu {
        display: block;
    }

    .hero-grid,
    .intro-grid,
    .about-overview-grid,
    .section-heading,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .values-grid,
    .project-grid,
    .category-grid,
    .about-service-grid {
        grid-template-columns: 1fr;
    }

    .services-list article {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .site-header {
        position: sticky;
    }

    .top-contact-wrap,
    .top-contact-list {
        justify-content: center;
    }

    .top-contact-list {
        gap: 12px;
        flex-wrap: wrap;
    }

    .brand {
        min-width: 0;
    }

    .brand small {
        max-width: 210px;
    }

    .nav-wrap {
        min-height: 68px;
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .brand strong {
        font-size: 17px;
    }

    .brand small {
        display: none;
    }

    .mobile-nav-menu summary,
    .lang-menu summary {
        min-width: 0;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .lang-menu summary small {
        display: none;
    }

    .mobile-nav-menu div {
        left: auto;
        right: 0;
        width: min(260px, calc(100vw - 24px));
    }

    .hero {
        min-height: 100vh;
    }

    .hero-grid {
        padding: 42px 0;
        gap: 32px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-slogan,
    .hero-actions {
        justify-content: center;
    }

    .hero-slogan {
        font-size: 18px !important;
        gap: 8px;
    }

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

    .hero-panel div {
        padding: 14px;
    }

    .hero-panel strong {
        font-size: 42px;
    }

    .hero-panel small {
        font-size: 10px;
    }

    .section {
        padding: 46px 0;
    }

    .page-hero {
        padding: 28px 0;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .lang-menu,
    .lang-menu summary {
        width: 100%;
    }

    .lang-dropdown {
        left: 0;
        right: auto;
        width: 100%;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .service-card,
    .values-grid article,
    .about-service-grid article,
    .project-card,
    .contact-panel,
    .contact-form,
    .services-list article {
        padding: 18px;
    }

    .project-image {
        margin: -22px -22px 8px;
    }

    .project-detail-content,
    .project-detail-meta,
    .empty-state {
        padding: 22px;
    }
}

.admin-body {
    min-height: 100vh;
    background: #eef3f6;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
    padding: 28px 22px;
    color: rgba(255, 255, 255, 0.78);
    background: #111820;
}

.admin-brand {
    min-width: 0;
    margin-bottom: 34px;
    color: var(--white);
}

.admin-brand small {
    color: rgba(255, 255, 255, 0.58);
}

.admin-menu {
    display: grid;
    gap: 8px;
}

.admin-menu a {
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    font-weight: 800;
}

.admin-menu a:hover,
.admin-menu a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.admin-main {
    padding: 34px;
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.admin-header h1 {
    margin: 6px 0 10px;
    font-size: clamp(34px, 5vw, 54px);
    color: var(--ink);
}

.admin-header p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.admin-alert {
    margin-bottom: 18px;
    padding: 13px 16px;
    color: var(--primary-dark);
    background: #e9f5f3;
    border: 1px solid rgba(15, 35, 56, 0.18);
    border-radius: 8px;
    font-weight: 800;
}

.admin-panel {
    margin-bottom: 22px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(23, 32, 42, 0.07);
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form-head,
.admin-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.admin-form-head h2,
.admin-table-head h2 {
    margin-bottom: 0;
    font-size: 24px;
}

.admin-form-head a,
.admin-table-head span {
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
}

.admin-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    background: #fbfcfd;
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: 2px solid rgba(15, 35, 56, 0.16);
    border-color: var(--primary);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.45;
}

.status-pill {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--primary-dark);
    background: #e9f5f3;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-actions a,
.admin-actions button {
    padding: 8px 10px;
    color: var(--primary-dark);
    background: #e9f5f3;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.admin-actions button {
    color: #991b1b;
    background: #fee2e2;
}

.admin-topline {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.admin-stat-grid article {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(23, 32, 42, 0.07);
}

.admin-stat-grid span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}

.admin-stat-grid strong {
    display: block;
    margin-top: 10px;
    color: var(--ink);
    font-size: 42px;
    line-height: 1;
}

.admin-empty {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.admin-alert.danger {
    color: #991b1b;
    background: #fee2e2;
    border-color: rgba(153, 27, 27, 0.16);
}

.admin-fields.two {
    grid-template-columns: 1.5fr 0.5fr;
}

.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(120deg, rgba(17, 24, 32, 0.9), rgba(15, 35, 56, 0.82)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.admin-login-card {
    width: min(440px, 100%);
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.admin-login-card h1 {
    margin: 26px 0 8px;
    color: var(--ink);
    font-size: 42px;
}

.admin-login-card p {
    color: var(--muted);
}

.admin-login-card .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.rich-editor {
    overflow: hidden;
    background: #fbfcfd;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.rich-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 9px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.rich-toolbar button,
.rich-toolbar select,
.rich-toolbar input[type="color"] {
    min-height: 34px;
    padding: 7px 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.rich-toolbar input[type="color"] {
    width: 44px;
    padding: 4px;
}

.rich-area {
    min-height: 260px;
    padding: 16px;
    color: var(--ink);
    outline: none;
    font-weight: 500;
}

.rich-area img,
.project-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 14px 0;
    border-radius: 8px;
}

.rich-area figure,
.project-detail-content figure {
    margin: 18px 0;
}

.rich-area figcaption,
.project-detail-content figcaption {
    color: var(--muted);
    font-size: 14px;
    font-style: italic;
}

.media-forms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.media-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfd;
}

.media-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 7px;
    background: var(--soft);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.media-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.media-card code {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    word-break: break-all;
}

.media-usage {
    display: grid;
    gap: 6px;
}

.media-usage strong {
    font-size: 13px;
    text-transform: uppercase;
}

.media-usage span,
.media-usage a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.media-usage a {
    color: var(--primary-dark);
}

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

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

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 32, 0.58);
}

.admin-modal-panel {
    position: relative;
    width: min(980px, calc(100% - 28px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    padding: 24px;
    overflow-y: auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.admin-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-modal-head h2 {
    margin-bottom: 0;
    font-size: 28px;
}

.admin-modal-head button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: var(--soft);
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.quill-editor {
    min-height: 320px;
    background: var(--white);
}

.ql-toolbar.ql-snow,
.ql-container.ql-snow {
    border-color: var(--line);
}

.ql-container {
    min-height: 320px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
}

.ql-editor img {
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 1000px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .media-forms,
    .media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-main,
    .admin-sidebar {
        padding: 20px 14px;
    }

    .admin-header,
    .admin-form-head,
    .admin-table-head {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .admin-topline {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* Soft neomorphic theme */
:root {
    --ink: #1f2933;
    --muted: #687280;
    --line: #d8dee5;
    --soft: #edf1f4;
    --white: #ffffff;
    --primary: rgb(15, 35, 56);
    --primary-dark: rgb(10, 24, 39);
    --accent: rgb(235, 89, 60);
    --bgc-1: #edf1f4;
    --bgc-2: #f8fafc;
    --gold: #9b741c;
    --shadow: 5px 5px 12px rgba(164, 174, 184, 0.22), -3px -3px 9px rgba(255, 255, 255, 0.46);
    --neo-inset: inset 4px 4px 9px rgba(164, 174, 184, 0.22), inset -3px -3px 8px rgba(255, 255, 255, 0.46);
    --neo-pressed: inset 4px 4px 9px rgba(164, 174, 184, 0.28), inset -3px -3px 8px rgba(255, 255, 255, 0.44);
}

body,
.muted,
.about-overview,
.about-services,
.about-values,
.admin-body {
    background: var(--soft);
}

.site-header {
    background: rgba(237, 241, 244, 0.94);
    border-bottom: 1px solid rgba(216, 222, 229, 0.76);
    box-shadow: 0 6px 14px rgba(164, 174, 184, 0.14);
}

.nav-wrap {
    min-height: 84px;
    gap: 18px;
}

.brand {
    min-width: 238px;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
}

.brand strong {
    color: var(--primary);
    letter-spacing: 0;
}

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

.site-header .brand small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
}

.site-header .brand small i {
    width: 4px;
    height: 4px;
    display: inline-block;
    flex: 0 0 auto;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.78;
}

.main-nav {
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    background: #e9eef2;
    box-shadow: var(--neo-inset);
}

.main-nav a {
    width: 116px;
    min-height: 40px;
    padding: 9px 14px;
    color: var(--primary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
}

.main-nav a:hover {
    color: var(--primary-dark);
    background: var(--soft);
    box-shadow: 3px 3px 8px rgba(164, 174, 184, 0.18), -2px -2px 7px rgba(255, 255, 255, 0.44);
}

.main-nav a.active {
    color: var(--primary-dark);
    background: #e7ecef;
    border-color: rgba(235, 89, 60, 0.28);
    box-shadow:
        inset 4px 4px 9px rgba(164, 174, 184, 0.26),
        inset -3px -3px 8px rgba(255, 255, 255, 0.44);
}

.mobile-nav-menu summary,
.lang-menu summary {
    color: var(--primary);
    border-radius: 12px;
}

.lang-menu summary {
    min-width: 66px;
    padding-inline: 14px;
}

.mobile-nav-menu div,
.lang-dropdown {
    border-radius: 14px;
}

.mobile-nav-menu a,
.lang-dropdown a {
    border-radius: 10px;
}

.mobile-nav-menu a.active,
.lang-dropdown a.active {
    color: var(--primary-dark);
    border: 1px solid rgba(235, 89, 60, 0.24);
    box-shadow: var(--neo-pressed);
}

.top-contact-bar,
.site-footer,
.admin-sidebar {
    color: var(--muted);
    background: #e6ebef;
    border-color: rgba(216, 222, 229, 0.86);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.38);
}

.site-footer {
    color: rgba(255, 255, 255, 0.88);
    background: var(--primary);
    border-color: rgba(15, 35, 56, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.top-contact-list a,
.top-contact-list > span,
.site-footer .brand small,
.site-footer p,
.site-footer span,
.footer-email,
.admin-menu a,
.admin-brand,
.admin-brand small {
    color: var(--muted);
}

.site-footer .brand strong,
.site-footer .brand small,
.site-footer p,
.site-footer span,
.site-footer .footer-email {
    color: rgba(255, 255, 255, 0.88);
}

.site-footer .footer-email:hover {
    color: var(--accent);
}

.top-contact-list a:hover,
.footer-email:hover,
.admin-menu a:hover,
.admin-menu a.active {
    color: var(--primary-dark);
}

.admin-menu a:hover,
.admin-menu a.active {
    background: #edf1f4;
    box-shadow: var(--neo-inset);
}

.hero,
.cta-band,
.admin-login-body {
    color: var(--ink);
    background: linear-gradient(135deg, #f2f5f7, #e6ebef);
}

.hero .eyebrow,
.hero-slogan,
.hero-copy p,
.cta-wrap p {
    color: var(--muted) !important;
}

.hero-slogan i {
    background: var(--accent);
    box-shadow: none;
}

.btn,
.main-nav a,
.mobile-nav-menu summary,
.lang-menu summary,
.copy-email-btn,
.admin-actions a,
.admin-actions button,
.admin-modal-head button,
.rich-toolbar button,
.rich-toolbar select,
.rich-toolbar input[type="color"] {
    background: var(--soft);
    border-color: rgba(216, 222, 229, 0.9);
    box-shadow: 4px 4px 10px rgba(164, 174, 184, 0.2), -3px -3px 8px rgba(255, 255, 255, 0.44);
}

.btn:hover,
.mobile-nav-menu summary:hover,
.lang-menu summary:hover,
.copy-email-btn:hover,
.admin-actions a:hover,
.admin-modal-head button:hover,
.rich-toolbar button:hover {
    transform: translateY(0);
    box-shadow: 5px 5px 11px rgba(164, 174, 184, 0.22), -3px -3px 8px rgba(255, 255, 255, 0.44);
}

.btn:active,
.main-nav a:active,
.mobile-nav-menu summary:active,
.lang-menu summary:active,
.copy-email-btn:active,
.admin-actions a:active,
.admin-actions button:active,
.rich-toolbar button:active {
    transform: translateY(0);
    box-shadow: var(--neo-pressed);
}

.btn.primary,
.copy-email-btn.copied {
    color: #f8fbfc;
    background: linear-gradient(145deg, rgb(19, 44, 70), rgb(10, 24, 39));
    border-color: rgba(15, 35, 56, 0.24);
    box-shadow: 4px 4px 10px rgba(15, 35, 56, 0.16), -2px -2px 7px rgba(255, 255, 255, 0.38);
}

.btn.primary:hover {
    background: linear-gradient(145deg, rgb(15, 35, 56), rgb(7, 17, 28));
}

.section-kicker,
.service-card span,
.project-card span,
.services-list article span,
.category-card span,
.compact-values i,
.about-service-grid span {
    color: var(--accent);
}

.btn.ghost,
.btn.light {
    color: var(--primary-dark);
    background: var(--soft);
    border-color: rgba(216, 222, 229, 0.9);
}

.mobile-nav-menu div,
.lang-dropdown,
.service-card,
.values-grid article,
.project-card,
.contact-panel,
.contact-form,
.about-service-grid article,
.category-card,
.project-detail-content,
.project-detail-meta,
.empty-state,
.admin-panel,
.admin-stat-grid article,
.admin-login-card,
.admin-modal-panel,
.media-card {
    background: var(--soft);
    border: 1px solid rgba(216, 222, 229, 0.72);
    box-shadow: var(--shadow);
}

.hero-panel div {
    color: var(--ink);
    background: var(--soft);
    border: 1px solid rgba(216, 222, 229, 0.76);
    box-shadow: var(--shadow);
}

.hero-panel div::before {
    border-color: rgba(15, 35, 56, 0.28);
    box-shadow: inset 3px 3px 8px rgba(15, 35, 56, 0.12), inset -2px -2px 7px rgba(255, 255, 255, 0.38);
}

.hero-panel em,
.hero-panel span,
.hero-panel small {
    color: var(--muted);
}

.hero-panel strong {
    color: var(--primary-dark);
}

.about-service-grid i,
.category-card > i,
.status-pill,
.mobile-nav-menu a:hover,
.mobile-nav-menu a.active,
.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: #edf1f4;
    box-shadow: var(--neo-inset);
}

.category-card > i {
    color: #fff;
    background: var(--primary);
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
.rich-editor,
.quill-editor,
.media-thumb,
.project-image,
.project-detail-media {
    background: #e9eef2;
    border-color: rgba(216, 222, 229, 0.88);
    box-shadow: var(--neo-inset);
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: rgba(15, 35, 56, 0.34);
    box-shadow:
        var(--neo-inset),
        0 0 0 2px rgba(15, 35, 56, 0.08);
}

.admin-table th,
.admin-table td {
    border-bottom-color: rgba(216, 222, 229, 0.9);
}

.admin-alert {
    background: #e7f0ef;
    border-color: rgba(15, 35, 56, 0.14);
    box-shadow: var(--neo-inset);
}

.admin-alert.danger,
.admin-actions button {
    background: #f3e4e4;
    border-color: rgba(153, 27, 27, 0.12);
}

.admin-modal-backdrop {
    background: rgba(31, 41, 51, 0.38);
    backdrop-filter: blur(3px);
}

.hero {
    color: #f8fbfc;
    background: linear-gradient(135deg, rgb(15, 35, 56), rgb(10, 24, 39));
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../logo_seffaf.png") right 8% center / min(42vw, 520px) auto no-repeat;
    opacity: 0.08;
    filter: grayscale(1);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero .eyebrow {
    color: rgba(235, 89, 60, 0.92) !important;
}

.hero-copy h1,
.hero-slogan {
    color: #f8fbfc !important;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.76) !important;
}

.hero .btn.ghost {
    color: #f8fbfc;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.12), inset -2px -2px 6px rgba(255, 255, 255, 0.03);
}

.hero .hero-actions .btn {
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hero .btn.primary {
    background: rgba(237, 241, 244, 0.08);
    border-color: rgba(237, 241, 244, 0.14);
    box-shadow: 4px 4px 9px rgba(0, 0, 0, 0.22), -2px -2px 6px rgba(255, 255, 255, 0.025);
}

.hero .hero-actions .btn.primary:hover {
    color: #ffffff;
    background: rgba(237, 241, 244, 0.11);
    border-color: rgba(235, 89, 60, 0.44);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.24), -2px -2px 6px rgba(255, 255, 255, 0.03);
}

.hero .hero-actions .btn.ghost:hover {
    color: #ffffff;
    background: rgba(235, 89, 60, 0.16);
    border-color: rgba(235, 89, 60, 0.38);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.18), -2px -2px 6px rgba(255, 255, 255, 0.025);
}

.hero .hero-actions .btn:active {
    transform: translateY(1px);
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.18), inset -2px -2px 6px rgba(255, 255, 255, 0.025);
}

.hero-panel div {
    color: #f8fbfc;
    background: rgba(237, 241, 244, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.18), -2px -2px 7px rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-panel div::before {
    border-color: rgba(237, 241, 244, 0.28);
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.16), inset -2px -2px 6px rgba(255, 255, 255, 0.025);
    transition: border-color 0.2s ease, inset 0.2s ease, box-shadow 0.2s ease;
}

.hero-panel div:hover {
    transform: translateY(0);
    background: rgba(237, 241, 244, 0.13);
    border-color: rgba(235, 89, 60, 0.36);
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.18), inset -2px -2px 7px rgba(255, 255, 255, 0.03);
}

.hero-panel div:hover::before {
    inset: 10px;
    border-color: rgba(235, 89, 60, 0.64);
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.03);
}

.hero-panel div:hover strong {
    color: var(--accent);
    transform: scale(0.96);
}

.hero-panel em,
.hero-panel span,
.hero-panel small {
    color: rgba(255, 255, 255, 0.68);
}

.hero-panel strong {
    color: #f8fbfc;
    transition: color 0.2s ease, transform 0.2s ease;
}

.page-hero {
    padding: 34px 0;
    color: #f8fbfc;
    background: linear-gradient(135deg, rgb(15, 35, 56), rgb(10, 24, 39));
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.page-hero h1 {
    margin: 8px 0 10px;
    color: #f8fbfc;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 16px;
}

.page-hero .eyebrow,
.page-hero .section-kicker {
    color: rgba(235, 89, 60, 0.92);
}

.main-nav a.active,
.main-nav a.active:hover {
    transform: translateY(0);
    color: #f8fbfc;
    background: var(--primary);
    border-color: rgba(15, 35, 56, 0.34);
    box-shadow:
        inset 4px 4px 9px rgba(0, 0, 0, 0.18),
        inset -3px -3px 8px rgba(255, 255, 255, 0.05);
}

/* Project pages: soft gray / white neomorphic surface */
.project-categories-section,
.project-list-section {
    color: var(--ink);
    background:
        radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.76), transparent 34%),
        linear-gradient(145deg, var(--bgc-1), var(--bgc-2));
}

.project-list-section {
    background:
        radial-gradient(circle at 84% 8%, rgba(255, 255, 255, 0.82), transparent 34%),
        linear-gradient(145deg, #f8fafc, #e9eef2);
}

.project-categories-section .section-kicker,
.project-list-section .section-kicker,
.listing-heading .section-kicker {
    color: var(--accent);
}

.listing-heading {
    padding: 22px 24px;
    background: rgba(237, 241, 244, 0.9);
    border: 1px solid rgba(216, 222, 229, 0.78);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.listing-heading h2 {
    color: var(--primary);
}

.category-card,
.project-card,
.empty-state,
.project-detail-content,
.project-detail-meta {
    background: var(--soft);
    border-color: rgba(216, 222, 229, 0.78);
    box-shadow: var(--shadow);
}

.category-card:hover,
.public-project-card:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 16px rgba(164, 174, 184, 0.26), -4px -4px 12px rgba(255, 255, 255, 0.58);
}

.category-card:active,
.public-project-card:active {
    transform: translateY(0);
    box-shadow: var(--neo-pressed);
}

.category-card > i {
    width: 86px;
    height: 86px;
    color: var(--primary);
    background: #edf1f4;
    box-shadow: var(--neo-inset);
    font-size: 38px;
}

.project-image,
.project-detail-media {
    background: #e9eef2;
    box-shadow: var(--neo-inset);
}

.public-project-card {
    color: var(--ink);
}

.public-project-card h2,
.category-card h2,
.empty-state h2 {
    color: var(--primary);
}

.text-link {
    color: var(--accent);
}
