/*
Theme Name: DELHUNT Transport
Description: Профессиональная тема для транспортной компании DELHUNT с современным дизайном, адаптивной версткой и функциональностью для логистического бизнеса.
Author: DELHUNT Team
Version: 1.0
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delhunt
*/

/* ==========================================================================
   БАЗОВЫЕ СТИЛИ
   ========================================================================== */

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

html {
    height: 100%;
}

body {
    font-family: 'Mulish', 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #2E2E38;
    background-color: #FFCD29;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#page {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1;
}

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

/* ==========================================================================
   HEADER DESIGN
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #FFCD29;
    color: #2E2E38;
    box-shadow: 0 2px 10px rgba(255, 205, 41, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

/* Отступ для админбара WordPress */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Отступ для body чтобы контент не перекрывался */
body {
    padding-top: 0;
}

.admin-bar body {
    padding-top: 0;
}

@media screen and (max-width: 782px) {
    .admin-bar body {
        padding-top: 0;
    }
}

.header-main {
    padding: 0;
    background: #FFCD29;
}

.header-container {
    display: flex;
    align-items: stretch;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Logo Section */
.logo-section {
    background: #FFCD29;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    flex-shrink: 0;
    min-width: fit-content;
    overflow: visible;
}

.logo,
.site-title,
.logo-section a {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #2E2E38 !important;
    text-decoration: none !important;
    font-family: 'Mulish', sans-serif !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    min-width: max-content !important;
}

/* Для изображений логотипа */
.custom-logo,
.custom-logo img,
.logo-section img {
    max-height: 35px !important;
    width: auto !important;
    height: 35px !important;
    object-fit: contain !important;
}





/* Navigation Menu */
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    background: #FFCD29;
    position: relative;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 30px 20px;
    color: #2E2E38;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: 'Mulish', sans-serif;
}

.nav-menu a:hover {
    background: #2E2E38;
    color: white;
    box-shadow: 0 4px 10px rgba(46, 46, 56, 0.3);
}

/* Keep parent highlighted when submenu is open */
.nav-menu li:hover > a {
    background: #2E2E38;
    color: white;
}

/* Mobile Dropdown */
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 205, 41, 0.2);
        border-radius: 0;
        display: block;
        padding: 0;
    }
    
    .nav-menu .sub-menu a {
        padding: 12px 40px;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 13px;
    }
    
    .nav-menu .sub-menu a:hover {
        background: rgba(255, 205, 41, 0.3);
        color: #FFCD29;
    }
    


/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #2E2E38;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    z-index: 9999;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(46, 46, 56, 0.1);
}

.nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu a {
    padding: 12px 20px;
    color: white;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu .sub-menu a:hover {
    background: #FFCD29;
    color: #2E2E38;
}



/* Multi-level Dropdown */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    border-radius: 8px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

.menu-toggle-icon {
    width: 25px;
    height: 3px;
    background: #2E2E38;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

/* Липкая навигация */
.site-header.sticky {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.site-header.sticky.show {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.admin-bar .site-header.sticky.show {
    transform: translateY(0);
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header.sticky.show {
        transform: translateY(0);
    }
    
    .site-header.sticky.show {
        transform: translateY(0);
    }
}

.site-header.sticky .logo-section {
    padding: 20px 40px;
}



/* ==========================================================================
   ГЕРОЙ СЕКЦИЯ
   ========================================================================== */

.hero-section {
    background: #FFCD29;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E2E38;
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: none;
    color: #2E2E38;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #2E2E38;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-section .btn {
    background: #2E2E38;
    color: white;
}

.hero-section .btn:hover {
    background: #1a1a22;
    color: white;
}

.hero-section .btn-secondary {
    background: transparent;
    border: 2px solid #2E2E38;
    color: #2E2E38;
}

.hero-section .btn-secondary:hover {
    background: #2E2E38;
    color: white;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #FFCD29;
    color: #2E2E38;
    text-decoration: none;
    border-radius: 0 8px 0 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Mulish', sans-serif;
}

.btn:hover {
    background: #e6b823;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,205,41,0.3);
    color: #2E2E38;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #FFCD29;
    color: #FFCD29;
}

.btn-secondary:hover {
    background: #FFCD29;
    color: #2E2E38;
}

.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.contact-form .btn {
    background: #2E2E38;
    color: white;
}

.contact-form .btn:hover {
    background: #1a1a1f;
    color: white;
    box-shadow: 0 5px 15px rgba(46,46,56,0.3);
}

/* ==========================================================================
   УСЛУГИ
   ========================================================================== */

.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFCD29;
    border-radius: 2px;
}

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

.services-grid-5 {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,205,41,0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #FFCD29;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2E2E38;
    font-family: 'Mulish', sans-serif;
    font-weight: bold;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-price {
    font-weight: bold;
    color: #FFCD29;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Mulish', sans-serif;
}

/* ==========================================================================
   О КОМПАНИИ
   ========================================================================== */

.about-section {
    padding: 80px 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2E2E38;
    font-family: 'Mulish', sans-serif;
    font-weight: bold;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #FFCD29;
    display: block;
    font-family: 'Mulish', sans-serif;
}

.stat-label {
    color: #666;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ==========================================================================
   КОНТАКТЫ
   ========================================================================== */

.contact-section {
    padding: 80px 0;
    background: #2E2E38;
}

.contact-section .section-title h2 {
    color: white;
}

.contact-section .section-title p {
    color: rgba(255,255,255,0.8);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
    font-family: 'Mulish', sans-serif;
    font-weight: bold;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
    color: white;
}

.contact-item i {
    color: #FFCD29;
    font-size: 1.2rem;
    margin-top: 5px;
    width: 20px;
    flex-shrink: 0;
    text-align: center;
}

.contact-form {
    background: #FFCD29;
    padding: 30px;
    border-radius: 0 8px 0 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2E2E38;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2E2E38;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
}

/* ==========================================================================
   ФУТЕР
   ========================================================================== */

.site-footer {
    background: #2E2E38;
    color: white;
    padding: 50px 0 20px;
    border-top: 1px solid #555;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
    font-family: 'Mulish', sans-serif;
    font-weight: bold;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFCD29;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #FFCD29;
    color: #2E2E38;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: #e6b823;
    color: #2E2E38;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

.footer-bottom a {
    color: #FFCD29;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   УВЕДОМЛЕНИЯ
   ========================================================================== */

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: #27ae60;
}

.alert-error {
    background: #e74c3c;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */

@media (min-width: 1025px) {
    .main-navigation {
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 40px !important;
        right: auto !important;
    }
    
    .nav-menu {
        flex-direction: row !important;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-container {
        flex-wrap: wrap;
        height: auto;
        position: relative;
    }
    
    .logo-section {
        padding: 0 20px;
    }
    
    .header-design {
        width: 150px;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #FFCD29;
        padding: 80px 0 0 0;
        transition: right 0.3s ease;
        z-index: 998;
        overflow-y: auto;
        display: block;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        background: transparent;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(46, 46, 56, 0.1);
    }
    
    .nav-menu a {
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        box-shadow: none;
    }
    
    .nav-menu a:hover {
        background: #2E2E38;
        color: white;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(46, 46, 56, 0.05);
        border-radius: 0;
        display: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu .menu-item-has-children.show-submenu .sub-menu {
        display: block;
        max-height: 500px;
    }
    
    .nav-menu .sub-menu a {
        padding: 12px 40px;
        color: #2E2E38;
        font-size: 13px;
    }
    
    .nav-menu .sub-menu a:hover {
        background: rgba(46, 46, 56, 0.15);
        color: #2E2E38;
    }
    
    /* Overlay */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 997;
    }
    
    body.menu-open::before {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .site-header {
        transform: none !important;
        position: fixed !important;
        top: 0 !important;
    }
    
    .site-header.sticky {
        transform: none !important;
    }
    
    .site-header.sticky.show {
        transform: none !important;
        top: 0 !important;
    }
    
    .header-container {
        flex-direction: column;
        height: auto;
    }
    
    .logo-section {
        width: 100%;
        justify-content: center;
        padding: 20px;
    }
    
    .header-design {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card,
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .alert {
        right: 10px;
        left: 10px;
        font-size: 14px;
    }
}

/* ==========================================================================
   PAGE TEMPLATES STYLES
   ========================================================================== */

/* Page Content */
.page-content, .single-content, .archive-content, .search-results {
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 0;
    margin-top: 80px;
    padding: 60px 0 40px;
    background: #FFCD29;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 205, 41, 0.3);
}

.page-header::before {
    display: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2E2E38;
    border-radius: 2px;
}



.page-content .container,
.single-content .container,
.archive-content .container,
.search-results .container {
    padding-top: 60px;
    padding-bottom: 40px;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2E2E38;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

.archive-description {
    font-size: 1.2rem;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.page-body {
    display: block;
    width: 100%;
}

.content-area {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4,
.content-area h5,
.content-area h6 {
    color: #2E2E38;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.content-area p {
    margin-bottom: 20px;
}

.content-area ul,
.content-area ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Sidebar */
.sidebar {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.sidebar .widget {
    margin-bottom: 30px;
}

.sidebar .widget:last-child {
    margin-bottom: 0;
}

.sidebar .widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2E2E38;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6B35;
}

/* Single Post */
.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2E2E38;
    margin-bottom: 15px;
    line-height: 1.3;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.95rem;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-meta i {
    color: #FF6B35;
}

.entry-featured-image {
    margin-bottom: 30px;
}

.entry-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.entry-footer {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.entry-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.entry-tags i {
    color: #FF6B35;
}

.entry-tags a {
    background: #f0f0f0;
    color: #666;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.entry-tags a:hover {
    background: #FF6B35;
    color: white;
}

/* Archive Posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-content .entry-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.post-content .entry-title a {
    color: #2E2E38;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content .entry-title a:hover {
    color: #FF6B35;
}

.post-content .entry-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.post-content .entry-summary {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* Search Results */
.search-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.search-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.search-item .entry-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.search-item .entry-title a {
    color: #2E2E38;
    text-decoration: none;
}

.search-item .entry-title a:hover {
    color: #FF6B35;
}

/* 404 Error Page */
.error-404 {
    padding: 60px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-number h1 {
    font-size: 8rem;
    font-weight: 900;
    color: #FF6B35;
    margin-bottom: 20px;
    line-height: 1;
}

.error-message h2 {
    font-size: 2rem;
    color: #2E2E38;
    margin-bottom: 15px;
}

.error-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}

.post-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #f9f9f9;
    color: #2E2E38;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 45%;
}

.post-navigation a:hover {
    background: #FF6B35;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #FF6B35;
    color: white;
}

.pagination .prev,
.pagination .next {
    padding: 12px 20px;
    width: auto;
    gap: 8px;
}

/* Page Links */
.page-links {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #FF6B35;
    color: white;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .archive-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .page-header {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .error-number h1 {
        font-size: 5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .post-navigation a {
        max-width: 100%;
    }
}

/* ==========================================================================
   COMMENTS STYLES
   ========================================================================== */

.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2E2E38;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .comment {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.comment-list .children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-metadata {
    font-size: 0.9rem;
    color: #666;
}

.comment-metadata a {
    color: #666;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #FF6B35;
}

.comment-content {
    margin-bottom: 15px;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 15px;
}

.reply {
    text-align: right;
}

.reply a {
    background: #FF6B35;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.reply a:hover {
    background: #e55a30;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E2E38;
    margin-bottom: 25px;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #2E2E38;
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

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

.form-submit {
    margin-top: 20px;
}

.form-submit input[type="submit"] {
    background: #FF6B35;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background: #e55a30;
}

.no-comments {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* ==========================================================================
   NEW HOMEPAGE SECTIONS
   ========================================================================== */

/* Who We Serve Section */
.who-we-serve-section {
    padding: 80px 0;
    background: white;
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.serve-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.serve-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.serve-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFCD29, #FFD93D);
    border-radius: 20px;
    margin-bottom: 25px;
}

.serve-icon i {
    font-size: 2.5rem;
    color: #2E2E38;
}

.serve-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E2E38;
    margin-bottom: 15px;
}

.serve-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.serve-card ul {
    list-style: none;
    margin: 20px 0 30px 0;
    padding: 0;
}

.serve-card ul li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #555;
}

.serve-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #FF6B35;
    font-weight: bold;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #2E2E38;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2E2E38;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #2E2E38;
    line-height: 1.6;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #FFCD29;
    font-family: serif;
}

.testimonial-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2E2E38;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    color: #888;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E2E38, #3A3A4A);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* SEO Content Section */
.seo-content-section {
    padding: 60px 0;
    background: white;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2E2E38;
    margin-bottom: 25px;
    text-align: center;
}

.seo-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.seo-content strong {
    color: #2E2E38;
    font-weight: 600;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .serve-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .seo-content p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .serve-card,
    .testimonial-card {
        padding: 25px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   FOR SHIPPERS PAGE
   ========================================================================== */

/* Europe Coverage Section */
.europe-coverage-section {
    padding: 60px 0;
    background: white;
}

.map-container {
    margin-top: 40px;
}

.countries-list h3 {
    font-size: 1.8rem;
    color: #2E2E38;
    margin-bottom: 25px;
    font-family: 'Mulish', sans-serif;
    text-align: center;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
}

.countries-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2E2E38;
    font-size: 1rem;
    font-weight: 500;
}

.countries-grid li i {
    color: #FFCD29;
    font-size: 1.1rem;
}

/* Shippers Services Section */
.shippers-services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Cargo Types Section */
.cargo-types-section {
    padding: 80px 0;
    background: white;
}

.cargo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.cargo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.cargo-item:hover {
    background: #FFCD29;
    border-color: #2E2E38;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 205, 41, 0.3);
}

.cargo-item i {
    font-size: 2.5rem;
    color: #2E2E38;
}

.cargo-item span {
    font-weight: 600;
    color: #2E2E38;
    font-size: 0.95rem;
}

/* Shippers CTA Section */
.shippers-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E2E38 0%, #1a1a22 100%);
    text-align: center;
    color: white;
    margin-top: 0;
    border-radius: 0;
}

.shippers-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Mulish', sans-serif;
}

.shippers-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Responsive Styles for Shippers Page */
@media (max-width: 1024px) {
    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cargo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cargo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cargo-grid {
        grid-template-columns: 1fr;
    }
    
    .shippers-cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Trailer Types Section */
.trailer-types-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.trailer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.trailer-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.trailer-card:hover {
    transform: translateY(-10px);
    border-color: #FFCD29;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.trailer-card h3 {
    font-size: 1.5rem;
    color: #2E2E38;
    margin-bottom: 15px;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
}

.trailer-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.trailer-specs {
    list-style: none;
    padding: 20px 0 0;
    margin: 0;
    border-top: 2px solid #f0f0f0;
    text-align: left;
}

.trailer-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2E2E38;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.trailer-specs li:last-child {
    margin-bottom: 0;
}

.trailer-specs i {
    color: #FFCD29;
    font-size: 0.85rem;
}

/* Responsive - Trailer Types */
@media (max-width: 1024px) {
    .trailer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trailer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trailer-card {
        padding: 30px 25px;
    }
}

/* Shippers Page Header - No divider */
.shippers-page-header::after {
    display: none;
}

/* ==========================================================================
   FOR CARRIERS PAGE
   ========================================================================== */

/* Carriers Page Header - No divider */
.carriers-page-header::after {
    display: none;
}

/* Why Partner Section */
.why-partner-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #FFCD29;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    background: #FFCD29;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: #2E2E38;
    transform: scale(1.1);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: #2E2E38;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    color: #FFCD29;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #2E2E38;
    margin-bottom: 15px;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Requirements Section */
.requirements-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.requirements-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: center;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.requirement-item i {
    font-size: 1.8rem;
    color: #FFCD29;
    flex-shrink: 0;
    margin-top: 5px;
}

.requirement-text h4 {
    font-size: 1.2rem;
    color: #2E2E38;
    margin-bottom: 8px;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
}

.requirement-text p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.stats-box {
    background: #FFCD29;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
    border-bottom: none;
}

.stat-item:not(:last-child) {
    border-bottom: 2px solid rgba(46, 46, 56, 0.2);
    padding-bottom: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2E2E38;
    font-family: 'Mulish', sans-serif;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #2E2E38;
    font-weight: 600;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    border-color: #FFCD29;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #FFCD29;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #2E2E38;
    font-family: 'Mulish', sans-serif;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: #2E2E38;
    color: #FFCD29;
    transform: scale(1.15);
}

.step-card h3 {
    font-size: 1.3rem;
    color: #2E2E38;
    margin-bottom: 15px;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
}

.step-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Carriers CTA Section */
.carriers-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E2E38 0%, #1a1a22 100%);
    text-align: center;
    color: white;
}

.carriers-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Mulish', sans-serif;
}

.carriers-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Responsive - Carriers Page */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .requirements-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   CONTACT FORM 7 STYLING
   ========================================================================== */

/* CF7 Form Container */
.contact-form .wpcf7 {
    margin: 0;
}

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CF7 Form Fields */
.contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Mulish', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: #2E2E38;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="url"]:focus,
.contact-form input[type="number"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #2E2E38;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 46, 56, 0.1);
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* CF7 Labels */
.contact-form .wpcf7-form label {
    display: block;
    margin-bottom: 6px;
    color: #2E2E38;
    font-weight: 600;
    font-size: 0.9rem;
}

/* CF7 Submit Button */
.contact-form input[type="submit"],
.contact-form .wpcf7-submit {
    width: 100%;
    padding: 12px 25px;
    background: #2E2E38;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Mulish', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.contact-form input[type="submit"]:hover,
.contact-form .wpcf7-submit:hover {
    background: #1a1a22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 46, 56, 0.3);
}

/* CF7 Validation Messages */
.contact-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.contact-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

/* CF7 Response Messages */
.contact-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
}

.contact-form .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.contact-form .wpcf7-mail-sent-ng,
.contact-form .wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.contact-form .wpcf7-spam-blocked {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

/* CF7 Spinner */
.contact-form .wpcf7-spinner {
    margin: 0 10px;
    display: inline-block;
}

/* CF7 Checkboxes and Radio Buttons */
.contact-form .wpcf7-list-item {
    margin: 0 0 10px;
}

.contact-form .wpcf7-list-item-label {
    margin-left: 8px;
    color: #2E2E38;
    font-weight: 500;
}

.contact-form input[type="checkbox"],
.contact-form input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

/* CF7 File Upload */
.contact-form input[type="file"] {
    padding: 10px;
    background: white;
    cursor: pointer;
}

/* CF7 Select Dropdown */
.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232E2E38' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* CF7 Acceptance */
.contact-form .wpcf7-acceptance {
    margin: 15px 0;
}

/* Responsive CF7 Styles */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }

    .contact-form input[type="submit"],
    .contact-form .wpcf7-submit {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* ==========================================================================
   Vacancies page (Driver C+E) — bilingual EN/UA, compact
   ========================================================================== */

.vacancy {
    margin-top: 80px;
    padding: 40px 0 50px;
    background: #f8f9fa;
}

.vacancy .container {
    max-width: 960px;
}

/* Переключатель языка */
.lang-switch {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 24px;
    background: #ececed;
    padding: 5px;
    border-radius: 50px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: #2E2E38;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 7px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover { background: rgba(46, 46, 56, 0.1); }
.lang-btn.is-active { background: #2E2E38; color: #FFCD29; }

/* Hero */
.vacancy-hero {
    background: #2E2E38;
    color: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    margin-bottom: 22px;
}

.vacancy-cat {
    display: inline-block;
    background: #FFCD29;
    color: #2E2E38;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.vacancy-title {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 12px;
    color: #fff;
}

.vacancy-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #c9c9d0;
    margin: 0 0 14px;
    max-width: 640px;
}
.vacancy-lead strong { color: #FFCD29; }

.vacancy-routes-line {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFCD29;
    margin: 0 0 24px;
}

.vacancy-hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.salary-badge {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.salary-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    font-weight: 700;
    color: #9a9aa3;
    margin-bottom: 4px;
}
.salary-amount {
    font-size: 2.6rem;
    font-weight: 900;
    color: #FFCD29;
}
.salary-amount small { font-size: 1.1rem; font-weight: 700; }

.vacancy-apply {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    font-size: 1.05rem;
}

.vacancy-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
}
.vacancy-phone:hover { color: #FFCD29; }
.vacancy-phone .ic { color: #FFCD29; }

/* SVG-иконки */
.ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ic svg { width: 22px; height: 22px; display: block; }
.ic-wa svg { width: 20px; height: 20px; }
.ic-sm svg { width: 18px; height: 18px; margin-right: 4px; }
.vacancy-contact-actions .btn { display: inline-flex; align-items: center; }

/* Компактный грид условий */
.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.vacancy-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 18px;
    border: 1px solid #ececec;
}

.vacancy-item .ic {
    color: #2E2E38;
    background: #FFCD29;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
}

.vacancy-item h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 3px;
    color: #2E2E38;
    line-height: 1.25;
}
.vacancy-item p {
    font-size: 0.88rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

/* Контакт */
.vacancy-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #FFCD29;
    border-radius: 16px;
    padding: 24px 32px;
}
.vacancy-contact-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2E2E38;
}
.vacancy-contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .vacancy-grid { grid-template-columns: 1fr; }
    .vacancy-hero { padding: 28px 22px; }
    .vacancy-title { font-size: 1.8rem; }
    .vacancy-contact { flex-direction: column; align-items: flex-start; }
    .lang-switch { width: 100%; justify-content: center; }
}
