/* === 5A Ops - Style Moderne / Minimaliste / Glassmorphism === */

:root {
    --primary: #0066ff;
    --primary-dark: #0047b3;
    --primary-light: #4d94ff;
    --accent: #00d4ff;
    --bg: #fafbfd;
    --bg-dark: #0a1628;
    --text: #0a1628;
    --text-light: #5a6478;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 102, 255, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 102, 255, 0.15);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Texture grain fin premium */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 102, 255, 0.08);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo { color: var(--text); }

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 4px 0;
}

.navbar.scrolled .nav-links a { color: var(--text); }

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

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 100px;
    font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text); }

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

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    transform: scale(1.08);
}

.hero-slide.active {
    opacity: 1;
    animation: kenburns 8s ease-in-out forwards;
}

@keyframes kenburns {
    0% { transform: scale(1.08); }
    100% { transform: scale(1.18); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 22, 40, 0.78) 0%, rgba(0, 47, 179, 0.55) 60%, rgba(0, 212, 255, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 12px #00ff88;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(40px, 6.5vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 28px;
    max-width: 900px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #00d4ff, #4d94ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    max-width: 640px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-blue {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.25);
}
.btn-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 102, 255, 0.4);
}

.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 60px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    width: max-content;
    max-width: calc(100% - 40px);
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.hero-stat span {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slides-dots {
    position: absolute;
    bottom: 24px;
    right: 40px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.slides-dots button {
    width: 24px;
    height: 4px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}
.slides-dots button.active { background: var(--white); width: 40px; }

/* === SECTIONS === */
section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.section-head p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* === SERVICES (cartes hover 3D + glassmorphism) === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    perspective: 1500px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, background 0.4s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px) rotateX(4deg) rotateY(-3deg);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.85);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
    transform: translateZ(40px);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    transform: translateZ(30px);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 24px;
    transform: translateZ(20px);
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
}

.service-features li {
    font-size: 14px;
    padding: 6px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
    background-image:
        linear-gradient(135deg, var(--primary), var(--accent)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.service-link:hover { gap: 14px; }

/* === FEATURES / EXPERTISE === */
.expertise {
    background: linear-gradient(180deg, #fafbfd 0%, #f0f4ff 100%);
}

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

.expertise-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.expertise-text > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 520px;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.feature-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
}

.feature-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--text-light); }

.expertise-visual {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.expertise-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expertise-card-float {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
}
.expertise-card-float strong { font-size: 28px; color: var(--primary); }
.expertise-card-float span { font-size: 13px; color: var(--text-light); }

/* === CTA === */
.cta {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before, .cta-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.cta-box::before {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    top: -100px;
    left: -100px;
}
.cta-box::after {
    width: 400px;
    height: 400px;
    background: rgba(77, 148, 255, 0.4);
    bottom: -150px;
    right: -100px;
}

.cta-box > * { position: relative; z-index: 2; }

.cta-box h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.cta-box p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 540px;
    margin: 0 auto 36px;
}

/* === FOOTER === */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    position: relative;
    z-index: 2;
}

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

.footer .logo { color: var(--white); margin-bottom: 16px; }
.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h5 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

/* === FORMULAIRE CONTACT === */
.contact-section {
    padding-top: 160px;
}

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

.contact-info {
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 102, 255, 0.08);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.contact-item span {
    font-size: 14px;
    color: var(--text-light);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e3e9f3;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #f9fbfe;
    transition: var(--transition);
    color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.08);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-status {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    display: none;
}
.form-status.success { background: #e6fff0; color: #006633; display: block; }
.form-status.error { background: #ffe6e6; color: #b30000; display: block; }

/* === PAGE INTERIEURE HERO === */
.page-hero {
    position: relative;
    padding: 180px 0 80px;
    color: var(--white);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(10, 22, 40, 0.85), rgba(0, 47, 179, 0.65)),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&q=80') center/cover;
    z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1.1;
}
.page-hero p {
    font-size: 18px;
    opacity: 0.85;
    max-width: 640px;
}
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--accent); }

/* === ABOUT === */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-intro img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/6;
    object-fit: cover;
    width: 100%;
}
.about-intro h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.15;
}
.about-intro p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.value-card {
    padding: 36px 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}
.value-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.25);
}
.value-card h4 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--text-light); font-size: 14px; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.process-step {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.process-step .num {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 14px;
}
.process-step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-light); }

/* === SERVICES PAGE DETAIL === */
.service-detail {
    padding: 80px 0;
}
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.service-row:nth-child(even) .service-row-text { order: 2; }
.service-row:nth-child(even) .service-row-img { order: 1; }

.service-row-img {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.service-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.service-row:hover .service-row-img img { transform: scale(1.05); }

.service-row-text .tag { margin-bottom: 16px; }
.service-row-text h2 {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.15;
}
.service-row-text > p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
}
.service-row-text ul {
    list-style: none;
    margin-bottom: 30px;
}
.service-row-text ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f9;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-row-text ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes revealFallback {
    to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealFallback 1s ease 0.5s forwards; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid,
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .expertise-grid,
    .about-intro,
    .service-row,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .service-row:nth-child(even) .service-row-text { order: 0; }
    .service-row:nth-child(even) .service-row-img { order: 0; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        padding: 60px 30px;
        transition: right 0.4s;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    .nav-links.open { right: 0; }
    .nav-links a { color: var(--text) !important; font-size: 18px; }
    .services-grid,
    .values-grid,
    .process-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-stats {
        gap: 24px;
        padding: 16px 24px;
        bottom: 20px;
    }
    .hero-stat strong { font-size: 22px; }
    .hero-stat span { font-size: 10px; }
    .slides-dots { right: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form, .contact-info { padding: 28px; }
    .cta-box { padding: 50px 24px; }
}
