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

:root {
    --primary: #1a56db;
    --primary-dark: #1544b0;
    --primary-light: #e8eefb;
    --dark: #111827;
    --dark-600: #374151;
    --dark-500: #4b5563;
    --dark-400: #6b7280;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --white: #ffffff;
    --green: #22c55e;
    --green-dark: #16a34a;
    --green-bg: #f0fdf4;
    --orange: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

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

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.logo-animated {
    margin-bottom: 20px;
    display: inline-block;
}

.logo-svg {
    filter: drop-shadow(0 4px 20px rgba(26,86,219,0.25));
}

/* ===== PRELOADER ANIMATIONS ===== */
.pre-arc {
    animation: arcSpin 1.5s linear infinite;
    transform-origin: 50px 50px;
}

@keyframes arcSpin {
    to { transform: rotate(360deg); }
}

.pre-inner-bg {
    animation: innerReveal 0.6s ease-out 0.3s forwards;
}

@keyframes innerReveal {
    0% { opacity: 0; transform: scale(0); transform-origin: 50px 50px; }
    70% { transform: scale(1.06); }
    100% { opacity: 1; transform: scale(1); }
}

.pre-passport, .pre-passport-band {
    animation: passportDraw 0.5s ease-out 0.7s forwards;
}

@keyframes passportDraw {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.pre-passport-text {
    animation: preFadeIn 0.3s ease-out 0.9s forwards;
}

.pre-rpo {
    animation: rpoReveal 0.5s ease-out 1s forwards;
}

@keyframes rpoReveal {
    0% { opacity: 0; letter-spacing: 8px; }
    100% { opacity: 1; letter-spacing: 3px; }
}

.pre-line-1 { animation: preFadeIn 0.3s ease-out 1.15s forwards; }
.pre-line-2 { animation: preFadeIn 0.3s ease-out 1.25s forwards; }

@keyframes preFadeIn {
    to { opacity: 1; }
}

.pre-badge {
    animation: badgeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards;
}

@keyframes badgeBounce {
    0% { opacity: 0; transform: scale(0); transform-origin: 72px 72px; }
    100% { opacity: 1; transform: scale(1); }
}

.pre-badge-check {
    animation: checkDraw 0.4s ease-out 1.7s forwards;
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

.pre-sparkle-1 { animation: sparkle 0.5s ease-out 1.5s forwards; }
.pre-sparkle-2 { animation: sparkle 0.5s ease-out 1.65s forwards; }
.pre-sparkle-3 { animation: sparkle 0.5s ease-out 1.8s forwards; }

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 0.8; transform: scale(1.5); }
    100% { opacity: 0.4; transform: scale(1); }
}

/* ===== NAV LOGO ANIMATIONS ===== */
.nav-arc {
    animation: navArcSpin 8s linear infinite;
    transform-origin: 50px 50px;
}

@keyframes navArcSpin {
    to { transform: rotate(360deg); }
}

/* Nav logo pulse every 10s */
.logo-mark {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-mark.animate .nav-badge {
    animation: navBadgePing 0.6s ease-out;
}

.logo-mark.animate .nav-badge-check {
    animation: navCheckFlash 0.6s ease-out;
}

@keyframes navBadgePing {
    0% { transform: scale(1); transform-origin: 72px 72px; }
    30% { transform: scale(1.3); transform-origin: 72px 72px; }
    60% { transform: scale(0.9); transform-origin: 72px 72px; }
    100% { transform: scale(1); transform-origin: 72px 72px; }
}

@keyframes navCheckFlash {
    0% { stroke: white; }
    50% { stroke: #bbf7d0; }
    100% { stroke: white; }
}

/* Glow ring on nav logo pulse */
.logo-mark::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
    pointer-events: none;
}

.logo-mark.animate::after {
    animation: logoGlow 1s ease-out;
}

@keyframes logoGlow {
    0% { border-color: transparent; box-shadow: none; }
    30% { border-color: rgba(26,86,219,0.3); box-shadow: 0 0 16px rgba(26,86,219,0.2); }
    100% { border-color: transparent; box-shadow: none; }
}

.logo:hover .logo-mark {
    transform: none;
}

.preloader-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--gray-200);
    border-radius: 4px;
    margin: 0 auto;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--green));
    border-radius: 4px;
    animation: barFill 2s ease-out forwards;
}

@keyframes barFill {
    0% { width: 0; }
    60% { width: 70%; }
    100% { width: 100%; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

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

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

.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);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-500);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    padding: 92px 0 48px;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 50%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,86,219,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--green-bg);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(34,197,94,0.2);
}

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--dark-500);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 560px;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.stat span {
    font-size: 13px;
    color: var(--dark-400);
    font-weight: 500;
}

/* ===== HERO CARD CAROUSEL ===== */
.hero-visual {
    position: relative;
}

.hero-card-carousel {
    position: relative;
    height: 300px;
    perspective: 800px;
}

.hero-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateY(30px) rotateX(8deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-card.active {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    z-index: 2;
}

.hero-card.exit-up {
    opacity: 0;
    transform: translateY(-40px) rotateX(-8deg) scale(0.95);
    z-index: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--green-bg);
    border-bottom: 1px solid rgba(34,197,94,0.15);
    font-weight: 600;
    font-size: 15px;
    color: var(--green-dark);
}

.card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.card-dot.green {
    background: var(--green);
    box-shadow: 0 0 8px rgba(34,197,94,0.5);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(34,197,94,0.5); }
    50% { box-shadow: 0 0 16px rgba(34,197,94,0.8), 0 0 0 4px rgba(34,197,94,0.15); }
}

.card-body {
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.card-row span {
    color: var(--dark-400);
}

.card-row strong {
    color: var(--dark);
    font-weight: 600;
}

.text-green {
    color: var(--green-dark) !important;
}

.card-footer {
    padding: 14px 24px;
    background: var(--gray-100);
    font-size: 13px;
    color: var(--dark-400);
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-footer .live-indicator {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

.hero-card-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-header p {
    font-size: 17px;
    color: var(--dark-400);
    line-height: 1.7;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    background: var(--gray-100);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}

.problem-card:hover {
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.problem-card p {
    color: var(--dark-500);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--dark-500);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing-section {
    background: var(--gray-100);
}

.pricing-card-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 2px solid var(--primary);
    position: relative;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.pricing-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.pricing-amount {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.per {
    font-size: 16px;
    color: var(--dark-400);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--dark-600);
}

.pricing-features svg {
    flex-shrink: 0;
}

.pricing-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--dark-400);
    font-weight: 500;
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px;
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--orange);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-size: 14px;
    color: var(--dark-600);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--dark-400);
}

/* ===== CITIES ===== */
.cities-section {
    background: var(--gray-100);
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.city-tag {
    display: inline-block;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-600);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

a.city-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--dark-400);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--dark-500);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.7;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-400);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--dark-400);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    font-size: 14px;
    color: var(--dark-400);
}

.disclaimer {
    margin-top: 12px;
    font-size: 12px !important;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 20px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
    100% { box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
}

/* ===== BLOG STYLES ===== */
.blog-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
}

.blog-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.blog-hero p {
    font-size: 18px;
    color: var(--dark-400);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

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

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

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

.blog-card-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    font-size: 14px;
    color: var(--dark-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-card-meta {
    font-size: 13px;
    color: var(--dark-400);
}

/* Blog Post Page */
.blog-post {
    padding: 120px 0 80px;
}

.blog-post-container {
    max-width: 760px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-header .blog-card-tag {
    margin-bottom: 16px;
}

.blog-post-header h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.blog-post-header .blog-card-meta {
    font-size: 15px;
}

.blog-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--dark);
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--dark);
}

.blog-content p {
    font-size: 17px;
    color: var(--dark-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-content ul, .blog-content ol {
    margin: 0 0 20px 24px;
}

.blog-content li {
    font-size: 17px;
    color: var(--dark-600);
    line-height: 1.8;
    margin-bottom: 8px;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-content blockquote p {
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 0;
}

.blog-cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    margin: 48px 0;
}

.blog-cta-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.blog-cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    font-size: 16px;
}

/* ===== CITY PAGE STYLES ===== */
.city-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 50%, #f0fdf4 100%);
    position: relative;
}

.city-hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.city-hero .hero-subtitle {
    max-width: 640px;
}

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

.city-info-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.city-info-card .info-label {
    font-size: 13px;
    color: var(--dark-400);
    font-weight: 500;
    margin-bottom: 6px;
}

.city-info-card .info-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.city-content {
    padding: 80px 0;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .city-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1, .city-hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat strong {
        font-size: 20px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-cta-group {
        flex-direction: column;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

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

    .blog-post-header h1 {
        font-size: 28px;
    }

    .city-info-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 14px;
    }

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

    .mega-menu {
        top: 100%;
    }

    .mega-footer {
        flex-direction: column;
        text-align: center;
    }

    .contact-bar-inner {
        flex-direction: column;
        gap: 12px;
    }

    .contact-bar-btns {
        justify-content: center;
    }
}

/* ===== MEGA MENU ===== */
.nav-cities-trigger {
    position: relative;
    cursor: pointer;
}

.nav-cities-trigger > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-cities-trigger .chevron {
    transition: transform 0.3s;
    width: 12px;
    height: 12px;
}

.nav-cities-trigger:hover .chevron,
.nav-cities-trigger.open .chevron {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
}

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 14px;
}

.mega-search {
    margin-bottom: 12px;
    position: relative;
}

.mega-search input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
}

.mega-search input:focus {
    border-color: var(--primary);
}

.mega-search input::placeholder {
    color: var(--dark-400);
}

.mega-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-400);
}

.mega-cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px 4px;
}

.mega-city-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-600);
    transition: all 0.15s;
}

.mega-city-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mega-city-link .city-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.mega-no-results {
    display: none;
    text-align: center;
    padding: 20px 16px;
}

.mega-no-results.show {
    display: block;
}

.mega-no-results p {
    font-size: 16px;
    color: var(--dark-500);
    margin-bottom: 16px;
}

.mega-no-results .mega-contact-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mega-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.mega-footer p {
    font-size: 13px;
    color: var(--dark-400);
}

.mega-footer-btns {
    display: flex;
    gap: 10px;
}

.mega-footer-btns a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.2s;
}

.mega-wa-btn {
    background: #25D366;
    color: white !important;
}

.mega-wa-btn:hover {
    background: #1da851;
}

.mega-call-btn {
    background: var(--primary);
    color: white !important;
}

.mega-call-btn:hover {
    background: var(--primary-dark);
}

/* ===== CONTACT STICKY BAR ===== */
.contact-bar {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 14px 0;
    text-align: center;
}

.contact-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-bar-text {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.contact-bar-btns {
    display: flex;
    gap: 10px;
}

.contact-bar-btns a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    transition: all 0.2s;
}

.cb-wa {
    background: #25D366;
    color: white !important;
}

.cb-wa:hover {
    background: #1da851;
    transform: translateY(-1px);
}

.cb-call {
    background: white;
    color: var(--primary) !important;
}

.cb-call:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
