/*
 Theme Name:   JardiBrico
 Theme URI:    https://jardibricoservices.kelly.ovh
 Description:  Thème WordPress pour Jardi Brico Services — Jardinage & Bricolage à domicile
 Author:       Michaël Vander Heyden
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  jardibrico
 Tags:         services, one-column, custom-menu, custom-logo, featured-images
*/

/* ============================================
   JARDIBRICO — Variables & Reset
   ============================================ */
:root {
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: .3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: var(--green-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-800); }
img { max-width: 100%; height: auto; display: block; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--green-900);
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    padding: 8px 0;
    letter-spacing: .01em;
}
.top-bar .container {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.top-bar a { color: rgba(255,255,255,.95); }
.top-bar a:hover { color: var(--green-300); }
.top-bar .separator { opacity: .3; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-branding .custom-logo-link img {
    height: 48px;
    width: auto;
}
.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}
.site-title a { color: var(--gray-800); }
.site-title a strong { color: var(--green-600); }
.site-description {
    font-size: .75rem;
    color: var(--gray-400);
    font-weight: 400;
}

/* Navigation */
.main-navigation .nav-list {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
}
.main-navigation .nav-list li a {
    display: block;
    padding: 8px 16px;
    color: var(--gray-600);
    font-size: .9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.main-navigation .nav-list li a:hover,
.main-navigation .nav-list li.current-menu-item a,
.main-navigation .nav-list li.current_page_item a {
    color: var(--green-700);
    background: var(--green-50);
}

/* CTA button in nav */
.main-navigation .nav-list li.menu-item-cta a {
    background: var(--green-600);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.main-navigation .nav-list li.menu-item-cta a:hover {
    background: var(--green-700);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.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(5px,-5px); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--green-600);
    color: var(--white);
    border-color: var(--green-600);
}
.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-outline {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-300);
}
.btn-outline:hover {
    background: var(--green-50);
    border-color: var(--green-500);
    color: var(--green-800);
}
.btn-white {
    background: var(--white);
    color: var(--green-700);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--green-50);
    color: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
    color: var(--white);
}
.btn-lg { padding: 14px 36px; font-size: 1rem; }

/* ============================================
   HERO SECTION (front-page)
   ============================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 40%, #2d8c4e 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-section.has-bg-image {
    background: linear-gradient(135deg, rgba(27,94,32,.78) 0%, rgba(46,125,50,.7) 40%, rgba(45,140,78,.65) 100%),
                var(--hero-bg) center / cover no-repeat;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.04) 0%, transparent 50%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='.03'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l2 3.5-2 3z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 100px 0 80px;
    max-width: 780px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-full);
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: .9;
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}
.hero-trust {
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    opacity: .8;
}
.trust-icon { font-size: 1.2rem; }

/* ============================================
   PAGE HEADER (internal pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
    color: var(--white);
    padding: 48px 0 40px;
    text-align: center;
}
.page-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
}
.page-header .subtitle {
    opacity: .8;
    margin-top: 8px;
    font-size: 1rem;
}

/* ============================================
   SECTIONS GENERIC
   ============================================ */
.section {
    padding: 90px 0;
}
.section--alt { background: var(--gray-50); }
.section--dark {
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}
.section-tag {
    display: inline-block;
    padding: 5px 16px;
    background: var(--green-100);
    color: var(--green-700);
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.section-tag--light {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
}
.section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.2;
}
.section--dark .section-header h2 { color: var(--white); }
.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
}
.section--dark .section-header p { color: rgba(255,255,255,.75); }

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--green-500);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-card-icon {
    width: 56px;
    height: 56px;
    background: var(--green-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}
.service-card > p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.75;
}

/* Service card image */
.service-card-image {
    margin: -40px -40px 24px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.service-card:hover .service-card-image img {
    transform: scale(1.05);
}
.service-card-body .service-card-icon {
    margin-top: 0;
}

.service-list {
    list-style: none;
    margin-bottom: 24px;
}
.service-list li {
    padding: 7px 0 7px 28px;
    position: relative;
    color: var(--gray-700);
    font-size: .93rem;
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 18px;
    height: 18px;
    background: var(--green-100);
    border-radius: 50%;
}
.service-list li::after {
    content: '✓';
    position: absolute;
    left: 3px; top: 7px;
    font-size: .7rem;
    font-weight: 800;
    color: var(--green-600);
}

.service-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}
.option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.option-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.option strong { display: block; font-size: .88rem; color: var(--gray-800); margin-bottom: 2px; }
.option p { font-size: .82rem; color: var(--gray-500); margin: 0; line-height: 1.4; }

/* ============================================
   STATS / ADVANTAGES
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage {
    text-align: center;
    padding: 36px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.advantage:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--green-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.advantage-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--green-600);
    line-height: 1;
    margin-bottom: 8px;
}
.advantage h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--gray-800);
}
.advantage p {
    color: var(--gray-500);
    font-size: .88rem;
    line-height: 1.5;
}

/* ============================================
   CREDIT IMPOT STEPS
   ============================================ */
.credit-content { max-width: 820px; margin: 0 auto; }

.credit-intro {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 44px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--green-500);
}
.credit-intro p { color: var(--gray-600); line-height: 1.8; }
.credit-intro p + p { margin-top: 14px; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.step {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.step-number {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--green-600);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.step-content h4 { font-size: 1rem; margin-bottom: 6px; color: var(--gray-800); }
.step-content p { font-size: .88rem; color: var(--gray-500); line-height: 1.55; }

.credit-cta { text-align: center; margin-top: 36px; }
.credit-cta p { color: var(--gray-500); margin-bottom: 14px; }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-content .section-tag { margin-bottom: 14px; }
.about-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--gray-900);
    line-height: 1.2;
}
.about-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 14px;
}
.about-photo-wrap {
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-photo-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.about-visual { display: flex; flex-direction: column; gap: 20px; }
.about-card {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-card-icon { font-size: 2rem; margin-bottom: 12px; }
.about-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--gray-800); }
.about-card p { color: var(--gray-600); font-size: .9rem; line-height: 1.6; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(4px);
}
.contact-card-icon { font-size: 1.5rem; margin-bottom: 8px; }
.contact-card h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .65;
    margin-bottom: 6px;
}
.contact-card a, .contact-card p { color: var(--white); font-size: 1.05rem; font-weight: 500; }
.contact-card a:hover { color: var(--green-200); }

/* ============================================
   FORMS
   ============================================ */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: inherit;
    color: var(--gray-800);
    transition: all var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(34,197,94,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* WPForms override */
.wpforms-container .wpforms-form input,
.wpforms-container .wpforms-form textarea,
.wpforms-container .wpforms-form select {
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid var(--gray-200) !important;
    font-family: inherit !important;
}
.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus {
    border-color: var(--green-500) !important;
    box-shadow: 0 0 0 3px rgba(34,197,94,.12) !important;
}
.wpforms-container .wpforms-form .wpforms-submit {
    background: var(--green-600) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 14px 36px !important;
}
.wpforms-container .wpforms-form .wpforms-submit:hover {
    background: var(--green-700) !important;
}

.form-note {
    text-align: center;
    font-size: .8rem;
    color: var(--gray-400);
    margin-top: 14px;
}

/* ============================================
   PAGE CONTENT (wp-editor blocks)
   ============================================ */
.site-content { padding: 60px 0; }
.page-content,
.entry-content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--gray-700);
}
.page-content h2,
.entry-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    color: var(--gray-900);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green-100);
}
.page-content h3,
.entry-content h3 {
    font-size: 1.3rem;
    color: var(--gray-800);
    margin: 32px 0 12px;
}
.page-content p,
.entry-content p { margin-bottom: 16px; }
.page-content ul, .entry-content ul,
.page-content ol, .entry-content ol {
    margin: 16px 0 16px 24px;
}
.page-content li, .entry-content li { margin-bottom: 8px; }
.page-content strong, .entry-content strong { color: var(--gray-900); }
.page-content a, .entry-content a { color: var(--green-600); text-decoration: underline; text-underline-offset: 2px; }
.page-content a:hover, .entry-content a:hover { color: var(--green-800); }

.page-content blockquote,
.entry-content blockquote {
    border-left: 4px solid var(--green-400);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--green-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--gray-700);
    font-style: italic;
}

/* Tables */
.page-content table, .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.page-content th, .entry-content th {
    background: var(--green-600);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .9rem;
}
.page-content td, .entry-content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: .93rem;
}
.page-content tr:nth-child(even), .entry-content tr:nth-child(even) { background: var(--gray-50); }

/* WP images */
.page-content img, .entry-content img {
    border-radius: var(--radius);
    margin: 24px 0;
}
.wp-block-image figcaption {
    text-align: center;
    color: var(--gray-400);
    font-size: .85rem;
    margin-top: 8px;
}

/* ============================================
   NEWS / BLOG CARDS
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card-thumb {
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-body { padding: 24px; }
.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}
.news-card h3 a { color: var(--gray-800); }
.news-card h3 a:hover { color: var(--green-600); }
.news-card .entry-summary {
    color: var(--gray-500);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.news-card .entry-meta {
    font-size: .8rem;
    color: var(--gray-400);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; }
.footer-col p { font-size: .88rem; line-height: 1.65; margin-bottom: 8px; }
.footer-col a { color: var(--gray-400); }
.footer-col a:hover { color: var(--green-400); }
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 8px; }
.footer-col ul a { font-size: .88rem; }

.footer-brand .site-title { font-size: 1.15rem; margin-bottom: 4px; }
.footer-brand .site-title a { color: var(--white); }

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: .82rem;
    color: var(--gray-500);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-navigation {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
        z-index: 999;
    }
    .main-navigation.toggled {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .main-navigation .nav-list {
        flex-direction: column;
        padding: 20px 24px;
        gap: 4px;
    }
    .main-navigation .nav-list li a {
        display: block;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }
    .top-bar .container { flex-direction: column; gap: 4px; }
    .hero-content { padding: 80px 0 60px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-trust { flex-direction: column; gap: 10px; }
    .service-card { padding: 28px; }
    .service-card-image { margin: -28px -28px 20px; }
    .service-card-image img { height: 180px; }
    .service-options { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .advantage { padding: 24px 16px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
    .news-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .advantages-grid { grid-template-columns: 1fr; }
}
