/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #1e4620;       /* Deep Forest Green */
    --primary-hover: #153116;       /* Darker Forest Green */
    --primary-light: #e8f5e9;       /* Light Sage Green */
    --accent-color: #8d6e63;        /* Warm Earth Brown */
    --accent-light: #efebe9;        /* Warm Sand Cream */
    --text-dark: #1e2520;           /* Near Black with Olive undertone */
    --text-muted: #556057;          /* Muted Gray Green */
    --bg-light: #fafbfa;            /* Soft Cream-White */
    --bg-card: #ffffff;             /* Pure White for cards */
    --white: #ffffff;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(30, 70, 32, 0.08), 0 4px 6px -2px rgba(30, 70, 32, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(30, 70, 32, 0.12), 0 10px 10px -5px rgba(30, 70, 32, 0.04);
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-medium);
    text-align: center;
}

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

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

/* Section titles */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.sub-title {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-medium);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
}

.accent-text {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.main-header.scrolled .nav-link {
    color: var(--text-dark);
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* Menu Toggle states */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 11, 0.95) 0%, rgba(10, 25, 11, 0.75) 50%, rgba(10, 25, 11, 0.2) 100%);
    z-index: -1;
}

.hero-container {
    z-index: 1;
}

.hero-content {
    max-width: 680px;
}

.badge-cesu-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #81c784;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(129, 199, 132, 0.7);
    animation: pulse 1.6s infinite;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 60px;
}

.hero-waves .shape-fill {
    fill: var(--bg-light);
}

/* ==========================================================================
   QUICK CESU BANNER
   ========================================================================== */
.quick-cesu-banner {
    background-color: var(--white);
    padding: 3rem 0;
    margin-top: -2px; /* Prevent outline gap */
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 5;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.banner-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.banner-icon {
    flex-shrink: 0;
    color: var(--accent-color);
    background-color: var(--accent-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.banner-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.banner-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(30, 70, 32, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 70, 32, 0.08);
}

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.service-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-content {
    padding: 2.5rem;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-box {
    position: absolute;
    top: -2.5rem;
    left: 2.5rem;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(30, 70, 32, 0.2);
    transition: var(--transition-medium);
    border: 4px solid var(--white);
}

.service-card:hover .service-icon-box {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-list {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.service-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 700;
}

/* ==========================================================================
   CAUE PARTNERSHIP SECTION
   ========================================================================== */
.caue-section {
    padding: 8rem 0;
    background-color: var(--accent-light);
    position: relative;
    overflow: hidden;
}

.caue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.caue-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.caue-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.caue-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.benefit-check {
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.caue-img {
    position: relative;
}

.caue-img img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
    width: 100%;
}

.image-deco-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--primary-color);
    border-left: 5px solid var(--primary-color);
    border-top-left-radius: 24px;
    z-index: 1;
}

/* ==========================================================================
   CESU & TAX BENEFITS DETAILS SECTION
   ========================================================================== */
.cesu-section {
    padding: 8rem 0;
}

.cesu-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #112712 100%);
    color: var(--white);
    border-radius: 32px;
    padding: 4.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cesu-badge-label {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.cesu-card h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cesu-card .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 800px;
    margin-bottom: 3.5rem;
}

.cesu-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.cesu-detail-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.cesu-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    height: 60px;
}

.cesu-number svg {
    color: #81c784;
}

.cesu-detail-card h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.cesu-detail-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.cesu-footer-text {
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.cesu-footer-text p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background-color: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-intro {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

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

.info-item {
    display: flex;
    gap: 1rem;
}

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

.info-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.info-item a,
.info-item p {
    font-size: 1.05rem;
    font-weight: 600;
}

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

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.cesu-badge-small {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-check {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 70, 32, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: #121a13;
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand .logo-text {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: block;
}

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

.footer-links h4,
.footer-legal h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-legal p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.legal-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   ANIMATIONS & SCROLL BEHAVIOR
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(129, 199, 132, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(129, 199, 132, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(129, 199, 132, 0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet View */
@media (max-width: 992px) {
    h1 { font-size: 2.75rem !important; }
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .caue-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .caue-img {
        order: -1;
    }
    .cesu-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cesu-card {
        padding: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    /* Header menu mobile */
    .hamburger-menu {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right var(--transition-medium);
        padding: 2rem;
        z-index: 999;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-link {
        font-size: 1.1rem;
    }
    .nav-btn {
        width: 100%;
    }
    
    .hero-section {
        height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }
    .hero-content h1 {
        font-size: 2.25rem !important;
    }
    .hero-actions {
        flex-direction: column;
    }
    
    .services-section,
    .caue-section,
    .cesu-section,
    .contact-section {
        padding: 5rem 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   MODAL - MENTIONS LÉGALES
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(18, 26, 19, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 24px;
    width: 100%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 0.75rem;
}

.modal-body h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}
