/* ============================================
   KELAP - Main Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-primary: #2C3E50;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray: #5F7182;
    --color-teal: #2C3B42;
    --color-accent: #3B4F61;
    --color-dark-bg: #0a0f14;
    --color-red: #FF4D4D;
    --color-whatsapp: #25D366;

    --gradient-primary: linear-gradient(135deg, #2C3E50 0%, #000000 100%);
    --gradient-hero: linear-gradient(180deg, #2C3E50 0%, #0a0f14 100%);

    --font-headline: 'Cocogoose Pro', 'Arial Black', 'Helvetica Neue', sans-serif;
    --font-body: 'Helvetica Now', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-numbers: 'Space Grotesk', 'Helvetica Neue', sans-serif;

    --section-padding: 140px 80px;
    --max-width: 1400px;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-white);
    background: var(--color-black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Hide default cursor only when JS loaded */
html.js-loaded body {
    cursor: none;
}

html.js-loaded a,
html.js-loaded button,
html.js-loaded [role="button"],
html.js-loaded input,
html.js-loaded select,
html.js-loaded textarea {
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Skip to content (accessibility) --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 99999;
    padding: 12px 24px;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
}

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

/* --- Focus visible (accessibility) --- */
:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 4px;
}

/* --- Language Switcher --- */
.lang-switch {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 4px;
}

.lang-switch__option {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 18px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    transition: color 0.35s var(--ease-smooth);
}

.lang-switch__option:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Active language — based on html[lang] */
html[lang="fr"] .lang-switch__option[data-lang="fr"],
html[lang="en"] .lang-switch__option[data-lang="en"] {
    color: var(--color-white);
}

/* Pointer on inactive only */
html[lang="fr"] .lang-switch__option[data-lang="fr"],
html[lang="en"] .lang-switch__option[data-lang="en"] {
    pointer-events: none;
}

/* Sliding pill indicator */
.lang-switch__slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: calc(50% - 4px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html[lang="fr"] .lang-switch__slider {
    left: 4px;
}

html[lang="en"] .lang-switch__slider {
    left: 50%;
}

/* --- Custom Cursor --- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s var(--ease-smooth);
    mix-blend-mode: difference;
    display: none;
}

html.js-loaded .cursor {
    display: block;
}

.cursor__dot {
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s var(--ease-smooth), background 0.2s;
}

.cursor__ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s var(--ease-smooth), border-color 0.3s;
}

body.cursor-hover .cursor__dot {
    transform: translate(-50%, -50%) scale(2);
    background: var(--color-white);
}

body.cursor-hover .cursor__ring {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--color-accent);
}

/* --- Section Base --- */
.section {
    position: relative;
    overflow: hidden;
}

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

/* ============================================
   SECTION 1: HERO
   All elements VISIBLE by default.
   GSAP hides + animates them on load.
   ============================================ */
.section--hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero__nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.hero__nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero__cta-btn {
    display: inline-block;
    padding: 16px 40px;
    margin-top: 40px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero__cta-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

html.js-loaded .hero__cta-btn {
    cursor: none;
}

.hero__logo {
    height: 32px;
    width: auto;
}

.hero__content {
    text-align: center;
    z-index: 5;
    position: relative;
}

.hero__eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 32px;
}

.hero__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: clamp(38px, 6.5vw, 96px);
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero__title-line {
    display: block;
}

.hero__subtitle {
    font-family: var(--font-headline);
    font-weight: 300;
    font-size: clamp(20px, 2.9vw, 42px);
    color: var(--color-gray);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
}

.hero__scroll-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gray);
}

.hero__scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-gray);
    border-bottom: 2px solid var(--color-gray);
    transform: rotate(45deg);
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION 2: VALUE PROPOSITION
   ============================================ */
.section--value {
    background: var(--color-dark-bg);
    padding: 160px 0;
    position: relative;
}

.section--value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/brand-pattern-white.png');
    background-repeat: repeat;
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

.value__text {
    margin-bottom: 100px;
}

.value__headline {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 84px;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 32px;
}

.value__headline span {
    display: block;
}

.value__description {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 22px;
    line-height: 1.7;
    color: var(--color-gray);
    max-width: 600px;
}

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

.stat {
    text-align: center;
}

.stat__number {
    font-family: var(--font-numbers);
    font-weight: 700;
    font-size: 72px;
    color: var(--color-white);
    display: inline;
    letter-spacing: -2px;
}

.stat__suffix {
    font-family: var(--font-numbers);
    font-weight: 700;
    font-size: 72px;
    color: var(--color-accent);
    letter-spacing: -1px;
}

.stat__label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-top: 12px;
}

/* ============================================
   SECTION 3: PORTFOLIO
   ============================================ */
.section--portfolio {
    background: var(--color-dark-bg);
    padding: 120px 0;
    overflow: hidden;
}

.portfolio__header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 10;
}

.portfolio__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 72px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.portfolio__subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 20px;
    color: var(--color-gray);
}

/* --- Grid --- */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

.portfolio__card {
    display: block;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 16 / 9;
    transition: transform 0.3s ease;
}

.portfolio__card:hover {
    transform: translateY(-4px);
}

.portfolio__card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: var(--color-dark-bg);
}

.portfolio__card-placeholder {
    background: linear-gradient(135deg, #0f1519, #151d24);
}

.portfolio__card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio__card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.portfolio__card-category {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    display: inline-block;
    padding: 5px 12px;
    background: var(--color-accent);
    border-radius: 20px;
    margin-bottom: 10px;
}

.portfolio__card-title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-white);
}

.portfolio__more {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-top: 48px;
}

.portfolio__more a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.portfolio__more a:hover {
    color: #fff;
}

/* ============================================
   SECTION 4: SERVICES
   ============================================ */
.section--services {
    background: var(--color-primary);
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.services__header {
    text-align: center;
    margin-bottom: 80px;
}

.services__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 72px;
    color: var(--color-white);
    line-height: 1.05;
    letter-spacing: -1px;
}

.services__title--outline {
    -webkit-text-stroke: 2px var(--color-white);
    color: transparent;
}

.services__list {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: var(--color-white);
    position: relative;
    transition: padding-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover {
    padding-left: 24px;
}

.service-item:hover::before {
    width: 100%;
}

.service-item__number {
    font-family: var(--font-numbers);
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.3);
    min-width: 32px;
    transition: color 0.4s;
}

.service-item:hover .service-item__number {
    color: var(--color-white);
}

.service-item__name {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.1;
    white-space: nowrap;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover .service-item__name {
    transform: translateX(8px);
}

.service-item__desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    flex: 1;
    text-align: left;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover .service-item__desc {
    opacity: 1;
    transform: translateX(0);
}

.service-item__arrow {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.4s, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-left: auto;
}

.service-item:hover .service-item__arrow {
    color: var(--color-white);
    transform: translateX(8px);
}

/* ============================================
   SECTION 5: SOCIAL PROOF
   ============================================ */
.section--trust {
    background: var(--color-dark-bg);
    padding: 160px 0;
    position: relative;
}

.trust__container {
    text-align: center;
}

.trust__quote {
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
}

.trust__quote::before,
.trust__quote::after {
    content: '\201C';
    position: absolute;
    font-family: var(--font-headline);
    font-size: 200px;
    color: var(--color-accent);
    opacity: 0.1;
    line-height: 1;
    transform: scale(0);
    transition: transform 0.6s var(--ease-smooth);
}

.trust__quote::before {
    top: -60px;
    left: -40px;
}

.trust__quote::after {
    content: '\201D';
    bottom: -100px;
    right: -40px;
}

.trust__quote.is-visible::before,
.trust__quote.is-visible::after {
    transform: scale(1);
}

.trust__quote blockquote p {
    font-family: var(--font-headline);
    font-weight: 300;
    font-size: 36px;
    line-height: 1.4;
    color: var(--color-white);
}

.trust__quote blockquote p .word {
    display: inline-block;
    margin-right: 0.3em;
}

.trust__quote cite {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-gray);
    margin-top: 32px;
    font-style: normal;
    letter-spacing: 1px;
}

.trust__divider {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 60px;
}

.trust__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.trust__badge {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust__badge-icon {
    width: 64px;
    height: 74px;
    margin-bottom: 12px;
    object-fit: contain;
}

.trust__badge-number {
    font-family: var(--font-numbers);
    font-weight: 700;
    font-size: 48px;
    color: var(--color-white);
    display: block;
    height: 74px;
    line-height: 74px;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.trust__badge-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gray);
}

/* ============================================
   SECTION 6: CTA
   ============================================ */
.section--cta {
    padding: 180px 0;
    position: relative;
    background: var(--gradient-primary);
}

.cta__pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/brand-pattern-white.png');
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.04;
    animation: diagonalScroll 20s linear infinite;
    pointer-events: none;
}

.cta__container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 72px;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
}

.cta__title span {
    display: block;
}

.cta__subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 22px;
    color: var(--color-gray);
    margin-bottom: 56px;
}

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

.cta__cal-embed {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    min-height: 500px;
}

.cta__cal-embed > div {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.cta__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 48px;
    background: var(--color-whatsapp);
    color: var(--color-white);
    border: none;
    border-radius: 60px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
    animation: glowPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

html.js-loaded .cta__whatsapp {
    cursor: none;
}

.cta__whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.cta__whatsapp:hover {
    transform: scale(1.06);
    box-shadow: 0 0 60px rgba(37, 211, 102, 0.5), 0 0 120px rgba(37, 211, 102, 0.2);
}

.cta__whatsapp svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}

.cta__whatsapp span {
    position: relative;
    z-index: 1;
}

.cta__secondary {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.6;
    transition: opacity 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

html.js-loaded .cta__secondary {
    cursor: none;
}

.cta__secondary:hover {
    opacity: 1;
}

/* --- CTA Divider --- */
.cta__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin: 24px auto;
}

.cta__divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.cta__divider-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- CTA Callback Form --- */
.cta__callback {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.cta__callback-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.cta__callback-row {
    display: flex;
    gap: 0;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s var(--ease-smooth);
}

.cta__country-btn {
    border-radius: 60px 0 0 60px;
}

.cta__callback-btn {
    border-radius: 0 60px 60px 0;
}

.cta__callback-row:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- Country Picker --- */
.cta__country-picker {
    position: relative;
    flex-shrink: 0;
    display: flex;
}

.cta__country-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 0 16px;
    margin: -1px 0 -1px -1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-numbers);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.2s;
}

html.js-loaded .cta__country-btn {
    cursor: none;
}

.cta__country-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cta__country-flag {
    font-size: 18px;
    line-height: 1;
}

.cta__country-code {
    font-size: 14px;
    opacity: 0.8;
}

.cta__country-chevron {
    opacity: 0.4;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.cta__country-picker.is-open .cta__country-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.cta__country-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 300px;
    max-height: 0;
    overflow: hidden;
    background: #141920;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.cta__country-picker.is-open .cta__country-dropdown {
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Search */
.cta__country-search-wrap {
    position: relative;
    padding: 12px 12px 0;
}

.cta__country-search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-25%);
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.cta__country-search {
    width: 100%;
    padding: 12px 16px 12px 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

html.js-loaded .cta__country-search {
    cursor: none;
}

.cta__country-search::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.cta__country-search:focus {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Country list */
.cta__country-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.cta__country-list::-webkit-scrollbar {
    width: 5px;
}

.cta__country-list::-webkit-scrollbar-track {
    background: transparent;
}

.cta__country-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

/* Country option */
.cta__country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    text-align: left;
    transition: background 0.15s;
}

html.js-loaded .cta__country-option {
    cursor: none;
}

.cta__country-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.cta__country-option--active {
    background: rgba(255, 255, 255, 0.06);
}

.cta__country-option-flag {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.cta__country-option-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta__country-option-code {
    font-family: var(--font-numbers);
    font-size: 13px;
    opacity: 0.5;
    flex-shrink: 0;
}

.cta__country-empty {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
    font-size: 14px;
}

.cta__callback-input {
    flex: 1;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    outline: none;
    font-family: var(--font-numbers);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-white);
    letter-spacing: 1px;
    min-width: 0;
}

.cta__callback-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

html.js-loaded .cta__callback-input {
    cursor: none;
}

.cta__callback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 32px;
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

html.js-loaded .cta__callback-btn {
    cursor: none;
}

.cta__callback-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.03);
}

.cta__callback-arrow {
    transition: transform 0.3s var(--ease-smooth);
}

.cta__callback-btn:hover .cta__callback-arrow {
    transform: translateX(3px);
}

.cta__callback-status {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    margin-top: 12px;
    min-height: 20px;
    transition: opacity 0.3s;
}

.cta__callback-status--success {
    color: var(--color-whatsapp);
}

.cta__callback-status--error {
    color: var(--color-red);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-black);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__logo {
    height: 28px;
    width: auto;
    margin: 0 auto 16px;
    opacity: 0.6;
}

.footer__tagline {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a9bab;
    margin-bottom: 24px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer__links a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    color: #6a7b8b;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer__copyright {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 13px;
    color: #7a8b9b;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.section--faq {
    background: var(--color-dark-bg);
    padding: 160px 0;
    position: relative;
}

.faq__header {
    text-align: center;
    margin-bottom: 80px;
}

.faq__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 72px;
    color: var(--color-white);
    line-height: 1.05;
}

.faq__title--outline {
    -webkit-text-stroke: 2px var(--color-white);
    color: transparent;
}

.faq__list {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq__item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-headline);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::marker {
    display: none;
    content: '';
}

.faq__question:hover {
    color: var(--color-accent);
}


html.js-loaded .faq__question {
    cursor: none;
}

.faq__icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: var(--color-white);
    transition: transform 0.3s ease;
}

.faq__icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.faq__icon::after {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.faq__item[open] .faq__icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq__answer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    max-width: 700px;
    overflow: hidden;
    will-change: height;
    transition: height 0.35s ease;
}

.faq__answer-inner {
    padding: 0 0 28px;
}

.faq__answer a {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.faq__answer a:hover {
    opacity: 0.7;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 320px;
    background: rgba(15, 21, 25, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.cookie-banner__text {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-white);
    line-height: 1.5;
    margin: 0 0 12px;
}

.cookie-banner__actions {
    display: flex;
    gap: 8px;
}

.cookie-banner__btn {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 7px 16px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cookie-banner__btn:hover {
    opacity: 0.85;
}

.cookie-banner__btn--accept {
    background: var(--color-white);
    color: var(--color-black);
}

.cookie-banner__btn--decline {
    background: transparent;
    color: var(--color-gray);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============================================
   RESPONSIVE — SMALL DESKTOP / TABLET LANDSCAPE (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {

    :root {
        --section-padding: 100px 40px;
    }

    /* --- Value Proposition --- */
    .value__headline {
        font-size: 60px;
    }

    .stat__number,
    .stat__suffix {
        font-size: 56px;
    }

    /* --- Portfolio --- */
    .portfolio__title {
        font-size: 52px;
    }

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

    /* --- Services --- */
    .services__title {
        font-size: 48px;
    }

    /* --- FAQ --- */
    .faq__title {
        font-size: 48px;
    }

    /* --- Trust --- */
    .trust__quote blockquote p {
        font-size: 28px;
    }

    .trust__quote::before,
    .trust__quote::after {
        font-size: 140px;
    }

    /* --- CTA --- */
    .cta__title {
        font-size: 48px;
    }
}

/* ============================================
   RESPONSIVE — TABLET & MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    /* --- Global --- */
    .container {
        padding: 0 20px;
    }

    /* --- Cursor: disable on touch --- */
    html.js-loaded body {
        cursor: auto;
    }

    .cursor {
        display: none !important;
    }

    html.js-loaded .cta__whatsapp,
    html.js-loaded .cta__secondary {
        cursor: auto;
    }

    /* --- Language Switcher mobile --- */
    .lang-switch__option {
        padding: 6px 14px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    /* --- Hero --- */
    .section--hero {
        min-height: 100svh;
    }

    .hero__nav {
        padding: 24px 20px;
    }

    .hero__cta-btn {
        padding: 14px 32px;
        font-size: 14px;
        margin-top: 30px;
    }

    .hero__logo {
        height: 26px;
    }

    .hero__eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .hero__title {
        margin-bottom: 16px;
    }

    .hero__scroll {
        bottom: 24px;
    }

    /* --- Value Proposition --- */
    .section--value {
        padding: 80px 0;
    }

    .value__text {
        margin-bottom: 48px;
    }

    .value__headline {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .value__description {
        font-size: 17px;
        line-height: 1.6;
    }


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

    .stat__number {
        font-size: 48px;
    }

    .stat__suffix {
        font-size: 48px;
    }

    /* --- Portfolio --- */
    .section--portfolio {
        padding: 80px 0;
    }

    .portfolio__header {
        margin-bottom: 40px;
    }

    .portfolio__title {
        font-size: 40px;
    }

    .portfolio__subtitle {
        font-size: 16px;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .portfolio__card-inner {
        border-radius: 12px;
    }

    .portfolio__card-overlay {
        padding: 16px 20px;
    }

    .portfolio__card-category {
        font-size: 10px;
        padding: 4px 10px;
    }

    .portfolio__card-title {
        font-size: 18px;
    }

    /* Portfolio: show overlay on mobile (no hover) */
    .portfolio__item-overlay {
        transform: translateY(0);
        padding: 20px;
    }

    .portfolio__item-title {
        font-size: 18px;
    }

    /* --- Services --- */
    .section--services {
        padding: 80px 0;
    }

    .services__header {
        margin-bottom: 40px;
    }

    .services__title {
        font-size: 36px;
    }

    .services__title--outline {
        -webkit-text-stroke: 1.5px var(--color-white);
    }

    .service-item {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 24px 0;
    }

    .service-item__number {
        font-size: 14px;
        min-width: 24px;
    }

    .service-item__name {
        font-size: 22px;
        min-width: auto;
        flex: 1;
    }

    .service-item__arrow {
        font-size: 20px;
    }

    /* Show descriptions by default on mobile (no hover) */
    .service-item__desc {
        opacity: 0.7;
        transform: none;
        flex: none;
        width: 100%;
        flex-basis: 100%;
        order: 4;
        padding-left: 40px;
        font-size: 14px;
    }

    /* Disable hover effects on mobile */
    .service-item:hover {
        padding-left: 0;
    }

    .service-item:hover .service-item__name {
        transform: none;
    }

    /* --- FAQ --- */
    .section--faq {
        padding: 80px 0;
    }

    .faq__header {
        margin-bottom: 40px;
    }

    .faq__title {
        font-size: 36px;
    }

    .faq__question {
        font-size: 16px;
        padding: 22px 0;
    }

    /* --- Trust / Social Proof --- */
    .section--trust {
        padding: 80px 0;
    }

    .trust__quote {
        margin: 0 auto 48px;
    }

    .trust__quote::before,
    .trust__quote::after {
        font-size: 80px;
    }

    .trust__quote::before {
        top: -30px;
        left: -10px;
    }

    .trust__quote::after {
        bottom: -50px;
        right: -10px;
    }

    .trust__quote blockquote p {
        font-size: 22px;
    }

    .trust__quote cite {
        font-size: 14px;
        margin-top: 20px;
    }

    .trust__divider {
        margin: 0 auto 40px;
        width: 120px;
    }

    .trust__badges {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .trust__badge-number {
        font-size: 36px;
        height: auto;
        line-height: 1.2;
    }

    .trust__badge-icon {
        width: 36px;
        height: 42px;
    }

    /* --- CTA --- */
    .section--cta {
        padding: 80px 0;
    }

    .cta__title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .cta__subtitle {
        font-size: 17px;
        margin-bottom: 36px;
    }

    .cta__whatsapp {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
        max-width: 340px;
    }

    .cta__callback-row {
        flex-wrap: wrap;
        border-radius: 60px;
    }

    .cta__country-picker {
        flex-shrink: 0;
    }

    .cta__country-btn {
        padding: 14px 10px 14px 14px;
    }

    .cta__country-dropdown {
        min-width: 280px;
        left: 0;
    }

    .cta__callback-input {
        flex: 1;
        min-width: 0;
        padding: 14px 16px;
        font-size: 15px;
    }

    .cta__callback-btn {
        padding: 14px 20px;
    }

    /* --- Footer --- */
    .footer {
        padding: 40px 0;
    }

    .footer__tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }

}

/* ============================================
   RESPONSIVE — SMALL PHONES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {

    .value__headline {
        font-size: 34px;
    }

    .stat__number,
    .stat__suffix {
        font-size: 40px;
    }

    .portfolio__title {
        font-size: 28px;
    }

    .services__title {
        font-size: 30px;
    }

    .service-item__name {
        font-size: 20px;
    }

    .trust__quote blockquote p {
        font-size: 18px;
    }

    .cta__title {
        font-size: 28px;
    }
}
