/* =========================================================
   ŠKOLA GRČKOG JEZIKA — STYLE.CSS (друга верзија)
   Заједнички за српску и грчку верзију.

   Палета:
   Deep Blue   #093B56   подножје, хероји, истакнуте површине
   Dark Blue   #0E4F73   наслови
   Main Blue   #1673A5   линкови, дугмад
   Sky Blue    #3B8FC4   акценти, фокус
   Light Blue  #E3F1F9   позадине секција
   Gold        #C8A951   акценат (линије, ознаке, дугме на тамном)
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --white: #FFFFFF;
    --background: #FFFFFF;
    --background-soft: #F2F8FC;
    --blue-light: #E3F1F9;
    --blue-sky: #3B8FC4;
    --blue-main: #1673A5;
    --blue-dark: #0E4F73;
    --blue-deep: #093B56;

    --text: #24343D;
    --text-muted: #566b77;

    --gold: #C8A951;
    --gold-light: #DCC272;
    --border: #D3E4EE;

    --shadow-soft: 0 2px 12px rgba(14, 79, 115, 0.08);
    --shadow-hover: 0 10px 28px rgba(14, 79, 115, 0.16);

    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 16px;

    --container-width: 1120px;
    --header-height: 68px;

    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;

    --transition: 0.25s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;
    padding: 0;

    background: var(--background);
    color: var(--text);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button {
    cursor: pointer;
}

a {
    color: var(--blue-main);
    text-decoration: none;
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

a:hover {
    color: var(--blue-dark);
}


/* =========================================================
   3. LAYOUT
   ========================================================= */

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

section {
    width: 100%;
}

.section {
    padding: 64px 0;
}

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

.section-blue-light {
    background: var(--blue-light);
}


/* =========================================================
   4. TYPOGRAPHY
   Напомена: претходна верзија је користила Georgia за цео
   текст и justify поравнање. Георгија је визуелно крупна, а
   justify ствара размаке у уским картицама. Сада је текст
   у системском sans фонту, а само наслови су Georgia.
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 14px;

    color: var(--blue-dark);

    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

h2 {
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
}

h3 {
    font-size: clamp(1.12rem, 1.5vw, 1.3rem);
}

h4 {
    font-size: 1.05rem;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
    text-align: left;
}

.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.text-blue   { color: var(--blue-main); }
.text-gold   { color: var(--gold); }


/* =========================================================
   5. SECTION TITLES
   ========================================================= */

.section-title {
    margin-bottom: 36px;
    text-align: center;
}

.section-title h1,
.section-title h2 {
    margin-bottom: 10px;
}

.section-title p {
    max-width: 640px;
    margin-inline: auto;
    color: var(--text-muted);
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;

    width: 56px;
    height: 3px;
    border-radius: 2px;

    margin: 18px auto 0;

    background: var(--gold);
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-main);
    font-size: 0.95rem;
    font-weight: 600;
}

.section-title .eyebrow {
    margin-bottom: 6px;
    text-align: center;
}

.lead {
    font-size: 1.12rem;
    color: var(--text-muted);
}

/* Централни уводни блок (грчка страница „Η σχολή") */
.statement {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.statement h2 {
    margin-bottom: 14px;
}

.statement p,
.statement .eyebrow {
    text-align: center;
}

.statement .lead {
    max-width: 640px;
    margin-inline: auto;
}


/* =========================================================
   6. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-top: 3px solid var(--gold);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}


/* =========================================================
   7. LOGO
   ========================================================= */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--blue-dark);

    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* Привремена ознака (слово Α) док се не дода прави лого.
   Нестаје аутоматски када у .logo уметнеш <img>. */
.logo::before {
    content: "\0391";

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: var(--blue-dark);
    color: var(--white);

    font-size: 1.05rem;
}

.logo:has(img)::before {
    display: none;
}

.logo:hover {
    color: var(--blue-main);
}

.logo img {
    width: auto;
    max-height: 44px;
}


/* =========================================================
   8. MAIN NAVIGATION
   ========================================================= */

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

.main-nav a {
    position: relative;

    padding: 7px 0;

    color: var(--text);

    font-size: 0.95rem;
    font-weight: 500;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--blue-main);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--blue-dark);
    font-weight: 600;
}


/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 7px;

    white-space: nowrap;

    font-size: 0.85rem;
}

.language-switcher a {
    color: var(--text-muted);
}

.language-switcher a:hover {
    color: var(--blue-main);
}

.language-switcher a.active {
    color: var(--blue-dark);
    font-weight: 700;
}

.language-switcher span {
    color: #9FBCCB;
}


/* =========================================================
   9. MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: var(--radius-small);

    background: var(--white);
    color: var(--blue-dark);

    font-size: 1.2rem;
}

.menu-toggle:hover {
    background: var(--blue-light);
    border-color: var(--blue-sky);
}


/* =========================================================
   10. HERO
   Тамна егејска плава површина са белим текстом.
   ========================================================= */

.hero {
    padding: 72px 0;

    background:
        radial-gradient(circle at 85% 15%, rgba(200, 169, 81, 0.18), transparent 45%),
        linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 60%, var(--blue-main) 100%);

    color: var(--white);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.hero-single {
    display: block;
}

.hero-content {
    max-width: 580px;
}

.hero h1,
.hero h2 {
    margin-bottom: 16px;
    color: var(--white);
}

.hero .eyebrow {
    color: var(--gold-light);
    font-size: 0.95rem;
}

.hero p {
    max-width: 540px;

    color: #D5E6EF;

    font-size: 1.08rem;
}

.hero-image {
    overflow: hidden;

    border-radius: var(--radius-large);

    background: var(--blue-light);

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* На страници „О школи" .hero-inner стоји у светлој секцији,
   па му не треба додатно бојење. */


/* =========================================================
   11. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 22px;

    border: 1px solid transparent;
    border-radius: var(--radius-small);

    font-size: 0.95rem;
    font-weight: 600;

    text-align: center;

    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

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

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

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);

    box-shadow: 0 6px 16px rgba(14, 79, 115, 0.22);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue-main);

    border-color: var(--blue-sky);
}

.btn-secondary:hover {
    background: var(--blue-light);
    color: var(--blue-dark);

    border-color: var(--blue-main);
}

.btn-gold {
    background: var(--gold);
    color: var(--blue-deep);
}

.btn-gold:hover {
    background: var(--gold-light);
    color: var(--blue-deep);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    margin-top: 24px;
}

/* Дугмад на тамној позадини (hero и истакнути блок) */
.hero .btn-primary,
.highlight .btn-primary {
    background: var(--gold);
    color: var(--blue-deep);
}

.hero .btn-primary:hover,
.highlight .btn-primary:hover {
    background: var(--gold-light);
    color: var(--blue-deep);
}

.hero .btn-secondary,
.highlight .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
}

.hero .btn-secondary:hover,
.highlight .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: var(--white);
}


/* =========================================================
   12. CARDS / GRID
   ========================================================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* 4 или више картица (курсеви): 2 × 2 уместо 3 + 1 сирочета */
.card-grid:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

/* тачно 2 картице (контакт): форма је нешто ширија */
.card-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.card {
    padding: 26px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-soft);

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.card:hover {
    border-color: var(--blue-sky);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card h2 {
    font-size: 1.4rem;
}

.card h3 {
    margin-bottom: 10px;
}

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

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 16px;

    border-radius: 50%;

    background: var(--blue-dark);
    color: var(--white);

    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;

    box-shadow: 0 0 0 4px var(--blue-light);
}


/* =========================================================
   13. COURSE CARDS
   ========================================================= */

.course-card {
    display: flex;
    flex-direction: column;

    padding: 26px;

    background: var(--white);

    border: 1px solid var(--border);
    border-top: 4px solid var(--blue-main);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-soft);

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.course-card:hover {
    border-top-color: var(--gold);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.course-card .level {
    align-self: flex-start;

    margin-bottom: 14px;
    padding: 3px 12px;

    border-radius: 20px;

    background: var(--blue-dark);
    color: var(--white);

    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* на страници „Курсеви" користи се h2, на почетној h3 —
   сада су исте величине */
.course-card h2,
.course-card h3 {
    margin-bottom: 10px;

    font-size: 1.3rem;
}

.course-card ul {
    margin: 4px 0 22px;
    padding: 0;

    list-style: none;
}

.course-card li {
    position: relative;

    margin-bottom: 7px;
    padding-left: 20px;
}

.course-card li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0.62em;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);
}

/* дугме/линк увек на дну картице */
.course-card > a {
    align-self: flex-start;

    margin-top: auto;

    font-weight: 600;
}


/* =========================================================
   14. HIGHLIGHT (истакнути блок / позив на акцију)
   ========================================================= */

.highlight {
    padding: 48px;

    border-radius: var(--radius-large);

    background: linear-gradient(135deg, var(--blue-deep), var(--blue-main));
    color: var(--white);

    box-shadow: var(--shadow-hover);
}

.highlight h2,
.highlight h3 {
    color: var(--white);
}

.highlight p {
    max-width: 640px;
    color: #DCEBF3;
}

/* светла варијанта кад се налази унутар картице (контакт) */
.card .highlight {
    margin-top: 24px;
    padding: 22px 24px;

    border-left: 4px solid var(--gold);
    border-radius: var(--radius-medium);

    background: var(--blue-light);
    color: var(--text);

    box-shadow: none;
}

.card .highlight h3 {
    color: var(--blue-dark);
    font-size: 1.1rem;
}

.card .highlight p {
    margin-bottom: 0;
    color: var(--text);
}


/* =========================================================
   15. QUOTE / CTA BOX
   ========================================================= */

.quote {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;

    background: var(--white);

    border-left: 5px solid var(--gold);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow-soft);

    text-align: left;
}

.quote h2 {
    margin-top: 0;
    color: var(--blue-dark);
}

.quote p {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.quote .button-group {
    margin-top: 0;
}

.quote cite {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.92rem;
}


/* =========================================================
   16. FORMS
   ========================================================= */

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;

    margin-bottom: 6px;

    color: var(--blue-dark);

    font-weight: 600;
    font-size: 0.95rem;
}

input,
textarea,
select {
    width: 100%;

    padding: 11px 13px;

    background: var(--white);
    color: var(--text);

    border: 1px solid #B9D0DD;
    border-radius: var(--radius-small);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue-main);

    box-shadow: 0 0 0 3px rgba(59, 143, 196, 0.25);
}

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

input::placeholder,
textarea::placeholder {
    color: #8AA0AC;
}

.form-status {
    margin: 14px 0 0;
    min-height: 1.4em;
    font-size: 0.95rem;
}

.form-status.success { color: #1B7A4B; }
.form-status.error   { color: #B3261E; }


/* =========================================================
   17. CONTENT / LINKS
   ========================================================= */

.content {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.card .content {
    max-width: none;
    margin: 0;
}

.content a {
    color: var(--blue-main);
    text-decoration: underline;
    text-decoration-color: rgba(22, 115, 165, 0.35);
    text-underline-offset: 3px;
}

.content a:hover {
    color: var(--blue-dark);
    text-decoration-color: var(--blue-dark);
}


/* =========================================================
   18. IMAGES
   ========================================================= */

.image-rounded {
    border-radius: var(--radius-medium);
}

.image-shadow {
    box-shadow: var(--shadow-soft);
}

.image-frame {
    padding: 7px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}


/* =========================================================
   19. DIVIDERS
   ========================================================= */

.divider {
    width: 100%;
    height: 1px;

    margin: 34px 0;

    background: var(--border);
}

.divider-gold {
    width: 50px;
    height: 3px;

    margin: 18px 0;

    background: var(--gold);
}


/* =========================================================
   20. FOOTER
   Тракица на врху је грчки мотив „меандар". Ако је не желиш,
   обриши правило .site-footer::before.
   ========================================================= */

.site-footer {
    position: relative;

    padding: 66px 0 22px;

    background: var(--blue-deep);
    color: #D8E8EF;
}

.site-footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 16px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cg fill='none' stroke='%23C8A951' stroke-width='2'%3E%3Cpath d='M0 14H2V2H22V14H24'/%3E%3Cpath d='M7 14V6H17V10'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;

    opacity: 0.55;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 42px;

    padding-bottom: 34px;
}

/* у српској верзији су наслови h3/h4, у грчкој h2/h3 —
   стил важи за обе */
.site-footer h2,
.site-footer h3,
.site-footer h4 {
    margin-bottom: 14px;

    color: var(--white);

    font-size: 1.05rem;
}

.footer-grid > div:first-child > h2,
.footer-grid > div:first-child > h3 {
    font-size: 1.2rem;
}

.site-footer p {
    color: #D8E8EF;
}

.site-footer a {
    color: #D8E8EF;
}

.site-footer a:hover {
    color: var(--gold-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-bottom {
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    color: #BBD0DA;

    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   21. SOCIAL LINKS
   ========================================================= */

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    color: var(--white);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: var(--gold-light);

    color: var(--gold-light);
}


/* =========================================================
   22. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid var(--blue-sky);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 9999;

    padding: 10px 16px;

    background: var(--blue-dark);
    color: var(--white);

    border-radius: var(--radius-small);
}

.skip-link:focus {
    top: 20px;
}


/* =========================================================
   23. RESPONSIVE — TABLET (до 900px)
   Мени са дугметом „☰" прелази већ овде (раније тек на 700px,
   због чега је заглавље на таблету било претрпано).
   ========================================================= */

/* Грчки називи у менију су дужи — на 900–1040px мало сужавамо размаке */
@media (max-width: 1040px) {

    .header-inner {
        gap: 16px;
    }

    .main-nav {
        gap: 18px;
    }
}


@media (max-width: 900px) {

    .container {
        width: min(100% - 32px, var(--container-width));
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 56px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        max-width: 700px;
    }

    /* заглавље: лого лево, језик + дугме десно */
    .header-inner {
        gap: 14px;
    }

    .logo {
        order: 1;
    }

    .language-switcher {
        order: 2;
        margin-left: auto;
    }

    .menu-toggle {
        order: 3;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 14px 18px;

        background: var(--white);

        border-bottom: 1px solid var(--border);

        box-shadow: 0 8px 20px rgba(14, 79, 115, 0.1);
    }

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

    .main-nav a {
        display: block;

        padding: 13px 12px;

        border-radius: var(--radius-small);
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: var(--blue-light);
        color: var(--blue-dark);
    }

    /* мрежа картица — сва правила имају исту специфичност као
       :has() изнад, иначе би она победила и на малим екранима */
    .card-grid,
    .card-grid:has(> :nth-child(4)) {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid:has(> :nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }

    /* непарна последња картица заузима цео ред */
    .card-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   24. RESPONSIVE — MOBILE (до 700px)
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, var(--container-width));
    }

    .section {
        padding: 48px 0;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-inner {
        gap: 28px;
    }

    .hero p {
        font-size: 1.02rem;
    }

    .card-grid,
    .card-grid:has(> :nth-child(4)),
    .card-grid:has(> :nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 22px;
    }

    .course-card {
        padding: 22px;
    }

    .highlight {
        padding: 34px 22px;
    }

    .card .highlight {
        padding: 20px;
    }

    .quote {
        padding: 28px 22px;
        border-left-width: 4px;
    }

    .button-group {
        align-items: stretch;
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .site-footer {
        padding-top: 58px;
    }
}


/* =========================================================
   25. VERY SMALL SCREENS (до 480px)
   Лого може да се пренесе у два реда, да се заглавље
   не би ширило изван екрана.
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: min(100% - 24px, var(--container-width));
    }

    .logo {
        min-width: 0;

        font-size: 1rem;
        white-space: normal;
    }

    .logo::before {
        display: none;
    }

    .language-switcher {
        font-size: 0.8rem;
        gap: 5px;
    }

    .header-inner {
        gap: 10px;
    }
}


/* =========================================================
   26. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   27. SPAM PROTECTION (HONEYPOT)
   ========================================================= */

input.hidden {
    display: none !important;
}
