/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - SYLVIA CECCON COACHING
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary-sage: #4A6B5D;
    --color-primary-forest: #2C3E35;
    --color-accent-gold: #D4AF37;
    --color-accent-terracotta: #E8A382;
    
    /* Backgrounds & Surfaces */
    --color-bg-cream: #FAF8F5;
    --color-bg-white: #FFFFFF;
    --color-bg-slate: #1F2937;
    --color-bg-card: rgba(255, 255, 255, 0.75);
    --color-border-light: rgba(44, 62, 53, 0.08);
    --color-border-hover: rgba(74, 107, 93, 0.25);
    
    /* Text Colors */
    --color-text-dark: #2C3E35;
    --color-text-slate: #374151;
    --color-text-muted: #6B7280;
    --color-text-light: #FAF8F5;

    /* Typographies */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -2px rgba(44, 62, 53, 0.05);
    --shadow-medium: 0 12px 30px -4px rgba(44, 62, 53, 0.08);
    --shadow-premium: 0 20px 40px -8px rgba(44, 62, 53, 0.12);
    
    /* Transitions & Border Radii */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Containers */
    --container-max-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-cream);
    color: var(--color-text-slate);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Typography Settings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-forest);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.25rem;
}

strong {
    color: var(--color-primary-forest);
    font-weight: 600;
}

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

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

section {
    overflow: hidden;
}

/* Shared UI Components */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 4rem 0;
}

.text-center { text-align: center; }
.w-full { width: 100% !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary-sage);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-forest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--color-accent-terracotta);
    color: var(--color-text-light);
}

.btn-secondary:hover {
    background-color: #d98f6d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary-sage);
    color: var(--color-primary-sage);
}

.btn-outline:hover {
    background-color: var(--color-primary-sage);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-primary-sage);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.btn-text:hover:not(:disabled) {
    color: var(--color-primary-forest);
}

.btn-text:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Badges & Section Headers */
.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(74, 107, 93, 0.08);
    color: var(--color-primary-sage);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.section-tag.invert {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--color-accent-gold);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-desc {
    max-width: 650px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary-sage), var(--color-accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 107, 93, 0.08);
}

/* Background overlay when mobile nav is open */
.main-header::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 53, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 998;
}

.main-header.nav-open::before {
    opacity: 1;
    pointer-events: auto;
}

/* For classic navbar, when mobile drawer is open we can hide the header background & border so it merges with the dark overlay */
.main-header.nav-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transition: none !important;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(74, 107, 93, 0.12);
    box-shadow: 0 4px 20px rgba(44, 62, 53, 0.05);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.3s ease;
    position: relative;
    z-index: 1000;
}

.main-header.scrolled .header-container {
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-primary-forest);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--color-primary-sage);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-sage);
    transition: var(--transition-quick);
}

.nav-link:hover {
    color: var(--color-primary-sage);
}

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

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Hamburger toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary-forest);
    position: relative;
    transition: var(--transition-quick);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary-forest);
    left: 0;
    transition: var(--transition-quick);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding-top: 140px;
    background: linear-gradient(180deg, rgba(74, 107, 93, 0.05) 0%, rgba(250, 248, 245, 0) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2rem 0 6rem 0;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.badge {
    background-color: rgba(74, 107, 93, 0.08);
    border: 1px solid rgba(74, 107, 93, 0.15);
    color: var(--color-primary-forest);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-slate);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-stars {
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    display: flex;
    gap: 0.25rem;
}

.trust-text {
    font-size: 0.9rem;
    margin: 0;
}

/* Hero Media Frame */
.hero-media {
    position: relative;
}

.media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    background-color: var(--color-primary-forest);
    aspect-ratio: 1 / 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.media-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    z-index: 3;
    pointer-events: none;
}

.media-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 5;
    animation: floating-badge 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.media-badge-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.media-badge-content {
    display: flex;
    flex-direction: column;
}

.media-badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-forest);
    font-size: 0.95rem;
}

.media-badge-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

/* Animations */
@keyframes floating-badge {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    background-color: var(--color-bg-cream);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: flex-start;
}

.about-bio-card {
    background-color: var(--color-bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-border-light);
    position: relative;
}

.bio-avatar-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-pill);
    background-color: var(--color-primary-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-bg-cream);
    box-shadow: var(--shadow-soft);
}

.avatar-placeholder {
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
}

.bio-badge {
    background-color: rgba(212, 175, 55, 0.12);
    color: var(--color-accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.about-bio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-bio-card p {
    color: var(--color-text-slate);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.bio-signature {
    font-family: 'Outfit', cursive, sans-serif;
    font-size: 1.75rem;
    color: var(--color-primary-sage);
    font-weight: 600;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1rem;
}

/* Values */
.about-values {
    padding-top: 1rem;
}

.values-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.value-card {
    background-color: var(--color-bg-white);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-light);
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-border-hover);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(74, 107, 93, 0.08);
    color: var(--color-primary-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.value-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   SERVICES SECTION (ONGLETS)
   ========================================================================== */

.services-section {
    background-color: var(--color-bg-white);
}

.services-tabs-container {
    margin-top: 2rem;
}

/* Tabs Nav */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    background-color: var(--color-bg-cream);
    padding: 0.5rem;
    border-radius: var(--radius-pill);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-border-light);
}

.tab-btn {
    border: none;
    background: none;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-quick);
}

.tab-btn:hover {
    color: var(--color-primary-forest);
}

.tab-btn.active {
    background-color: var(--color-primary-forest);
    color: var(--color-text-light);
    box-shadow: var(--shadow-soft);
}

/* Tab content panes */
.tab-pane {
    display: none;
    animation: fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-pane.active {
    display: block;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-lead {
    font-size: 1.1rem;
    color: var(--color-text-slate);
    line-height: 1.65;
    margin-bottom: 2rem;
    font-weight: 400;
}

.service-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.5;
}

.list-check {
    color: var(--color-primary-sage);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

/* Visual Panel */
.service-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background-color: var(--color-bg-cream);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-border-light);
    width: 100%;
    max-width: 400px;
    transition: var(--transition-smooth);
}

.visual-card.bg-accent-soft {
    background: linear-gradient(135deg, rgba(232, 163, 130, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: rgba(232, 163, 130, 0.2);
}

.card-header-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.visual-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.visual-card p {
    font-size: 0.95rem;
    color: var(--color-text-slate);
    margin-bottom: 1.5rem;
}

.mini-tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mini-tag-list li {
    background-color: var(--color-primary-forest);
    color: var(--color-text-light);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Custom Chart Style */
.card-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bar-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.bar-track {
    background-color: rgba(44, 62, 53, 0.08);
    height: 24px;
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--color-primary-sage);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    border-radius: var(--radius-pill);
    animation: fill-width 1.5s ease-in-out forwards;
}

.bar-fill.passive {
    background-color: var(--color-text-muted);
}

@keyframes fill-width {
    from { width: 0%; }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   QUIZ SECTION
   ========================================================================== */

.quiz-section {
    background-color: var(--color-bg-cream);
    position: relative;
}

.quiz-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
}

.quiz-progress-bar {
    height: 6px;
    background-color: var(--color-border-light);
    width: 100%;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-sage), var(--color-accent-gold));
    transition: width 0.4s ease;
}

.quiz-card {
    padding: 3rem;
}

.quiz-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 1rem;
}

.question-number {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-sage);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quiz-steps {
    position: relative;
    min-height: 380px;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fade-in 0.5s ease forwards;
}

.question-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.option-btn {
    border: 1px solid var(--color-border-light);
    background-color: var(--color-bg-cream);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 1rem;
}

.option-btn:hover {
    background-color: var(--color-bg-white);
    border-color: var(--color-primary-sage);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.option-btn.selected {
    background-color: rgba(74, 107, 93, 0.05);
    border-color: var(--color-primary-forest);
    box-shadow: var(--shadow-soft);
}

.option-letter {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-primary-sage);
    color: var(--color-primary-sage);
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.option-btn:hover .option-letter, .option-btn.selected .option-letter {
    background-color: var(--color-primary-sage);
    color: var(--color-text-light);
}

.option-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary-forest);
    grid-column: 2;
}

.option-desc {
    grid-column: 2;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0.25rem 0 0 0;
}

/* Quiz Footer Navigation */
.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.5rem;
}

.quiz-dots {
    display: flex;
    gap: 0.5rem;
}

.quiz-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background-color: var(--color-border-light);
    transition: var(--transition-quick);
}

.quiz-dots .dot.active {
    background-color: var(--color-primary-sage);
    width: 20px;
}

/* Results Formatting */
.result-step {
    padding: 1rem 0;
}

.result-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.result-badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.result-score-display {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary-sage);
}

.result-box-content {
    margin-bottom: 3rem;
}

.result-profile {
    display: none;
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 5px solid;
    animation: fade-in 0.5s ease forwards;
}

.result-profile h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.result-profile p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.green-profile {
    background-color: rgba(74, 107, 93, 0.05);
    border-color: var(--color-primary-sage);
    color: #273b32;
}

.yellow-profile {
    background-color: rgba(212, 175, 55, 0.08);
    border-color: var(--color-accent-gold);
    color: #574614;
}

.red-profile {
    background-color: rgba(232, 163, 130, 0.08);
    border-color: var(--color-accent-terracotta);
    color: #61311c;
}

/* Lead Capture Form */
.result-form-box {
    background-color: var(--color-bg-cream);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.result-form-box h5 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-forest);
}

.form-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.quiz-email-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-forest);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    transition: var(--transition-quick);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-sage);
    box-shadow: 0 0 0 3px rgba(74, 107, 93, 0.1);
}

.quiz-success-msg {
    text-align: center;
    padding: 2rem 0;
    animation: scale-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-pill);
    background-color: rgba(74, 107, 93, 0.1);
    color: var(--color-primary-sage);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.quiz-success-msg h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.quiz-success-msg p {
    color: var(--color-text-slate);
    max-width: 500px;
    margin: 0 auto;
}

@keyframes scale-up {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   PRICES & ACCOMPAGNEMENTS
   ========================================================================== */

.prices-section {
    background-color: var(--color-bg-white);
}

.prices-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 3.5rem;
}

.price-card {
    background-color: var(--color-bg-cream);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-border-hover);
}

/* Recommended Highlight */
.price-card.recommended {
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-primary-sage);
    box-shadow: var(--shadow-medium);
    transform: scale(1.03);
    z-index: 5;
}

.price-card.recommended:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-premium);
}

.price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent-terracotta);
    color: var(--color-text-light);
    padding: 0.35rem 1.25rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-header {
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    flex-grow: 0;
}

.price-name {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-primary-forest);
    line-height: 1;
    margin-bottom: 1rem;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.price-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

.price-features {
    flex-grow: 1;
    margin-bottom: 2.5rem;
}

.price-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-features li {
    font-size: 0.95rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.price-features li span {
    color: var(--color-primary-sage);
    font-weight: 700;
}

.price-footer {
    flex-grow: 0;
}

.prices-info-box {
    max-width: 800px;
    margin: 3.5rem auto 0;
    background-color: var(--color-bg-cream);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    text-align: center;
}

.prices-info-box p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--color-text-slate);
}

/* ==========================================================================
   METHOD PAS-À-PAS TIMELINE
   ========================================================================== */

.method-section {
    background-color: var(--color-bg-cream);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Timeline central vertical line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background-color: rgba(74, 107, 93, 0.15);
    border-radius: var(--radius-pill);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    padding-left: 90px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 20px;
    top: 4px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background-color: var(--color-primary-sage);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    z-index: 5;
    border: 3px solid var(--color-bg-cream);
}

.timeline-content {
    background-color: var(--color-bg-white);
    padding: 2.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-light);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-border-hover);
}

.timeline-step-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(74, 107, 93, 0.08);
    color: var(--color-primary-sage);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-slate);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS (CAROUSEL)
   ========================================================================== */

.testimonials-section {
    background-color: var(--color-bg-white);
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.carousel-track-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 1rem;
}

.testimonial-card {
    background-color: var(--color-bg-cream);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-light);
    text-align: center;
    position: relative;
}

.testimonial-rating {
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.testimonial-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-primary-forest);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-pill);
    background-color: var(--color-primary-sage);
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-white);
    box-shadow: var(--shadow-soft);
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-forest);
    font-size: 1rem;
}

.author-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Nav Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    color: var(--color-primary-forest);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-quick);
    z-index: 10;
}

.carousel-nav-btn:hover {
    background-color: var(--color-primary-forest);
    color: var(--color-text-light);
    border-color: var(--color-primary-forest);
    box-shadow: var(--shadow-medium);
}

.carousel-nav-btn.prev { left: 0; }
.carousel-nav-btn.next { right: 0; }

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

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background-color: var(--color-border-light);
    cursor: pointer;
    transition: var(--transition-quick);
}

.carousel-dot.active {
    background-color: var(--color-primary-sage);
    width: 20px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    background-color: var(--color-primary-forest);
    color: var(--color-text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info-panel h2 {
    color: var(--color-text-light);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.contact-intro {
    color: rgba(250, 248, 245, 0.8);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: rgba(250, 248, 245, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: rgba(250, 248, 245, 0.5);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.detail-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.detail-link:hover {
    color: var(--color-accent-gold);
}

/* Custom Vector Map representation */
.local-map-card {
    background-color: rgba(250, 248, 245, 0.04);
    border: 1px solid rgba(250, 248, 245, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.map-illustration {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.vector-map {
    width: 100%;
    display: block;
}

/* Pulsing radar effect */
.ping-anim {
    transform-origin: 100px 60px;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    70%, 100% { transform: scale(2.2); opacity: 0; }
}

.map-legend {
    font-size: 0.85rem;
    color: rgba(250, 248, 245, 0.7);
    margin: 0;
    line-height: 1.4;
}

/* Contact Form Panel styling */
.contact-form-panel {
    background-color: var(--color-bg-white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    color: var(--color-text-slate);
    border: 1px solid var(--color-border-light);
}

.contact-form-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

/* Form validation states styling */
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
    border-color: #EF4444;
    background-color: rgba(239, 68, 68, 0.02);
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #EF4444;
    font-weight: 600;
    margin-top: 0.25rem;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-success-box {
    text-align: center;
    padding: 3rem 1.5rem;
    animation: scale-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-ring {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.form-success-box h3 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
}

.form-success-box p {
    color: var(--color-text-slate);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

/* Contact Form Error Message & Loading States */
.form-error-msg {
    display: none;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(232, 163, 130, 0.12);
    border-left: 4px solid var(--color-accent-terracotta);
    border-radius: 4px;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    text-align: left;
    animation: fade-in 0.3s ease-out;
}

.btn.btn-loading {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: #FAF8F5;
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-slate);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.logo.light {
    gap: 0.75rem;
}

.logo.light .brand-name {
    color: var(--color-primary-forest);
}

.brand-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 320px;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    color: var(--color-primary-forest);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--color-text-slate);
}

.footer-links a:hover {
    color: var(--color-primary-sage);
    padding-left: 0.25rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact p {
    font-size: 0.95rem;
    margin: 0;
}

.footer-contact a:hover {
    color: var(--color-primary-sage);
}

.footer-legal-mention {
    margin-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1rem;
}

.legal-link-trigger {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
}

.legal-link-trigger:hover {
    color: var(--color-primary-sage);
}

/* ==========================================================================
   LEGAL MODAL & OVERLAY
   ========================================================================== */

.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(44, 62, 53, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.legal-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.legal-modal-card {
    background-color: var(--color-bg-white);
    width: 90%;
    max-width: 650px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 3rem;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.legal-modal-overlay.open .legal-modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    transition: var(--transition-quick);
}

.modal-close-btn:hover {
    background-color: var(--color-bg-cream);
    color: var(--color-primary-forest);
}

.legal-modal-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 1rem;
    flex-shrink: 0;
}

.modal-body-content {
    overflow-y: auto;
    padding-right: 1rem;
}

.modal-body-content::-webkit-scrollbar {
    width: 6px;
}

.modal-body-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body-content::-webkit-scrollbar-thumb {
    background: var(--color-border-light);
    border-radius: var(--radius-pill);
}

.modal-body-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem 0;
}

.modal-body-content h3:first-of-type {
    margin-top: 0;
}

.modal-body-content p {
    font-size: 0.9rem;
    color: var(--color-text-slate);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ========================================================================== */

/* Tablet Viewports */
@media (max-width: 991px) {
    .container {
        padding: 3rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .badge-container, .hero-trust {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-media {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-visual {
        order: -1;
    }
    
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-card.recommended {
        transform: none;
    }
    
    .price-card.recommended:hover {
        transform: translateY(-6px);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    /* Navigation burger interaction */
    .main-header {
        width: 100%;
        top: 0;
        border-radius: 0;
        transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    .main-header.scrolled {
        top: 0;
    }
    
    .header-container {
        padding: 0 1.5rem;
        height: 70px;
        transition: height 0.3s ease;
    }
    
    .main-header.scrolled .header-container {
        height: 60px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 290px;
        height: 100vh;
        background-color: var(--color-bg-cream);
        border-left: 1px solid var(--color-border-light);
        padding: 6rem 2rem 3rem;
        transform: translateX(calc(100% + 40px));
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        z-index: 999;
        box-shadow: none;
    }
    
    .main-header.nav-open .nav-menu {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(44, 62, 53, 0.15);
    }
    
    .main-header.nav-open .hamburger {
        background-color: transparent;
    }
    
    .main-header.nav-open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .main-header.nav-open .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 2.25rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
        display: block;
        text-align: center;
    }
    
    .nav-cta {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Mobile Viewports */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-bio-card {
        padding: 2rem 1.5rem;
    }
    
    .bio-avatar-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .tabs-nav {
        flex-direction: column;
        max-width: 100%;
        border-radius: var(--radius-md);
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .quiz-card {
        padding: 2rem 1.25rem;
    }
    
    .options-grid {
        gap: 1rem;
    }
    
    .option-btn {
        padding: 1rem;
        grid-template-columns: 30px 1fr;
        gap: 0.75rem;
    }
    
    .option-title {
        font-size: 0.95rem;
    }
    
    .form-group-row, .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 55px;
        margin-bottom: 2.5rem;
    }
    
    .timeline-icon {
        left: 0;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .carousel-container {
        padding: 0 1rem;
    }
    
    .carousel-nav-btn {
        display: none; /* Hide arrows on small mobile, rely on drag/swipe/dots */
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .contact-form-panel {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .legal-modal-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   SCROLL REVEAL / ANIMATION ON SCROLL EFFECTS
   ========================================================================== */

/* Base class for elements to reveal */
.reveal {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Reveal Direction Variations */
.reveal-up {
    transform: translateY(40px);
}

.reveal-down {
    transform: translateY(-40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.94);
}

/* Active State (Triggered by IntersectionObserver in JS) */
.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Prevent layout shift or animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
