/* cyrillic-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/font-1.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/font-2.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/font-3.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/font-4.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/font-5.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/font-6.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/font-7.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-8.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-9.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-10.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-11.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-12.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-13.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-14.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-15.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-16.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-17.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-18.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-19.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-20.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-21.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-22.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-23.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-24.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-25.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-26.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-27.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-28.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-29.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-30.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-31.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-32.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/font-33.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-34.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-35.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-36.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-37.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/font-38.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-39.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-40.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-41.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-42.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/font-43.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/font-44.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/font-45.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/font-46.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/font-47.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/font-48.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Modern Maritime Style */
:root {
    /* Color Palette */
    --color-navy: #0F172A;
    /* Deep Navy */
    --color-navy-light: #1E293B;
    --color-blue-primary: #3555ae;
    /* Bright Maritime Blue */
    --color-blue-dark: #3555ae;
    --color-sand: #f8fafc;
    /* Light Grey/Sand hint */
    --color-sand-dark: #e2e8f0;
    --color-red-accent: #ef4444;
    /* Signal Red */
    --color-white: #ffffff;
    --color-text-body: #475569;
    --color-text-heading: #0F172A;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-container: 2rem;
    --spacing-section: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-sand);
    color: var(--color-text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

/* Utility Classes */
.section {
    padding: var(--spacing-section) 0;
}

.section-overline {
    display: block;
    text-transform: uppercase;
    color: var(--color-blue-primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-body);
    max-width: 600px;
}

.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg-light {
    background-color: var(--color-white);
}

.bg-dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.bg-dark .section-title {
    color: var(--color-white);
}

.bg-dark .section-subtitle {
    color: #94a3b8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    /* Slightly rounded, almost square for maritime feel */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-blue-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-block {
    width: 100%;
}

.btn-red {
    background-color: var(--color-red-accent);
    color: var(--color-white);
    border: 2px solid var(--color-red-accent);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-red:hover {
    background-color: transparent;
    color: var(--color-red-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Remove the pseudo-element wipe for a cleaner 'transparent' transition */
.btn-red::before {
    display: none;
}

/* Success Message Animation */
.form-success-container {
    display: none;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-green-500, #22c55e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.2);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem 0;
    transform: translateZ(0);
    /* Hardware acceleration */
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateZ(0);
    /* Fix for iOS rendering glitches */
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    /* Align image and text vertically */
    gap: 12px;
    /* Space between logo and text */
    text-decoration: none;
    line-height: 1;
}

.brand-logo-header {
    height: 50px;
    /* Adjust size as needed */
    width: auto;
}

/* Logo Switching */
.logo-original {
    display: none;
}

.logo-white {
    display: block;
}

.header.scrolled .logo-original {
    display: block;
}

.header.scrolled .logo-white {
    display: none;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-white);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
}

.header.scrolled .logo-text {
    color: var(--color-navy);
}

.header.scrolled .logo-sub {
    color: var(--color-text-body);
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red-accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--color-navy);
}

.btn-nav-cta {
    background-color: var(--color-red-accent);
    color: var(--color-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}

.btn-nav-cta:hover {
    background-color: #dc2626;
    color: var(--color-white);
}

.btn-nav-cta::after {
    display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-close {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Background images handled by .hero-bg-slider */
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s ease-out;
    /* Smooth crossfade and slow zoom */
    transform: scale(1.05);
}

.hero-bg.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.25);
    /* Darker overlay for better text contrast */
    /* Navy overlay */
    z-index: -1;
}

/* Specific Crown Button Style for Hero CTA */
.hero-actions .btn-primary {
    background-color: var(--accent-light);
    /* Red Base */
    border: 2px solid var(--accent-light);
    /* Ensure border matches */
    color: var(--color-white);
    position: relative;
    border-radius: 4px 4px 12px 12px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(217, 9, 23, 0.4);
    overflow: hidden;
    /* For inner animation */
    transition: all 0.4s ease;
    z-index: 1;
}

.hero-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    /* Transparent white slide */
    z-index: -1;
    transition: width 0.4s ease;
}

.hero-actions .btn-primary:hover {
    background-color: transparent;
    /* Transparent background */
    color: var(--accent-light);
    /* Red Text */
    border-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 9, 23, 0.25);
}

.hero-actions .btn-primary:hover::before {
    width: 100%;
    /* Slide fill effect */
}

/* Spinner for Button */
.loader-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Button Loading State */
.btn.loading .btn-text,
.btn.loading .btn-icon {
    display: none;
}

.btn.loading .loader-spinner {
    display: inline-block;
}


.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding-top: 60px;
    /* Offset for header */
}

.hero-text-wrapper {
    max-width: 700px;
    animation: fadeUp 1s ease-out;
}

.hero-overline {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--color-red-accent);
    font-weight: 700;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    /* Center the chips */
}

.trust-chip {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-white);
    transition: all var(--transition-base);
    cursor: pointer;
}

.trust-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trust-chip:active {
    transform: translateY(1px);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

/* Elvström Badge (Top Right Corner) */
/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-overlap {
    position: relative;
    margin-bottom: 25%;
    /* Reserve space for the overlapping image */
}

.about-img-main {
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    width: 80%;
    /* Leave room on right for the secondary image */
    height: auto;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -20%;
    right: 5%;
    width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-white);
    z-index: 2;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    background-color: var(--color-sand-dark);
    padding: 0.75rem;
    border-radius: 50%;
    color: var(--color-navy);
}

/* Services (Kompetenzen) */
.services-grid {
    display: grid;
    /* Force 2 columns on larger screens for perfect symmetry with 4 items */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--color-sand-dark);
    /* Ensure all cards stretch to same height */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card .card-list {
    margin-top: auto;
    /* Push list to bottom if content varies */
    border-top: 1px solid var(--color-sand-dark);
    padding-top: 1rem;
}

.card-list li {
    font-size: 0.9rem;
    color: var(--color-text-body);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.card-list li::before {
    content: '•';
    color: var(--color-blue-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Elvstrom Section */
.elvstroem-section {
    overflow: hidden;
}

.elvstroem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-sub {
    text-transform: uppercase;
    color: var(--color-text-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.brand-logo {
    max-width: 200px;
    margin: 1rem 0 2rem 0;
}

.elvstroem-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.check-icon {
    color: var(--color-blue-primary);
    font-weight: bold;
}

.elvstroem-image {
    position: relative;
}

.image-stack {
    position: relative;
    height: 400px;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.overlay-icon {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 300;
    transform: scale(0.8);
    transition: var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .overlay-icon {
    transform: scale(1);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 3rem;
    background-color: var(--color-navy-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    /* Dark shadow */
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    padding: 3rem;
    color: var(--color-white);
}

.contact-info h2 {
    color: var(--color-white);
    /* Ensure heading is white */
    margin-bottom: 1.5rem;
}

.contact-callout {
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
}

.mobile-form-link {
    display: none;
}

.info-label {
    text-transform: uppercase;
    color: var(--color-blue-primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-details-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
    transition: color var(--transition-base);
}

.contact-detail-item:hover {
    color: var(--color-blue-primary);
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-primary);
}

.opening-hours {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.opening-hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    max-width: 300px;
}

.contact-form-wrapper {
    flex: 1;
    padding: 3rem;
    background-color: var(--color-white);
    color: var(--color-text-body);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--color-navy);
    scroll-margin-top: 120px;
}

.form-status {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-sand-dark);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.checkbox-group {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-body) !important;
    font-weight: 400 !important;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.15rem;
    width: auto;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--color-blue-primary);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--color-navy);
}

.form-footer {
    margin-top: 1rem;
}

.turnstile-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    min-height: 65px;
    /* Prevent cumulative layout shift */
}

.form-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.75rem;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #020617;
    /* Even darker Navy */
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: inherit;
}

.footer a:hover {
    color: var(--color-white);
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 4px;
    width: 100%;
    transition: background var(--transition-base);
}

.partner-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.partner-logo-small {
    width: 30px;
    height: auto;
    background: #fff;
    padding: 2px;
    border-radius: 2px;
}

.footer-bottom-line {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.lightbox[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2001;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: var(--shadow-2xl);
}

.lightbox-caption {
    color: var(--color-white);
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-heading);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
    padding: 10px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    transform: scale(1.2);
    color: var(--color-blue-primary);
}

.lightbox-close {
    top: -40px;
    right: 0;
}

.lightbox-prev {
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-image-overlap {
        margin-bottom: 30%;
        /* Needs more margin on mobile to fit the overlay */
    }

    .about-img-main {
        width: 100%;
    }

    .about-img-secondary {
        width: 50%;
        /* slightly larger relative proportion on small screens */
        bottom: -20%;
        right: 0;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-smooth);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        z-index: 2000;
        /* Ensure it is really on top of everything, including header and btn */
    }

    /* Backdrop */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 990;
        /* Must be below header (1000) */
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav.nav-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        /* Center items */
        gap: 2rem;
        width: 100%;
    }

    .nav-link {
        color: var(--color-navy);
        font-size: 1.5rem;
        /* Larger font */
        font-weight: 600;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .btn-nav-cta {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin-top: 1rem;
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hamburger-box {
        display: none;
    }

    .hamburger-inner {
        display: none;
    }

    /* New Standard Hamburger */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 44px;
        /* Touch target */
        height: 44px;
        /* Touch target */
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px 7px;
        /* Inner padding to keep icon size ~30px */
        gap: 6px;
        /* consistent spacing */
        z-index: 1003;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    /* FIX: Hide the hamburger button itself when active (using the class added by JS) */
    .mobile-menu-btn.is-active {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.8);
        /* Visual shrink out */
    }

    /* Base styles for the lines (White version) */
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        /* Thicker lines as requested */
        background-color: var(--color-white);
        border-radius: 3px;
        /* Rounded corners */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    /* FIX: Enforce EXACT same layout on scroll with !important to override any conflicts */
    .header.scrolled .mobile-menu-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 10px 7px !important;
        gap: 6px !important;
        background: transparent !important;
        border: none !important;
    }

    /* Update: Since we hide the button when active, we don't need the span transformation rules for the "X" anymore, 
       but we keep them just in case JS fails to add the class or for transition smoothness before it fades out. 
       However, we focus on the scrolled state consistency here. */
    .header.scrolled .mobile-menu-btn span {
        background-color: var(--color-navy);
        height: 3px !important;
        width: 100% !important;
        border-radius: 3px !important;
        display: block !important;
    }

    /* Close Button inside Nav */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--color-navy);
        cursor: pointer;
        padding: 8px;
        /* Touch target padding */
        border-radius: 50%;
        /* Circular hover effect */
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        /* Relative to nav */
        width: 48px;
        height: 48px;
        /* Min touch target */
    }

    .mobile-menu-close svg {
        transition: transform 0.3s ease;
    }

    .mobile-menu-close:hover {
        background-color: rgba(239, 68, 68, 0.1);
        /* Light red background */
        color: var(--color-red-accent);
    }

    .mobile-menu-close:hover svg {
        transform: rotate(90deg);
        /* Rotate visual on hover */
    }

    .about-grid,
    .elvstroem-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        order: 2;
    }

    .elvstroem-image {
        /* order: -1; Removed to let content appear first */
        margin-top: 2rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .mobile-form-link {
        display: block;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
        /* Touch swipe or tap edges on mobile */
    }

    /* Reduce general container padding on mobile */
    .container {
        padding: 0 1rem;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {

    .contact-info,
    .contact-form-wrapper {
        padding: 1.25rem 1rem;
    }

    /* Scale Turnstile to prevent horizontal scrolling on very small screens */
    .turnstile-wrapper {
        overflow: hidden;
    }

    .cf-turnstile {
        transform: scale(0.85);
        transform-origin: center top;
    }
}

@media (max-width: 360px) {
    .cf-turnstile {
        transform: scale(0.75);
        transform-origin: center top;
    }
}

/* Central Partner Badge (Replaces Button) */
/* Partner Chip (Integrated into Trust Chips) */
.trust-chip.partner-chip {
    padding: 0.35rem 1.25rem;
    /* Increased padding */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    /* Solid white background for logo */
    color: var(--color-navy);
    /* Ensure any text (if added) is dark */
    overflow: visible;
    /* Ensure no clipping */
}

.chip-logo {
    height: 42px;
    /* Significantly increased size */
    width: auto;
    max-width: 100%;
    /* Safety constraint */
    object-fit: contain;
    /* filter removed to keep original red color */
    transition: transform 0.3s ease;
}

.trust-chip:hover .chip-logo {
    filter: brightness(1);
    /* Restore original color on hover if desired, or keep white */
}

.chip-logo-crown {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Remove any inline spacing issues */
}

.partner-chip span {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

/* Mobile Adjustments for Trust Chips */
@media (max-width: 768px) {

    /* Hide general trust chips on mobile to reduce clutter */
    .trust-chip:not(.partner-chip) {
        display: none;
    }

    /* Ensure Partner Chip remains visible and prominent */
    .trust-chip.partner-chip {
        display: inline-flex;
        padding: 0.5rem 1.5rem;
        /* Compact card padding */
        width: auto;
        margin-top: 1rem;
        border-radius: 12px;
        /* Uniform rounded corners */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        /* Slight shadow for depth */
    }

    /* Maximize logo size on mobile */
    .chip-logo,
    .chip-logo-crown {
        height: 40px;
        /* Slightly smaller but still prominent */
    }
}