/* ========================================
   Kind Libre - Stylesheet
   Fonts: Bubble Garden (headings), Nunito (body), Poppins (subtitles)
   Colors: #4b4849 (heading), #7b7b7b (body text), #d56a36 (accent), #FFFFFF (bg)
   ======================================== */

/* --- Custom Fonts --- */
@font-face {
    font-family: "Bubble Garden";
    src: url("assets/fonts/Bubble-Garden-Regular.woff2") format("woff2"),
        url("assets/fonts/Bubble-Garden-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Bubble Garden";
    src: url("assets/fonts/Bubble-Garden-Bold.woff2") format("woff2"),
        url("assets/fonts/Bubble-Garden-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- CSS Variables --- */
:root {
    --color-heading: #312e2f;
    --color-body: #616161;
    --color-accent: #d56a36;
    --color-bg: #FFFFFF;
    --color-bg-alt: #fbfbfb;
    --color-footer-bg: #2c2c2c;
    --color-footer-text: #cccccc;
    --color-copyright: #919191;
    --color-btn-bg: #4b4849;
    --color-btn-text: #ffffff;
    --font-heading: "Bubble Garden", "Comic Sans MS", cursive, sans-serif;
    --font-body: "Inter", "Nunito", sans-serif;
    --font-subtitle: "Outfit", "Poppins", sans-serif;
    --max-width: 1300px;
    --header-height: 96px;
    --mobile-header-height: 72px;
    --border-radius: 24px;
    --border-radius-lg: 32px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-body);
    background-color: var(--color-bg);
    background-image: linear-gradient(to bottom, #ffffff, #f9f9f9);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding: 0;
}

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

a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
    font-weight: 700;
}

p {
    font-size: 18px;
    margin-bottom: 1em;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}



/* --- Spacers --- */
.spacer-8 {
    height: 8px;
}

.spacer-24 {
    height: 24px;
}

.spacer-32 {
    height: 32px;
}

.spacer-48 {
    height: 48px;
}

.section-spacer {
    height: 16px;
    background: var(--color-bg);
}

.section-spacer-lg {
    height: 80px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: absolute;
    /* User requested static header, but matching screenshot requires absolute overlay */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    height: var(--header-height);
    transition: all 0.3s ease;
}

.site-header--solid {
    position: relative !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.site-header.scrolled {
    box-shadow: none;
    /* No scroll effect needed if static */
    background: transparent;
    border-bottom: none;
}

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

.header-nav-left,
.header-nav-right {
    flex: 1;
}

.header-logo a {
    display: flex;
    align-items: center;
    height: 63px;
}

.header-logo img {
    height: 64px;
    width: auto;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: static;
    background: transparent;
    height: var(--mobile-header-height);
}

.mobile-header--solid {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Aligned to left like desktop */
    height: 100%;
    padding: 0 24px;
}

.mobile-header img {
    height: 48px;
    width: auto;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    z-index: 10;
    margin-top: 0;
    min-height: 664px;
    overflow: visible;
    background-color: transparent;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 800px;
    padding: var(--header-height) 0 0 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-text {
    flex: 0 0 65%;
    padding: 0 40px 80px 40px;
    position: relative;
    z-index: 3;
    padding-top: 48px;
}

.hero-text h1 {
    font-size: 72px;
    /* Increased massively to match screenshot */
    line-height: 1.35;
    letter-spacing: 4px;
    color: var(--color-heading);
    margin-bottom: 24px;
    white-space: normal;
    /* Force natural wrapping */
    word-break: break-word;
    /* Ensure it stays safe */
}

.hero-subtitle {
    font-family: var(--font-subtitle);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-body);
    max-width: 413px;
}

.hero-image-area {
    flex: 1;
    min-height: 600px;
}

.hero-planet {
    position: absolute;
    left: 100px;
    top: 80px;
    width: 480px;
    height: 480px;
    z-index: 1;
    animation: planetPulse 2s ease-in-out infinite alternate;
}

.planet-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotateY(180deg);
}

.hero-child-img {
    position: absolute;
    right: -100px;
    bottom: 0;
    width: 1150px;
    max-width: none;
    z-index: 2;
}

@keyframes planetPulse {
    0% {
        transform: scale(1) translateY(0);
    }

    100% {
        transform: scale(1.02) translateY(-5px);
    }
}

/* ========================================
   PARALLAX DIVIDER
   ======================================== */
.parallax-divider {
    height: 504px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: -1px;
    /* Fix 1px white line gap */
}

.parallax-bg {
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Sections with full-width parallax backgrounds */
.has-parallax-bg {
    position: relative;
    background-color: transparent !important;
    overflow: hidden;
}

.has-parallax-bg .parallax-bg {
    left: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: 120px 0;
    background-color: var(--color-bg);
    margin-top: -1px;
    /* overlap to remove 1px white line gap */
    position: relative;
    z-index: 5;
}


.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Reverses the order on desktop so text appears on the left */
@media (min-width: 1025px) {
    .two-col-layout.reverse-layout .col-content {
        order: -1;
    }
}







.section-image-card {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
    overflow: hidden;
    /* Force scale up slightly on base state to hide rounding errors */
    transform: scale(1.005) translateZ(0);
    background-clip: border-box;
}

.section-image-card:hover {
    transform: scale(1.025) translateZ(0);
}

.content-block {
    padding: 0 40px;
}

.content-block h3,
.content-card h3 {
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.content-card {
    padding: 48px 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    transform: translateY(-80px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.content-card:hover {
    transform: translateY(-88px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
}

/* Library section with earthy tone background */
.library-section {
    background-color: var(--color-bg);
    /* Match founders section */
    padding: 120px 0 144px;
    border-radius: 0;
}

/* Shop section */
.shop-section {
    padding: 120px 0;
    border-radius: 0;
}

/* ========================================
   FOUNDERS SECTION
   ======================================== */
.founders-section {
    padding: 120px 0;
}

.section-title-center {
    text-align: center;
    letter-spacing: 3px;
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 32px;
}

.founder-card {
    text-align: center;
    padding: 48px;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.founder-image {
    width: 320px;
    height: 320px;
    margin: 0 auto 32px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.founder-name {
    font-size: 32px;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 16px;
}

.founder-blurb {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-body);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 144px 0;
    background-color: #f1ebd7;
    border-radius: 0;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    /* Stack elements vertically */
    align-items: center;
    /* Center horizontally */
    justify-content: center;
    text-align: center;
    /* Center the text inside the header */
    gap: 32px;
    /* Add adequate spacing between text and button */
}

.cta-inner h2 {
    font-size: 32px;
    letter-spacing: 2px;
    margin: 0;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter-section {
    padding: 7.4% 10% 4.5% 10%;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-card {
    background: var(--color-bg);
    padding: 32px 7% 32px 7%;
    border-radius: var(--border-radius);
}

.newsletter-card h4 {
    font-size: 20px;
    letter-spacing: 2px;
    font-family: var(--font-subtitle);
    margin-bottom: 8px;
}

.newsletter-form {
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.form-row input[type="email"] {
    flex: 1;
    padding: 14px 24px;
    height: 54px;
    border: 1px solid #ddd;
    border-radius: 8px !important;
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-heading);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-row input[type="email"]::placeholder {
    color: #aaa;
}

.form-row input[type="email"]:focus {
    border-color: var(--color-heading);
}

.privacy-note {
    font-size: 14px;
    color: var(--color-body);
}

.privacy-note a {
    color: var(--color-heading);
}

.privacy-note a:hover {
    color: var(--color-accent);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border-radius: 8px;
}

/* ---- Peggi Theme Blob Hover Animation ---- */
.btn-solid,
.btn-white,
.btn-submit {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: transparent !important;
    color: var(--color-btn-text) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit {
    height: 54px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.btn-solid:hover,
.btn-white:hover,
.btn-submit:hover {
    color: var(--color-btn-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Ensure text sits above the blobs */
.btn-text {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

/* The solid base color behind the blobs */
.blob-btn-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    transform: translateZ(0);
    z-index: -1;
    background-color: var(--color-btn-bg);
}

/* The SVG 'goo' filter container */
.blob-btn-blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url(#goo);
}

/* The 4 circles that make up the cloud */
.blob-btn-blob {
    position: absolute;
    top: 0;
    width: 33%;
    height: 100%;
    background: #ffffff;
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.7);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger their initial positions */
.blob-btn-blob:nth-child(1) {
    left: -15%;
}

.blob-btn-blob:nth-child(2) {
    left: 15%;
}

.blob-btn-blob:nth-child(3) {
    left: 45%;
}

.blob-btn-blob:nth-child(4) {
    left: 75%;
}

/* Stagger their hover-in times from left to right */
.btn-solid:hover .blob-btn-blob:nth-child(1),
.btn-white:hover .blob-btn-blob:nth-child(1),
.btn-submit:hover .blob-btn-blob:nth-child(1) {
    transition-delay: 0s;
}

.btn-solid:hover .blob-btn-blob:nth-child(2),
.btn-white:hover .blob-btn-blob:nth-child(2),
.btn-submit:hover .blob-btn-blob:nth-child(2) {
    transition-delay: 0.08s;
}

.btn-solid:hover .blob-btn-blob:nth-child(3),
.btn-white:hover .blob-btn-blob:nth-child(3),
.btn-submit:hover .blob-btn-blob:nth-child(3) {
    transition-delay: 0.16s;
}

.btn-solid:hover .blob-btn-blob:nth-child(4),
.btn-white:hover .blob-btn-blob:nth-child(4),
.btn-submit:hover .blob-btn-blob:nth-child(4) {
    transition-delay: 0.24s;
}

/* The hover interaction triggers the move up */
.btn-solid:hover .blob-btn-blob,
.btn-white:hover .blob-btn-blob,
.btn-submit:hover .blob-btn-blob {
    transform: translate3d(0, -10%, 0) scale(1.7);
}

/* Stagger hover-out times */
.btn-solid:not(:hover) .blob-btn-blob:nth-child(1),
.btn-white:not(:hover) .blob-btn-blob:nth-child(1),
.btn-submit:not(:hover) .blob-btn-blob:nth-child(1) {
    transition-delay: 0.24s;
}

.btn-solid:not(:hover) .blob-btn-blob:nth-child(2),
.btn-white:not(:hover) .blob-btn-blob:nth-child(2),
.btn-submit:not(:hover) .blob-btn-blob:nth-child(2) {
    transition-delay: 0.16s;
}

.btn-solid:not(:hover) .blob-btn-blob:nth-child(3),
.btn-white:not(:hover) .blob-btn-blob:nth-child(3),
.btn-submit:not(:hover) .blob-btn-blob:nth-child(3) {
    transition-delay: 0.08s;
}

.btn-solid:not(:hover) .blob-btn-blob:nth-child(4),
.btn-white:not(:hover) .blob-btn-blob:nth-child(4),
.btn-submit:not(:hover) .blob-btn-blob:nth-child(4) {
    transition-delay: 0s;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(75, 72, 73, 0.6);
    border: none;
    border-radius: 50%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.6);
    color: rgba(75, 72, 73, 0.9);
    transform: translateY(-3px);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background-color: transparent;
    background-size: cover;
    background-position: center bottom;
    color: var(--color-footer-text);
    padding: 64px 0 40px;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    margin: 0 auto;
    width: 392px;
    max-width: 80%;
}

.footer-address {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-address p {
    color: var(--color-footer-text);
}

.footer-social {
    margin-bottom: 24px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 14px;
    margin: 0 16px 0 0;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: white;
}

.footer-links {
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: var(--color-footer-text);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-copyright p {
    font-size: 11px;
    letter-spacing: 1.7px;
    color: var(--color-copyright);
}

/* ========================================
   RESPONSIVE (Peggi Theme Breakpoints)
   ======================================== */
@media (max-width: 1200px) {
    :root {
        --max-width: 950px;
    }
}

@media (max-width: 1024px) {
    :root {
        --max-width: 768px;
    }

    .desktop-break {
        display: none;
    }

    .site-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    .hero-section {
        margin-top: var(--mobile-header-height);
        margin-left: 0;
        min-height: 600px;
        border-radius: 0;
    }

    .hero-content {
        flex-direction: column;
        min-height: 600px;
    }

    .hero-text {
        flex: none;
        width: 100%;
        padding: 64px 32px 40px;
        text-align: center;
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    .hero-text h1 {
        letter-spacing: 4px;
        white-space: normal;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .hero-image-area {
        position: relative;
        width: 100%;
        min-height: 400px;
    }

    .hero-planet {
        width: 400px;
        height: 400px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-child-img {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 352px;
        left: 50%;
        transform: translateX(-50%);
    }

    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .overlap-layout .col-spacer {
        display: none;
    }

    .content-card {
        transform: none;
        margin-top: 0;
        padding: 40px 32px;
    }

    .content-block {
        padding: 40px 32px;
    }

    .section-image-card {
        min-height: 304px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .founders-grid {
        grid-template-columns: 1fr 1fr;
    }

    .founder-spacer {
        display: none;
    }

    .has-parallax-bg .parallax-bg {
        left: 0;
        width: 100%;
    }

    .parallax-divider {
        height: 304px;
    }

    .newsletter-section {
        padding: 40px 24px;
    }

    .newsletter-card {
        padding: 32px 24px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row input[type="email"],
    .form-row button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --max-width: 600px;
    }
}

@media (max-width: 680px) {
    :root {
        --max-width: 420px;
    }
}

@media (max-width: 480px) {
    :root {
        --max-width: 300px;
    }

    .hero-section {
        min-height: 576px;
    }

    .hero-content {
        min-height: 576px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    .hero-text h1 {
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-planet {
        width: 280px;
        height: 280px;
    }

    .hero-child-img {
        width: 248px;
    }

    .founders-grid {
        grid-template-columns: 1fr;
    }

    .parallax-divider {
        height: 200px;
    }

    .content-block h3,
    .content-card h3 {
        font-size: 18px;
    }
}

/* ========================================
   PAGE TEXT HERO (Generic Pages)
   ======================================== */
.page-text-hero {
    position: relative;
    padding: calc(var(--header-height) + 120px) 0 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--color-heading);
}

.page-text-hero h2 {
    margin-bottom: 0;
    font-size: 42px;
}

@media (max-width: 1024px) {
    .page-text-hero {
        padding: calc(var(--mobile-header-height) + 80px) 0 80px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in-up {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
}

/* ========================================
   GDPR COOKIE BANNER & MODAL
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 48px);
    max-width: 700px;
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 32px 40px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: var(--font-body);
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.cookie-banner h4 {
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--color-heading);
}

.cookie-banner p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--color-body);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-banner-actions .btn {
    padding: 12px 20px;
    font-size: 13px;
    letter-spacing: 1px;
}

.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal {
    background: var(--color-bg-alt);
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 40px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-overlay.visible .cookie-modal {
    transform: translateY(0);
}

.cookie-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-body);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-modal-close:hover {
    color: var(--color-heading);
}

.cookie-modal h3 {
    margin-bottom: 24px;
    font-size: 28px;
}

.cookie-category {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    background: var(--color-bg);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-title {
    font-family: var(--font-subtitle);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-heading);
}

.cookie-category-desc {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-toggle input:checked+.toggle-slider {
    background-color: var(--color-accent);
}

.cookie-toggle input:focus+.toggle-slider {
    box-shadow: 0 0 1px var(--color-accent);
}

.cookie-toggle input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled+.toggle-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.cookie-toggle input:disabled:checked+.toggle-slider {
    background-color: #a0a0a0;
}

.cookie-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eaeaea;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-modal-footer-left {
    display: flex;
    gap: 12px;
}

.cookie-settings-link {
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (max-width: 600px) {
    .cookie-banner {
        padding: 24px;
        bottom: 16px;
        width: calc(100% - 32px);
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-banner-actions .btn {
        width: 100%;
        text-align: center;
    }

    .cookie-modal {
        padding: 24px;
        width: calc(100% - 32px);
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer-left,
    .cookie-modal-footer .btn-solid {
        width: 100%;
    }

    .cookie-modal-footer-left .btn {
        flex: 1;
        text-align: center;
    }
}

/* ========================================
   CONTACT MODAL
   ======================================== */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 46, 47, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.contact-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal {
    background: #ffffff;
    width: 90%;
    max-width: 540px;
    border-radius: var(--border-radius);
    padding: 48px 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 40px 0;
}

.contact-modal-overlay.visible .contact-modal {
    transform: translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-body);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-modal-close:hover {
    color: var(--color-heading);
    background: #f5f5f5;
}

.contact-modal h3 {
    margin-bottom: 8px;
    font-size: 28px;
    letter-spacing: 2px;
}

.contact-modal p.subtitle {
    margin-bottom: 32px;
    font-size: 16px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-heading);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 8px !important;
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-heading);
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

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

.captcha-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: #fbfbfb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 24px;
}

.captcha-question {
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-heading);
    white-space: nowrap;
}

.captcha-group input {
    margin-bottom: 0;
    padding: 10px 16px;
    height: 44px;
    flex: 1;
}

.contact-modal .btn-submit {
    width: 100%;
}

.contact-modal .btn-submit:disabled,
.newsletter-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--color-grey);
}

.form-feedback {
    display: none;
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-feedback.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-feedback.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

@media (max-width: 680px) {
    .contact-modal {
        padding: 32px 24px;
        width: 95%;
    }
}