/*
Theme Name: Outimat
Theme URI: https://outimat.com
Author: Trae AI
Author URI: https://outimat.com
Description: A simple, clean, and professional corporate theme for Outimat.
Version: 1.2
License: GNU General Public License v2 or later
Text Domain: outimat
*/

/* --- Reset & Core Variables --- */
:root {
    --primary-red: #E60000;
    --primary-red-dark: #b30000;
    --primary-red-gradient: linear-gradient(135deg, #E60000 0%, #cc0000 100%);
    
    --primary-dark: #121212;
    --secondary-dark: #1e1e1e;
    --dark-gradient: linear-gradient(135deg, #1e1e1e 0%, #121212 100%);
    
    --text-color: #2c2c2c;
    --text-light: #666666;
    --text-white: #ffffff;
    
    --bg-light: #F9FAFB;
    --bg-white: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --border-radius: 4px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}



a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-red-dark);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons & UI Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-red-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.4);
    background: #fff;
    color: var(--primary-red);
}

/* --- Slider Images --- */
.slide img {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none; /* Full color by default */
    opacity: 1; /* Full opacity by default */
    transition: all 0.3s ease;
}

.slide:hover img {
    transform: scale(1.1);
}

.btn-dark {
    background: var(--secondary-dark);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Header & Top Bar --- */
.top-bar {
    background-color: #000;
    color: #aaa;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info i {
    color: var(--primary-red);
    margin-right: 8px;
}

.top-bar-info span {
    margin-right: 25px;
}

.site-header {
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.site-title a {
    color: var(--primary-dark);
}

.site-title a span {
    color: var(--primary-red);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
}

.main-navigation a {
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* --- Hero Section (Parallax & Premium) --- */
.hero-section {
    position: relative;
    height: 700px; /* Taller for impact */
    display: flex;
    align-items: center;
    background-color: #111;
    overflow: hidden;
    color: var(--text-white);
}

.hero-bg-parallax {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Use a high-quality industrial image */
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    transform: scale(1.1); /* Slight zoom for parallax feel */
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* Slanted Bottom Edge - REMOVED per user request */
/* .hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 3;
} */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 40px;
}

.hero-label {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 2px;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

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

/* --- About & Stats --- */
.about-section {
    padding: 100px 0;
    margin-top: 80px; /* Added margin top between hero and first section */
    background: var(--bg-white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder-box {
    position: relative;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.image-placeholder-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-placeholder-box:hover img {
    transform: scale(1.05);
}

/* Stats Counter Box */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: transparent; /* Removed black background */
    padding: 40px 0;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

/* Removed circle background decoration */
.stats-container::before {
    display: none;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-red);
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333; /* Darker text for white background */
    font-weight: 600;
}

/* --- Partner Slider (Ticker) --- */
.partner-slider-section {
    background: #f1f1f1;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden; /* Ensure no scrollbar */
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: fit-content;
    animation: scrollTicker 30s linear infinite;
}

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

.slide {
    flex: 0 0 auto;
    width: 250px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

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

.brand-placeholder {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ccc;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
}

.slide:hover .brand-placeholder {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* --- Forms & Inputs --- */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-section-home {
    padding: 100px 0;
    margin-bottom: 80px; /* Added margin bottom between last section and footer */
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    overflow: hidden;
}

.contact-form-area {
    padding: 60px;
}

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

.contact-info-area {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Abstract circle overlay */
.contact-info-area::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 20px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.contact-info-area h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.contact-detail {
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
}

.contact-detail i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-detail p {
    margin: 0;
    color: #ccc;
    font-size: 1rem;
}

.contact-outimat-page {
    background-color: #f5f5f5;
}

.marques-page {
    background-color: #f5f5f5;
}

.marques-hero {
    padding: 110px 0 70px;
    background: radial-gradient(circle at top left, rgba(230, 0, 0, 0.25) 0, transparent 55%), #111111;
    color: #ffffff;
}

.marques-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.marques-hero-text {
    max-width: 640px;
}

.marques-hero-kicker {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.marques-hero-title {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.marques-hero-subtitle {
    font-size: 1.05rem;
    color: #e0e0e0;
    max-width: 520px;
}

.marques-hero-highlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.45);
}

.marques-hero-highlight-number {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.marques-hero-highlight-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #f0f0f0;
}

.contact-page-hero {
    padding: 110px 0 70px;
    background: radial-gradient(circle at top left, rgba(230, 0, 0, 0.25) 0, transparent 55%), #111111;
    color: #ffffff;
}

.contact-page-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-page-hero-text {
    max-width: 640px;
}

.contact-page-kicker {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.contact-page-title {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-page-subtitle {
    font-size: 1.05rem;
    color: #e0e0e0;
    max-width: 520px;
}

.contact-page-hero-highlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.45);
}

.contact-page-hero-line {
    display: flex;
    flex-direction: column;
}

.contact-page-hero-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #f0f0f0;
}

.contact-page-hero-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-page-main {
    padding: 80px 0 100px;
}

.contact-page-info {
    min-height: 100%;
}

.contact-page-map {
    padding: 0 0 100px;
}

.contact-page-map-inner {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.contact-page-map-inner iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 991px) {
    .marques-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .marques-hero {
        padding: 90px 0 60px;
    }

    .marques-hero-title {
        font-size: 2rem;
    }

    .contact-page-hero {
        padding: 90px 0 60px;
    }

    .contact-page-title {
        font-size: 2rem;
    }

    .contact-page-main {
        padding: 60px 0 60px;
    }

    .contact-page-map {
        padding-bottom: 80px;
    }
}

/* --- Footer --- */
.site-footer {
    background-color: #0b0b0b; /* Deep Black */
    color: #888;
    padding: 80px 0 30px;
    font-size: 0.95rem;
    border-top: 3px solid var(--primary-red);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-widget h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
    margin-top: 10px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: #888;
    transition: all 0.3s;
    display: inline-block;
}

.footer-widget ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-widget p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Newsletter Form in Footer - Absolute Positioning Fix */
.footer-newsletter-form {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

/* Remove interference from p/br tags */
.footer-newsletter-form p {
    margin: 0;
    padding: 0;
}

.footer-newsletter-form br {
    display: none;
}

.footer-newsletter-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.footer-newsletter-form input {
    width: 100%;
    height: 50px;
    /* Add padding on right so text doesn't go under button */
    padding: 0 70px 0 15px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 0;
}

.footer-newsletter-form input:focus {
    border-color: var(--primary-red);
    background: #ffffff;
    color: #000000;
    outline: none;
}

.footer-newsletter-form button {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 50px;
    background: var(--primary-red);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    z-index: 10;
}

/* CF7 Response Message */
.footer-newsletter-form .wpcf7-response-output {
    flex-basis: 100%;
    margin: 10px 0 0 0;
    font-size: 0.85rem;
    border: none !important;
    padding: 0 !important;
    color: #ccc;
}

.footer-newsletter-form button:hover {
    background: var(--primary-red-dark);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
    color: #fff;
}

.site-info {
    border-top: 1px solid #1a1a1a;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.site-info strong {
    color: #fff;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: fit-content;
    animation: scrollTicker 30s linear infinite;
}

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

.slide {
    flex: 0 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.brand-placeholder {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ccc;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
}

.slide:hover .brand-placeholder {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* --- Checkerboard Feature Section --- */
.checkerboard-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.checker-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px; /* Force height for image blocks */
}

.checker-block {
    flex: 1;
    min-width: 50%; /* Force 2 columns on desktop */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.checker-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slider in Checkerboard */
.checker-slider {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #000;
}

.checker-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.checker-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.checker-slide.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(230, 0, 0, 0.8); /* Primary red */
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.checker-content {
    padding: 60px;
    box-sizing: border-box;
}

.checker-content.bg-dark {
    background-color: #000;
    color: #fff;
}

.checker-content.bg-red {
    background-color: var(--primary-red); /* #E60000 */
    color: #fff;
}

.checker-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
}

.checker-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

/* Responsive adjustments for Checkerboard */
@media (max-width: 768px) {
    .checker-row {
        flex-direction: column;
    }

    .checker-block {
        min-width: 100%;
        min-height: 350px; /* Smaller height on mobile */
    }

    .checker-content {
        padding: 40px 30px;
        align-items: center;
        text-align: center;
    }

    .checker-content-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Reorder for mobile stacking if needed */
    .checker-row.reverse-mobile {
        flex-direction: column-reverse;
    }
}

/* --- Dedicated Partners Grid (Premium Cards) --- */
.dedicated-partners-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.section-subtitle {
    display: block;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px 30px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-logo-area {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    font-style: italic; /* Dynamic feel */
}

.partner-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.link-arrow {
    margin-top: 15px;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9rem;
}

.link-arrow i {
    transition: transform 0.3s ease;
}

.partner-card:hover .link-arrow i {
    transform: translateX(5px);
}

/* --- Contact / CTA Section --- */
.contact-section-home {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-wrapper {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.contact-form-area {
    padding: 50px;
}

.contact-info-area {
    background: var(--primary-dark);
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Abstract pattern on contact info */
.contact-info-area::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 20px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.contact-info-area h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.contact-detail {
    margin-top: 14px;
}

.contact-detail p {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #ccc;
}

.contact-detail i {
    color: var(--primary-red);
    width: 25px;
}

/* --- Footer --- */
.site-footer {
    background-color: #0b0b0b;
    color: #777;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: #777;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-widget a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover,
.footer-widget .social-links a:hover {
    background: var(--primary-red);
    color: #fff;
    transform: translateY(-3px);
}

.social-links a i,
.social-links a:hover i {
    color: #fff;
}

.site-info {
    border-top: 1px solid #1a1a1a;
    margin-top: 60px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
}

/* --- Responsive Adjustments --- */

/* Mobile Menu Toggle - Default Hidden */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle .fa-times {
    display: none;
}

.menu-toggle[aria-expanded="true"] .fa-bars {
    display: none;
}

.menu-toggle[aria-expanded="true"] .fa-times {
    display: inline-block;
}

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

@media (max-width: 991px) {
    /* Header & Navigation */
    .menu-toggle {
        display: block;
        order: 2; /* Put toggle after CTA */
    }

    .header-cta {
        order: 1;
    }
    
    .header-cta .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        text-align: center;
    }

    .main-navigation.toggled {
        max-height: 500px;
        visibility: visible;
        opacity: 1;
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation ul li {
        border-bottom: 1px solid #f9f9f9;
        width: 100%;
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 15px;
        font-size: 16px;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .header-inner {
        position: relative;
    }

    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .top-bar-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .top-bar-info span {
        margin-right: 0;
    }

    /* Header */
    .header-inner {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 1.6rem;
    }
    
    .header-cta .btn {
        padding: 8px 15px;
        font-size: 11px;
    }

    /* Hero */
    .hero-section { 
        height: auto; 
        min-height: 500px; 
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-content {
        padding-top: 0;
        margin: 0 auto;
    }
    
    .hero-title { 
        font-size: 2.2rem; 
    }
    
    .hero-actions {
        justify-content: center;
    }

    /* About & Stats */
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    
    .stats-container { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        padding: 30px;
    }

    /* Partners Grid */
    .partners-grid {
        grid-template-columns: 1fr; 
        padding: 0 10px;
    }

    /* Contact Form */
    .contact-wrapper { 
        grid-template-columns: 1fr; 
    }
    
    .contact-form-area, .contact-info-area {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row input {
        width: 100%;
    }

    /* Footer */
    .site-footer {
        padding: 50px 0;
    }
    
    .footer-widgets {
        gap: 40px;
    }
    
    .site-info { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    
    /* Buttons dynamic and centered */
    .hero-actions { 
        flex-direction: column; 
        gap: 15px; 
        align-items: center; 
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .btn { 
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        box-sizing: border-box;
        white-space: normal; /* Allow text wrap */
        text-align: center;
        padding: 14px 20px;
    }
    
    /* Hide CTA on very small screens if needed, or keep it */
    .header-cta { display: none; }
}

/* --- Partner Ecosystem Grid (Revamped) --- */
.partners-grid-section {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(230, 0, 0, 0.2);
}

.partner-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.partner-card:hover::after {
    transform: scaleX(1);
}

.partner-logo-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 25px;
}

.partner-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo-wrapper img {
    transform: scale(1.1);
}

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

.partner-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--primary-dark);
}

.partner-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Cards Layout */
.marques-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.marques-card .partner-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.marques-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(230, 0, 0, 0.35);
}

.marques-card:hover .partner-logo-wrapper {
    background: rgba(230, 0, 0, 0.04);
}

.marques-card:focus-visible {
    outline: 2px solid rgba(230, 0, 0, 0.5);
    outline-offset: 2px;
}

/* Updated CTA */
.partner-more {
    margin-top: auto;
    color: #e60000;
    font-weight: 700;
    text-transform: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 15px;
    transition: color 0.2s ease;
}

.partner-more-icon {
    transition: transform 0.2s ease;
    font-size: 1.1em;
    line-height: 1;
}

.marques-card:hover .partner-more {
    color: #ff0000;
}

.marques-card:hover .partner-more-icon {
    transform: translateX(4px);
}

/* Brand Modal New Design */
.brand-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.brand-modal-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.brand-modal {
    width: 100%;
    max-width: 900px;
    background: transparent;
    border: none;
    padding: 0;
}

.brand-modal-inner {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.brand-modal-overlay[aria-hidden="false"] .brand-modal-inner {
    transform: scale(1);
    opacity: 1;
}

.brand-modal-logo-wrapper {
    flex: 0 0 35%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.brand-modal-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.05));
}

.brand-modal-content {
    flex: 1;
    padding: 50px 40px;
    overflow-y: auto;
    max-height: 80vh;
}

.brand-modal-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-red, #e60000);
    margin-bottom: 12px;
}

.brand-modal-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #111;
}

.brand-modal-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.brand-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.brand-modal-close:hover {
    background: var(--primary-red, #e60000);
    color: #fff;
}

@media (max-width: 768px) {
    .brand-modal-inner {
        flex-direction: column;
    }
    
    .brand-modal-logo-wrapper {
        flex: 0 0 180px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 30px;
    }
    
    .brand-modal-content {
        padding: 30px 24px;
    }
    
    .brand-modal-title {
        font-size: 1.8rem;
    }
}

.section-description {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.about-outimat-page {
    background-color: #f5f5f5;
}

.about-page-hero {
    padding: 110px 0 80px;
    background: radial-gradient(circle at top left, rgba(230, 0, 0, 0.25) 0, transparent 55%), radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.8) 0, #111111 45%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-page-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-page-hero-text {
    max-width: 700px;
}

.about-page-kicker {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-page-title {
    font-size: 2.4rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.about-page-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 520px;
}

.about-page-hero-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
}

.about-page-highlight-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
}

.about-page-highlight-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #f0f0f0;
}

.about-page-hero::before,
.about-page-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    opacity: 0.25;
    filter: blur(40px);
    transform: translate3d(0, 0, 0);
    animation: aboutFloat 22s ease-in-out infinite alternate;
}

.about-page-hero::before {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, #e60000, #ff6a00);
    top: -60px;
    right: 10%;
}

.about-page-hero::after {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    bottom: -80px;
    left: -40px;
    animation-delay: 4s;
}

.about-page-intro {
    padding: 70px 0 40px;
    position: relative;
}

.about-page-intro-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-page-intro-text p {
    font-size: 1.05rem;
    color: #444444;
    max-width: 880px;
}

.about-page-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.about-page-intro-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.about-page-intro-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.about-page-intro-card p {
    margin: 0;
    color: #555555;
    font-size: 0.98rem;
}

.about-page-why {
    padding: 40px 0 60px;
    background-color: #ffffff;
}

.about-page-why-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-page-why-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.about-page-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-page-why-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-page-why-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(230, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-page-why-card h3 {
    font-size: 1.05rem;
    margin: 0;
}

.about-page-why-card p {
    margin: 0;
    font-size: 0.96rem;
    color: #555555;
}

.about-page-sections {
    padding: 50px 0 70px;
    background: linear-gradient(180deg, #f3f3f3 0, #ffffff 45%, #f7f7f7 100%);
}

.about-page-sections-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-page-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-page-section p {
    font-size: 1.02rem;
    color: #444444;
    max-width: 900px;
}

.about-page-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-page-pillar-card {
    background: linear-gradient(145deg, #ffffff 0, #f7f7f7 100%);
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transform-origin: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.about-page-pillar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.about-page-pillar-card p {
    margin: 0;
    color: #555555;
    font-size: 0.95rem;
}

.about-page-pillar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(230, 0, 0, 0.15), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.about-page-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 0, 0, 0.25);
}

.about-page-pillar-card:hover::before {
    opacity: 1;
}

.about-page-network {
    padding: 70px 0;
    background: radial-gradient(circle at top right, rgba(230, 0, 0, 0.08) 0, transparent 55%), #ffffff;
}

.about-page-network-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
}

.about-page-network-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-page-network-text p {
    color: #444444;
    font-size: 1.02rem;
}

.about-page-network-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.about-page-network-card {
    border-radius: 10px;
    padding: 18px 20px;
    background-color: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-page-network-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--primary-red);
    margin-bottom: 6px;
}

.about-page-network-card p {
    margin: 0;
    color: #555555;
    font-size: 0.96rem;
}

.about-page-network-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 0, 0, 0.3);
}

.about-page-partnerships {
    padding: 70px 0 40px;
    background-color: #f5f5f5;
}

.about-page-partnerships-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-page-partnerships-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-page-partnerships-text p {
    color: #444444;
    max-width: 900px;
}

.about-page-partnerships-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-page-partnerships-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-page-partnerships-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.about-page-partnerships-card p {
    margin: 0;
    color: #555555;
    font-size: 0.95rem;
}

.about-page-partnerships-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #e60000, #ff9b00);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.about-page-partnerships-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 0, 0, 0.25);
}

.about-page-partnerships-card:hover::after {
    transform: scaleX(1);
}

.about-page-commitment {
    display: none;
}

.about-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-animate.delay-1 {
    transition-delay: 0.08s;
}

.about-animate.delay-2 {
    transition-delay: 0.16s;
}

.about-animate.delay-3 {
    transition-delay: 0.24s;
}

.about-page-section h2::after,
.about-page-network-text h2::after,
.about-page-partnerships-text h2::after,
.about-page-why-header h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 12px;
    background: linear-gradient(90deg, #e60000, #ff9b00);
}

.about-page-partners-slider {
    padding: 20px 0 0;
}

.about-page-partners-slider .partner-slider-section {
    border-radius: 0;
    margin-inline: 0;
    max-width: none;
    width: 100%;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

@keyframes aboutFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(20px, 20px, 0);
    }
}

@media (max-width: 991px) {
    .about-page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-page-why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-page-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-page-pillars {
        grid-template-columns: 1fr 1fr;
    }

    .about-page-network-inner {
        grid-template-columns: 1fr;
    }

    .about-page-partnerships-cards {
        grid-template-columns: 1fr 1fr;
    }

    .about-page-commitment-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-page-hero {
        padding: 80px 0 50px;
        text-align: left;
    }

    .about-page-title {
        font-size: 1.9rem;
    }

    .about-page-pillars {
        grid-template-columns: 1fr;
    }

    .about-page-partnerships-cards,
    .about-page-why-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════
   PAGES PRODUIT / MARQUE / CATÉGORIE (single)
   ══════════════════════════════════════════════ */

/* Breadcrumb */
.produit-breadcrumb {
    padding: 24px 20px 0;
    font-size: 0.85rem;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.produit-breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}
.produit-breadcrumb a:hover {
    color: var(--primary-red, #E60000);
}
.produit-breadcrumb span {
    color: #aaa;
}
.produit-breadcrumb .current {
    color: #1a1a1a;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Product detail page */
.produit-detail-section {
    padding: 40px 0 80px;
}
.produit-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: start;
}
.produit-detail-image-wrapper {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 40px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.produit-detail-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.produit-detail-info-col {
    padding-top: 12px;
}
.produit-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.produit-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.produit-detail-tag-brand {
    background: var(--primary-red, #E60000);
    color: #fff;
}
.produit-detail-tag-brand:hover {
    background: #b30000;
    color: #fff;
    transform: translateY(-1px);
}
.produit-detail-tag-cat {
    background: #f0f0f0;
    color: #333;
}
.produit-detail-tag-cat:hover {
    background: #e0e0e0;
    color: #000;
    transform: translateY(-1px);
}
.produit-detail-tag-icon {
    font-size: 1.05em;
}
.produit-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.25;
    color: #1a1a1a;
}
.produit-detail-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 32px;
}
.produit-detail-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}
.produit-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.produit-detail-btn-wa {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}
.produit-detail-btn-wa:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.produit-detail-btn-catalog {
    background: #fff;
    color: var(--primary-red, #E60000);
    border: 2px solid var(--primary-red, #E60000);
}
.produit-detail-btn-catalog:hover {
    background: var(--primary-red, #E60000);
    color: #fff;
    transform: translateY(-2px);
}
.produit-detail-meta {
    list-style: none;
    padding: 24px 0 0;
    margin: 0;
    border-top: 1px solid #eee;
}
.produit-detail-meta li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: #555;
}
.produit-detail-meta strong {
    color: #1a1a1a;
    margin-right: 8px;
    min-width: 110px;
    display: inline-block;
}
.produit-detail-meta a {
    color: var(--primary-red, #E60000);
    text-decoration: none;
    font-weight: 600;
}
.produit-detail-meta a:hover {
    text-decoration: underline;
}

/* Related products section */
.produit-detail-related {
    background: #fafafa;
    padding: 70px 0 90px;
}

/* Shared product grid + card (used on /produits/, /marque/, /categorie/, single-produit) */
.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}
.produit-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.produit-card[hidden] { display: none !important; }
.produit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.produit-card-link {
    text-decoration: none !important;
    color: inherit !important;
}
.produit-card .produit-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    padding: 18px;
}
.produit-card .produit-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.produit-card:hover .produit-image-wrapper img {
    transform: scale(1.06);
}
.produit-card .produit-info {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.produit-card .produit-brand-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--primary-red, #E60000);
    margin-bottom: 8px;
}
.produit-card .produit-name {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 12px;
    color: #1a1a1a;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.produit-card .partner-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-red, #E60000);
    margin-top: auto;
}
@media (max-width: 640px) {
    .produits-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .produit-card .produit-info { padding: 14px 14px 18px; }
    .produit-card .produit-name { font-size: 0.9rem; }
}

/* Brand detail page */
.marque-detail-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    border-bottom: 1px solid #eee;
}
.marque-detail-hero-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: center;
}
.marque-detail-logo-wrapper {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}
.marque-detail-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.marque-detail-logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red, #E60000);
    border-radius: 8px;
}
.marque-detail-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin: 8px 0 18px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}
.marque-detail-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 720px;
}
.marque-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 28px;
}
.marque-detail-meta-item {
    display: flex;
    flex-direction: column;
}
.marque-detail-meta-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red, #E60000);
    line-height: 1;
}
.marque-detail-meta-label {
    font-size: 0.82rem;
    color: #777;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.marque-detail-products {
    padding: 70px 0 100px;
}
.marque-detail-empty {
    padding: 80px 0;
}

/* Category detail page */
.categorie-detail-icon {
    display: inline-block;
    margin-right: 12px;
    font-size: 0.9em;
}

/* Modal — fiche complète link styling */
.brand-modal-page-link,
.produit-modal-fiche-link {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding: 4px 0;
    transition: all 0.2s ease;
}
.brand-modal-page-link:hover,
.produit-modal-fiche-link:hover {
    color: var(--primary-red, #E60000);
    border-bottom-color: var(--primary-red, #E60000);
}

/* Modal footer (used on both /marques/ and /produits/) */
.brand-modal-footer,
.produit-modal-footer {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* Catalog / WhatsApp CTA button inside modal */
.brand-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-red, #E60000);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.2);
    white-space: nowrap;
    line-height: 1.2;
}
.brand-catalog-btn:hover {
    background-color: #b30000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.3);
}
.brand-catalog-btn svg {
    flex-shrink: 0;
}

/* WhatsApp variant (green) — overrides red catalog button */
.produit-wa-btn {
    background-color: #25d366 !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25) !important;
}
.produit-wa-btn:hover {
    background-color: #128C7E !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35) !important;
}

/* Responsive — single pages */
@media (max-width: 900px) {
    .produit-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .marque-detail-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .marque-detail-logo-wrapper {
        max-width: 240px;
        margin: 0 auto;
        height: 160px;
    }
    .marque-detail-meta {
        justify-content: center;
    }
    .marque-detail-description {
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 600px) {
    .produit-detail-section { padding: 30px 0 60px; }
    .produit-detail-image-wrapper { padding: 24px; }
    .produit-detail-cta-row .produit-detail-btn { width: 100%; justify-content: center; }
    .produit-breadcrumb .current {
        max-width: 200px;
    }
}

/* ────────────────────────────────────────────────
   Produits — filter buttons (shared by /produits/,
   /marque/<slug>/, /categorie/<slug>/)
   ──────────────────────────────────────────────── */
.produits-filter-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px auto;
    max-width: 1200px;
}
.produits-filter-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: #555;
    padding: 11px 0;
    min-width: 90px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.produits-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    margin: 0;
    max-width: none;
    justify-content: center;
}
.produits-filter-btn {
    appearance: none;
    background: #fff;
    border: 1.5px solid #e5e5e5;
    color: #333;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.produits-filter-btn:hover {
    border-color: var(--primary-red, #E60000);
    color: var(--primary-red, #E60000);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.08);
}
.produits-filter-btn.is-active {
    background: var(--primary-red, #E60000);
    border-color: var(--primary-red, #E60000);
    color: #fff;
    box-shadow: 0 6px 18px rgba(230, 0, 0, 0.25);
}
.produits-filter-btn.is-active:hover {
    transform: translateY(-1px);
    color: #fff;
}
.produits-filter-count {
    font-weight: 500;
    opacity: 0.75;
    font-size: 0.82em;
}
.produits-filter-icon {
    font-size: 1em;
}
@media (max-width: 600px) {
    .produits-filter { gap: 8px; justify-content: flex-start; }
    .produits-filter-btn { padding: 8px 14px; font-size: 0.8rem; }
    .produits-filter-group { gap: 8px; }
    .produits-filter-label { min-width: 0; padding: 4px 0; }
}

/* ────────────────────────────────────────────────
   CTA "Bien plus de références" — fin de page marque
   ──────────────────────────────────────────────── */
.marque-more-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 900px;
    margin: 64px auto 0;
    padding: 34px 40px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1010 55%, #3a0d0b 100%);
    border: 1px solid rgba(228, 51, 44, 0.35);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.marque-more-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(228, 51, 44, 0.30);
    border-color: var(--primary-red, #e4332c);
}
.marque-more-cta-glow {
    position: absolute;
    top: -60%;
    left: -35%;
    width: 55%;
    height: 220%;
    background: radial-gradient(ellipse at center, rgba(228, 51, 44, 0.5) 0%, rgba(228, 51, 44, 0) 70%);
    transform: rotate(8deg);
    pointer-events: none;
    animation: marqueGlowSweep 5.5s ease-in-out infinite;
}
@keyframes marqueGlowSweep {
    0%, 100% { left: -35%; opacity: 0.45; }
    50%      { left: 90%;  opacity: 0.95; }
}
.marque-more-cta-body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.marque-more-cta-title {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
}
.marque-more-cta-sub {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.66);
}
.marque-more-cta-arrow {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    background: var(--primary-red, #e4332c);
    border-radius: 50%;
    transition: transform 0.35s ease;
    animation: marqueArrowNudge 2.4s ease-in-out infinite;
}
.marque-more-cta:hover .marque-more-cta-arrow {
    transform: translateX(6px) scale(1.08);
    animation-play-state: paused;
}
@keyframes marqueArrowNudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(6px); }
}
@media (max-width: 600px) {
    .marque-more-cta {
        flex-direction: column;
        text-align: center;
        gap: 18px;
        padding: 28px 24px;
        margin-top: 48px;
    }
    .marque-more-cta-title { font-size: 1.2rem; letter-spacing: 1px; }
}
