/*=============================================================
PHAI SYNOD WEBSITE
CLEAN PUBLIC WEBSITE STYLESHEET
==============================================================*/


/*=============================================================
1. ROOT VARIABLES
==============================================================*/

:root {
    --body-start: #f5f7f9;
    --body-end: #dfe5eb;

    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --surface-soft: rgba(255, 255, 255, 0.36);

    --text: #20252c;
    --muted: #68717d;

    --primary: #5d6672;
    --primary-dark: #343b44;

    --border: rgba(255, 255, 255, 0.8);
    --soft-border: rgba(104, 113, 125, 0.16);

    --shadow:
        0 18px 55px rgba(43, 51, 61, 0.14);

    --button-shadow:
        0 10px 28px rgba(43, 51, 61, 0.11);

    --radius: 26px;
    --button-radius: 15px;

    --header-layer: 1100;
    --navbar-layer: 1000;
    --dropdown-layer: 100000;
}


/*=============================================================
2. DARK MODE
==============================================================*/

body.dark-mode {
    --body-start: #11151a;
    --body-end: #252c34;

    --surface: rgba(32, 38, 46, 0.78);
    --surface-strong: rgba(36, 43, 52, 0.97);
    --surface-soft: rgba(255, 255, 255, 0.04);

    --text: #f2f4f7;
    --muted: #bac1ca;

    --primary: #b6bec9;
    --primary-dark: #e6e9ed;

    --border: rgba(255, 255, 255, 0.12);
    --soft-border: rgba(255, 255, 255, 0.1);

    --shadow:
        0 18px 55px rgba(0, 0, 0, 0.32);

    --button-shadow:
        0 10px 28px rgba(0, 0, 0, 0.24);
}


/*=============================================================
3. RESET
==============================================================*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    overflow-x: hidden;

    font-family: Inter, Arial, sans-serif;
    color: var(--text);

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.94),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--body-start),
            var(--body-end)
        );
}

body.dark-mode {
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.05),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--body-start),
            var(--body-end)
        );
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}


/*=============================================================
4. PRELOADER
==============================================================*/

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999999;

    display: grid;
    place-items: center;

    background: #eef1f5;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#preloader .loader {
    text-align: center;
}

#preloader .loader img {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;

    object-fit: contain;
}

#preloader .loader p {
    margin: 0;

    color: #5d6672;
    font-weight: 600;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;

    border: 4px solid rgba(85, 94, 105, 0.18);
    border-top-color: #5d6672;
    border-radius: 50%;

    animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}


/*=============================================================
5. TOP BAR
==============================================================*/

.top-bar {
    position: relative;
    z-index: calc(var(--header-layer) + 10);

    padding: 9px 3%;

    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.5);

    font-size: 13px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dark-mode .top-bar {
    background: rgba(22, 27, 33, 0.78);
}

.top-bar-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 20px;
}

.top-bar-motto,
.top-bar-contact,
.top-bar-social {
    display: flex;
    align-items: center;

    gap: 10px;
}

.top-bar-contact {
    justify-content: center;
}

.top-bar-social {
    justify-content: flex-end;
}

.top-bar-contact a {
    display: inline-flex;
    align-items: center;

    gap: 7px;
}

.top-bar-social a {
    width: 30px;
    height: 30px;

    display: inline-grid;
    place-items: center;

    border-radius: 9px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.top-bar-social a:hover {
    transform: translateY(-2px);

    background: rgba(104, 113, 125, 0.12);
}


/*=============================================================
6. MAIN HEADER
==============================================================*/

.main-header {
    position: relative;
    z-index: var(--header-layer);

    padding: 14px 3%;

    overflow: visible;
}

.main-header .container-fluid {
    padding: 0;

    overflow: visible;
}

.header-glass {
    position: relative;
    z-index: calc(var(--header-layer) + 1);

    padding: 20px 28px;

    border: 1px solid var(--border);
    border-radius: 30px;

    background: var(--surface);
    box-shadow: var(--shadow);

    overflow: visible;

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}


/*=============================================================
7. HEADER MAIN ROW
==============================================================*/

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    gap: 30px;
}


/*=============================================================
8. WEBSITE BRAND
==============================================================*/

.site-brand {
    display: flex;
    flex: 1 1 auto;
    align-items: center;

    min-width: 0;

    gap: 17px;
}

.site-logo {
    width: 86px;
    height: 86px;

    flex: 0 0 86px;

    object-fit: contain;
}

.site-brand-text {
    min-width: 0;
}

.site-brand-text h1 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 700;
    line-height: 1.02;

    white-space: nowrap;
}

.site-brand-text p {
    margin: 7px 0 4px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.25;
}

.site-brand-text small {
    display: block;

    color: var(--muted);

    font-size: 14px;
}


/*=============================================================
9. DESKTOP HEADER CONTROLS
==============================================================*/

.desktop-header-controls {
    position: relative;
    z-index: calc(var(--header-layer) + 20);

    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: nowrap;

    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    min-width: max-content;

    white-space: nowrap;
    overflow: visible;
}

.desktop-header-controls > * {
    flex-shrink: 0;

    margin: 0;
}


/*=============================================================
10. HEADER ICON BUTTON
==============================================================*/

.header-icon-button {
    width: 48px;
    min-width: 48px;
    max-width: 48px;

    height: 48px;
    min-height: 48px;
    max-height: 48px;

    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 1px solid var(--border);
    border-radius: var(--button-radius);

    background: var(--surface-strong);
    color: var(--text);

    box-shadow: var(--button-shadow);

    font-size: 18px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.header-icon-button:hover,
.header-icon-button:focus {
    transform: translateY(-2px);

    background: #ffffff;
    color: #20252c;

    box-shadow:
        0 14px 32px rgba(43, 51, 61, 0.17);
}

.dark-mode .header-icon-button {
    background: rgba(36, 43, 52, 0.98);
    color: #f2f4f7;
}

.dark-mode .header-icon-button:hover,
.dark-mode .header-icon-button:focus {
    background: #353e49;
    color: #ffffff;
}


/*=============================================================
11. DESKTOP LANGUAGE BUTTON
==============================================================*/

.desktop-language-dropdown {
    position: relative;
    z-index: calc(var(--header-layer) + 30);

    width: 106px;
    min-width: 106px;
    max-width: 106px;

    height: 48px;

    flex: 0 0 106px;

    overflow: visible;
}

.header-language-button {
    width: 106px;
    min-width: 106px;
    max-width: 106px;

    height: 48px;
    min-height: 48px;
    max-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0;
    padding: 0 13px;

    border: 1px solid var(--border);
    border-radius: var(--button-radius);

    background: var(--surface-strong);
    color: var(--text);

    box-shadow: var(--button-shadow);

    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.header-language-button:hover,
.header-language-button:focus {
    transform: translateY(-2px);

    background: #ffffff;
    color: #20252c;

    box-shadow:
        0 14px 32px rgba(43, 51, 61, 0.17);
}

.header-language-button::after {
    margin-left: 2px;
}

.dark-mode .header-language-button {
    background: rgba(36, 43, 52, 0.98);
    color: #f2f4f7;
}

.dark-mode .header-language-button:hover,
.dark-mode .header-language-button:focus {
    background: #353e49;
    color: #ffffff;
}


/*=============================================================
12. LANGUAGE DROPDOWN MENUS
==============================================================*/

.language-dropdown-menu,
.mobile-language-menu {
    z-index: var(--dropdown-layer) !important;

    min-width: 205px;

    margin-top: 10px !important;
    padding: 9px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.99);

    box-shadow:
        0 24px 60px rgba(31, 41, 55, 0.25);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.language-dropdown-menu .dropdown-item,
.mobile-language-menu .dropdown-item {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 12px 13px;

    border-radius: 11px;

    color: #252b33;
    font-weight: 600;
}

.language-dropdown-menu .dropdown-item:hover,
.language-dropdown-menu .dropdown-item:focus,
.mobile-language-menu .dropdown-item:hover,
.mobile-language-menu .dropdown-item:focus {
    background: rgba(93, 102, 114, 0.12);
    color: #20252c;
}

.language-dropdown-menu .dropdown-item.active,
.mobile-language-menu .dropdown-item.active {
    background: #5d6672;
    color: #ffffff;
}

.language-symbol {
    display: inline-flex;
    justify-content: center;

    width: 26px;

    font-size: 18px;
}

.dark-mode .language-dropdown-menu,
.dark-mode .mobile-language-menu {
    border-color: rgba(255, 255, 255, 0.12);

    background: rgba(32, 38, 46, 0.99);
}

.dark-mode .language-dropdown-menu .dropdown-item,
.dark-mode .mobile-language-menu .dropdown-item {
    color: #f2f4f7;
}

.dark-mode .language-dropdown-menu .dropdown-item:hover,
.dark-mode .language-dropdown-menu .dropdown-item:focus,
.dark-mode .mobile-language-menu .dropdown-item:hover,
.dark-mode .mobile-language-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dark-mode .language-dropdown-menu .dropdown-item.active,
.dark-mode .mobile-language-menu .dropdown-item.active {
    background: #b6bec9;
    color: #20252c;
}


/*=============================================================
13. MOBILE HEADER CONTROLS
==============================================================*/

.mobile-header-controls {
    display: none;
}

.mobile-header-button {
    width: 100%;
    min-width: 0;
    min-height: 54px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    margin: 0;
    padding: 7px 4px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--surface-strong);
    color: var(--text);

    box-shadow: var(--button-shadow);

    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;

    cursor: pointer;
}

.mobile-header-button i {
    font-size: 17px;
}

.mobile-header-button::after {
    display: none;
}

.mobile-language-dropdown {
    position: relative;
    z-index: calc(var(--header-layer) + 40);

    width: 100%;
    min-width: 0;

    overflow: visible;
}

.mobile-language-dropdown .mobile-header-button {
    width: 100%;
}

.mobile-language-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;

    width: 220px !important;

    margin: 0 !important;

    transform: none !important;
}

.dark-mode .mobile-header-button {
    background: rgba(36, 43, 52, 0.98);
    color: #f2f4f7;
}


/*=============================================================
14. NAVBAR
==============================================================*/

.navbar-glass {
    position: sticky;
    top: 0;
    z-index: var(--navbar-layer) !important;

    margin: 0 3%;
    padding: 8px 16px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.84);

    box-shadow: var(--shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-glass.sticky-top {
    z-index: var(--navbar-layer) !important;
}

.dark-mode .navbar-glass {
    background: rgba(26, 31, 38, 0.92);
}

.navbar-nav .nav-link {
    padding: 12px 13px !important;

    border-radius: 12px;

    font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background: rgba(113, 122, 134, 0.12);
}

.navbar-toggler {
    border: 1px solid var(--border);

    color: var(--text);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-glass .dropdown-menu {
    z-index: 10000;

    padding: 10px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--surface-strong);

    box-shadow: var(--shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-glass .dropdown-item {
    padding: 9px 12px;

    border-radius: 10px;
}

.mobile-logo {
    width: 34px;
    height: 34px;

    margin-right: 8px;
}


/*=============================================================
15. SHARED GLASS CARDS
==============================================================*/

.glass-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    box-shadow: var(--shadow);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.shadow-glass {
    box-shadow: var(--shadow);
}


/*=============================================================
16. HERO SLIDER
==============================================================*/

.hero-slider {
    margin-top: 18px;
}

.hero-slide {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20, 25, 31, 0.84),
            rgba(20, 25, 31, 0.24)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;

    padding: 80px 0;

    color: #ffffff;
}

.hero-tag {
    display: inline-block;

    margin-bottom: 14px;
    padding: 7px 14px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-content h1 {
    margin: 0 0 12px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 700;
    line-height: 0.95;
}

.hero-content h2 {
    font-size: clamp(22px, 3vw, 36px);
}

.hero-content p {
    max-width: 640px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 18px;
}


/*=============================================================
17. BUTTONS
==============================================================*/

.btn-glass,
.btn-light {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 5px 5px 5px 0;
    padding: 11px 20px;

    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.23);
    color: inherit;

    font-weight: 700;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-glass:hover,
.btn-light:hover {
    transform: translateY(-2px);
}


/*=============================================================
18. SECTIONS
==============================================================*/

.section {
    padding: 80px 0;
}

.soft-section {
    background: var(--surface-soft);
}

.section-title {
    max-width: 760px;

    margin: 0 auto 42px;

    text-align: center;
}

.section-title h2,
.section-heading-row h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
}

.section-title p,
.section-heading-row p {
    color: var(--muted);
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 36px;
}


/*=============================================================
19. CONTENT ELEMENTS
==============================================================*/

.leader-photo {
    width: 170px;
    height: 170px;

    object-fit: cover;

    border-radius: 50%;

    box-shadow: var(--shadow);
}

.news-date {
    margin-bottom: 10px;

    color: var(--muted);

    font-size: 14px;
}

.department-icon {
    width: 66px;
    height: 66px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    border-radius: 20px;

    background: rgba(110, 120, 132, 0.14);

    font-size: 28px;
}

.gallery-image {
    width: 100%;
    height: 270px;

    object-fit: cover;

    border-radius: 20px;

    box-shadow: var(--shadow);

    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}


/*=============================================================
20. NEWSLETTER AND FOOTER
==============================================================*/
/* =========================================================
NEWSLETTER
========================================================= */

.newsletter-section{
    padding:40px 0 20px;
}


/* =========================================================
COMPACT FOOTER
========================================================= */

.compact-footer{
    padding:20px 0 40px;
}

.compact-footer-card{

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:24px;

    padding:30px 25px;

    text-align:center;
}

.footer-main-row{

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    gap:18px;
}

.compact-footer-links{

    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;

    gap:14px 24px;
}

.compact-footer-links a{

    color:inherit;
    text-decoration:none;

    font-weight:500;

    transition:.25s;
}

.compact-footer-links a:hover{

    color:var(--bs-primary);
    opacity:1;
}

.footer-contact{

    display:flex;

    justify-content:center;
    align-items:center;

    flex-wrap:wrap;

    gap:14px 30px;
}

.footer-contact a{

    display:flex;
    align-items:center;

    gap:8px;

    color:inherit;
    text-decoration:none;

    transition:.25s;
}

.footer-contact a:hover{

    color:var(--bs-primary);
}

.footer-contact i{

    font-size:16px;
}

.footer-bottom-row{

    margin-top:22px;
    padding-top:18px;

    border-top:1px solid rgba(255,255,255,.12);

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    gap:8px;

    text-align:center;
}

.footer-credit a{

    text-decoration:none;
    font-weight:700;
}

.footer-credit a:hover{

    color:var(--bs-primary);
}


/* =========================================================
SOCIAL ICONS
========================================================= */

.footer-social{

    display:flex;
    justify-content:center;
    gap:12px;
}

.footer-social a{

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    background:rgba(255,255,255,.08);

    transition:.25s;
}

.footer-social a:hover{

    background:var(--bs-primary);
    color:#fff;

    transform:translateY(-3px);
}


/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width:768px){

    .compact-footer{

        padding:15px 0 30px;
    }

    .compact-footer-card{

        padding:25px 18px;
    }

    .compact-footer-links{

        gap:12px 16px;
    }

    .footer-contact{

        flex-direction:column;
        gap:10px;
    }

    .footer-bottom-row{

        font-size:14px;
    }

}

/*=============================================================
21. BACK TO TOP
==============================================================*/

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;

    width: 46px;
    height: 46px;

    border: 0;
    border-radius: 14px;

    background: #4f5863;
    color: #ffffff;

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.back-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/*=============================================================
22. SEARCH MODAL
==============================================================*/

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: grid;
    place-items: center;

    padding: 20px;

    background: rgba(17, 24, 39, 0.72);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.search-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-dialog {
    position: relative;

    width: min(680px, 100%);

    padding: 36px;

    border: 1px solid var(--border);
    border-radius: 26px;

    background: var(--surface-strong);

    box-shadow: var(--shadow);
}

.search-dialog h2 {
    margin: 0 0 8px;

    font-family: "Playfair Display", Georgia, serif;
}

.search-dialog p {
    margin-bottom: 24px;

    color: var(--muted);
}

.search-close-button {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 12px;

    background: rgba(104, 113, 125, 0.1);
    color: var(--text);

    font-size: 20px;
}

.search-input-group .form-control {
    min-height: 52px;

    border-color: var(--soft-border);
}

.search-submit-button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    background: var(--primary);
    color: #ffffff;
}

.search-submit-button:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

body.search-open {
    overflow: hidden;
}


/*=============================================================
23. SIDEBAR
==============================================================*/

.sidebar {
    position: sticky;
    top: 95px;
}

.sidebar-widget {
    margin-bottom: 22px;
}

.sidebar-menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.sidebar-menu li + li {
    border-top: 1px solid var(--soft-border);
}

.sidebar-menu a {
    display: block;

    padding: 10px 0;
}


/*=============================================================
24. TABLET
==============================================================*/

@media (min-width: 768px) and (max-width: 1199.98px) {

    .header-glass {
        padding: 17px 19px;
    }

    .header-main-row {
        gap: 16px;
    }

    .site-logo {
        width: 68px;
        height: 68px;

        flex-basis: 68px;
    }

    .site-brand {
        gap: 12px;
    }

    .site-brand-text h1 {
        font-size: 32px;
    }

    .site-brand-text p {
        font-size: 13px;
    }

    .site-brand-text small {
        font-size: 11px;
    }

    .desktop-header-controls {
        gap: 7px;
    }

    .header-icon-button {
        width: 42px;
        min-width: 42px;
        max-width: 42px;

        height: 42px;
        min-height: 42px;
        max-height: 42px;

        flex-basis: 42px;
    }

    .desktop-language-dropdown {
        width: 88px;
        min-width: 88px;
        max-width: 88px;

        height: 42px;

        flex-basis: 88px;
    }

    .header-language-button {
        width: 88px;
        min-width: 88px;
        max-width: 88px;

        height: 42px;
        min-height: 42px;
        max-height: 42px;

        padding: 0 9px;

        font-size: 14px;
    }

    .navbar-glass {
        margin-right: 16px;
        margin-left: 16px;
    }

    .navbar-collapse {
        padding-top: 12px;
    }
}


/*=============================================================
25. MOBILE
==============================================================*/

@media (max-width: 767.98px) {

    .top-bar {
        display: none;
    }

    .main-header {
        z-index: 1200;

        padding: 10px;
    }

    .header-glass {
        padding: 12px;

        border-radius: 20px;
    }

    .header-main-row {
        display: block;
    }

    .site-brand {
        width: 100%;

        gap: 12px;
    }

    .site-logo {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }

    .site-brand-text h1 {
        font-size: 25px;

        white-space: normal;
    }

    .site-brand-text p {
        display: block;

        max-width: 235px;

        margin: 3px 0 0;

        overflow: hidden;

        font-size: 11px;
        line-height: 1.3;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-brand-text small {
        display: none;
    }

    .desktop-header-controls {
        display: none;
    }

    .mobile-header-controls {
        position: relative;
        z-index: 1220;

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 7px;

        width: 100%;

        margin-top: 12px;
        padding-top: 11px;

        border-top: 1px solid var(--soft-border);

        overflow: visible;
    }

    .mobile-language-menu {
        width: min(
            220px,
            calc(100vw - 24px)
        ) !important;
    }

    .navbar-glass {
        z-index: 1000 !important;

        margin: 0 10px;

        border-radius: 17px;
    }

    .hero-slider {
        margin-top: 12px;
    }

    .hero-slide {
        min-height: 560px;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: clamp(46px, 16vw, 72px);
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .glass-card {
        padding: 22px;
    }

    .gallery-image {
        height: 230px;
    }
}


/*=============================================================
26. VERY SMALL MOBILE
==============================================================*/

@media (max-width: 389.98px) {

    .main-header {
        padding: 8px;
    }

    .header-glass {
        padding: 10px;
    }

    .site-brand {
        gap: 9px;
    }

    .site-logo {
        width: 51px;
        height: 51px;

        flex-basis: 51px;
    }

    .site-brand-text h1 {
        font-size: 22px;
    }

    .site-brand-text p {
        max-width: 185px;

        font-size: 10px;
    }

    .mobile-header-controls {
        gap: 5px;
    }

    .mobile-header-button {
        min-height: 48px;

        padding: 6px 2px;

        font-size: 10px;
    }

    .mobile-header-button i {
        font-size: 15px;
    }

    .mobile-language-menu {
        width: calc(100vw - 20px) !important;
    }

    .hero-slide {
        min-height: 510px;
    }
}
/*=============================================================
COMPACT NEWSLETTER
==============================================================*/

.compact-newsletter {
    padding: 28px 0 10px;
}

.compact-newsletter-card {
    padding: 18px 22px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);

    box-shadow: var(--shadow);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.compact-newsletter-card h3 {
    margin: 0 0 5px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
}

.compact-newsletter-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}

.newsletter-form .form-control {
    min-height: 46px;

    border: 1px solid var(--soft-border);
    border-radius: 13px 0 0 13px;

    background: var(--surface-strong);
    color: var(--text);
}

.newsletter-form .form-control::placeholder {
    color: var(--muted);
}

.newsletter-form .form-control:focus {
    border-color: rgba(93, 102, 114, 0.4);

    background: var(--surface-strong);
    color: var(--text);

    box-shadow: none;
}

.newsletter-submit {
    min-height: 46px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 0 17px;

    border: 0;
    border-radius: 0 13px 13px 0;

    background: var(--primary);
    color: #ffffff;

    font-weight: 700;
}

.newsletter-submit:hover,
.newsletter-submit:focus {
    background: var(--primary-dark);
    color: #ffffff;
}


/*=============================================================
COMPACT FOOTER
==============================================================*/

.compact-footer {
    padding: 10px 0 28px;
}

.compact-footer-card {
    padding: 20px 24px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--surface);

    box-shadow: var(--shadow);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.footer-main-row {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.2fr)
        auto
        minmax(250px, 1fr);

    align-items: center;

    gap: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 13px;
}

.compact-footer-logo {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    object-fit: contain;
}

.footer-brand h3 {
    margin: 0 0 3px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    font-weight: 700;
}

.footer-brand p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.4;
}

.compact-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px 16px;
}

.compact-footer-links a {
    color: var(--muted);

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.compact-footer-links a:hover {
    transform: translateY(-1px);

    color: var(--text);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 7px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    max-width: 100%;

    color: var(--muted);

    font-size: 13px;
}

.footer-contact a:hover {
    color: var(--text);
}

.footer-contact span {
    overflow-wrap: anywhere;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid var(--soft-border);

    color: var(--muted);

    font-size: 12px;
}

.footer-credit {
    text-align: right;
}

.footer-credit a:hover {
    color: var(--text);
}


/*=============================================================
COMPACT FOOTER DARK MODE
==============================================================*/

.dark-mode .compact-newsletter-card,
.dark-mode .compact-footer-card {
    background: var(--surface);
}

.dark-mode .newsletter-submit {
    background: #697482;
    color: #ffffff;
}

.dark-mode .newsletter-submit:hover {
    background: #85909d;
}


/*=============================================================
COMPACT FOOTER TABLET
==============================================================*/

@media (max-width: 991.98px) {

    .footer-main-row {
        grid-template-columns: 1fr 1fr;
    }

    .compact-footer-links {
        justify-content: flex-end;
    }

    .footer-contact {
        grid-column: 1 / -1;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        padding-top: 13px;

        border-top: 1px solid var(--soft-border);
    }
}


/*=============================================================
COMPACT FOOTER MOBILE
==============================================================*/

@media (max-width: 767.98px) {

    .compact-newsletter {
        padding: 20px 10px 8px;
    }

    .compact-newsletter-card {
        padding: 16px;
    }

    .compact-newsletter-card h3 {
        font-size: 19px;
    }

    .compact-newsletter-card p {
        font-size: 12px;
    }

    .newsletter-submit span {
        display: none;
    }

    .newsletter-submit {
        width: 48px;

        justify-content: center;

        padding: 0;
    }

    .compact-footer {
        padding: 8px 10px 22px;
    }

    .compact-footer-card {
        padding: 17px;
    }

    .footer-main-row {
        display: block;
    }

    .footer-brand {
        justify-content: center;

        text-align: center;
    }

    .compact-footer-logo {
        width: 52px;
        height: 52px;

        flex-basis: 52px;
    }

    .footer-brand h3 {
        font-size: 19px;
    }

    .compact-footer-links {
        justify-content: center;

        margin-top: 16px;
        padding-top: 14px;

        border-top: 1px solid var(--soft-border);
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 8px;

        margin-top: 14px;
        padding-top: 14px;

        border-top: 1px solid var(--soft-border);
    }

    .footer-bottom-row {
        flex-direction: column;

        gap: 7px;

        text-align: center;
    }

    .footer-credit {
        text-align: center;
    }
}