/* ============================================
   VenatAI — Premium Landing Page Styles
   Luxury • Minimal • Monochrome • Swiss
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FFFFFF;
    --color-text: #000000;
    --color-text-muted: #666666;
    --color-border: #E0E0E0;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    --space-3xl: 10rem;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg);
    transition: border-color var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    border-bottom-color: var(--color-border);
}

.header__inner {
    max-width: 80rem;
    /* max-w-7xl */
    margin: 0 auto;
    padding: 0.8rem 1rem;
    /* px-4 base */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

@media (min-width: 640px) {
    .header__inner {
        padding: 0.8rem 1.5rem;
        /* sm:px-6 */
    }
}

@media (min-width: 1024px) {
    .header__inner {
        padding: 0.8rem 2rem;
        /* lg:px-8 */
    }
}

.header__left {
    justify-self: start;
}

.header__center {
    justify-self: center;
}

.header__right {
    justify-self: end;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header__logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.header__logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.header__nav {
    display: flex;
    gap: var(--space-lg);
}

.header__link {
    font-size: 1.15rem;
    /* 30% bigger than previous 0.9rem */
    font-weight: 600;
    /* Bolder */
    letter-spacing: 0.02em;
    position: relative;
    padding: var(--space-xs) 0;
}

@media (max-width: 1280px) {
    .header__link {
        font-size: 1rem;
    }
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width var(--transition-fast);
}

.header__link:hover::after {
    width: 100%;
}

/* Contact Widget */
.contact-widget {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 320px;
}

.contact-widget .btn--contact {
    border-radius: 50px;
}

.contact-options {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem;
    min-width: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background var(--transition-fast);
}

.contact-option:hover {
    background: #F5F5F5;
}

.contact-icon {
    font-size: 1.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 1rem 2rem;
    border: 1px solid var(--color-text);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn--lang {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: auto;
    border: 1px solid var(--color-text);
    background: transparent;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.btn--lang:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn--primary {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.btn--primary:hover {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100svh;
    /* responsive viewport height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    position: relative;
    overflow: hidden;
    /* Prevent overflow */
    width: 100%;
}



.hero__content {
    flex: 1;
    max-width: 80rem;
    /* max-w-7xl */
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: max(80px, 9vh);
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .hero__content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero__content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero__text {
    max-width: 900px;
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw + 1rem, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    color: #FFFFFF;
    word-wrap: break-word;
    /* Prevent overflow */
}

.hero__subtext {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    /* Darker/Bolder */
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Slideshow */
.hero__slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero__slide.active {
    opacity: 1;
    animation: kenBurns 18s infinite alternate;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.6) 60%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero__noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.07;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes kenBurns {
    0% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1.05);
    }
}


/* ============================================
   MARQUEE SECTION
   ============================================ */

.marquee {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 68s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    /* HW Acceleration */
}

.marquee img {
    width: 400px;
    height: auto;
    aspect-ratio: 16/9;
    /* Assuming 1920x1080 */
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-right: 24px;
    /* Ensure perfect loop */
}

.marquee img:hover {
    transform: scale(1.03);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Marquee Responsive */
@media (max-width: 768px) {
    .marquee {
        padding: var(--space-lg) 0;
    }

    .marquee img {
        width: 300px;
        border-radius: 12px;
    }
}


.about {
    padding: 6rem var(--space-lg) 7rem var(--space-lg);
}

.about__content {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 640px) {
    .about__content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .about__content {
        padding: 0 2rem;
    }
}

.about__headline {
    font-size: clamp(2.5rem, 5vw, 4.375rem);
    font-weight: 800;
    /* Bold */
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    white-space: nowrap;
    /* Desktop: single row */
}

@media (max-width: 768px) {
    .about__headline {
        white-space: normal;
        /* Mobile: allow wrap */
    }
}

.about__paragraph {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    max-width: 1100px;
    /* Adjusted to aim for 3-4 rows with larger text */
    margin-left: auto;
    margin-right: auto;
}

.about__paragraph:last-child {
    margin-bottom: 0;
}

.about__image {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
}

.about__img-split {
    width: calc(50% - 0.5rem);
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about__img-split:hover {
    transform: translateY(-5px);
}

.reveal--delay {
    transition-delay: 0.83s;
}

/* ============================================
   PROCESS SECTION — Bloomr-Style Sticky Stack
   ============================================ */

.process-bloomr {
    position: relative;
    padding: 3rem var(--space-lg) 2.5rem var(--space-lg);
    /* Reduced bottom padding by 50% (from 5rem) */
    background: #ffffff;
    /* Ensure white background context */
}

.process__header {
    max-width: 1440px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.process__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.process__subtitle {
    font-size: 1.0625rem;
    color: #000000;
}

.process-bloomr__container {
    position: relative;
    max-width: 80rem;
    /* max-w-7xl */
    margin: 0 auto;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    /* Allow enough height for scrolling */
    padding-bottom: 20vh;
}

@media (min-width: 640px) {
    .process-bloomr__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .process-bloomr__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.process-bloomr__card {
    position: sticky;
    /* Dynamic top offset based on index */
    /* Dynamic top offset based on index */
    top: calc(10vh + var(--index) * 2.5vh);

    width: 100%;
    max-width: 1300px;
    height: 80vh;
    margin: 0 auto 5vh auto;
    /* Spacing between regular flow */

    background: #161616;
    border: 2px solid #4a4a4a;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);

    /* Ensure they stack correctly */
    z-index: var(--index);

    /* Flex content - align with space */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2xl) 5%;
    color: white;
    gap: var(--space-xl);
}

@media (max-width: 1024px) {
    .process-bloomr__card {
        flex-direction: column;
        height: auto;
        min-height: 70vh;
        padding: 3rem 2rem;
        text-align: center;
        justify-content: center;
    }

    .process-bloomr__card:nth-child(n) {
        top: 100px !important;
        /* Reset sticky top for simpler stacking or adjust */
        position: relative;
        /* Disable sticky on smaller screens if it causes issues, or keep sticky with better offsets */
        /* keeping sticky but ensuring they don't overlap too much if content is huge */
        top: calc(5vh + var(--index) * 2vh);
    }
}

@media (max-width: 768px) {
    .process-bloomr__card {
        padding: 2rem 1.5rem;
        min-height: auto;
        margin-bottom: 2rem;
        position: relative;
        top: 0;
    }
}

.process-card__content {
    flex: 1;
    max-width: 45%;
    text-align: left;
}

@media (max-width: 1024px) {
    .process-card__content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
}

.process-card__image-wrap {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .process-card__image-wrap {
        max-width: 100%;
        justify-content: center;
    }
}

.process-card__img {
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-bloomr__card:hover .process-card__img {
    transform: scale(1.03);
}

.reveal--right {
    transform: translateX(30px);
}

.reveal--right.visible {
    transform: translateX(0);
}

.process-card__step {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
}

.process-card__title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: #ffffff;
}

.process-card__description {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 600;
    line-height: 1.5;
    color: #e0e0e0;
}


/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 5rem var(--space-lg);
    /* Reduced top padding by 50% (from 10rem) */
    border-top: 1px solid var(--color-border);
}

.services__content {
    max-width: 80rem;
    /* max-w-7xl */
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .services__content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services__content {
        padding: 0 2rem;
    }
}

.services__headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* Grid Layout */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.4rem;
    max-width: 1560px;
    margin: 0 auto;
}

/* Card Styling */
/* Card Styling */
.service-card {
    position: relative;
    background-color: #161616;
    border-radius: 20px;
    min-height: 455px;
    /* Default height for the 5th card */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    color: #ffffff;
    justify-content: flex-start;
    /* Title stays at top */
    height: auto;
}

.service-card__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
}

.service-card__description {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.6;
    color: #ffffff;
    margin: auto 0;
    max-width: 90%;
}

/* First 4 cards are 15% taller than previous 546px (~628px) */
.service-card:nth-child(-n+4) {
    min-height: 628px;
    height: auto;
}

@media (max-width: 768px) {
    .service-card:nth-child(-n+4) {
        min-height: auto;
    }

    .service-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
}



/* 5th Card spans full width (Website Development) */
.service-card:nth-child(5) {
    grid-column: 1 / -1;
    width: 100%;
}

/* Interactive Service Card (AI Consulting) */
.service-card--interactive {
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.service-card--interactive:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #000000;
    transform: scale(1.03);
}

.service-card--interactive .service-card__title,
.service-card--interactive .service-card__description {
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card--interactive:hover .service-card__title,
.service-card--interactive:hover .service-card__description {
    color: #000000;
}

/* ---- Expandable Card (Customer Support) ---- */
.service-card--expandable {
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 628px;
    /* matches the first-4 card height */
    min-height: 628px;
    /* ensure default size matches other cards */
    height: auto !important;
    /* override nth-child fixed height so card can grow */
    cursor: pointer;
}

.service-card--expandable.is-open {
    max-height: var(--card-expanded-height, 2200px);
}

/* Hidden images container */
.service-card__images {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-top: 1.5rem;
    width: 100%;
    max-width: 90%;
    /* Start collapsed */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease,
        padding 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    padding-top: 0;
    padding-bottom: 0;
}

.service-card--expandable.is-open .service-card__images {
    max-height: var(--img-expanded-height, 2000px);
    opacity: 1;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

/* Side-by-side image layout */
.service-card__images--row {
    flex-direction: row;
    max-width: 100%;
}

.service-card__images--row .service-card__image-wrapper {
    width: calc(50% - 0.6rem);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card__images--row .service-card__preview-img {
    width: 100%;
    /* Image takes full width of wrapper */
    flex-shrink: 0;
}

.service-card__link {
    font-size: 1.35rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    text-align: center;
    display: block;
    margin-top: 0.5rem;
    font-weight: 700;
}

.service-card__link--prime {
    color: #0B3A2E;
}

.service-card__link--prime:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.service-card__link--otslabnah {
    color: #84BD22;
}

.service-card__link--otslabnah:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 5th card (Website Development) has a shorter default height */
.service-card:nth-child(5).service-card--expandable {
    max-height: 455px;
    min-height: 455px;
}

.service-card:nth-child(5).service-card--expandable.is-open {
    max-height: var(--card-expanded-height, 2200px);
}

/* Individual preview images */
.service-card__preview-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image headlines */
.service-card__img-headline {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card__img-headline:first-child {
    margin-top: 0;
}

.service-card--expandable.is-open .service-card__img-headline {
    opacity: 1;
    transform: translateY(0);
}

.service-card--expandable.is-open .service-card__preview-img {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for each image */
.service-card--expandable.is-open .service-card__preview-img:nth-child(1) {
    transition-delay: 0.08s;
}

.service-card--expandable.is-open .service-card__preview-img:nth-child(2) {
    transition-delay: 0.16s;
}

.service-card--expandable.is-open .service-card__preview-img:nth-child(3) {
    transition-delay: 0.24s;
}

.service-card--expandable.is-open .service-card__preview-img:nth-child(4) {
    transition-delay: 0.32s;
}

/* Responsive */
@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* On mobile, 1/-1 is still full width (1 column), so no change needed really, 
       but good to be explicit or just let natural flow handle it. */
}

/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--top {
    transform: translateY(-30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.08s;
}

.reveal--bottom {
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.18s;
}

.reveal--card-top {
    transform: translateY(-60px) scale(0.96);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal--card-bottom {
    transform: translateY(60px) scale(0.96);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}



/* ============================================
   HAMBURGER BUTTON (hidden on desktop)
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

/* Animate to X when active */
.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAV OVERLAY (hidden on desktop)
   ============================================ */

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.97);
    z-index: 1050;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.mobile-nav__link {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}

.mobile-nav.active .mobile-nav__link {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entrance for nav links */
.mobile-nav.active .mobile-nav__link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active .mobile-nav__link:nth-child(2) {
    transition-delay: 0.17s;
}

.mobile-nav.active .mobile-nav__link:nth-child(3) {
    transition-delay: 0.24s;
}

.mobile-nav.active .mobile-nav__link:nth-child(4) {
    transition-delay: 0.31s;
}

.mobile-nav__link:hover,
.mobile-nav__link:active {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-nav__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.38s, transform 0.4s ease 0.38s;
}

.mobile-nav.active .mobile-nav__contact {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav__contact-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.mobile-nav__contact-link:hover {
    color: #ffffff;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   RESPONSIVE — TABLET (< 992px)
   ============================================ */

@media (max-width: 992px) {

    /* Show hamburger, hide desktop nav & contact */
    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .header__center {
        display: none;
    }

    .header__right .btn--contact {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    /* Switch to flexbox: logo takes all remaining space, lang + burger cluster right */
    .header__inner {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .header__left {
        flex: 1;
        min-width: 0;
    }

    .header__right {
        position: absolute;
        right: 80px;
        top: 50%;
        transform: translateY(-50%);
    }

    .contact-widget {
        min-width: 0;
        width: auto;
    }
}

/* ============================================
   RESPONSIVE — EXISTING 1024px (keep for process cards etc.)
   ============================================ */

@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero__image {
        justify-content: center;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about__image {
        order: -1;
        justify-content: center;
    }

    .services__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .services__image {
        justify-content: center;
    }
}

/* ============================================
   MOBILE FIX — Disable scroll-reveal hidden state
   Forces all animated elements visible on mobile
   so anchor navigation doesn't show empty sections.
   ============================================ */

@media (max-width: 768px) {

    .reveal,
    .reveal--top,
    .reveal--bottom,
    .reveal--card-top,
    .reveal--card-bottom,
    .reveal--right,
    .service-card,
    .services__text,
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        visibility: visible !important;
    }

    /* Extra spacing between process and services sections */
    .services {
        padding-top: 48px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================ */

@media (max-width: 768px) {

    /* --- HEADER --- */
    .header__inner {
        padding: 0.5rem 1rem;
    }

    .header__logo-img {
        width: 24px;
        height: 24px;
    }

    .header__logo-text {
        font-size: 1rem;
    }

    .header__logo {
        gap: 0.5rem;
    }

    .btn--lang {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .contact-widget {
        min-width: auto;
    }

    /* --- HERO --- */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 0 1.5rem;
        padding-top: 70px;
    }

    .hero__content {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0;
    }

    .hero__headline {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }

    .hero__subtext {
        font-size: 1.05rem;
        font-weight: 500;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero__subtext br {
        display: none;
    }

    .hero .btn--primary {
        font-size: 0.9rem;
        padding: 0.875rem 1.75rem;
    }

    /* Darker hero overlay for mobile readability */
    .hero__overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.45) 0%,
                rgba(0, 0, 0, 0.7) 50%,
                rgba(0, 0, 0, 0.88) 100%);
    }

    /* Background image center & cover on mobile */
    .hero__video {
        object-position: 82% center;
    }

    /* --- MARQUEE --- */
    .marquee {
        padding: 1.25rem 0;
    }

    .marquee img {
        width: 200px;
        border-radius: 10px;
        margin-right: 16px;
    }

    .marquee-track {
        animation-duration: 35s;
    }

    /* --- ABOUT --- */
    .about {
        padding: 3rem 1.25rem;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .about__text {
        text-align: center;
    }

    .about__headline {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 1rem;
    }

    .about__paragraph {
        font-size: 1.05rem;
        font-weight: 500;
        line-height: 1.7;
    }

    .about__image {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        order: -1;
    }

    .about__img-split {
        width: 80%;
        max-width: 350px;
    }

    /* --- PROCESS --- */
    .process-bloomr {
        padding: 3rem 1.25rem 1.5rem;
    }

    .process-bloomr__container {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .process-bloomr__card {
        padding: 2rem 1.5rem;
        min-height: auto;
        margin-bottom: 1.5rem;
        position: relative;
        top: 0 !important;
        border-radius: 20px;
        gap: 1.5rem;
    }

    .process-card__content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .process-card__image-wrap {
        max-width: 100%;
        justify-content: center;
    }

    .process-card__img {
        border-radius: 16px;
        max-height: 35vh;
    }

    .process__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .process-card__title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 0.75rem;
    }

    .process-card__description {
        font-size: 1rem;
        font-weight: 600;
    }

    .process-card__step {
        font-size: 0.8rem;
    }

    /* --- SERVICES --- */
    .services {
        padding: 4rem 1.25rem 3rem;
    }

    .services__headline {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 2rem;
        margin-top: 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        min-height: auto;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .service-card:nth-child(-n+4) {
        min-height: auto;
    }

    .service-card__title {
        font-size: 1.5rem;
    }

    .service-card__description {
        font-size: 1rem;
        font-weight: 600;
        max-width: 100%;
        line-height: 1.7;
    }

    /* Expandable cards: collapsed by default, tap-to-expand on mobile */
    .service-card--expandable {
        max-height: 500px;
        overflow: hidden;
        transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
        cursor: pointer;
    }

    .service-card:nth-child(5).service-card--expandable {
        max-height: 500px;
    }

    .service-card__images {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    }

    .service-card__preview-img {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    }

    .service-card__img-headline {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
        font-size: 1.1rem;
    }

    /* Side-by-side images stack vertically on mobile */
    .service-card__images--row {
        flex-direction: column;
    }

    .service-card__images--row .service-card__image-wrapper {
        width: 100%;
    }

    .service-card__link {
        font-size: 1.1rem;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (< 480px)
   ============================================ */

@media (max-width: 480px) {
    .header__inner {
        padding: 0.4rem 0.75rem;
    }

    .hero__headline {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .hero__subtext {
        font-size: 0.95rem;
    }

    .hero .btn--primary {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem;
    }

    .about__headline {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .about__paragraph {
        font-size: 0.95rem;
    }

    .about__img-split {
        width: 90%;
    }

    .process-bloomr__card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }

    .service-card__title {
        font-size: 1.3rem;
    }

    .service-card__description {
        font-size: 0.95rem;
    }

    .mobile-nav__link {
        font-size: 1.6rem;
    }

    .marquee img {
        width: 160px;
    }

    .marquee-track {
        animation-duration: 28s;
    }
}

/* ============================================
   ABOUT — TOOLS LIST
   ============================================ */

.about__tools {
    margin-top: var(--space-md);
    text-align: center;
}

.about__tools-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.about__tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    justify-content: center;
}

.about__tools-list li {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .about__tools {
        margin-top: 1.5rem;
    }

    .about__tools-list li {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 5rem var(--space-lg);
    background: #f8f8f8;
    border-top: 1px solid var(--color-border);
}

.testimonials__content {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.testimonials__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.testimonial-card__text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text);
    font-weight: 500;
    margin: 0;
}

.testimonial-card__author {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    font-style: normal;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 1.25rem;
    }

    .testimonials__content {
        padding: 0;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .testimonials__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card__text {
        font-size: 1rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: 5rem var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.faq__content {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.faq__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.faq__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.faq__subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
}

.faq__list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq__item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq__item[open] {
    border-color: var(--color-text);
}

.faq__question {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: background var(--transition-fast);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    line-height: 1;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__question:hover {
    background: #fafafa;
}

.faq__answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    font-weight: 500;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__answer a {
    color: var(--color-text);
    text-decoration: underline;
}

.faq__answer a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .faq {
        padding: 3rem 1.25rem;
    }

    .faq__content {
        padding: 0;
    }

    .faq__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .faq__question {
        font-size: 0.9375rem;
        padding: 1rem 1.25rem;
    }

    .faq__answer {
        padding: 0 1.25rem 1rem 1.25rem;
        font-size: 0.9375rem;
    }
}

/* ============================================
   SITE FOOTER
   ============================================ */

.site-footer {
    background: #161616;
    color: #ffffff;
    padding: 4rem var(--space-lg) 2rem;
    border-top: 1px solid #2a2a2a;
}

.site-footer__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-decoration: none;
}

.site-footer__logo span {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-footer__tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.site-footer__location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.site-footer__heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.site-footer__services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer__services a,
.site-footer__contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
}

.site-footer__services a:hover,
.site-footer__contact a:hover {
    color: #ffffff;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer__links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.site-footer__links a {
    font-size: 0.8125rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.site-footer__links a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer__bottom {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

@media (max-width: 992px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 1.25rem 1.5rem;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        margin-bottom: 2rem;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__bottom {
        padding: 1.25rem 0 0;
    }
}

/* ============================================
   HEADER — LAPTOP SCALING FIX (≤ 1600px)
   ============================================ */
@media (max-width: 1600px) {
    .header__inner {
        padding: 0.55rem 2rem;
    }

    .header__logo-img {
        width: 26px;
        height: 26px;
    }

    .header__logo-text {
        font-size: 1.1rem;
    }

    .header__link {
        font-size: 0.875rem;
    }

    .btn--lang {
        width: 38px;
        height: 38px;
        font-size: 0.75rem;
    }

    .btn--contact {
        padding: 0.6rem 1.35rem;
        font-size: 0.8125rem;
    }

    .contact-widget {
        min-width: 250px;
    }
}

/* ============================================
   HEADER NAV — GAP REDUCTION AT SMALLER DESKTOPS
   ============================================ */
@media (max-width: 1440px) {
    .header__nav {
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .header__nav {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .contact-widget {
        min-width: 0;
    }
}

/* ============================================
   ACTIVE NAV LINK STATE
   ============================================ */
.header__link.active::after {
    width: 100%;
}

.header__link.active {
    opacity: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 7rem var(--space-lg);
    background: #000000;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.cta-section__inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-section__headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-section__sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-section__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-section__btn {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-section__headline {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .cta-section__sub {
        font-size: 1rem;
    }
}

/* ============================================
   PHASE 2 — HERO DUAL CTA + SCROLL HINT
   ============================================ */
.hero__cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn--ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.hero__scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero__scroll-hint:hover {
    color: rgba(255, 255, 255, 0.85);
}

.hero__scroll-chevron {
    font-size: 1.4rem;
    animation: scrollBounce 2s ease-in-out infinite;
    display: block;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

/* ============================================
   PHASE 3 — SERVICE CARD EXPAND CONTROLS
   ============================================ */
.service-card__expand-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    line-height: 1;
    padding: 0;
    font-family: var(--font-primary);
}

.service-card__expand-btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.service-card--expandable.is-open .service-card__expand-btn {
    transform: rotate(45deg);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 90%;
    margin-top: auto;
    padding-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-card__expand-hint {
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.03em;
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   PHASE 4 — SCROLL PROGRESS BAR
   ============================================ */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2000;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ============================================
   PHASE 5 — BACK TO TOP BUTTON
   ============================================ */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    font-family: var(--font-primary);
    font-weight: 600;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* ============================================
   PHASE 6 — CONTACT BUTTON CHEVRON
   ============================================ */
.btn__chevron {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

#contactBtn.open .btn__chevron {
    transform: rotate(180deg);
}

/* ============================================
   PHASE 8 — SERVICE CARD GET LINK
   ============================================ */
.service-card__get-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.service-card__get-link:hover {
    color: #ffffff;
}

/* For interactive cards (no footer wrapper) */
.service-card--interactive .service-card__get-link {
    margin-top: auto;
    padding-top: 1.5rem;
}

/* ============================================
   PHASE 9 — KEYBOARD FOCUS STYLES
   ============================================ */
*:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 3px;
}

.hero *:focus-visible,
.process-bloomr *:focus-visible,
.services *:focus-visible,
.cta-section *:focus-visible,
.site-footer *:focus-visible {
    outline-color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PHASE 10 — TOAST NOTIFICATION
   ============================================ */
#toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #111111;
    color: #ffffff;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-primary);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   MOBILE UI — PHASE 1: HERO CTA STACK
   ============================================ */
@media (max-width: 600px) {
    .hero__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero__cta-buttons .btn--primary,
    .hero__cta-buttons .btn--ghost {
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .hero__scroll-hint {
        display: none;
    }
}

/* ============================================
   MOBILE UI — PHASE 2: HIDE EXPAND CONTROLS
   ============================================ */
@media (max-width: 768px) {
    .service-card__expand-btn {
        display: none;
    }

    .service-card__expand-hint {
        display: none;
    }

    .service-card__footer {
        justify-content: flex-start;
        padding-top: 1rem;
    }
}

/* ============================================
   MOBILE UI — PHASE 3: MOBILE NAV CTA
   ============================================ */
.mobile-nav__cta {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.01em;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}

.mobile-nav.active .mobile-nav__cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav__cta:active {
    opacity: 0.85;
}

/* ============================================
   MOBILE UI — PHASE 4: TOUCH TARGETS
   ============================================ */
@media (max-width: 768px) {
    .mobile-nav__contact-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn--lang {
        width: 40px;
        height: 40px;
    }

    .service-card__expand-btn {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   MOBILE UI — PHASE 5: PROCESS READABILITY
   ============================================ */
@media (max-width: 768px) {
    .process-card__description {
        font-weight: 500;
        line-height: 1.65;
    }

    .process-bloomr {
        padding: 3.5rem 1.25rem 2rem;
    }

    .process__subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   MOBILE UI — PHASE 7: TOOLS LIST OVERFLOW
   ============================================ */
@media (max-width: 480px) {
    .about__tools-list li {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }
}

/* ============================================
   MOBILE UI — PHASE 9: BACK TO TOP + TOAST
   ============================================ */
@media (max-width: 768px) {
    #backToTop {
        bottom: 5rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    #toast {
        bottom: 1.5rem;
        font-size: 0.8125rem;
        padding: 0.6rem 1.2rem;
    }
}

/* ============================================
   MOBILE UI — PHASE 10: MOBILE NAV REFINEMENTS
   ============================================ */
.mobile-nav__links {
    padding-top: max(2rem, env(safe-area-inset-top));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
    .mobile-nav__contact {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .mobile-nav__contact-link {
        font-size: 1.05rem;
    }
}

/* ============================================
   MOBILE UX — PHASE 1: TAP-TO-EXPAND CARDS
   ============================================ */
@media (max-width: 768px) {
    .service-card__expand-btn {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .service-card--expandable.is-open {
        max-height: var(--card-expanded-height, 1200px);
        overflow: visible;
    }

    .service-card--expandable.is-open .service-card__images {
        max-height: var(--img-expanded-height, 800px);
        overflow: visible;
        opacity: 1;
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
    }

    .service-card--expandable.is-open .service-card__preview-img {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card--expandable.is-open .service-card__img-headline {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MOBILE UX — PHASE 2: SCROLL MARGIN FOR HEADER
   ============================================ */
#home, #about, #process, #services, #faq {
    scroll-margin-top: 70px;
}

/* ============================================
   MOBILE UX — PHASE 4: TAP HIGHLIGHT + ACTIVE STATES
   ============================================ */
* {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .mobile-nav__link:active {
        opacity: 0.5;
    }

    .service-card--expandable:active {
        opacity: 0.88;
    }

    .faq__question:active {
        background: #f0f0f0;
    }

    .btn--primary:active,
    .btn--ghost:active,
    .btn--contact:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* ============================================
   MOBILE UX — PHASE 8: PROCESS IMAGE HEIGHT
   ============================================ */
@media (max-width: 768px) {
    .process-card__img {
        max-height: 22vh;
    }
}

/* ============================================
   MOBILE UX — PHASE 9: FOOTER TOUCH TARGETS
   ============================================ */
@media (max-width: 768px) {
    .site-footer__services a,
    .site-footer__contact a {
        padding: 0.4rem 0;
    }
}

/* ============================================
   MOBILE UX — PHASE 10: SCROLL CONTAINMENT
   ============================================ */
@media (max-width: 768px) {
    .mobile-nav {
        overscroll-behavior: contain;
    }

    .mobile-nav__links {
        touch-action: pan-y;
    }
}
