@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Urbanist:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   VARIABLES
   ======================================== */
:root {
    --primary: #113679;
    --primary-dark: #0c2860;
    --primary-light: #1a4899;
    --gold: #C9A84C;
    --gold-light: #E8D5A0;
    --gold-dark: #8B6914;
    --accent: #113679;
    --accent-hover: #0c2860;
    --secondary: #838383;
    --text: #252525;
    --text-light: #a0aab8;
    --bg: #ffffff;
    --bg-alt: #EDF0F8;
    --bg-dark: #113679;
    --border: #d8dde8;
    --border-light: #e8edf5;
    --border-accent: rgba(17, 54, 121, 0.15);
    --shadow-sm: 0 1px 4px rgba(17, 54, 121, .06), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow: 0 4px 12px rgba(17, 54, 121, .08), 0 2px 4px rgba(0, 0, 0, .04);
    --shadow-md: 0 10px 24px rgba(17, 54, 121, .10), 0 4px 8px rgba(0, 0, 0, .04);
    --shadow-lg: 0 20px 40px rgba(17, 54, 121, .12), 0 8px 16px rgba(0, 0, 0, .06);
    --shadow-xl: 0 30px 60px rgba(17, 54, 121, .16);
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 999px;
    --t: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 76px;
    --font-heading: 'Noto Sans', serif;
    --font-body: 'Urbanist', 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 400;
    line-height: 1.15;
}

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

ul {
    list-style: none;
}

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

strong {
    font-weight: 600;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6.5rem 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--t);
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(17, 54, 121, .30);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Shimmer sweep — diagonal light that crosses the button */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.22) 50%,
            transparent 70%);
    transform: translateX(-100%) skewX(-10deg);
    transition: none;
    pointer-events: none;
}

/* Fire shimmer on hover immediately */
.btn-primary:hover::after {
    animation: btnShimmer 0.55s ease forwards;
}

/* Auto-fire shimmer every 3.5s when idle (for hero CTA) */
.btn-hero.btn-primary::after {
    animation: btnShimmerAuto 3.5s ease-in-out 1.5s infinite;
}

.btn-hero.btn-primary:hover::after {
    animation: btnShimmer 0.55s ease forwards;
}

@keyframes btnShimmer {
    0% {
        transform: translateX(-100%) skewX(-10deg);
        opacity: 1;
    }

    100% {
        transform: translateX(200%) skewX(-10deg);
        opacity: 1;
    }
}

@keyframes btnShimmerAuto {
    0% {
        transform: translateX(-100%) skewX(-10deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    30% {
        transform: translateX(200%) skewX(-10deg);
        opacity: 1;
    }

    31% {
        opacity: 0;
    }

    100% {
        transform: translateX(200%) skewX(-10deg);
        opacity: 0;
    }
}

/* Breathing glow for hero CTA */
.btn-hero.btn-primary {
    animation: btnGlow 3.5s ease-in-out 1.5s infinite;
}

@keyframes btnGlow {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(17, 54, 121, .30);
    }

    50% {
        box-shadow: 0 4px 30px rgba(17, 54, 121, .60), 0 0 0 4px rgba(17, 54, 121, .12);
    }
}

/* Gold Button Style & Glow Animation */
.btn-gold {
    background: var(--gold);
    color: var(--primary-dark) !important;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 70%);
    transform: translateX(-100%) skewX(-10deg);
    transition: none;
    pointer-events: none;
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139, 105, 20, 0.5);
    animation: none;
}

.btn-gold:hover::after {
    animation: btnShimmer 0.55s ease forwards;
}

.btn-hero.btn-gold {
    animation: btnGlowGold 3.5s ease-in-out 1.5s infinite;
}

.btn-hero.btn-gold::after {
    animation: btnShimmerAuto 3.5s ease-in-out 1.5s infinite;
}

.btn-hero.btn-gold:hover {
    animation: none;
}

.btn-hero.btn-gold:hover::after {
    animation: btnShimmer 0.55s ease forwards;
}

@keyframes btnGlowGold {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
    }

    50% {
        box-shadow: 0 4px 30px rgba(201, 168, 76, 0.70), 0 0 0 4px rgba(201, 168, 76, 0.15);
    }
}

.text-gold {
    color: var(--gold-light);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(17, 54, 121, .44);
    color: #fff;
    /* pause breathing on hover, shimmer takes over */
    animation: none;
}

.btn-nav {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    animation: btnGlow 3.5s ease-in-out infinite;
}

.btn-nav i,
.btn-nav svg {
    width: 16px;
    height: 16px;
    animation: iconPulse 1.5s infinite ease-in-out;
}

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

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.btn-hero {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-glass {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(12px);
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .20);
    transform: translateY(-2px);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
    font-weight: 600;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-glass-dark {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.btn-glass-dark:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
    color: #fff;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(17, 54, 121, .08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -.01em;
    margin-bottom: 0.9rem;
    color: var(--primary);
}

.section-header p {
    color: var(--secondary);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   NAVBAR opacity: 0.87;
   ======================================== */
#navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, .80);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(17, 54, 121, .08);
    transition: var(--t);

}

#navbar.scrolled {
    background: rgba(255, 255, 255, .97);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(17, 54, 121, .08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--t-fast);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.2rem;
}

.lang-btn {
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--t-fast);
    letter-spacing: .04em;
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(17, 54, 121, .25);
}

.lang-btn:not(.active):hover {
    color: var(--primary);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--t-fast);
}

.menu-toggle:hover {
    background: var(--bg-alt);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--t);
    transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 54, 121, .45);
    z-index: 1400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 88vw);
    height: 100dvh;
    background: #fff;
    z-index: 1500;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(17, 54, 121, .15);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem;
    gap: 0;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo .logo-img {
    height: 36px;
}

.menu-close {
    width: 38px;
    height: 38px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: var(--t-fast);
    flex-shrink: 0;
}

.menu-close:hover {
    background: var(--border);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-links a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary);
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--t-fast);
}

.mobile-links a::after {
    content: '→';
    font-size: 0.9rem;
    opacity: 0.3;
    font-family: var(--font-body);
}

.mobile-links a:hover {
    color: var(--primary-light);
    padding-left: 0.4rem;
}

.mobile-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1.5rem;
}

.mobile-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-lang-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.mobile-bottom .lang-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
}

.mobile-cta {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.95rem;
    border-radius: var(--radius);
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mobile-contacts a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--secondary);
    font-weight: 500;
}

.mobile-contacts a:hover {
    color: var(--primary);
}

.mobile-contacts i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: subtleZoom 25s ease-in-out infinite alternate;
}

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

    100% {
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(17, 54, 121, .92) 0%, rgba(11, 34, 80, .78) 50%, rgba(17, 54, 121, .55) 100%);
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.14;
    z-index: 2;
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: #EDF0F8;
    top: -100px;
    right: -100px;
}

.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: #fff;
    bottom: 40px;
    left: -60px;
}

.hero-container {
    position: relative;
    z-index: 3;
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.hero-content {
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: var(--radius-full);
    padding: 0.45rem 1.15rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--t-fast);
}

.hero-badge i,
.hero-badge svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
    transition: var(--t-fast);
}

.hero-badge:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.18);
    transform: translateY(-1px);
    cursor: pointer;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: rgba(255, 255, 255, .75);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.5rem;
    backdrop-filter: blur(10px);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.trust-item strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
}

.trust-item span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, .6);
    font-weight: 400;
}

.trust-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.trust-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, .18);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, .45);
    display: flex;
    animation: heroScroll 2.4s ease-in-out infinite;
}

@keyframes heroScroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: .45;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: .9;
    }
}

/* ========================================
   STATS
   ======================================== */
.stats-section {
    padding: 5rem 0;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    border: 1px solid var(--border-accent);
    transition: var(--t);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    cursor: pointer;
}

.stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(17, 54, 121, .07);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1.1rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 0.4rem;
    line-height: 1;
    letter-spacing: -.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
}

/* ========================================
   GAUGE (Stats section)
   ======================================== */
.gauge-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.1rem;
}

.circular-gauge {
    display: block;
    width: 100%;
    height: 100%;
}

.gauge-bg {
    fill: none;
    stroke: rgba(17, 54, 121, .08);
    stroke-width: 2.2;
}

.gauge-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.2;
    stroke-linecap: round;
    transition: stroke-dasharray 2.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-reveal].revealed .gauge-progress {
    stroke-dasharray: 95, 100;
}

.gauge-value.stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 0;
    font-size: 1.85rem;
}

/* ========================================
   À PROPOS
   ======================================== */
.about-section {
    background: var(--bg-alt);
}

/* Intro text */
.about-intro {
    max-width: 820px;
    margin: 0 auto 4.5rem;
    text-align: center;
}

.about-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 400;
    letter-spacing: -.01em;
    margin: 0.75rem 0 1.4rem;
    color: var(--primary);
}

.about-intro p {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.82;
    margin-bottom: 0.9rem;
}

.about-intro strong {
    color: var(--primary);
    font-weight: 600;
}

/* Mission / Vision / Valeurs */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.mvv-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem 2rem;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    cursor: pointer;
}

.mvv-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(17, 54, 121, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--t);
}

.mvv-card:hover .mvv-icon {
    background: var(--primary);
    color: #fff;
}

.mvv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary);
}

.mvv-card p {
    color: var(--secondary);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.mvv-sub {
    font-size: 0.85rem !important;
    font-style: italic;
    color: var(--text-light) !important;
}

.mvv-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary);
    font-size: 0.87rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: var(--t-fast);
}

.mvv-link:hover {
    gap: 0.55rem;
    color: var(--primary-dark);
}

/* Fondateur row */
.about-founder-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/5;
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-founder-content .section-tag {
    display: inline-block;
}

.about-founder-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -.01em;
    margin: 0.75rem 0 1.25rem;
    color: var(--primary);
}

.about-founder-content p {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-founder-content strong {
    color: var(--primary);
    font-weight: 600;
}

.founder-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(17, 54, 121, .07);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.founder-badge i {
    width: 14px;
    height: 14px;
}

.founder-id {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border-accent);
}

.founder-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(17, 54, 121, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.founder-name-text {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.93rem;
}

.founder-title-text {
    font-size: 0.78rem;
    color: var(--secondary);
    margin-top: 0.1rem;
}

/* ========================================
   SERVICES
   ======================================== */
.services-section {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 4th & 5th card span nicely: center them on the last row */
.services-grid .service-card:nth-child(4) {
    grid-column: 1 / 2;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 2 / 3;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    cursor: pointer;
}

/* Dark card (Frontaliers) */
.service-card-dark {
    background: linear-gradient(140deg, #0c2860 0%, #113679 100%);
    border-color: rgba(255, 255, 255, .06);
}

.service-card-dark:hover {
    border-color: rgba(255, 255, 255, .45);
    cursor: pointer;
}

.service-card-dark h3 {
    color: #fff;
}

.service-card-dark .service-list li {
    color: rgba(255, 255, 255, .65);
    border-color: rgba(255, 255, 255, .08);
}

.service-card-dark .service-icon {
    background: rgba(255, 255, 255, .12);
    color: #a8c4f0;
}

.service-card-dark:hover .service-icon {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    transform: none;
}

.service-card-dark .card-link {
    color: #a8c4f0;
}

.service-card-dark .service-list i {
    color: #a8c4f0;
}

.service-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem 1.25rem;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(17, 54, 121, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--t);
}

.service-card:not(.service-card-dark):hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05) rotate(4deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary);
}

.service-list {
    padding: 0 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.55rem 0;
    font-size: 0.9rem;
    color: var(--secondary);
    border-bottom: 1px solid var(--border-light);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
    width: 15px;
    height: 15px;
}

/* ----------------------------------------
   CARD LINK — conversion-focused CTA
   ---------------------------------------- */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    background: var(--primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 1.5rem 1.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    transition: var(--t);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    letter-spacing: 0.01em;
}

/* Arrow icon inside card-link */
.card-link i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer sweep on card-link */
.card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.22) 50%,
            transparent 70%);
    transform: translateX(-100%) skewX(-10deg);
    pointer-events: none;
}

/* Auto shimmer every 4s */
.card-link::after {
    animation: cardLinkShimmer 4s ease-in-out 2s infinite;
}

@keyframes cardLinkShimmer {
    0% {
        transform: translateX(-100%) skewX(-10deg);
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    28% {
        transform: translateX(200%) skewX(-10deg);
        opacity: 1;
    }

    29% {
        opacity: 0;
    }

    100% {
        transform: translateX(200%) skewX(-10deg);
        opacity: 0;
    }
}

.card-link:hover {
    background: var(--primary-dark);
    gap: 0.75rem;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(17, 54, 121, .35);
    color: #fff;
}

.card-link:hover i {
    transform: translateX(3px);
}

.card-link:hover::after {
    animation: btnShimmer 0.5s ease forwards;
}

/* Dark card override */
.service-card-dark .card-link {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.service-card-dark .card-link:hover {
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.services-cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* ========================================
   TÉMOIGNAGES
   ======================================== */
.testimonials-section {
    background: var(--bg-alt);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

.google-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 1px;
}

.review-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
}

.review-link:hover {
    text-decoration: underline;
}

.testimonials-carousel {
    width: 100%;
    margin-top: 3rem;
}

.testimonials-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
    margin: -1rem 0;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
    width: calc((100% - 2 * 1.5rem) / 3);
    box-sizing: border-box;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-accent);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0;
}

.carousel-dots .dot:hover {
    background: var(--primary-light, #3b82f6);
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
}

.author-tag {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #0c2860 0%, #113679 100%);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: #EDF0F8;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.06;
    top: -200px;
    right: -150px;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -.01em;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, .6);
    font-size: 0.95rem;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-section {
    background: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: start;
}

/* Left Column: vertical cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card-v {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
}

.contact-card-v:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(17, 54, 121, .25);
}

.contact-icon-v {
    width: 54px;
    height: 54px;
    background: rgba(17, 54, 121, .07);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--t);
}

.contact-card-v:hover .contact-icon-v {
    background: var(--primary);
    color: #fff;
}

.contact-details-v h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.contact-details-v p {
    color: var(--secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-details-v a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--t-fast);
}

.contact-details-v a:hover {
    text-decoration: underline;
}

/* Right Column: Form */
.contact-form-container {
    background: #fff;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-form.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    color: var(--secondary);
    opacity: 0.6;
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: var(--t-fast);
}

.textarea-icon {
    top: 1.2rem;
    align-self: flex-start;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 2.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background-color: var(--bg-alt);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--primary);
    transition: var(--t);
    outline: none;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1rem;
}

.input-wrapper select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23838383' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 14px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(17, 54, 121, 0.08);
}

/* Button & Loading state */
.btn-submit {
    align-self: flex-start;
    padding: 0.95rem 2.2rem;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-icon {
    width: 15px;
    height: 15px;
    transition: var(--t);
}

.btn-submit:hover .btn-icon {
    transform: translate(3px, -3px);
}

.btn-submit.loading {
    pointer-events: none;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Success State styling */
.contact-success-state {
    position: absolute;
    inset: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.contact-success-state.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #10b981;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: check-fill .4s ease-in-out .4s forwards, check-scale .3s ease-in-out .9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: none;
    animation: check-stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: #10b981;
    animation: check-stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes check-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes check-fill {
    100% {
        box-shadow: inset 0px 0px 0px 40px rgba(16, 185, 129, 0.05);
    }
}

@keyframes check-scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

.contact-success-state h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.contact-success-state p {
    color: var(--secondary);
    font-size: 0.95rem;
    max-width: 340px;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--primary);
    color: #fff;
    padding: 5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 75px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, .55);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .55);
    transition: var(--t-fast);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border-color: rgba(255, 255, 255, .25);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 1.4rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, .55);
    font-size: 0.9rem;
    transition: var(--t-fast);
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-address {
    color: rgba(255, 255, 255, .55);
    font-size: 0.9rem;
    line-height: 1.65;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, .4);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

@media (min-width: 769px) {
    .footer-bottom {
        padding-left: 2rem;
        padding-right: 85px; /* Clear the chatbot button */
    }
}

.footer-legal a {
    color: rgba(255, 255, 255, .4);
    transition: var(--t-fast);
}

.footer-legal a:hover {
    color: #fff;
}

/* ========================================
   CHATBOT WIDGET
   ======================================== */
#chatbot-root {
    position: relative;
    z-index: 9999;
}



.chatbot-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #5d5eac;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(93, 94, 172, 0.15);
    cursor: pointer;
    border: none;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
    overflow: hidden;
}

.chatbot-trigger:not(.active) {
    animation: botPulse 3s infinite ease-in-out;
}

.chatbot-trigger:not(.active):hover {
    animation: none;
}

.chatbot-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 94, 172, 0.3);
    background: #4b4c97;
}

.chatbot-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
}

.chatbot-trigger:not(.active) .chatbot-icon {
    animation: botWiggle 6s infinite ease-in-out;
}

.chatbot-icon.hidden {
    opacity: 0;
    transform: scale(0.6) rotate(-45deg);
}

@keyframes botPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(93, 94, 172, 0.15), 0 0 0 0px rgba(93, 94, 172, 0.25);
    }

    50% {
        box-shadow: 0 8px 28px rgba(93, 94, 172, 0.25), 0 0 0 10px rgba(93, 94, 172, 0);
    }
}

@keyframes botWiggle {

    0%,
    85%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    88% {
        transform: scale(1.05) rotate(-8deg);
    }

    91% {
        transform: scale(1.05) rotate(6deg);
    }

    94% {
        transform: scale(1.05) rotate(-4deg);
    }

    97% {
        transform: scale(1.05) rotate(2deg);
    }
}

.chatbot-trigger-icon-wrap {
    position: relative;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.chatbot-trigger-icon-wrap svg {
    position: absolute;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
}

.chatbot-trigger-icon-wrap svg.hidden {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

/* Chat Window */
.chatbot-window {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 9rem);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    transform-origin: bottom right;
}

.chatbot-window.hidden {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    pointer-events: none;
}

/* Header */
.chatbot-header {
    background: var(--primary);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-accent);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.chatbot-header-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.chatbot-header-status {
    font-size: 0.75rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2px;
}

.chatbot-header-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Messages */
.chatbot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--border-accent);
    border-radius: 10px;
}

.chatbot-messages-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

.chat-msg {
    display: flex;
    width: 100%;
    animation: chatMsgFadeIn 0.3s ease-out forwards;
}

@keyframes chatMsgFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg.msg-bot {
    justify-content: flex-start;
}

.chat-msg.msg-user {
    justify-content: flex-end;
}

.chat-msg-bubble {
    max-width: 80%;
    padding: 0.75rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

.msg-bot .chat-msg-bubble {
    background: var(--bg-alt);
    color: var(--text);
    border-radius: 18px 18px 18px 4px;
    border: 1px solid var(--border-accent);
}

.msg-user .chat-msg-bubble {
    background: var(--primary);
    color: #fff;
    border-radius: 18px 18px 4px 18px;
}

/* Typing indicator */
.typing-indicator .chat-msg-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1.15rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    opacity: 0.4;
    animation: chatTypingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes chatTypingDot {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Options */
.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
    animation: chatMsgFadeIn 0.3s ease-out forwards;
    width: 100%;
    max-width: 100%;
}

.chat-opt-btn {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.65rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: left;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

.chat-opt-btn span {
    white-space: normal;
    word-break: break-word;
    min-width: 0;
}

.chat-opt-btn i {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chat-opt-btn svg {
    flex-shrink: 0;
}

.chat-opt-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.chat-opt-btn.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    opacity: 1;
    transform: none;
    box-shadow: none;
    cursor: default;
    width: fit-content;
    align-self: flex-end;
}

.chat-opt-btn:disabled:not(.selected) {
    display: none;
}

/* Final CTAs */
.chatbot-options.chatbot-final-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chatbot-final-ctas .chat-opt-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: var(--text);
    border: 1px solid var(--border-accent);
}

.chatbot-final-ctas .chat-opt-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.chatbot-final-ctas .cta-whatsapp-link {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.chatbot-final-ctas .cta-whatsapp-link:hover {
    background: #128c7e;
    border-color: #128c7e;
    color: #fff;
}

/* Input Area */
.chatbot-input-container {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-accent);
    background: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: chatMsgFadeIn 0.3s ease-out forwards;
    width: 100%;
    box-sizing: border-box;
}

.chatbot-input-field {
    flex-grow: 1;
    min-width: 0;
    border: 1px solid var(--border-accent);
    padding: 0.65rem 1rem;
    border-radius: var(--radius-full);
    outline: none;
    font-size: 0.9rem;
    transition: var(--t-fast);
    color: var(--text);
}

.chatbot-input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(22, 38, 70, 0.08);
}

.chatbot-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--t-fast);
    flex-shrink: 0;
}

.chatbot-send-btn:hover {
    background: var(--primary-light, #2e3e5c);
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .chatbot-window {
        width: 100%;
        height: 100%;
        max-height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        border: none;
    }

    .chatbot-trigger {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .chatbot-trigger.active {
        display: none;
    }

    .chatbot-close-btn {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE — 1100px
   ======================================== */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: auto;
    }
}

/* ========================================
   RESPONSIVE — 960px (tablet)
   ======================================== */
@media (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .nav-right .btn-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

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

    .about-founder-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-wrap {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 16/9;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        width: calc((100% - 1.5rem) / 2);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .cta-btns {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ========================================
   RESPONSIVE — 640px (mobile)
   ======================================== */
@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }

    .stats-section {
        padding: 3.5rem 0;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-hero,
    .btn-glass {
        width: 100%;
    }

    .hero-trust {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .trust-sep {
        width: 40px;
        height: 1px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.75rem 1rem;
    }

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

    .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-white,
    .btn-glass-dark {
        width: 100%;
    }

    .founder-badges {
        gap: 0.4rem;
    }

    .form-row.two-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-container {
        padding: 1.75rem;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* ========================================
   SERVICE LIST ITEM LINKS (index.html)
   ======================================== */
.svc-link {
    color: inherit;
    font-weight: inherit;
    display: block;
}

.svc-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.service-card-dark .svc-link:hover {
    color: #c5d8f8;
}

/* ========================================
   SERVICE PAGES
   ======================================== */
.sp-hero {
    background: linear-gradient(140deg, #0c2860 0%, #113679 100%);
    color: #fff;
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.sp-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: #EDF0F8;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.08;
    top: -120px;
    right: -80px;
}

.sp-hero>.container {
    position: relative;
    z-index: 1;
}

.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 1.5rem;
}

.sp-breadcrumb a {
    color: rgba(255, 255, 255, .5);
    transition: var(--t-fast);
}

.sp-breadcrumb a:hover {
    color: rgba(255, 255, 255, .9);
}

.sp-breadcrumb i {
    width: 12px;
    height: 12px;
}

.sp-hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.sp-hero-text {
    flex: 1;
}

.sp-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.85rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.sp-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    letter-spacing: -.02em;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.sp-hero p {
    color: rgba(255, 255, 255, .68);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 580px;
}

.sp-price-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    text-align: center;
    flex-shrink: 0;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.sp-price-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 0.5rem;
}

.sp-price-amount {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.sp-price-unit {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, .45);
}

.sp-price-note {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, .4);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Content layout */
.sp-content {
    padding: 5.5rem 0;
    background: #fff;
}

.sp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* What's included */
.sp-includes h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -.01em;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.sp-includes .sp-sub {
    color: var(--secondary);
    font-size: 0.93rem;
    margin-bottom: 2rem;
}

.sp-include-list {
    display: flex;
    flex-direction: column;
}

.sp-include-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
}

.sp-include-item:last-child {
    border-bottom: none;
}

.sp-inc-icon {
    width: 36px;
    height: 36px;
    background: rgba(17, 54, 121, .07);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.sp-inc-icon i {
    width: 16px;
    height: 16px;
}

.sp-include-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.1rem;
}

.sp-include-item span {
    font-size: 0.82rem;
    color: var(--secondary);
    line-height: 1.5;
}

/* Side panel */
.sp-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sp-info-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.sp-info-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.sp-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sp-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--secondary);
    line-height: 1.5;
}

.sp-info-list i {
    color: var(--primary);
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 2px;
}

.sp-book-card {
    background: linear-gradient(135deg, #0c2860, #113679);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.sp-book-card h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.sp-book-card p {
    color: rgba(255, 255, 255, .6);
    font-size: 0.87rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sp-book-card .btn {
    width: 100%;
    justify-content: center;
}

/* Pricing section */
.sp-pricing {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.sp-pricing h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: -.01em;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.sp-pricing .sp-sub {
    color: var(--secondary);
    margin-bottom: 2.5rem;
    font-size: 0.93rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--t);
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    cursor: pointer;
}

.pricing-card.featured {
    background: var(--primary);
    border-color: transparent;
}

.pricing-card .pc-label {
    font-size: 0.83rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.pricing-card.featured .pc-label {
    color: rgba(255, 255, 255, .7);
}

.pricing-card .pc-price {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: -.02em;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.pricing-card.featured .pc-price {
    color: #fff;
}

.pricing-card .pc-chf {
    font-size: 0.78rem;
    color: var(--text-light);
}

.pricing-card.featured .pc-chf {
    color: rgba(255, 255, 255, .6);
}

.pricing-card .pc-note {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Complex pricing rows (fisc-decla) */
.pricing-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-row {
    background: #fff;
    border: 1px solid var(--border-accent);
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--t);
}

.pricing-row:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-row:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.pricing-row:not(:last-child) {
    border-bottom: none;
}

.pricing-row:hover {
    background: var(--bg-alt);
}

.pricing-row .pr-label {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.45;
}

.pricing-row .pr-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Service page responsive */
@media (max-width: 768px) {
    .sp-hero-inner {
        flex-direction: column;
    }

    .sp-price-card {
        width: 100%;
    }

    .sp-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ========================================
   DIVIDER (optional utility)
   ======================================== */
.divider {
    width: 100%;
    height: 1px;
    background: var(--border-accent);
    margin: 2rem 0;
}

/* ========================================
   SERVICE PAGES — MISSING SECTIONS
   ======================================== */

/* Back link above breadcrumb */
.sp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, .55);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: var(--t-fast);
}

.sp-back:hover {
    color: rgba(255, 255, 255, .9);
    gap: 0.65rem;
}

.sp-back i {
    width: 14px;
    height: 14px;
}

/* CTA band on service pages */
.sp-cta {
    background: linear-gradient(135deg, #0c2860 0%, #113679 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.sp-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: #EDF0F8;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.06;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.sp-cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sp-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -.01em;
    margin-bottom: 0.25rem;
}

.sp-cta p {
    color: rgba(255, 255, 255, .6);
    font-size: 0.97rem;
    margin-bottom: 0.5rem;
}

.sp-cta-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

/* Related services section */
.sp-related {
    background: var(--bg-alt);
    padding: 4.5rem 0;
}

.sp-related .container>h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: -.01em;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    cursor: pointer;
}

.related-card-title {
    font-family: var(--font-heading);
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.3rem;
    transition: var(--t-fast);
}

.related-card:hover .related-card-title {
    color: var(--primary-dark);
}

.related-card-price {
    font-size: 0.82rem;
    color: var(--secondary);
    font-weight: 400;
}

/* Arrow icon */
.related-card>i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary);
    opacity: 0.5;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
    align-self: center;
}

.related-card:hover>i {
    transform: translateX(5px) scale(1.1);
    opacity: 1;
}

@media (max-width: 640px) {
    .sp-cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .sp-cta-btns .btn {
        width: 100%;
        justify-content: center;
    }

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

/* Pricing Card Features */
.pc-features {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pc-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary);
    line-height: 1.4;
}

.pc-features i {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--primary);
    margin-top: 2px;
}

.pricing-card.featured .pc-features {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.featured .pc-features li {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-card.featured .pc-features i {
    color: #fff;
}

/* Tax Simulator */
.tax-simulator {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-top: 40px;
    border: 1px solid var(--border-light);
}

.sim-form {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sim-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.sim-options,
.sim-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sim-radio,
.sim-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--t-fast);
    background: #fdfdfd;
}

.sim-radio:hover,
.sim-checkbox:hover {
    border-color: var(--primary);
    background: var(--bg-alt);
}

.sim-radio input,
.sim-checkbox input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.sim-select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fdfdfd;
    cursor: pointer;
}

.sim-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(17, 54, 121, 0.1);
}

.sim-result {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-result-box {
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    width: 100%;
    box-shadow: 0 10px 30px rgba(17, 54, 121, 0.25);
}

.sim-result-label {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.sim-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.sim-price-val {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.sim-price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .tax-simulator {
        padding: 20px;
    }

    .sim-options,
    .sim-checkbox-group {
        flex-direction: column;
    }

    .sim-result-box {
        padding: 30px 15px;
    }

    .sim-result-box .btn {
        white-space: normal;
        line-height: 1.3;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background-color: var(--bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--t);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--t-fast);
    gap: 20px;
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 28px 22px 28px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
}

.faq-cta {
    text-align: center;
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

.faq-cta p {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 550;
    color: var(--primary);
    margin: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 1.05rem;
    }

    .faq-answer-inner {
        padding: 0 20px 18px 20px;
        font-size: 0.95rem;
    }

    .faq-cta {
        padding: 24px 20px;
    }

    .faq-cta p {
        font-size: 1.05rem;
    }
}

.faq-link {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: var(--t-fast);
}

.faq-link:hover {
    color: var(--primary);
    text-decoration-color: transparent;
}

/* ========================================
   BOOKING DIRECT MODAL
   ======================================== */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.booking-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 54, 121, 0.4);
    backdrop-filter: blur(8px);
}

.booking-modal-content {
    position: relative;
    width: min(900px, 92vw);
    height: 85vh;
    background: #fff;
    border-radius: var(--radius-lg, 1rem);
    box-shadow: 0 20px 50px rgba(17, 54, 121, 0.25);
    display: flex;
    flex-direction: column;
    z-index: 20001;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.booking-modal.hidden .booking-modal-content {
    transform: scale(0.95);
}

.booking-modal-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-accent);
}

.booking-modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.booking-modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.booking-modal-external,
.booking-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: var(--t-fast);
    text-decoration: none;
}

.booking-modal-external:hover,
.booking-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.booking-modal-external i,
.booking-modal-close i {
    width: 20px;
    height: 20px;
}

.booking-modal-body {
    flex-grow: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

.booking-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Spinner loader */
.booking-modal-loader {
    position: absolute;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.booking-modal-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--bg-alt);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .booking-modal-content {
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }

    .booking-modal-header {
        padding: 0.85rem 1rem;
    }

    .booking-modal-header h3 {
        font-size: 1.1rem;
    }
}