/* ============================================================
   ClickTrip - Travel Insurance Comparison
   Full RTL Hebrew Theme CSS
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0056D6;
    --primary-dark: #003DA5;
    --primary-light: #E8F0FE;
    --accent: #FF5A00;
    --accent-dark: #CC4700;
    --success: #16A34A;
    --warning: #F59E0B;
    --dark: #1A1A2E;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
    --transition: all .25s ease;
    --font: 'Rubik', 'Arial', sans-serif;
}

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

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

body {
    font-family: var(--font);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.section-padded { padding: 70px 0; }
.bg-light { background: var(--gray-100); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,90,0,.3);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-xl { padding: 18px 44px; font-size: 1.15rem; font-weight: 700; }
.btn-full { width: 100%; }

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: .82rem;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.header-contact { display: flex; gap: 20px; }
.header-contact a, .header-trust span {
    color: rgba(255,255,255,.85);
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-contact a:hover { color: var(--white); }
.header-trust { display: flex; gap: 20px; color: rgba(255,255,255,.7); }

.header-main { padding: 14px 0; }

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* LOGO */
.site-logo a { text-decoration: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-click { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.logo-trip  { font-size: 1.6rem; font-weight: 800; color: var(--accent);   line-height: 1; }
.logo-text small { font-size: .7rem; color: var(--gray-500); font-weight: 400; margin-top: 2px; }

/* NAV */
.main-nav { flex: 1; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.nav-menu > li > a {
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: .92rem;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: var(--primary-light);
    color: var(--primary);
}

/* MOBILE TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-right: auto;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0074F0 100%);
    overflow: hidden;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(255,90,0,.12) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    color: var(--white);
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.25);
}

.hero-title {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
}

.hero-title .highlight {
    color: #FFB347;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,.88);
    margin-bottom: 36px;
    max-width: 560px;
}

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

.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #FFB347;
    line-height: 1;
}
.stat span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ===== COMPARISON FORM ===== */
.comparison-section {
    background: var(--gray-100);
    padding: 0 0 60px;
    margin-top: -1px;
}

.comparison-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(-40px);
}

.comparison-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 28px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.comparison-card-header i {
    font-size: 2rem;
    opacity: .85;
}
.comparison-card-header h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}
.comparison-card-header p {
    color: rgba(255,255,255,.8);
    margin: 0;
}

.comparison-form { padding: 32px 36px; }

.form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}
.form-row-4 { grid-template-columns: repeat(4, 1fr); }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-group label i { color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-family: var(--font);
    font-size: .95rem;
    color: var(--gray-900);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    direction: rtl;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,86,214,.1);
}

.form-group-checkbox label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.checkboxes { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 400;
}
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--primary); }

.form-submit { text-align: center; margin-top: 24px; }
.submit-note {
    margin-top: 10px;
    font-size: .8rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===== RESULTS TABLE ===== */
.results-section { padding: 0 0 60px; background: var(--white); }
.results-header { text-align: center; margin-bottom: 32px; }
.results-header h2 { color: var(--primary); }
.results-header p { color: var(--gray-500); }

.comparison-table-wrap { overflow-x: auto; border-radius: var(--border-radius); box-shadow: var(--shadow); }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table thead tr {
    background: var(--primary);
    color: var(--white);
}
.comparison-table thead th {
    padding: 14px 16px;
    text-align: right;
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background .2s;
}
.comparison-table tbody tr:hover { background: var(--gray-100); }
.comparison-table tbody tr.best-value {
    background: #FFF7ED;
    position: relative;
}
.comparison-table tbody td {
    padding: 16px;
    font-size: .9rem;
    vertical-align: middle;
}

.company-name-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--dark); }
.company-logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
}

.badge-best {
    background: var(--accent);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
}

.price-cell { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.price-note { font-size: .72rem; color: var(--gray-500); display: block; }

.stars { color: #F59E0B; font-size: .85rem; }
.stars .count { color: var(--gray-500); }

.check-icon { color: var(--success); }
.partial-icon { color: var(--warning); }

.results-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 24px;
    font-size: .85rem;
    color: var(--primary-dark);
}
.results-notice i { flex-shrink: 0; margin-top: 2px; }

/* ===== HOW IT WORKS ===== */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    position: absolute;
    top: -14px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--primary);
}

.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: .875rem; color: var(--gray-500); margin: 0; }

.step-arrow {
    font-size: 1.5rem;
    color: var(--gray-300);
    padding: 0 8px;
}

/* ===== COMPANIES ===== */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.company-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--border-radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}
.company-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.company-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.3rem;
    color: var(--primary);
}

.company-card h3 { font-size: .95rem; margin-bottom: 6px; }
.company-card p { font-size: .78rem; color: var(--gray-500); margin-bottom: 10px; line-height: 1.4; }

.company-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 14px;
    font-size: .78rem;
    color: var(--gray-300);
}
.company-rating .active { color: #F59E0B; }
.company-rating span { color: var(--gray-500); margin-right: 4px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.testimonial-stars { color: #F59E0B; margin-bottom: 14px; font-size: .9rem; }
.testimonial-text { font-style: italic; color: var(--gray-700); margin-bottom: 20px; line-height: 1.6; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--dark); }
.testimonial-author span { font-size: .78rem; color: var(--gray-500); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    text-align: right;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
}
.faq-question:hover { background: var(--gray-100); }

.faq-icon { transition: transform .3s; flex-shrink: 0; color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
    padding: 0 20px 18px;
    color: var(--gray-700);
    line-height: 1.7;
    font-size: .95rem;
}

/* ===== BLOG ===== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.blog-thumb { overflow: hidden; aspect-ratio: 16/9; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }

.blog-content { padding: 20px; }
.blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .78rem;
    color: var(--gray-500);
    margin-bottom: 10px;
}
.blog-meta i { color: var(--primary); }
.blog-content h2 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-content h2 a { color: var(--dark); }
.blog-content h2 a:hover { color: var(--primary); }
.blog-content p { font-size: .875rem; color: var(--gray-500); margin-bottom: 16px; }
.section-cta { text-align: center; margin-top: 40px; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 28px 20px;
    border-radius: var(--border-radius);
    text-align: center;
}
.sidebar-cta i { font-size: 2rem; opacity: .7; margin-bottom: 10px; }
.sidebar-cta h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 14px; }
.sidebar-cta .btn { background: var(--white); color: var(--primary); border-color: var(--white); font-weight: 700; }

.widget { margin-bottom: 24px; }
.widget-title { font-size: 1rem; border-bottom: 2px solid var(--primary); padding-bottom: 8px; margin-bottom: 14px; }

/* ===== SINGLE POST ===== */
.single-post { max-width: 780px; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--gray-300); }

.post-header { margin-bottom: 28px; }
.post-header h1 { margin-bottom: 12px; }
.post-meta {
    display: flex;
    gap: 18px;
    font-size: .82rem;
    color: var(--gray-500);
    flex-wrap: wrap;
}
.post-meta i { color: var(--primary); }

.post-featured-image { border-radius: var(--border-radius); overflow: hidden; margin-bottom: 36px; }
.post-featured-image img { width: 100%; }

.post-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--gray-700);
}
.post-content h2, .post-content h3 { margin: 32px 0 16px; }
.post-content p { margin-bottom: 1.2rem; }
.post-content ul, .post-content ol { padding-right: 24px; margin-bottom: 1.2rem; }
.post-content li { margin-bottom: 6px; }
.post-content strong { color: var(--dark); }
.post-content blockquote {
    border-right: 4px solid var(--primary);
    padding: 16px 20px;
    background: var(--primary-light);
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-style: italic;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 36px 0;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: .9rem;
}
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
}
.share-btn.facebook { background: #1877F2; }
.share-btn.whatsapp { background: #25D366; }

.post-cta-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-radius: var(--border-radius-lg);
    padding: 24px 28px;
    margin: 36px 0;
}
.post-cta-box i { font-size: 2.5rem; color: var(--primary); flex-shrink: 0; }
.post-cta-box div { flex: 1; }
.post-cta-box h3 { font-size: 1rem; margin-bottom: 4px; }
.post-cta-box p { font-size: .875rem; color: var(--gray-500); margin: 0; }

.related-posts { margin-top: 36px; }
.related-posts h3 { margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    color: var(--dark);
    font-size: .85rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.related-card:hover { border-color: var(--primary); color: var(--primary); }
.related-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.related-card span { padding: 8px 10px; }

/* ===== FOOTER ===== */
.footer-cta-strip {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 40px 0;
}
.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-cta-text h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 4px; }
.footer-cta-text p { color: rgba(255,255,255,.85); margin: 0; }

.footer-main {
    background: var(--dark);
    padding: 60px 0 40px;
    color: rgba(255,255,255,.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-click { font-size: 1.8rem; font-weight: 800; color: var(--white); }
.footer-logo .logo-trip  { font-size: 1.8rem; font-weight: 800; color: var(--accent); }

.footer-about p { font-size: .875rem; line-height: 1.7; margin-bottom: 18px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.8);
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }

.footer-col h4 {
    color: var(--white);
    font-size: .95rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .875rem; }
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    margin-bottom: 8px;
}
.footer-contact-list i { color: var(--accent); width: 16px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.7); }
.footer-contact-list a:hover { color: var(--white); }

.footer-trust-badges { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.06);
    padding: 5px 10px;
    border-radius: 6px;
}
.footer-trust-badges .badge i { color: #4ADE80; }

.footer-bottom {
    background: rgba(0,0,0,.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: rgba(255,255,255,.85); }
.footer-disclaimer { width: 100%; text-align: center; font-size: .75rem; color: rgba(255,255,255,.35); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 900;
    transition: var(--transition);
    animation: pulse-wa 3s infinite;
}
.whatsapp-float:hover { background: #128C7E; color: var(--white); transform: scale(1.1); }

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
    animation: fadeIn .25s ease;
}

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

.modal-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 480px;
    width: 100%;
    position: relative;
    animation: slideUp .3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
    font-weight: 700;
}
.modal-close:hover { background: rgba(255,255,255,0.45); color: var(--white); transform: scale(1.1); }

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 28px 28px 24px;
    text-align: center;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}
.modal-header i { font-size: 2rem; opacity: .8; margin-bottom: 8px; display: block; }
.modal-header h3 { color: var(--white); margin-bottom: 6px; }
.modal-header p { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; }

.lead-form { padding: 24px 28px; }
.lead-form .form-row { grid-template-columns: 1fr 1fr; }
.form-group textarea { resize: none; }

.form-disclaimer {
    font-size: .75rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.lead-success {
    padding: 48px 28px;
    text-align: center;
}
.lead-success i { font-size: 4rem; color: var(--success); display: block; margin-bottom: 16px; }
.lead-success h3 { margin-bottom: 10px; }
.lead-success p { color: var(--gray-500); }

/* ===== PAGE HERO SMALL ===== */
.page-hero-small {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 48px 0;
    color: var(--white);
    margin-bottom: 0;
}
.page-hero-small h1 { color: var(--white); margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.page-hero-small i { font-size: 1.5rem; opacity: .7; }
.page-hero-small p { color: rgba(255,255,255,.8); margin: 0; }

/* ===== MISC ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers {
    padding: 8px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    color: var(--gray-700);
    font-size: .9rem;
    transition: var(--transition);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-content { max-width: 780px; margin: 60px auto; }
.page-content h1 { margin-bottom: 24px; }
.entry-content { line-height: 1.8; color: var(--gray-700); }
.entry-content h2, .entry-content h3 { margin: 28px 0 14px; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { padding-right: 24px; margin-bottom: 1.2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row-4 { grid-template-columns: repeat(2, 1fr); }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { max-width: 500px; }
}

@media (max-width: 768px) {
    .section-padded { padding: 48px 0; }
    .hero-section { padding: 50px 0; min-height: auto; }
    .hero-stats { gap: 20px; }

    .comparison-form { padding: 20px 16px; }
    .comparison-card-header { padding: 20px 16px; }
    .form-row-4, .form-row-3 { grid-template-columns: 1fr; }

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

    .steps-grid { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-cta-inner { flex-direction: column; text-align: center; }

    .header-top { display: none; }
    .mobile-menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 16px;
        z-index: 100;
    }
    .main-nav.open { display: block; }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a { display: block; padding: 12px 16px; border-radius: 0; border-bottom: 1px solid var(--gray-100); }

    .header-main { position: relative; }
    .header-cta { display: none; }

    .related-grid { grid-template-columns: 1fr; }
    .post-cta-box { flex-direction: column; text-align: center; }

    .comparison-table { font-size: .8rem; }
    .comparison-table thead th, .comparison-table tbody td { padding: 10px 8px; }
    .company-name-cell { flex-direction: column; gap: 4px; }
    .company-logo-placeholder { display: none; }

    .form-row { grid-template-columns: 1fr; }

    .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .companies-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .comparison-card { transform: none; margin: 0; border-radius: 0; }
    .comparison-section { padding: 0; }
}
