/* ========================================
   01) متغيرات عامة
======================================== */
:root {
    --bg: #f3f3f1;
    --surface: #ffffff;
    --surface-soft: #ededeb;
    --ink: #111111;
    --muted: #5f5f59;
    --line: rgba(17, 17, 17, 0.14);
    --line-strong: rgba(17, 17, 17, 0.24);
    --shadow: 0 20px 45px rgba(17, 17, 17, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1180px;
    --header-height: 96px;
    --footer-height: 62px;
    --accent: #cf7720;
    --accent-strong: #b96514;
    --accent-deep: #88440d;
    --accent-soft: rgba(207, 119, 32, 0.12);
    --accent-softer: rgba(207, 119, 32, 0.08);
    --accent-line: rgba(207, 119, 32, 0.24);
}

/* ========================================
   02) Reset + Base
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(17, 17, 17, 0.06), transparent 28%),
        linear-gradient(180deg, #fbfbfa 0%, #f1f1ef 100%);
    color: var(--ink);
    font-family: "Readex Pro", sans-serif;
    line-height: 1.8;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

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

/* ========================================
   03) Layout عام
======================================== */
.site-main {
    padding-top: calc(var(--header-height) + 1.4rem);
    padding-bottom: calc(var(--footer-height) + 3rem);
}

.page {
    padding-block: 1rem 3rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   04) الهيدر الحالي
======================================== */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.9);
}

.site-header--gray {
    background: linear-gradient(180deg, rgba(211, 122, 31, 0.98), rgba(191, 105, 21, 0.97));
    border-bottom: 1px solid rgba(121, 66, 16, 0.2);
    backdrop-filter: blur(14px);
}

.site-header--gray .brand__text strong {
    color: #ffffff;
}

.site-header--gray .site-nav a {
    color: rgba(255, 255, 255, 0.92);
}

.site-header--gray .site-nav a:hover,
.site-header--gray .site-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
}

.site-header--gray .nav-toggle {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.site-header--gray .nav-toggle span {
    background: #ffffff;
}

.site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand--no-logo {
    justify-content: flex-start;
}

.brand__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.brand__text strong {
    margin: 0;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1.24rem;
    font-weight: 800;
    color: #2f2f2f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--accent-strong);
    background: var(--accent-soft);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
    transition: 0.2s ease;
}

/* ========================================
   05) الفوتر الحالي
======================================== */
.site-footer {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(14px);
}

.site-footer .max-w-6xl {
    max-width: 72rem;
    margin: 0 auto;
}

.site-footer .mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.site-footer .px-4 {
    padding-right: 1rem;
    padding-left: 1rem;
}

.site-footer .py-6 {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.site-footer .text-center {
    text-align: center;
}

.site-footer__single-line {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #4f4f4a;
}

/* ========================================
   06) عناصر مشتركة
======================================== */
.button,
.button-ghost,
.inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.22s ease;
}

.button {
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
    color: #ffffff;
    border-color: transparent;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(185, 101, 20, 0.24);
}

.button-ghost {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.button-ghost:hover {
    background: rgba(207, 119, 32, 0.18);
}

.inline-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-strong);
}

.inline-link:hover {
    color: var(--accent-deep);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.92rem;
    color: var(--muted);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
}

.field textarea {
    min-height: 180px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 2px solid var(--accent-soft);
    border-color: var(--accent-line);
}

.flash-stack {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.flash {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
}

.flash--error {
    border-color: rgba(146, 21, 21, 0.18);
    background: rgba(146, 21, 21, 0.05);
}

.flash ul {
    margin: 0;
    padding-inline-start: 1rem;
}

.surface-panel {
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.page-hero {
    margin-bottom: 1.2rem;
    padding: 1.5rem;
    border: 1px solid rgba(207, 119, 32, 0.14);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 0 0 0.5rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.6;
    color: var(--accent-deep);
}

.page-hero p {
    margin: 0;
    color: var(--muted);
}

.pager {
    margin-top: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
}

.pager__links {
    display: flex;
    gap: 0.7rem;
}

.pager__links a,
.pager__links span {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
}

.pager__links span {
    color: #9a9a93;
}

/* ========================================
   07) صفحة الأنشطة والزيارات
======================================== */
.activities-page {
    display: grid;
    gap: 1.25rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.activity-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 320px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(185, 101, 20, 0.14);
    border-color: rgba(207, 119, 32, 0.2);
}

.activity-card__media {
    height: 190px;
    overflow: hidden;
    background: linear-gradient(145deg, #f3ebe2, #e8ddd2);
}

.activity-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1rem 1.15rem;
}

.activity-card__body h3 {
    margin: 0 0 0.55rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink);
}

.activity-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.95;
}

.activity-detail-page {
    display: grid;
    gap: 1.5rem;
}

.activity-detail-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.4rem 1.4rem 1.8rem;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
}

.activity-detail-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.activity-detail-header h1 {
    margin: 0;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.7;
    color: var(--accent-deep);
}

.activity-detail-excerpt {
    max-width: 720px;
    margin: 0.7rem auto 0;
    color: var(--muted);
    line-height: 2;
}

.activity-detail-cover {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 1.35rem;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #f0f0ec;
}

.activity-detail-cover img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    object-position: center;
}

.activity-detail-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 2.15;
    color: #2a2a2a;
    white-space: pre-line;
    text-align: right;
}

.activity-detail-section {
    max-width: 760px;
    margin: 1.5rem auto 0;
}

.activity-detail-section h2 {
    margin: 0 0 0.9rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1.12rem;
    color: var(--accent-deep);
}

.activity-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.activity-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #f2f2ef;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.activity-gallery__item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.22s ease;
}

.activity-gallery__item:hover img {
    transform: scale(1.03);
}

.activity-video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #000;
    padding-top: 56.25%;
}

.activity-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.activity-external-box {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.activity-related {
    display: grid;
    gap: 1rem;
}

.activity-related h2 {
    margin: 0;
    text-align: center;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1.25rem;
    color: var(--accent-deep);
}

/* ========================================
   08) السيرة الذاتية
======================================== */
.biography-page {
    max-width: 1080px;
    margin: 0 auto;
}

.biography-card {
    padding: 1.4rem;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
}

.biography-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.biography-tile {
    min-height: 132px;
    padding: 1rem 1rem 1.1rem;
    border-radius: 24px;
    border: 1px solid rgba(207, 119, 32, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 244, 238, 0.88));
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
}

.biography-tile--wide {
    grid-column: 1 / -1;
}

.biography-tile__label {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.82rem;
}

.biography-tile__value {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1rem;
    line-height: 2;
    color: var(--ink);
    white-space: pre-line;
}

/* ========================================
   09) تواصل معنا
======================================== */
.contact-page {
    max-width: 1120px;
    margin: 0 auto;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1.25rem;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    padding: 1.35rem;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.contact-page__head {
    margin-bottom: 1rem;
}

.contact-page__head h1,
.contact-page__head h2 {
    margin: 0 0 0.45rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1.45rem;
    line-height: 1.8;
    color: var(--accent-deep);
}

.contact-page__head p {
    margin: 0;
    color: var(--muted);
    line-height: 2;
}

.contact-page__tag {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.82rem;
}

.contact-info-list {
    display: grid;
    gap: 0.85rem;
}

.contact-info-item {
    padding: 1rem 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(207, 119, 32, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 238, 0.9));
}

.contact-info-item__label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.contact-info-item__value {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--ink);
    word-break: break-word;
}

.contact-socials {
    margin-top: 1rem;
}

.contact-socials h3 {
    margin: 0 0 0.8rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1rem;
    color: var(--accent-deep);
}

.contact-socials__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent-line);
    background: var(--accent-softer);
    color: var(--accent-strong);
    transition: 0.22s ease;
}

.social-pill:hover {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-deep);
}

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

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

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

/* ========================================
   10) الصفحة الرئيسية الحالية
======================================== */
.home-page {
    display: grid;
    gap: 1.5rem;
}

.home-hero {
    padding: 0.2rem 0 0.4rem;
}

.home-hero__card-unified {
    overflow: hidden;
    padding: 1rem;
    border-radius: 34px;
    border: 1px solid rgba(207, 119, 32, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.home-hero__grid--kirkuk {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1rem;
    align-items: stretch;
}

.home-hero__content--kirkuk,
.home-hero__visual--kirkuk {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.home-hero__content--kirkuk {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 2.25rem;
    text-align: center;
}

.home-hero__name {
    margin: 0;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(1.9rem, 2.5vw, 2.7rem);
    line-height: 1.45;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.home-hero__role {
    margin: 0.75rem 0 0;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    line-height: 1.8;
    color: var(--accent-deep);
}

.home-hero__image-wrap--kirkuk {
    height: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(145deg, #e8dbcf, #d8c3b0);
}

.home-hero__image-wrap--kirkuk img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center top;
}

.home-section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.82rem;
}

.home-section-card,
.home-wide-card {
    padding: 1.25rem;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.home-section-head {
    margin-bottom: 1rem;
}

.home-section-head h2 {
    margin: 0;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1.35rem;
    color: var(--accent-deep);
}

.home-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 310px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(185, 101, 20, 0.14);
    border-color: rgba(207, 119, 32, 0.2);
}

.home-post-card__media {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(145deg, #f3ebe2, #e6dbcf);
}

.home-post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-post-card__body {
    padding: 1rem;
}

.home-post-card__body h3 {
    margin: 0 0 0.45rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

.home-post-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.95;
}

.home-stack {
    display: grid;
    gap: 1rem;
}

.home-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-mini-grid {
    display: grid;
    gap: 0.8rem;
}

.home-mini-item {
    padding: 0.9rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(207, 119, 32, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 238, 0.9));
}

.home-mini-item span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.home-mini-item strong {
    display: block;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 0.94rem;
    line-height: 1.9;
    color: var(--ink);
    word-break: break-word;
}

.home-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.home-social-list--wide {
    gap: 0.75rem;
}

.home-social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent-line);
    background: var(--accent-softer);
    color: var(--accent-strong);
    transition: 0.22s ease;
}

.home-social-pill:hover {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-deep);
}

.home-empty-note {
    color: var(--muted);
    line-height: 1.9;
}

.home-contact-card__intro {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.9;
}

.home-wide-card--contact .home-contact-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    align-items: start;
}

.home-contact-summary {
    display: grid;
    gap: 0.9rem;
}

.home-contact-form-wrap .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-contact-form-wrap .field--full {
    grid-column: 1 / -1;
}

/* ========================================
   11) Responsive
======================================== */
@media (max-width: 1100px) {
    .home-card-grid,
    .activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .home-wide-card--contact .home-contact-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .site-nav {
        position: fixed;
        inset: calc(var(--header-height) + 0.8rem) 1rem auto 1rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    body.menu-open .site-nav {
        display: flex;
    }

    .site-nav a {
        width: 100%;
    }

    .site-header--gray .site-nav {
        background: rgba(255, 255, 255, 0.97);
        border-color: var(--line);
    }

    .site-header--gray .site-nav a {
        color: var(--muted);
    }

    .site-header--gray .site-nav a:hover,
    .site-header--gray .site-nav a.is-active {
        color: var(--accent-strong);
        background: var(--accent-soft);
    }

    .nav-toggle {
        display: block;
    }

    .contact-page__grid,
    .home-hero__grid--kirkuk {
        grid-template-columns: 1fr;
    }

    .home-hero__image-wrap--kirkuk,
    .home-hero__image-wrap--kirkuk img {
        min-height: 380px;
    }

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

@media (max-width: 900px) {
    .form-grid,
    .contact-form-card .form-grid,
    .home-contact-form-wrap .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 82px;
        --footer-height: 78px;
    }

    .container {
        width: min(calc(100% - 1rem), var(--container));
    }

    .brand__text strong {
        font-size: 1.02rem;
    }

    .home-card-grid,
    .activities-grid,
    .biography-grid,
    .activity-gallery,
    .home-strip-grid {
        grid-template-columns: 1fr;
    }

    .home-section-card,
    .home-wide-card,
    .contact-info-card,
    .contact-form-card,
    .biography-card,
    .activity-detail-card,
    .home-hero__card-unified {
        border-radius: 24px;
    }

    .home-hero__content--kirkuk {
        padding: 1.25rem;
    }

    .home-hero__name {
        white-space: normal;
        font-size: 1.85rem;
    }

    .home-hero__image-wrap--kirkuk,
    .home-hero__image-wrap--kirkuk img {
        min-height: 320px;
        border-radius: 20px;
    }

    .activity-detail-card {
        padding: 1rem 1rem 1.3rem;
    }

    .activity-detail-cover img {
        max-height: 280px;
    }

    .activity-gallery__item img {
        height: 220px;
    }

    .site-footer .py-6 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .site-footer__single-line {
        font-size: 0.84rem;
    }
}
