/* ============================================
   LABORATOIRE IDS — Modern Styles
   ============================================ */

:root {
    --primary: #2A5FA8;
    --primary-dark: #1E4680;
    --primary-light: #4A7FC8;
    --secondary: #8B5E8A;
    --secondary-light: #A87DA7;
    --accent: #D4A060;
    --accent-light: #E0B878;
    --dark: #1A1A2E;
    --dark-2: #252540;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --white: #FFFFFF;
    --black: #000000;
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-alt: 'Inter', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 170px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-gray {
    background: var(--gray-100);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-alt);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--primary);
    vertical-align: middle;
    margin: 0 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
}

.section-dark .section-title {
    color: var(--white);
}

.section-desc {
    color: var(--gray-600);
    max-width: 500px;
    margin: 16px auto 0;
    font-size: 1.1rem;
}

.section-footer-btn {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}



/* ============================================
   NAVIGATION
   ============================================ */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 0;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0,0,0,.06);
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 72px;
}

.nav-logo {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

#navbar.scrolled .nav-logo img {
    height: 46px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-family: var(--font-alt);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(42,95,168,.06);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(42,95,168,.08);
    font-weight: 600;
}

.nav-links a::after {
    display: none;
}

#navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
    color: var(--primary);
}

#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    align-self: center;
}

#nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   NAV DROPDOWN
   ============================================ */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: default;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--gray-500);
    border-bottom: 1.5px solid var(--gray-500);
    transform: rotate(45deg);
    margin-top: -3px;
    transition: var(--transition);
}

.nav-dropdown:hover > a::after {
    border-color: var(--primary);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--white);
    min-width: 175px;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    list-style: none;
    z-index: 100;
    border: 1px solid rgba(0,0,0,.04);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    white-space: nowrap;
    border-radius: 8px;
    color: var(--gray-700);
    text-align: left;
    font-size: 0.9rem;
    background: transparent !important;
}

.nav-dropdown-menu a:hover {
    background: rgba(42,95,168,.08) !important;
    color: var(--primary);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown.active > a {
    color: var(--primary);
    font-weight: 600;
    background: rgba(42,95,168,.08);
}

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0 0 0 12px;
        border-radius: 0;
        background: transparent;
        border: none;
    }
    .nav-dropdown > a {
        cursor: default;
        opacity: .5;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        pointer-events: none;
        padding: 12px 16px 4px;
        background: transparent !important;
    }
    .nav-dropdown > a::after {
        display: none;
    }
    .nav-dropdown-menu a {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

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

#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #2a5fa8, #16213e, #0f3460);
    background-size: 400% 400%;
    animation: heroBgAnim 20s ease infinite;
}

@keyframes heroBgAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,.7) 0%, rgba(26,26,46,.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

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

.hero-logo img {
    max-width: 340px;
    margin: 0 auto;
    animation: heroLogoIn 1.2s cubic-bezier(.22,1,.36,1) 0.2s both;
}

@keyframes heroLogoIn {
    0% { opacity: 0; transform: scale(.8) translateY(20px); clip-path: inset(0 0 100% 0); }
    100% { opacity: 1; transform: scale(1) translateY(0); clip-path: inset(0 0 0 0); }
}

.hero-title {
    font-family: var(--font-body);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: fadeUp 1s ease 0.6s both;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: .85;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeUp 1s ease 0.8s both;
}

.hero-content .btn {
    animation: fadeUp 1s ease 1s both;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 130px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: .85;
    max-width: 500px;
    margin: 0 auto;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-title {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.highlight-icon {
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 10px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.about-team-btn {
    margin-top: 40px;
    text-align: center;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-label {
    font-size: 0.85rem;
    opacity: .9;
    line-height: 1.3;
}

/* ============================================
   GUARANTEES
   ============================================ */

#guarantees {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 60px 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
    text-align: center;
}

.guarantee-item {
    padding: 20px 8px;
}

.guarantee-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin: 0 auto 12px;
    filter: brightness(0) invert(1);
    opacity: .8;
}

.guarantee-item p {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: .75;
    line-height: 1.3;
}

/* ============================================
   PROSTHETICS CARDS
   ============================================ */

.prosthetics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.prosthetic-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

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

.prosthetic-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.prosthetic-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.prosthetic-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   STEPS GRID
   ============================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   EQUIPMENT GRID
   ============================================ */

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

.equipment-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.equipment-img {
    margin-bottom: 20px;
}

.equipment-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.equipment-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   INTERVENTION ZONE
   ============================================ */

.zone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.zone-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zone-list span {
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-size: 0.95rem;
    color: var(--gray-700);
    text-align: center;
}

/* ============================================
   PAGE IMAGE BANNER (inner pages)
   ============================================ */

.page-banner {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42,95,168,.85) 0%, rgba(139,94,138,.75) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   CONTENT ROW (image + text)
   ============================================ */

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-row.reverse {
    direction: rtl;
}

.content-row.reverse > * {
    direction: ltr;
}

.content-row-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.content-row-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.content-row-text p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .content-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .content-row.reverse {
        direction: ltr;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    .equipment-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .zone-grid {
        grid-template-columns: 1fr;
    }
    .prosthetics-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .prosthetics-list {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TEAM — FLIP CARDS
   ============================================ */

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

.flip-card {
    background: transparent;
    perspective: 1000px;
    height: 380px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.flip-card-front {
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.flip-card-front img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 3px solid var(--gray-200);
    transition: var(--transition);
}

.flip-card:hover .flip-card-front img {
    border-color: var(--primary-light);
}

.flip-card-front h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--dark);
}

.flip-card-front p {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 4px;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: var(--shadow-lg);
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    max-width: 260px;
    opacity: .92;
}

/* ============================================
   INSTAGRAM
   ============================================ */

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.insta-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-200);
}

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

.insta-post:hover img {
    transform: scale(1.05);
}

.insta-post-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    transition: var(--transition);
}

.insta-post:hover .insta-post-overlay {
    opacity: 1;
}

.insta-post-overlay span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.insta-post-overlay svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

/* ============================================
   SUPPLIERS — INFINITE SCROLL
   ============================================ */

.suppliers-track-wrapper {
    overflow: hidden;
    padding: 24px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.suppliers-track {
    display: flex;
    gap: 48px;
    flex-wrap: nowrap;
    width: max-content;
    animation: scrollSuppliers 40s linear infinite;
}

.suppliers-track:hover {
    animation-play-state: paused;
}

@keyframes scrollSuppliers {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.supplier-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 90px;
    min-width: 180px;
}

.supplier-logo:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.supplier-logo img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
}

.suppliers-hint {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* ============================================
   REVIEWS
   ============================================ */

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.review-stars {
    color: var(--accent);
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.review-card blockquote {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.review-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================
   CTA
   ============================================ */

#cta {
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}

#cta h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 16px;
}

#cta p {
    font-size: 1.1rem;
    opacity: .75;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--gray-800);
    font-size: 1rem;
}

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

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

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

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42,95,168,.1);
}

.form-row textarea {
    resize: vertical;
}

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

#footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

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

.footer-logo {
    max-width: 140px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: .6;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: .7;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 1;
    background: var(--primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    opacity: .7;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: .5;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: .4;
    font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .guarantees-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 88px 20px 32px;
        gap: 2px;
        box-shadow: -10px 0 40px rgba(0,0,0,.08);
        transition: right 0.35s cubic-bezier(.4,0,.2,1);
        border-left: 1px solid rgba(0,0,0,.04);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        padding: 12px 16px;
        font-size: 1rem;
    }
    #nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-exp-badge {
        bottom: -10px;
        right: -10px;
        padding: 16px;
    }
    .exp-number { font-size: 2rem; }

    .guarantees-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .guarantee-item img { width: 40px; height: 40px; }
    .guarantee-item p { font-size: 0.75rem; }

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

    .team-grid {
        max-width: 100%;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-form {
        padding: 24px;
    }

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

    #cta h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    .flip-card {
        height: 320px;
    }
    .flip-card-front img {
        width: 100px;
        height: 100px;
    }
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2rem;
    }
}
