/* ============================================
   GROUPE DHOLLANDE - Fabricant de palettes bois
   Styles principaux
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5632;
    --primary-dark: #0e3a20;
    --primary-light: #2a7a48;
    --secondary: #c8a951;
    --secondary-light: #e0c96e;
    --dark: #1a1a1a;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

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

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

ul { list-style: none; }

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

.section {
    padding: 80px 0;
}

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

.section-title h2 {
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 50, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 81, 0.3);
}

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

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

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

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

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background: rgba(14, 58, 32, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 8px 0;
}

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

.logos-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

.logos-wrapper a {
    display: flex;
    align-items: center;
}

.logos-wrapper img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logos-wrapper img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.logos-separator {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
}

.header.scrolled .logos-separator {
    background: rgba(0, 0, 0, 0.15);
}

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

.nav a {
    padding: 8px 16px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius);
    position: relative;
}

.header.scrolled .nav a {
    color: var(--dark-gray);
}

.nav a:hover,
.nav a.active {
    color: var(--secondary);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
    color: var(--primary);
    background: var(--light-gray);
}

/* Dropdown */
.nav-item {
    position: relative;
}

.nav-item .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 100;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-gray) !important;
    font-size: 0.9rem;
}

.dropdown a:hover {
    background: var(--light-gray);
    color: var(--primary) !important;
    padding-left: 25px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--dark);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(14, 58, 32, 0.9), rgba(26, 86, 50, 0.8));
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 58, 32, 0.88), rgba(26, 86, 50, 0.75));
    z-index: 1;
}

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

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 60px;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.hero-stat {
    text-align: center;
    color: var(--white);
}

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.hero-stat .label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* --- Key Figures --- */
.key-figures {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.key-figures::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.key-figures::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(200, 169, 81, 0.05);
    border-radius: 50%;
}

.key-figures .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.key-figure {
    text-align: center;
    color: var(--white);
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.key-figure:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-5px);
    border-color: rgba(200, 169, 81, 0.3);
}

.key-figure .icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    color: var(--secondary);
    display: inline-block;
    width: 65px;
    height: 65px;
    line-height: 65px;
    background: rgba(200, 169, 81, 0.12);
    border-radius: 50%;
}

.key-figure .number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-figure .label {
    font-size: 0.95rem;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.product-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-card-body {
    padding: 25px;
}

.product-card-body h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.product-card-body p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-card-body .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* --- Features / Advantages --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* --- About Preview --- */
.about-preview {
    background: var(--light-gray);
}

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

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

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--medium-gray);
}

.about-text .btn {
    margin-top: 15px;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Map Section --- */
.map-section {
    background: var(--light-gray);
}

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

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

.sites-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.site-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.site-item .site-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.site-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.site-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact-item .icon-ft {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Video Embed --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-subvention {
    margin-bottom: 15px;
}

.footer-subvention img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.footer-bottom a {
    color: var(--secondary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* --- Page Header (inner pages) --- */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, rgba(14, 58, 32, 0.92), rgba(26, 86, 50, 0.85));
    text-align: center;
    overflow: hidden;
}

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

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

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 58, 32, 0.92), rgba(26, 86, 50, 0.85));
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumb a {
    color: var(--secondary);
}

.breadcrumb span {
    color: rgba(255,255,255,0.4);
}

/* --- Product Detail --- */
.product-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-intro-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.product-intro-text p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

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

.service-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* --- About Page --- */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

.contact-info-card {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-info-card p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.contact-info-card a {
    color: var(--primary);
    font-weight: 600;
}

.contact-info-card a:hover {
    color: var(--secondary);
}

/* --- Media Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 86, 50, 0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background: rgba(26, 86, 50, 0.3);
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
}

/* --- Mentions Legales --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--medium-gray);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Counter Animation --- */
.counter {
    display: inline-block;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
        gap: 0;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        color: var(--dark-gray) !important;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

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

    .nav-item .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 15px;
        display: none;
    }

    .nav-item:hover .dropdown,
    .nav-item.open .dropdown {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .about-grid,
    .product-intro,
    .contact-grid,
    .map-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .hero-stats {
        gap: 20px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        padding-left: 60px;
    }

    .timeline-item::before {
        left: 20px;
    }
}

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

    .hero {
        min-height: 90vh;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-stat .number {
        font-size: 1.8rem;
    }

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

    .key-figures .container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .key-figure .number {
        font-size: 1.6rem;
    }

    .page-header {
        padding: 130px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .key-figures .container {
        grid-template-columns: 1fr;
    }
}

/* --- Scroll to top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}
