/* ═══════════════════════════════════════════════════════════ */
/*  DESIGN TOKENS                                             */
/* ═══════════════════════════════════════════════════════════ */
:root {
    --color-primary: #1e2d58;
    --color-primary-dark: #111e3d;
    --color-primary-light: #2a4278;
    --color-accent: #c9a96e;
    --color-accent-hover: #b8963d;
    --color-bg: #f5f4f0;
    --color-bg-alt: #eae8e3;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --color-white: #ffffff;

    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-elegant: 'Cormorant Garamond', 'Georgia', serif;

    --header-height: 80px;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════ */
/*  RESET & BASE                                              */
/* ═══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}


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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════ */
/*  UTILITY                                                   */
/* ═══════════════════════════════════════════════════════════ */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}


.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-title--center {
    text-align: center;
}

.section-title--light {
    color: var(--color-white);
}

.section-intro {
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    font-family: var(--font-elegant);
    font-style: italic;
    letter-spacing: 0.3px;
    line-height: 1.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

/* ═══════════════════════════════════════════════════════════ */
/*  HEADER                                                    */
/* ═══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-primary);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    color: var(--color-white);
    flex-shrink: 0;
    /* No extra margins — the image itself blends seamlessly */
}

.header-logo-img {
    height: 56px;         /* Wide banner image looks great at this height */
    width: auto;
    display: block;
    object-fit: contain;
    /* The image background exactly matches the header navy, so no box visible */
}

.logo-main {
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 1.6vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list a {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: capitalize;
    transition: color var(--transition);
}

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

.nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 22px;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 2px;
    margin-left: 16px;
    flex-shrink: 0;
}

.lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.lang-flag {
    font-size: 1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════ */
/*  HERO                                                      */
/* ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: 200px 0 60px; /* Reduced bottom padding so it stops just below the button */
    display: flex;
    align-items: center;
    background: url('images/Bakgrunds_bild_for_hjalp.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 46, 91, 0.88) 0%,
            rgba(17, 30, 61, 0.80) 50%,
            rgba(26, 46, 91, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: var(--header-height);
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 40px;
    max-width: 700px;
}

/* Side icons on hero */
.hero-side-icons {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-side-icons::before {
    content: '';
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
}

.side-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.side-icon:hover {
    color: var(--color-white);
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════════════════════════════════ */
/*  GROUP PHOTO BANNER                                        */
/* ═══════════════════════════════════════════════════════════ */
.group-photo-section {
    background: var(--color-bg);
    padding: 80px 0 20px;
}

.group-photo-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
}

.group-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════════════════════════ */
/*  ABOUT                                                     */
/* ═══════════════════════════════════════════════════════════ */
.about {
    background: var(--color-bg);
    padding: 0 !important;   /* Override .section padding — split fills edge to edge */
}

/* Side-by-side: welcome box left, group photo right */
.about-split {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    align-items: stretch;
    height: 520px;          /* Fixed height so photo never zooms when language switches */
    max-width: 1300px;
    margin: 0 auto;
    width: 95%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.about-photo {
    overflow: hidden;
    order: 2;
    /* No border-radius so it sits flush with the box */
}

.about-photo img {
    width: 100%;
    height: 100%;           /* Fill the full height of the column */
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.6s ease;
}

.about-photo:hover img {
    transform: scale(1.02);
}

.welcome-box {
    background-color: var(--color-white);
    padding: 50px 8%;           /* Reduced vertical padding from 80px to make the box smaller in height */
    border-left: 4px solid var(--color-accent);
    box-shadow: 4px 0 24px rgba(0,0,0,0.06);
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;           /* Stop text from stretching too wide */
    justify-self: end;          /* Push it to the right edge of its column */
    overflow: hidden;           /* Prevent text overflow from changing container height */
}

.welcome-box .section-title {
    margin-bottom: 20px;
    font-size: 1.5rem;      /* Slightly smaller title so it fits within the fixed-height box */
    letter-spacing: 2px;
    color: var(--color-primary); /* Navy blue to match the site's primary color */
}

.about-content p {
    margin-bottom: 14px;
    font-family: var(--font-elegant);
    font-size: 0.92rem;     /* Reduced from 1.1rem so all three paragraphs fit in the fixed-height box */
    color: var(--color-text-light);
    line-height: 1.72;
    letter-spacing: 0.2px;
}

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

/* ═══════════════════════════════════════════════════════════ */
/*  PRACTICE AREAS — ACCORDION                                */
/* ═══════════════════════════════════════════════════════════ */
.practice-areas {
    background: var(--color-bg-alt);
}

.accordion-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-item {
    background: var(--color-white);
    border: 1px solid rgba(26, 46, 91, 0.08);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(24px);
}

.accordion-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.accordion-item:hover {
    border-color: rgba(26, 46, 91, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition);
}

.accordion-header:hover {
    background: rgba(26, 46, 91, 0.02);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.accordion-header .area-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.accordion-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    font-weight: 700;
    margin: 0;
}

.accordion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.accordion-item.open .accordion-body {
    max-height: 2000px;
    padding: 0 28px 24px;
}

.accordion-body p {
    font-family: var(--font-elegant);
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 12px;
    padding-left: 46px;
    letter-spacing: 0.2px;
}

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

/* ═══════════════════════════════════════════════════════════ */
/*  TEAM                                                      */
/* ═══════════════════════════════════════════════════════════ */
.team {
    background: var(--color-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--color-white);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(24px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: #ccc;
}

.team-card.visible:hover {
    transform: translateY(-4px);
}

.team-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Individual adjustments to match Sabrina's zoom level */
.team-img-kostandina {
    object-position: center 25%;
    transform: scale(1.5);
}
.team-card:hover .team-img-kostandina {
    transform: scale(1.54);
}

.team-img-sabrina {
    object-position: center 0%;
    transform-origin: center 80%;
    transform: scale(1.2);
}
.team-card:hover .team-img-sabrina {
    transform: scale(1.23);
}

.team-img-negar {
    object-position: center 100%;
    transform-origin: center 80%;
    transform: scale(1.3);
}
.team-card:hover .team-img-negar {
    transform: scale(1.33);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--color-primary);
    padding: 20px 24px 4px;
}

.team-role {
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    padding: 0 24px 24px;
}

/* ═══════════════════════════════════════════════════════════ */
/*  CONTACT                                                   */
/* ═══════════════════════════════════════════════════════════ */


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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-desc {
    font-family: 'Georgia', serif;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Georgia', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-white); /* Since the background is dark primary */
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid transparent;
    outline: none;
    transition: border-color var(--transition);
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    font-size: 0.9rem;
    pointer-events: none;
    transition: all var(--transition);
}

.form-group textarea~label {
    top: 18px;
    transform: none;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label {
    top: 6px;
    transform: none;
    font-size: 0.7rem;
    color: var(--color-accent);
}

.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: 4px;
    font-size: 0.7rem;
    color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #d64545;
}

.btn-submit {
    align-self: flex-start;
}

.form-success {
    color: var(--color-accent);
    font-size: 0.9rem;
    min-height: 1.5em;
    opacity: 0;
    transition: opacity var(--transition);
}

.form-success.show {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════ */
/*  FOOTER                                                    */
/* ═══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--color-primary);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

/* Footer logo — seamlessly blends into footer background */
.footer-logo-wrap {
    width: 200px;
    height: auto;
    margin-bottom: 8px;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    border-radius: 4px;
    transition: opacity var(--transition);
}

.footer-logo-wrap:hover .footer-logo-img {
    opacity: 1;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-white);
}

.footer-contact-info {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Georgia', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 4px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.social-link:hover {
    color: var(--color-white);
    border-color: var(--color-accent);
    background: rgba(201, 169, 110, 0.12);
    transform: translateY(-2px);
}

.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.footer-nav a {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
    transition: color var(--transition);
}

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

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════════ */
/*  SCROLL ANIMATIONS                                         */
/* ═══════════════════════════════════════════════════════════ */
[data-aos] {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ═══════════════════════════════════════════════════════════ */
/*  PRIVACY POLICY PAGE                                       */
/* ═══════════════════════════════════════════════════════════ */
.policy-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--color-bg);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 28px;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.policy-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 40px 0 16px;
    letter-spacing: 1px;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.policy-content p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-family: var(--font-elegant);
    letter-spacing: 0.2px;
}

.policy-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: rgba(201, 169, 110, 0.4);
    transition: text-decoration-color var(--transition);
}

.policy-content a[href^="mailto:"] {
    font-family: 'Georgia', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.policy-content a:hover {
    text-decoration-color: var(--color-accent);
}

.policy-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.policy-content ul li {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 6px;
    font-family: var(--font-elegant);
    letter-spacing: 0.2px;
}

.policy-content strong {
    color: var(--color-text);
    font-weight: 600;
}

.policy-intro {
    font-size: 1.05rem !important;
    color: var(--color-text) !important;
    margin-bottom: 32px !important;
}

.policy-subsection-title {
    font-weight: 600;
    color: var(--color-text) !important;
    margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════ */
/*  RESPONSIVE — TABLET (max 1024px)                          */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root {
        --header-height: 66px;
    }

    /* --- Navigation --- */
    .nav-list,
    .lang-toggle {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Full-screen mobile menu */
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--color-primary);
        z-index: 999;
        align-items: center;
        justify-content: center;
    }

    .main-nav.open .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .main-nav.open .nav-list a {
        font-size: 1.2rem;
        color: var(--color-white);
        letter-spacing: 1px;
    }

    .main-nav.open::after {
        content: none;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-side-icons {
        display: none;
    }

    /* --- Sections --- */
    .section {
        padding: 70px 0;
    }

    /* --- About/Welcome --- */
    .about-split {
        grid-template-columns: 1fr;
        height: auto;       /* Override desktop fixed height so stacked layout expands naturally */
        min-height: auto;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .about-photo {
        order: -1;
        min-height: 380px;
    }

    .welcome-box {
        order: 0;
        padding: 40px 8%;
        max-width: 100%;
        justify-self: auto;
        border-left: none;
        border-top: 4px solid var(--color-accent);
        box-shadow: none;
        overflow: visible; /* Restore so text is never clipped on stacked layout */
    }

    /* --- Team grid --- */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* --- Accordion --- */
    .accordion-header {
        padding: 18px 20px;
    }

    .accordion-body {
        padding: 0 20px;
    }

    .accordion-item.open .accordion-body {
        padding: 0 20px 20px;
    }

    .accordion-body p {
        padding-left: 0;
    }

    /* --- Contact --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/*  RESPONSIVE — MOBILE (max 640px)                           */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    :root {
        --header-height: 60px;
    }

    /* --- Container padding --- */
    .container {
        padding: 0 16px;
    }

    /* --- Header logo --- */
    .header-logo-img {
        height: 42px;
    }

    /* --- Hero --- */
    .hero {
        min-height: 90vh;
    }

    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.4rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.78rem;
    }

    /* --- Sections --- */
    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .section-intro {
        font-size: 1rem;
        padding: 0 4px;
    }

    /* --- About/Welcome --- */
    .about-photo {
        min-height: 280px;
    }

    .welcome-box {
        padding: 32px 6%; /* Reduced vertical padding */
    }

    .about-content p {
        font-size: 0.95rem; /* Slightly larger than desktop 0.92rem for readability on narrow screens */
        line-height: 1.78;
    }

    /* --- Team --- */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Restore portrait aspect-ratio so object-position works correctly in mobile */
    .team-img-wrap {
        aspect-ratio: 3 / 4;
        height: auto;
    }

    /* Mobile-specific image positioning: show face + small margin above + shirt */
    .team-img-kostandina {
        object-position: center 20%;
        transform: scale(1.3);
    }
    .team-card:hover .team-img-kostandina {
        transform: scale(1.34);
    }

    .team-img-sabrina {
        object-position: center 10%;
        transform: scale(1.2);
    }
    .team-card:hover .team-img-sabrina {
        transform: scale(1.23);
    }

    .team-img-negar {
        object-position: center 30%;
        transform: scale(1.2);
    }
    .team-card:hover .team-img-negar {
        transform: scale(1.23);
    }

    /* --- Accordion --- */
    .accordion-header {
        padding: 16px 16px;
        gap: 12px;
    }

    .accordion-header-title {
        font-size: 0.9rem;
    }

    /* --- Contact form --- */
    .contact-form {
        gap: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 14px;
        font-size: 0.9rem;
    }

    /* --- Footer --- */
    .footer-logo-wrap {
        width: 150px;
    }

    .footer-nav {
        gap: 16px;
    }

    .footer-nav a {
        font-size: 0.72rem;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 8px;
    }

    /* --- Policy page --- */
    .policy-page {
        padding-top: calc(var(--header-height) + 32px);
        padding-bottom: 56px;
    }

    .policy-content h1 {
        font-size: 1.6rem;
    }

    .policy-content h2 {
        font-size: 1.15rem;
    }

    .policy-content p,
    .policy-content ul li {
        font-size: 0.98rem;
        line-height: 1.85;
    }
}

/* Mobile language toggle - show only when menu open */
.mobile-lang-toggle {
    display: none;
}

.main-nav.open .mobile-lang-toggle {
    display: flex;
    margin-top: 24px;
    margin-left: 0; /* Override desktop margin so it centers perfectly */
}