/* ===================================
   wohnungsaufloesung-berlin.com - Mobile First CSS
   ================================== */

/* CSS Variables */
:root {
    --primary-color: #E8570C;
    --primary-dark: #C44A0A;
    --primary-light: #FF7340;
    --secondary-color: #111827;
    --secondary-light: #1F2937;
    --secondary-dark: #030712;
    --accent-orange: #E8570C;
    --accent-orange-dark: #C44A0A;
    --accent-yellow: #F59E0B;
    --accent-yellow-dark: #D97706;
    --accent-red: #DC2626;
    --accent-red-dark: #B91C1C;
    --text-color: #111827;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-warm: #F3F4F6;
    --bg-dark: #111827;
    --bg-orange: #E8570C;
    --bg-gradient: linear-gradient(135deg, #E8570C 0%, #DC2626 100%);
    --border-color: #E5E7EB;
    --success-color: #F59E0B;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Cookie Modal (BSR.de Style)
   ================================== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.active {
    display: flex;
}

.cookie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.cookie-modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: cookieModalSlideIn 0.3s ease-out;
}

@keyframes cookieModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e5e5;
}

.cookie-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cookie-close:hover {
    background-color: #f5f5f5;
    color: var(--secondary-color);
}

.cookie-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cookie-intro {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 24px;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cookie-category {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.cookie-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 8px;
}

.cookie-category-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle-disabled .cookie-toggle-slider {
    cursor: not-allowed;
    background-color: var(--primary-color);
}

.cookie-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.cookie-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cookie-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-links span {
    color: #ddd;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid #e5e5e5;
}

.cookie-modal-footer .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* Mobile Cookie Modal — bottom-sheet style */
@media (max-width: 767px) {
    /* Switch to column flex so the container gets a definite height
       from the flex algorithm — required for inner body scroll to work */
    .cookie-modal {
        padding: 0;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
    }

    .cookie-modal-container {
        width: 100%;
        max-width: 100%;
        max-height: 88dvh;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
        border-top: 3px solid var(--primary-color);
        /* override the desktop slide-down animation */
        animation: cookieSheetIn 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }

    /* height: 100% now resolves correctly because the container's
       height is a definite main-size from the column flex layout */
    .cookie-modal-content {
        height: 100%;
        overflow: hidden;
    }

    .cookie-modal-header {
        flex-shrink: 0;
        padding: 16px 20px 12px;
    }

    .cookie-modal-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 14px 20px;
    }

    .cookie-category {
        padding: 12px;
    }

    .cookie-category-header {
        gap: 12px;
    }

    .cookie-modal-footer {
        flex-shrink: 0;
        flex-direction: column;
        gap: 10px;
        padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
        background: var(--bg-white);
        border-top: 1px solid #e5e5e5;
    }

    .cookie-modal-footer .btn {
        width: 100%;
    }
}

@keyframes cookieSheetIn {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

/* Landscape / very small height screens — centered dialog */
@media (max-height: 500px) {
    .cookie-modal {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .cookie-modal-container {
        max-height: 96dvh;
        max-height: 96vh;
        max-width: 580px;
        width: 100%;
        border-radius: 12px;
        border-top: none;
        animation: cookieModalSlideIn 0.3s ease-out;
    }

    .cookie-modal-content {
        height: 100%;
        overflow: hidden;
    }

    .cookie-modal-header {
        padding: 12px 16px;
    }

    .cookie-modal-body {
        padding: 10px 16px;
    }

    .cookie-intro {
        font-size: 0.875rem;
        margin-bottom: 10px;
    }

    .cookie-category {
        padding: 8px 12px;
    }

    .cookie-modal-footer {
        flex-direction: row;
        padding: 10px 16px 12px;
        gap: 10px;
    }

    .cookie-modal-footer .btn {
        width: auto;
        flex: 1;
    }
}

/* ===================================
   Header & Navigation
   ================================== */
.header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 7px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition: var(--transition);
}

.logo:hover .logo-text {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* Main Navigation - Mobile First */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 80px 30px 30px;
    transition: var(--transition);
    overflow-y: auto;
}

.main-nav.active {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.nav-link {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

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

.nav-item.has-dropdown > .nav-link::after {
    content: ' ▾';
    margin-left: 5px;
    font-size: 0.8em;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-left: 15px;
    margin-top: 5px;
}

.nav-item.has-dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-menu .nav-link {
    padding: 10px 15px;
    font-size: 0.95rem;
}

.btn-nav {
    width: 100%;
}

/* ===================================
   Buttons
   ================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(232, 87, 12, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232, 87, 12, 0.35);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

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

.btn-link {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 12px 0;
}

.btn-link:hover {
    color: var(--primary-color);
}

.btn-large {
    padding: 14px 30px;
    font-size: 1rem;
}

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

/* ===================================
   Hero Section
   ================================== */
.hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        105deg,
        rgba(17, 24, 39, 0.92) 0%,
        rgba(17, 24, 39, 0.72) 50%,
        rgba(17, 24, 39, 0.40) 100%
    );
    z-index: 2;
    pointer-events: none;
}

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

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,53,0.9) 0%, rgba(229,85,31,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 50px 0;
    color: var(--bg-white);
    width: 100%;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===================================
   Sections
   ================================== */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.services-quick {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 0;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-red), var(--accent-yellow));
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 20px 10px 20px;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-light);
    margin: 0 20px 15px 20px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    padding-bottom: 20px;
}

/* ===================================
   About Section
   ================================== */
.about-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.feature-list {
    margin: 20px 0;
}

.feature-list li {
    padding: 10px 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.about-image {
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    border-radius: 8px;
}

/* ===================================
   Process Section
   ================================== */
.process-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.process-number {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(232, 87, 12, 0.30);
    transition: var(--transition);
}

.process-step:hover .process-number {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(232, 87, 12, 0.40);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.process-step p {
    color: var(--text-light);
}

/* ===================================
   CTA Section
   ================================== */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

/* ===================================
   Page Header
   ================================== */
.page-header {
    padding: 100px 0 80px;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8)), url('../images/hero-header.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    border-bottom: 3px solid var(--primary-color);
    color: white;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

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

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
    color: #FF8A65;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive page header */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 50px;
        background-attachment: scroll;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }
}

/* ===================================
   Content Layout
   ================================== */
.content-section {
    padding: 60px 0;
}

.content-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-main {
    flex: 1;
}

.content-main h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.content-main h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.content-main h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

.content-main p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.content-main ul {
    margin: 20px 0;
}

.content-main ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.content-main ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.numbered-list {
    counter-reset: item;
    margin: 20px 0;
    list-style: none;
    padding-left: 0;
}

.numbered-list li {
    counter-increment: item;
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.numbered-list li:last-child {
    border-bottom: none;
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 15px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    padding: 20px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.info-box h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
}

.highlight-box {
    background-color: #FFF5F0;
    border: 2px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-top: 0;
}

/* FAQ */
.faq-item {
    margin: 25px 0;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.faq-item h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.faq-item p {
    margin: 0;
}

/* Sidebar */
.content-sidebar {
    width: 100%;
}

.sidebar-box {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.sidebar-box h3,
.sidebar-box h4 {
    margin: 0 0 15px 0;
    color: var(--secondary-color);
}

.sidebar-box p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.sidebar-box.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
}

.sidebar-box.cta-box h3 {
    color: var(--bg-white);
}

.sidebar-box.cta-box p {
    color: var(--bg-white);
    opacity: 0.95;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    display: block;
    padding: 12px 0;
    color: var(--text-color);
    transition: var(--transition);
}

.sidebar-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* ===================================
   Footer
   ================================== */
.footer {
    background-color: #0F172A;
    color: var(--bg-white);
    padding: 80px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-column p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--bg-white);
    text-decoration: underline;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-list a {
    color: var(--bg-white);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-list a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* ===================================
   Tablet Styles (768px+)
   ================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .footer-main {
        text-align: left;
    }

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

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-actions {
        flex-direction: row;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

    .info-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        flex-direction: row;
        align-items: center;
    }

    .about-text {
        flex: 1;
    }

    .about-image {
        flex: 1;
    }

    /* Cookie Modal Tablet */
    .cookie-modal-footer {
        flex-direction: row;
    }

    .cookie-modal-header h2 {
        font-size: 1.75rem;
    }

    .cta-actions {
        flex-direction: row;
        max-width: 600px;
    }

    .content-layout {
        flex-direction: row;
    }

    .content-main {
        flex: 0 0 70%;
    }

    .content-sidebar {
        flex: 0 0 28%;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Desktop Styles (1024px+)
   ================================== */
@media (min-width: 1024px) {
    .hero {
        min-height: 580px;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 30px;
        overflow: visible;
    }

    .nav-list {
        flex-direction: row;
        margin-bottom: 0;
        gap: 5px;
    }

    .nav-link {
        padding: 8px 15px;
    }

    .btn-nav {
        width: auto;
    }

    /* Desktop Dropdown Menu */
    .nav-item.has-dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        border-radius: 5px;
        padding: 10px 0;
        max-width: 280px;
        margin-top: 5px;
        z-index: 1000;
        display: none;
        flex-direction: column;
        overflow: visible;
        white-space: nowrap;
    }

    .nav-item.has-dropdown:hover .dropdown-menu,
    .dropdown-menu:hover {
        display: flex;
    }

    .dropdown-menu .nav-link {
        padding: 10px 20px;
        border-radius: 0;
        white-space: nowrap;
        display: block;
    }

    .dropdown-menu .nav-link:hover {
        background-color: var(--bg-light);
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        background-color: transparent;
        color: var(--primary-color);
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 2.4rem;
    }

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

/* ===================================
   Accessibility
   ================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================================
   Print Styles
   ================================== */
@media print {
    .header,
    .footer,
    .cookie-modal,
    .cta-section,
    .hero-actions,
    .sidebar-box.cta-box {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}

/* ===================================
   Additional Visual Enhancements
   ================================== */

/* Icon Badges */
.icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    box-shadow: var(--shadow-md);
}

/* Colored Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.badge-success {
    background-color: var(--accent-yellow);
    color: #2A2A2A;
    font-weight: 700;
}

.badge-orange {
    background-color: var(--accent-orange);
    color: white;
}

.badge-red {
    background-color: var(--accent-red);
    color: white;
}

.badge-yellow {
    background-color: var(--accent-yellow);
    color: #2A2A2A;
    font-weight: 700;
}

/* Gradient Text */
.gradient-text {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Cards with Icons */
.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent-yellow);
}

/* Statistics / Numbers Display */
.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-box:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Image Overlay Effects */
.image-overlay-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 53, 0.8) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.image-overlay-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-overlay-text {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Decorative Divider */
.section-divider {
    display: none;
}

/* Dark Section Styling */
.section-dark {
    background-color: var(--bg-dark) !important;
    color: #FFFFFF !important;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark li {
    color: #FFFFFF !important;
}

.section-dark .text-light,
.section-dark [style*="color: var(--text-light)"] {
    color: rgba(255, 255, 255, 0.8) !important;
}

.section-dark .feature-card,
.section-dark .stat-box,
.section-dark > div > div[style*="background"] {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.section-dark .feature-card h4,
.section-dark .stat-box .stat-label {
    color: #FFFFFF !important;
}

/* White boxes in dark sections should have dark text */
.section-dark [style*="background: white"],
.section-dark [style*="background:white"] {
    background: white !important;
}

.section-dark [style*="background: white"] h4,
.section-dark [style*="background: white"] p,
.section-dark [style*="background:white"] h4,
.section-dark [style*="background:white"] p {
    color: var(--text-color) !important;
}

.section-dark [style*="background: white"] [style*="color: var(--text-light)"],
.section-dark [style*="background:white"] [style*="color: var(--text-light)"] {
    color: var(--text-light) !important;
}

/* Orange Section Styling */
.section-orange {
    background-color: var(--bg-orange) !important;
    color: #FFFFFF !important;
}

.section-orange h2,
.section-orange h3,
.section-orange h4,
.section-orange p,
.section-orange li {
    color: #FFFFFF !important;
}

.section-orange .section-title {
    color: #FFFFFF !important;
}

.section-orange .text-light,
.section-orange [style*="color: var(--text-light)"] {
    color: rgba(255, 255, 255, 0.9) !important;
}

.section-orange .service-card,
.section-orange .feature-card,
.section-orange .info-box {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.section-orange .stat-box {
    background: rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

.section-orange .service-card:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.section-orange .service-title,
.section-orange .feature-card h4,
.section-orange .info-box h4 {
    color: #FFFFFF !important;
}

.section-orange .service-description,
.section-orange .feature-card p,
.section-orange .info-box p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.section-orange .btn-primary {
    background-color: #FFFFFF !important;
    color: var(--primary-color) !important;
    border-color: #FFFFFF !important;
}

.section-orange .btn-primary:hover {
    background-color: var(--secondary-color) !important;
    color: #2A2A2A !important;
    border-color: var(--secondary-color) !important;
}

.section-orange .btn-secondary {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
}

.section-orange .btn-secondary:hover {
    background-color: #FFFFFF !important;
    color: var(--primary-color) !important;
}

.section-orange .stat-number {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

.section-orange .stat-label {
    color: rgba(255, 255, 255, 0.85) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
}

.section-dark .stat-number {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* ===================================
   Pricing Section
   ================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.pricing-card--featured {
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: 0 8px 32px rgba(232, 87, 12, 0.14);
}

.pricing-card--featured:hover {
    box-shadow: 0 20px 60px rgba(232, 87, 12, 0.22);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(232, 87, 12, 0.3);
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.pricing-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.pricing-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.pricing-price {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 22px;
}

.pricing-from {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 0.93rem;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 16px;
}

.pricing-btn {
    width: 100%;
    text-align: center;
}

.pricing-extra-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.pricing-extra-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(3px);
}

.pricing-extra-name {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.93rem;
}

.pricing-extra-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Pricing — mobile adjustments */
@media (max-width: 767px) {
    .pricing-grid {
        gap: 28px;
    }

    .pricing-card {
        padding: 24px 18px;
    }

    .pricing-card--featured {
        padding-top: 46px;
        margin-top: 8px;
    }

    .pricing-amount {
        font-size: 2.2rem;
    }

    .pricing-extra-item {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 20px 16px;
    }

    .pricing-card--featured {
        padding-top: 42px;
    }

    .pricing-amount {
        font-size: 2rem;
    }

    .pricing-popular-badge {
        font-size: 0.7rem;
        padding: 4px 14px;
    }
}

/* Form Message Styles */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===================================
   Blog Styles
   ================================== */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .blog-grid {
        gap: 40px;
    }
}

/* Blog Card */
.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: var(--text-light);
    display: flex;
    align-items: center;
}

/* Blog Title */
.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

/* Blog Excerpt */
.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Blog Content (Hidden by default, shown on click) */
.blog-content {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    line-height: 1.8;
}

.blog-content.active {
    display: block;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.blog-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 12px;
}

.blog-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.blog-content ul {
    list-style: none;
}

.blog-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.blog-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.blog-content ol {
    list-style: decimal;
    padding-left: 25px;
}

.blog-content ol li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.blog-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.blog-content table th,
.blog-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.blog-content table th {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.blog-content table tr:last-child td {
    border-bottom: none;
}

.blog-content table tr:nth-child(even) {
    background: var(--bg-light);
}

.blog-content small {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Blog Read More Button */
.blog-read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 10px;
}

.blog-read-more:after {
    content: "→";
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

.blog-read-more:hover:after {
    margin-left: 12px;
}

.blog-read-more.active:after {
    content: "↑";
}

/* FAQ Item in Blog */
.blog-content .faq-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
}

.blog-content .faq-item h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

.blog-content .faq-item p {
    margin-bottom: 0;
}

/* Numbered List in Blog */
.blog-content .numbered-list {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.blog-content .numbered-list li {
    counter-increment: item;
    margin-bottom: 20px;
    padding-left: 45px;
    position: relative;
}

.blog-content .numbered-list li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Responsive Blog */
@media (min-width: 768px) {
    .blog-card-image {
        height: 280px;
    }

    .blog-title {
        font-size: 1.75rem;
    }

    .blog-card-content {
        padding: 30px;
    }
}

@media (min-width: 1024px) {
    .blog-card-image {
        height: 300px;
    }
}

/* ===================================
   Header Actions & Mobile Search
   ================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-search-toggle {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 5px;
    display: flex; /* Changed from inline-flex to flex */
    align-items: center;
    justify-content: center;
}

.mobile-search-toggle svg {
    width: 28px;
    height: 28px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.search-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-overlay-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
}

.search-overlay-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    z-index: 1002;
}

.search-overlay .hero-search-box {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: static;
    width: 100%;
    max-width: 500px;
    background: white;
    margin: 0 auto;
    border-radius: 12px;
    padding: 30px;
    display: block;
}

.search-overlay .search-box-title {
    color: var(--text-color);
    text-align: center;
}

/* Mobile responsive adjustments for search overlay */
@media (max-width: 768px) {
    .search-overlay-content {
        padding: 80px 15px 20px;
    }
    
    .search-overlay .hero-search-box {
        padding: 25px 20px;
        margin: 0;
    }
    
    .search-overlay .search-box-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .search-overlay-content {
        padding: 100px 10px 20px;
    }
    
    .search-overlay .hero-search-box {
        padding: 20px 16px;
    }
    
    .search-overlay .search-box-title {
        font-size: 1.3rem;
    }
}

/* Hide mobile search toggle on desktop */
@media (min-width: 1024px) {
    .mobile-search-toggle {
        display: none;
    }
    .header-actions {
        display: none;
    }
}

/* ===================================
   Sticky CTA Aside (Desktop Only)
   ================================== */
.sticky-cta-aside {
    display: none;
}

@media (min-width: 1024px) {
    .sticky-cta-aside {
        display: block;
        position: fixed;
        top: 120px;
        right: 20px;
        z-index: 900;
        width: 280px;
        background: var(--bg-white);
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        border: 2px solid var(--primary-color);
        opacity: 0;
        transform: translateX(320px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .sticky-cta-aside.visible {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    .sticky-cta-aside.hidden {
        opacity: 0;
        transform: translateX(320px);
        pointer-events: none;
    }

    .sticky-cta-content {
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .sticky-cta-icon {
        width: 64px;
        height: 64px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .sticky-cta-text {
        text-align: center;
    }

    .sticky-cta-label {
        display: block;
        font-size: 0.875rem;
        color: var(--text-light);
        font-weight: 500;
        margin-bottom: 4px;
    }

    .sticky-cta-phone {
        display: block;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--primary-color);
        transition: var(--transition);
    }

    .sticky-cta-phone:hover {
        color: var(--primary-dark);
        transform: scale(1.05);
    }

    .sticky-cta-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
        transition: all 0.3s ease;
    }

    .sticky-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
    }

    .sticky-cta-btn:active {
        transform: translateY(0);
    }
}

/* ===================================
   Mobile Call Button (Mobile Only)
   ================================== */
.mobile-call-btn {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-call-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.mobile-call-btn:active {
    transform: translateY(0);
}

.mobile-call-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.mobile-call-btn-label {
    font-size: 0.65rem;
    opacity: 0.9;
    font-weight: 400;
}

.mobile-call-btn-number {
    font-size: 0.875rem;
    font-weight: 700;
}

/* Hide mobile button on desktop */
@media (min-width: 1024px) {
    .mobile-call-btn {
        display: none;
    }
}