:root {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --primary-glow: rgba(20, 184, 166, 0.3);
    --secondary: #0f172a;
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --bg-slate: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(15, 23, 42, 0.1);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Global Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; color: var(--text-main); background-color: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 100px 0; position: relative; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--secondary);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* --- Custom Cursor --- */
.cursor-dot, .cursor-outline { pointer-events: none; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; transition: opacity 0.3s ease; }
.cursor-dot { width: 6px; height: 6px; background-color: var(--primary); }
.cursor-outline { width: 30px; height: 30px; border: 2px solid var(--primary); transition: all 0.1s ease-out; }

/* --- Background Blobs --- */
.blob-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; animation: move-blob 20s infinite alternate ease-in-out; }
.blob-1 { width: 500px; height: 500px; top: -100px; right: -100px; background: var(--primary); }
.blob-2 { width: 600px; height: 600px; bottom: -150px; left: -150px; background: var(--accent); animation-delay: -5s; }
@keyframes move-blob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(100px, 100px) scale(1.2); } }

/* --- Typography --- */
h1, h2, h3 { font-weight: 800; line-height: 1.1; color: var(--secondary); letter-spacing: -0.02em; }
.card-heading { font-weight: 800; line-height: 1.1; color: var(--secondary); letter-spacing: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.section-title { text-align: center; margin-bottom: 5rem; }
.section-title h2 { font-size: 3.2rem; margin-bottom: 1.5rem; }
.section-title p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.gradient-text { background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; }

/* --- Navigation --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}
header.scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); padding: 0.8rem 0; box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; text-decoration: none; color: var(--secondary); z-index: 1001; }
.logo span { color: var(--primary); }
.nav-toggle { display: none; padding: 0.25rem; border: 0; background: transparent; font: inherit; font-size: 1.8rem; cursor: pointer; z-index: 1001; color: var(--secondary); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--secondary); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }

@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; transition: 0.5s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 1000; }
    .nav-links.active { right: 0; }
}

/* --- Hero --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; padding-bottom: 50px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; }
.hero-cta { display: flex; gap: 1.5rem; }
.hero-image-wrapper img { width: 100%; border-radius: var(--radius-lg); filter: drop-shadow(0 40px 60px rgba(15, 23, 42, 0.15)); }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { flex-direction: column; }
}

/* --- Buttons --- */
.btn { padding: 1.2rem 2.5rem; border-radius: 100px; font-weight: 700; text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%); color: var(--white); box-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.4); }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -10px rgba(249, 115, 22, 0.6); }
.btn-outline { background: transparent; border: 2px solid var(--secondary); color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: var(--white); }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.service-card { padding: 2.5rem 1.5rem; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--glass-border); transition: var(--transition); text-align: center; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-15px); border-color: var(--primary); box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1); }
.service-card i { font-size: 3.5rem; color: var(--primary); margin-bottom: 2rem; display: block; }
.service-card h3,
.service-card .card-heading { margin-bottom: 1rem; font-size: 1.17rem; }
.service-card p { color: var(--text-muted); }
.service-card .card-heading { color: var(--secondary); }
.service-text-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.25rem; color: var(--primary-dark); font-weight: 800; text-decoration: none; }
.service-card .service-text-link i,
.service-text-link i { display: inline-block; margin: 0; font-size: 0.8rem; color: inherit; transition: transform 0.2s ease; }
.service-text-link:hover i { transform: translateX(4px); }

/* --- Search-focused service guide --- */
.seo-service-guide {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-block: 1px solid var(--glass-border);
}

.seo-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.seo-service-panel {
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.seo-service-panel h3,
.seo-service-panel .card-heading {
    margin: 0.55rem 0 1rem;
    font-size: 1.45rem;
}

.seo-service-panel p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.seo-kicker {
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-route-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.seo-route-list li {
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    background: var(--primary-glow);
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .seo-service-grid { grid-template-columns: 1fr; }
}

/* --- Comparison --- */
.comparison-wrapper { margin-top: 4rem; background: var(--white); border-radius: var(--radius-md); overflow-x: auto; border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); }
.comp-table-inner { min-width: 600px; }
.comp-row { display: grid; grid-template-columns: 2fr 1fr 1fr; border-bottom: 1px solid var(--bg-slate); }
.comp-header { background: var(--secondary); color: var(--white); font-weight: 800; text-transform: uppercase; font-size: 0.9rem; }
.comp-cell { padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: center; }
.comp-cell:first-child { justify-content: flex-start; font-weight: 700; }
.comp-cell i.fa-check-circle { color: var(--primary); }
.comp-cell i.fa-times-circle { color: #ef4444; }

/* --- Video Section --- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.video-card { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; background: #000; cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: var(--transition); }
.video-card:hover img { transform: scale(1.1); opacity: 0.5; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 1.5rem; box-shadow: 0 0 30px rgba(0,0,0,0.2); }

@media (max-width: 992px) { .video-grid { grid-template-columns: 1fr; } }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }
.price-card { background: var(--white); padding: 3rem; border-radius: var(--radius-md); border: 1px solid var(--glass-border); transition: var(--transition); position: relative; display: flex; flex-direction: column; }
.price-card.popular { border: 2px solid var(--primary); transform: scale(1.05); box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.2); z-index: 2; }
.price-card.popular::before { content: 'RECOMMENDED'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 0.5rem 1.5rem; border-radius: 100px; font-size: 0.75rem; font-weight: 800; }
.price-card .card-heading { font-size: 1.4rem; text-align: center; margin-bottom: 1rem; }
.price-card .amount { font-size: 3rem; font-weight: 800; text-align: center; margin: 1rem 0; }
.price-card .amount span { font-size: 1rem; color: var(--text-muted); }
.price-card ul { list-style: none; margin: 2rem 0; flex-grow: 1; }
.price-card ul li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.price-card ul li i { color: var(--primary); }
.price-card .btn { width: 100%; justify-content: center; }

@media (max-width: 992px) { .pricing-grid { grid-template-columns: 1fr; } .price-card.popular { transform: scale(1); } }

/* --- Marketing Elements --- */
.promo-banner { 
    background: var(--accent); 
    color: var(--white); 
    text-align: center; 
    padding: 0.9rem; 
    font-size: 0.95rem; 
    font-weight: 700; 
    position: relative;
    z-index: 1001; 
}
.activity-popup { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--white); padding: 1rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 15px; z-index: 1000; transform: translateY(200%); transition: var(--transition); border: 1px solid var(--glass-border); }
@media (min-width: 768px) { .activity-popup { width: 350px; right: auto; } }
.activity-popup.show { transform: translateY(0); }
.whatsapp-widget { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #25d366; color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; z-index: 1000; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); }

/* --- Stats --- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item .stat-icon { display: block; font-size: 2.5rem; color: var(--primary); }
@media (min-width: 768px) { .stat-item .stat-icon { font-size: 3.5rem; } }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 1rem; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--glass-border); overflow: hidden; }
.faq-question { width: 100%; padding: 1.5rem; border: 0; background: transparent; color: var(--secondary); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font: inherit; font-weight: 700; text-align: left; }
.faq-question i { flex: 0 0 auto; color: var(--primary-dark); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-muted); display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-answer[hidden] { display: none; }

.contact-card a { color: inherit; text-decoration: none; }
.contact-card a:hover { color: var(--primary-dark); text-decoration: underline; }

/* --- Form --- */
.quote-section { background: var(--secondary); color: var(--white); }
.form-wrapper { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .form-wrapper { padding: 4rem; max-width: 850px; margin: 0 auto; } }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.sg-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.form-group input, .form-group select { width: 100%; padding: 1.2rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; outline: none; }

/* --- Safety --- */
.safety-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .safety-grid { grid-template-columns: 1fr 1fr; } }
.safety-list { list-style: none; }
.safety-list li { margin-bottom: 2rem; display: flex; gap: 20px; }
.safety-list li i { width: 50px; height: 50px; background: var(--primary-glow); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* --- Process Journey --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 60%;
    width: 100%;
    height: 2px;
    background: var(--primary-glow);
    z-index: -1;
}

.process-item:last-child::after { display: none; }

.process-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

/* --- Heritage Section --- */
.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.heritage-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    margin: 2rem 0;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card {
    padding: 2.5rem;
    background: var(--bg-slate);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.contact-card i { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; gap: 4rem; }
    .process-item::after { display: none; }
    .heritage-grid, .contact-grid { grid-template-columns: 1fr; }
}
/* --- Lead Magnet --- */
.lead-magnet-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 5rem;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.lead-magnet-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
    filter: blur(100px);
    z-index: 0;
}

.magnet-content { position: relative; z-index: 1; }
.magnet-content h2 { color: var(--white); font-size: 3rem; margin-bottom: 1.5rem; }
.magnet-form {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.magnet-form input {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    color: var(--white);
    flex-grow: 1;
    outline: none;
}

/* --- Guarantee --- */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.guarantee-item {
    text-align: center;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.guarantee-item:hover { transform: scale(1.05); border-color: var(--primary); }
.guarantee-item i { font-size: 3rem; color: var(--accent); margin-bottom: 1.5rem; }

/* --- Calculator Mockup --- */
.calc-wrapper {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.calc-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.calc-step {
    flex-grow: 1;
    height: 4px;
    background: var(--bg-slate);
    margin: 0 5px;
    border-radius: 10px;
}

.calc-step.active { background: var(--primary); }

@media (max-width: 992px) {
    .lead-magnet-card { grid-template-columns: 1fr; padding: 3rem; text-align: center; }
    .magnet-form { flex-direction: column; border-radius: var(--radius-sm); }
    .guarantee-grid { grid-template-columns: 1fr; }
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Footer --- */
.site-footer {
    padding: 4.5rem 0 2rem;
    color: #bfd1d2;
    background: #04131f;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.68rem;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
}

.footer-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #14b8a6);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
    font-size: 1.12rem;
    letter-spacing: 0;
}

.footer-brand span:last-child span { color: var(--primary); }

.site-footer p {
    max-width: 420px;
    margin: 1rem 0 0;
    color: #9db7b9;
}

.site-footer h2 {
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.52rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: #bfd1d2;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #829fa2;
    font-size: 0.84rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3.5rem 0 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

body.footer-in-view .referral-widget,
body.footer-in-view .surge-banner,
body.footer-in-view .mobile-cta-bar,
body.footer-in-view .chat-widget,
body.footer-in-view .whatsapp-widget {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* --- Logo Marquee --- */
.logo-marquee { display: flex; overflow: hidden; gap: 4rem; padding: 3rem 0; opacity: 0.5; filter: grayscale(1); }
.logo-track { display: flex; gap: 5rem; animation: marquee 30s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- City Tags --- */
.city-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.city-tag { padding: 0.8rem 1.5rem; background: var(--white); border: 1px solid var(--glass-border); border-radius: 100px; font-weight: 600; font-size: 0.9rem; color: var(--secondary); transition: var(--transition); }
.city-tag:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* --- Reviews Carousel --- */
.reviews-track {
    display: flex;
    gap: 2.5rem;
    animation: scroll-reviews 35s linear infinite;
    width: max-content;
}

.review-card {
    min-width: 380px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-card::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--primary-glow);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.review-stars { color: #fbbf24; margin-bottom: 1rem; font-size: 1.1rem; }

.review-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
}

.review-author-info strong { display: block; font-size: 0.95rem; }
.review-author-info span { color: var(--text-muted); font-size: 0.8rem; }

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reviews-overflow { overflow: hidden; }

/* --- Fleet Showcase --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.fleet-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    group: true;
}

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

.fleet-card:hover img { transform: scale(1.1); }

.fleet-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.fleet-card:hover .fleet-overlay { transform: translateY(0); opacity: 1; }
.fleet-overlay .card-heading { color: var(--white); margin-bottom: 0.3rem; }
.fleet-overlay p { font-size: 0.85rem; opacity: 0.8; }

@media (max-width: 768px) { .fleet-grid { grid-template-columns: 1fr 1fr; } }

/* --- Live Ticker --- */
.ticker-bar {
    background: var(--secondary);
    padding: 1.2rem 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 4rem;
    animation: ticker-scroll 20s linear infinite;
    width: max-content;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ticker-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- Before/After --- */
.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.ba-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--white);
}

.ba-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.ba-card-body {
    padding: 2rem;
}

.ba-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ba-badge.before { background: #fef2f2; color: #ef4444; }
.ba-badge.after { background: #f0fdf4; color: #22c55e; }

@media (max-width: 768px) { .ba-grid { grid-template-columns: 1fr; } }

/* --- Exit Intent Popup --- */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-popup-overlay.active { display: flex; }

.exit-popup {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 90%;
    padding: 4rem;
    text-align: center;
    position: relative;
    animation: pop-in 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes pop-in {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.exit-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--bg-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.exit-popup-close:hover { background: #ef4444; color: var(--white); border-color: #ef4444; }

.exit-popup h2,
.popup-title { margin-bottom: 1rem; font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--secondary); }

.estimator-prompt,
.callback-title { font-size: 1.17rem; font-weight: 800; line-height: 1.1; color: var(--secondary); }
.estimator-prompt { margin-bottom: 2rem; }
.exit-popup .exit-discount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin: 1.5rem 0;
}

/* --- Callback Strip --- */
.callback-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 0;
}

.callback-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.callback-inner h3,
.callback-inner .callback-title { color: var(--white); font-size: 1.5rem; }
.callback-inner p { color: rgba(255,255,255,0.8); }

.callback-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.3);
}

.callback-form input {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--white);
    outline: none;
    min-width: 200px;
}

.callback-form input::placeholder { color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
    .callback-inner { flex-direction: column; text-align: center; }
    .callback-form { flex-direction: column; border-radius: var(--radius-sm); }
    .callback-form input { min-width: auto; }
}

/* ===== CONVERSION ENGINE STYLES ===== */

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10002;
    transition: width 0.1s linear;
}

/* --- Pulsing CTA Button --- */
.btn-pulse {
    animation: btn-glow 2s infinite;
}

@keyframes btn-glow {
    0%, 100% { box-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.4); }
    50% { box-shadow: 0 20px 60px -5px rgba(249, 115, 22, 0.7), 0 0 30px rgba(249, 115, 22, 0.3); }
}

/* --- Hero Trust Faces --- */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-faces {
    display: flex;
}

.trust-face {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    border: 2px solid var(--white);
    margin-left: -10px;
}

.trust-face:first-child { margin-left: 0; }

/* --- Sticky Mobile CTA Bar --- */
.mobile-cta-bar {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    display: flex;
    z-index: 999;
    transition: bottom 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
}

.mobile-cta-bar.visible { bottom: 0; }

.mobile-cta-call, .mobile-cta-quote {
    flex: 1;
    padding: 1.2rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-cta-call {
    background: var(--secondary);
    color: var(--white);
}

.mobile-cta-quote {
    background: var(--accent);
    color: var(--white);
}

@media (min-width: 769px) {
    .mobile-cta-bar { display: none; }
}

/* --- People Viewing Badge --- */
.viewers-badge {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: var(--white);
    padding: 0.7rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--glass-border);
}

.viewers-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@media (max-width: 768px) {
    .viewers-badge { display: none; }
}

/* --- Form Trust Badges --- */
.form-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.form-trust-item {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-trust-item i { color: var(--primary); }

@media (max-width: 768px) {
    .form-trust-badges { flex-direction: column; align-items: center; gap: 0.8rem; }
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* --- Enhanced WhatsApp Widget --- */
.whatsapp-widget {
    animation: whatsapp-bounce 3s ease-in-out infinite;
}

@keyframes whatsapp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.whatsapp-widget:hover {
    animation: none;
    transform: scale(1.1) rotate(10deg);
}

/* ===== ADVANCED MARKETING ENGINE STYLES ===== */

/* --- 1. Spin-to-Win Wheel --- */
.spin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}
.spin-overlay.active { display: flex; }

.spin-popup {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 90%;
    padding: 3rem;
    text-align: center;
    position: relative;
    animation: pop-in 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.spin-wheel-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
}

.spin-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 6px solid var(--secondary);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    background: conic-gradient(
        #14b8a6 0deg 60deg,
        #f97316 60deg 120deg,
        #0d9488 120deg 180deg,
        #ea580c 180deg 240deg,
        #14b8a6 240deg 300deg,
        #f97316 300deg 360deg
    );
}

.spin-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    right: 0;
    transform-origin: bottom left;
    transform: rotate(calc(var(--i) * 60deg));
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-segment span {
    display: block;
    transform: rotate(60deg);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.spin-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent);
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.spin-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--glass-border);
    border-radius: 100px;
    font-size: 1rem;
    margin-bottom: 1rem;
    outline: none;
    text-align: center;
    transition: var(--transition);
}
.spin-input:focus { border-color: var(--primary); }

/* --- 2. AI Chat Widget --- */
.chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    z-index: 999;
    font-family: 'Outfit', sans-serif;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

@media (max-width: 768px) { .chat-widget { width: calc(100% - 40px); right: 20px; bottom: 80px; } }

.chat-header {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chat-chevron {
    margin-left: auto;
    transition: var(--transition);
}

.chat-body {
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.chat-body.open { max-height: 400px; }

.chat-messages {
    height: 260px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-msg {
    max-width: 80%;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: msg-in 0.3s ease-out;
}

@keyframes msg-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    background: var(--bg-slate);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing-bounce 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

.chat-input-wrap {
    display: flex;
    border-top: 1px solid var(--glass-border);
}

.chat-input-wrap input {
    flex-grow: 1;
    padding: 1rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.chat-input-wrap button {
    padding: 1rem 1.5rem;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}
.chat-input-wrap button:hover { background: var(--primary-dark); }

/* --- 4. Surge Pricing Banner --- */
.surge-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: var(--white);
    padding: 0.9rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 998;
    transition: bottom 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
}

.surge-banner.visible { bottom: 0; }

@media (max-width: 768px) {
    .surge-banner { bottom: -100px; font-size: 0.8rem; padding: 0.7rem 1rem; }
    .surge-banner.visible { bottom: 55px; }
    .surge-banner .btn { display: none; }
}

/* ===== NEXT-GEN MARKETING ENGINE STYLES ===== */

/* --- 6. Live Booking Map --- */
.live-map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.map-india {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.map-india::before {
    content: '\1F1EE\1F1F3';
    position: absolute;
    font-size: 15rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.map-dot::after {
    content: attr(data-city);
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--secondary);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.map-dot:hover::after { opacity: 1; }

.map-ping {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: map-ping 2s infinite;
}

.map-dot.active-pulse {
    background: var(--accent);
    transform: scale(2);
    box-shadow: 0 0 20px var(--accent);
}

.map-dot.active-pulse .map-ping { border-color: var(--accent); }

@keyframes map-ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.map-feed {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.map-event {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: msg-in 0.5s ease-out;
}

.map-event em { color: var(--primary); }

@media (max-width: 768px) {
    .live-map-container { grid-template-columns: 1fr; }
    .map-india { max-height: 350px; }
}

/* --- 7. Horror Stories --- */
.horror-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.horror-card {
    background: var(--white);
    border: 2px solid #fecaca;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.horror-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.horror-card:hover {
    border-color: #ef4444;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.15);
}

.horror-icon {
    width: 50px;
    height: 50px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.horror-card .card-heading {
    color: #991b1b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.horror-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.horror-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.horror-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    font-style: normal;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .horror-grid { grid-template-columns: 1fr; }
}

/* --- 8. Referral Widget --- */
.referral-widget {
    position: fixed;
    left: 20px;
    bottom: 140px;
    z-index: 998;
    font-family: 'Outfit', sans-serif;
    filter: drop-shadow(0 5px 20px rgba(0,0,0,0.12));
}

.referral-header {
    background: linear-gradient(135deg, var(--accent), #ea580c);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.referral-header:hover { filter: brightness(1.1); }

.referral-body {
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.referral-body.open {
    max-height: 300px;
    padding: 1.5rem;
}

.referral-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.referral-link-box {
    display: flex;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.referral-link-box input {
    flex-grow: 1;
    padding: 0.7rem;
    border: none;
    font-size: 0.8rem;
    color: var(--text-main);
    outline: none;
    background: var(--bg-slate);
}

.referral-link-box button {
    padding: 0.7rem 1rem;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.referral-link-box button:hover { background: var(--primary-dark); }

@media (max-width: 768px) {
    .referral-widget { display: none; }
}

/* --- 9. Missed Form Toast --- */
.missed-toast {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    transition: top 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
}

.missed-toast.visible { top: 50px; }

.missed-toast i:first-child {
    animation: bounce-up 1s infinite;
}

@keyframes bounce-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.missed-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

@media (max-width: 768px) {
    .missed-toast { font-size: 0.8rem; padding: 0.8rem 1.5rem; white-space: normal; border-radius: var(--radius-md); width: 90%; }
}

/* ===== MODERN 3D EXPERIENCE UPGRADE ===== */
h1, h2, h3 { letter-spacing: 0; }

.hero {
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 20%, rgba(20, 184, 166, 0.2), transparent 28rem),
        radial-gradient(circle at 18% 78%, rgba(249, 115, 22, 0.14), transparent 26rem),
        linear-gradient(135deg, #f8fafc 0%, #eefdf9 42%, #fff7ed 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 88%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 190px;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, var(--bg-slate));
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 165px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    max-width: 780px;
    font-size: 4.2rem;
}

.hero-content p {
    max-width: 650px;
}

.hero-ops-stage {
    min-height: 560px;
    display: grid;
    place-items: center;
    position: relative;
    perspective: 1400px;
    transform-style: preserve-3d;
}

.ops-card {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.42);
    background: linear-gradient(145deg, rgba(255,255,255,0.76), rgba(255,255,255,0.36));
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(22px);
    transform-style: preserve-3d;
}

.ops-card-main {
    width: min(420px, 92%);
    left: 50%;
    bottom: 4%;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transform: translateX(-50%) translateZ(145px) rotateX(7deg);
    animation: ops-card-drift 6s ease-in-out infinite;
}

.ops-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ops-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.13);
    animation: pulse-dot 1.8s infinite;
}

.ops-card-main h3 {
    margin: 0.8rem 0 1rem;
    font-size: 1.6rem;
}

.dynamic-route-display {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 3.25rem;
    align-items: center;
    gap: 0.75rem;
    margin: 0.8rem 0 0.3rem;
    color: var(--secondary);
    font-size: clamp(1.25rem, 3.4vw, 1.7rem);
    font-weight: 850;
    line-height: 1.12;
    transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.dynamic-route-display.is-route-changing {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(7px) scale(0.985);
}

.dynamic-route-city:first-child {
    text-align: right;
}

.dynamic-route-city:last-child {
    text-align: left;
}

.dynamic-route-direction {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.24);
    font-size: 0.72rem;
}

.dynamic-route-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.dynamic-route-meta span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dynamic-route-meta i {
    color: var(--primary);
}

.ops-route-progress {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.1);
}

.ops-route-progress span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: progress-breathe 3s ease-in-out infinite;
}

.ops-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.2rem;
}

.ops-metrics div {
    padding: 0.9rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.58);
}

.ops-metrics strong {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
}

.ops-metrics small {
    color: var(--text-muted);
    font-weight: 700;
}

.ops-card-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    min-width: 210px;
}

.ops-card-mini i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.ops-card-mini strong {
    display: block;
    color: var(--secondary);
    font-size: 0.95rem;
}

.ops-card-mini span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.ops-card-top {
    top: 9%;
    left: 0;
    transform: translateZ(180px) rotateY(12deg);
    animation: mini-card-left 5.4s ease-in-out infinite;
}

.ops-card-bottom {
    right: 0;
    bottom: 44%;
    transform: translateZ(190px) rotateY(-12deg);
    animation: mini-card-right 5.9s ease-in-out infinite;
}

.tilt-card {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card.tilt-card:hover,
.guarantee-item.tilt-card:hover,
.horror-card.tilt-card:hover,
.ba-card.tilt-card:hover,
.contact-card.tilt-card:hover {
    --lift: -12px;
    box-shadow: 0 32px 75px -32px rgba(15, 23, 42, 0.35);
}

.price-card.tilt-card:hover {
    --lift: -10px;
}

.price-card.popular.tilt-card {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0)) scale(1.03);
}

@keyframes ops-card-drift {
    0%, 100% { transform: translateX(-50%) translateZ(145px) rotateX(7deg) translateY(0); }
    50% { transform: translateX(-50%) translateZ(165px) rotateX(5deg) translateY(-10px); }
}

@keyframes mini-card-left {
    0%, 100% { transform: translateZ(180px) rotateY(12deg) translateY(0); }
    50% { transform: translateZ(205px) rotateY(5deg) translateY(-12px); }
}

@keyframes mini-card-right {
    0%, 100% { transform: translateZ(190px) rotateY(-12deg) translateY(0); }
    50% { transform: translateZ(210px) rotateY(-5deg) translateY(12px); }
}

@keyframes progress-breathe {
    0%, 100% { width: 62%; }
    50% { width: 78%; }
}

@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.1rem; }
    .hero-grid { gap: 2.5rem; }
    .hero-ops-stage { min-height: 500px; }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 32px;
    }

    .hero::before { background-size: 38px 38px; }
    .hero-content h1 { font-size: 2.3rem; }
    .hero-content p { font-size: 1.05rem; margin-bottom: 2rem; }
    .hero-trust { align-items: center; text-align: center; }
    .hero-ops-stage { min-height: 440px; margin-top: 1rem; }
    .ops-card-main { padding: 1.15rem; bottom: 0; }
    .ops-metrics { gap: 0.55rem; }
    .ops-metrics div { padding: 0.65rem; }
    .ops-card-mini { min-width: 190px; transform: none; }
    .ops-card-top { left: 2%; top: 3%; }
    .ops-card-bottom { right: 2%; bottom: 33%; }
}

@media (max-width: 520px) {
    .ops-card-mini {
        position: relative;
        inset: auto;
        width: 92%;
        margin: 0 auto;
    }

    .ops-card-top { align-self: start; }
    .ops-card-bottom { align-self: end; }
    .ops-card-main { width: 95%; }
    .ops-card-main h3 { font-size: 1.25rem; }
    .ops-metrics strong { font-size: 0.88rem; }
    .ops-metrics small { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ops-card,
    .tilt-card {
        animation: none !important;
        transition: none !important;
    }
}

/* Less intrusive conversion widgets for the modern first viewport */
@media (max-width: 768px) {
    .chat-widget {
        width: 64px;
        right: 16px;
        bottom: 88px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(16px);
    }

    .chat-header {
        width: 64px;
        height: 64px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .chat-header > div:not(.chat-avatar),
    .chat-chevron {
        display: none;
    }

    .chat-avatar {
        margin: 0;
        width: 64px;
        height: 64px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
    }

    .chat-widget.open {
        width: calc(100% - 32px);
        right: 16px;
        bottom: 88px;
    }

    .chat-widget.open .chat-header {
        width: 100%;
        height: auto;
        padding: 1rem 1.2rem;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        justify-content: flex-start;
    }

    .chat-widget.open .chat-header > div:not(.chat-avatar),
    .chat-widget.open .chat-chevron {
        display: block;
    }

    .chat-widget.open .chat-avatar {
        width: 40px;
        height: 40px;
    }

    body.widgets-visible .chat-widget {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .whatsapp-widget {
        opacity: 0;
        pointer-events: none;
        transform: translateY(16px);
    }

    body.widgets-visible .whatsapp-widget {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.chat-widget:not(.open) {
    width: 64px;
}

.chat-widget:not(.open) .chat-header {
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}

.chat-widget:not(.open) .chat-header > div:not(.chat-avatar),
.chat-widget:not(.open) .chat-chevron {
    display: none;
}

.chat-widget:not(.open) .chat-avatar {
    width: 64px;
    height: 64px;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

@media (min-width: 769px) {
    .chat-widget.open {
        width: 360px;
    }

    .chat-widget.open .chat-header {
        width: 100%;
        height: auto;
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        justify-content: flex-start;
    }

    .chat-widget.open .chat-header > div:not(.chat-avatar),
    .chat-widget.open .chat-chevron {
        display: block;
    }

    .chat-widget.open .chat-avatar {
        width: 40px;
        height: 40px;
    }
}

.viewers-badge,
.referral-widget {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

body.widgets-visible .viewers-badge,
body.widgets-visible .referral-widget {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* --- Real Puppy Emotional Moment --- */
.dog-attraction-pack {
    position: relative;
    width: min(300px, 100%);
    height: 164px;
    margin: 0.15rem 0 1.1rem;
}

.dog-attraction-pack::before {
    content: '';
    position: absolute;
    inset: auto 5% 2px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(15, 23, 42, 0.17), rgba(20, 184, 166, 0.1) 48%, transparent 72%);
    filter: blur(10px);
    transform: scaleX(0.95);
}

.dog-motion-stage {
    position: absolute;
    left: 0;
    bottom: 4px;
    z-index: 2;
    width: min(274px, 92%);
    height: 156px;
    transform-origin: center bottom;
    pointer-events: none;
    isolation: isolate;
}

.puppy-character {
    position: absolute;
    bottom: 0;
    width: 112px;
    height: 154px;
    transform-origin: center bottom;
    will-change: transform;
}

.puppy-character::after {
    content: '';
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 2px;
    z-index: -1;
    height: 13px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.18);
    filter: blur(7px);
    animation: puppy-shadow-breathe 2.7s ease-in-out infinite;
}

.puppy-character img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    max-width: none;
    filter: drop-shadow(0 12px 11px rgba(15, 23, 42, 0.15));
    transform-origin: 50% 88%;
    animation: puppy-natural-breath 2.7s ease-in-out infinite;
    will-change: transform;
}

.dog-left {
    left: -7px;
    z-index: 1;
    animation: dog-left-happy-hop 3.4s ease-in-out infinite;
}

.dog-middle {
    left: 81px;
    z-index: 3;
    width: 116px;
    height: 160px;
    animation: dog-middle-curious-tilt 4s ease-in-out infinite;
    animation-delay: -1.15s;
}

.dog-right {
    left: 170px;
    z-index: 2;
    animation: dog-right-tail-wiggle 3.15s ease-in-out infinite;
    animation-delay: -1.8s;
}

.dog-middle img {
    animation-delay: -0.85s;
}

.dog-right img,
.dog-right::after {
    animation-delay: -1.4s;
}

.dog-emotion-copy {
    position: absolute;
    left: 124px;
    bottom: 6px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(255,255,255,0.88);
    color: var(--secondary);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
    animation: emotion-pill-float 4.6s ease-in-out infinite;
}

.dog-emotion-copy i {
    color: #ef4444;
}

.dog-bark-bubble {
    position: absolute;
    left: 188px;
    top: 16px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.5rem 0.75rem;
    border-radius: 999px 999px 999px 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 16px 32px rgba(20, 184, 166, 0.24);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.78) rotate(-5deg);
}

.dog-bark-bubble::after {
    content: '';
    position: absolute;
    left: 13px;
    bottom: -5px;
    width: 12px;
    height: 12px;
    background: var(--primary-dark);
    transform: rotate(45deg);
    border-radius: 2px;
}

.dog-bark-bubble i,
.dog-bark-bubble span {
    position: relative;
    z-index: 1;
}

.dog-bark-wave {
    position: absolute;
    left: 198px;
    top: 55px;
    z-index: 3;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(20, 184, 166, 0.72);
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    opacity: 0;
    transform: rotate(38deg) scale(0.35);
    pointer-events: none;
}

.bark-wave-two {
    width: 28px;
    height: 28px;
    left: 205px;
    top: 48px;
    border-color: rgba(249, 115, 22, 0.62);
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.bark-wave-three {
    width: 40px;
    height: 40px;
    left: 211px;
    top: 40px;
    border-color: rgba(239, 68, 68, 0.45);
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.real-dog-pack {
    cursor: pointer;
}

.real-dog-pack:focus-visible {
    outline: 3px solid rgba(20, 184, 166, 0.38);
    outline-offset: 8px;
    border-radius: var(--radius-lg);
}

.real-dog-pack.is-barking .puppy-character {
    animation-duration: 1.25s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-delay: 0s;
}

.real-dog-pack.is-barking .puppy-character img {
    animation: puppy-bark-breath 0.42s ease-in-out 3;
}

.real-dog-pack.is-barking .dog-left {
    animation-name: dog-left-bark-hop;
}

.real-dog-pack.is-barking .dog-middle {
    animation-name: dog-middle-bark-curious;
}

.real-dog-pack.is-barking .dog-right {
    animation-name: dog-right-realistic-bark;
}

.real-dog-pack.is-barking .dog-bark-bubble {
    animation: bark-bubble-pop 1.45s ease-out both;
}

.real-dog-pack.is-barking .dog-emotion-copy {
    animation: emotion-pill-float 4.6s ease-in-out infinite, bark-pill-nudge 1.2s ease-out;
}

.real-dog-pack.is-barking .dog-bark-wave {
    animation: bark-wave-send 1.1s ease-out both;
}

.real-dog-pack.is-barking .bark-wave-two {
    animation-delay: 0.11s;
}

.real-dog-pack.is-barking .bark-wave-three {
    animation-delay: 0.22s;
}

.dog-heart {
    position: absolute;
    z-index: 1;
    width: 13px;
    height: 13px;
    background: #f97316;
    transform: rotate(45deg);
    opacity: 0;
    animation: puppy-heart-float 5s ease-in-out infinite;
}

.dog-heart::before,
.dog-heart::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: inherit;
}

.dog-heart::before { left: -6px; top: 0; }
.dog-heart::after { left: 0; top: -6px; }

.heart-one {
    left: 12%;
    bottom: 70px;
    background: #f97316;
}

.heart-two {
    left: 47%;
    bottom: 105px;
    width: 10px;
    height: 10px;
    background: #14b8a6;
    animation-delay: 1.2s;
}

.heart-two::before,
.heart-two::after {
    width: 10px;
    height: 10px;
}

.heart-two::before { left: -5px; }
.heart-two::after { top: -5px; }

.heart-three {
    right: 13%;
    bottom: 80px;
    background: #ef4444;
    animation-delay: 2.1s;
}

@keyframes dog-left-happy-hop {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    12% { transform: translate(-3px, -8px) rotate(-2.2deg) scale(1.025); }
    24% { transform: translate(1px, 0) rotate(1.2deg) scale(0.99, 1.01); }
    40% { transform: translate(4px, -4px) rotate(1.8deg) scale(1.014); }
    58% { transform: translate(0, 0) rotate(-0.8deg) scale(1); }
    78% { transform: translate(-2px, -3px) rotate(-1deg) scale(1.008); }
}

@keyframes dog-middle-curious-tilt {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    18% { transform: translate(-2px, -4px) rotate(-3.5deg) scale(1.018); }
    36% { transform: translateY(0) rotate(2.8deg) scale(1); }
    54% { transform: translate(2px, -7px) rotate(1deg) scale(1.022); }
    72% { transform: translateY(0) rotate(-1.5deg) scale(0.995, 1.01); }
}

@keyframes dog-right-tail-wiggle {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    14% { transform: translate(4px, -6px) rotate(2.6deg) scale(1.024); }
    28% { transform: translate(-2px, 0) rotate(-2deg) scale(0.995, 1.01); }
    46% { transform: translate(3px, -9px) rotate(2deg) scale(1.028); }
    64% { transform: translate(-1px, 0) rotate(-1.3deg) scale(1); }
    82% { transform: translate(2px, -3px) rotate(0.8deg) scale(1.01); }
}

@keyframes puppy-natural-breath {
    0%, 100% { transform: scale(1) translateY(0); }
    45% { transform: scale(1.012, 1.022) translateY(-1px); }
    55% { transform: scale(1.006, 1.012) translateY(0); }
}

@keyframes puppy-shadow-breathe {
    0%, 100% { opacity: 0.72; transform: scaleX(1); }
    50% { opacity: 0.48; transform: scaleX(0.84); }
}

@keyframes puppy-bark-breath {
    0%, 100% { transform: scale(1) translateY(0); }
    35% { transform: scale(1.035, 0.965) translateY(2px); }
    65% { transform: scale(0.985, 1.045) translateY(-3px); }
}

@keyframes dog-left-bark-hop {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    18% { transform: translate(-5px, -13px) rotate(-4deg) scale(1.045); }
    38% { transform: translate(2px, 1px) rotate(2.5deg) scale(0.985, 1.018); }
    60% { transform: translate(4px, -8px) rotate(2deg) scale(1.028); }
    80% { transform: translate(-1px, -2px) rotate(-1deg) scale(1.008); }
}

@keyframes dog-middle-bark-curious {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    18% { transform: translate(-3px, -9px) rotate(-5deg) scale(1.035); }
    38% { transform: translate(2px, 0) rotate(4deg) scale(0.99, 1.015); }
    60% { transform: translate(0, -12px) rotate(-2deg) scale(1.04); }
    80% { transform: translateY(-3px) rotate(1deg) scale(1.01); }
}

@keyframes dog-right-realistic-bark {
    0%, 100% { transform: translateY(0) scale(1) rotate(0); }
    14% { transform: translate(5px, -14px) scale(1.05, 0.98) rotate(4deg); }
    30% { transform: translate(-3px, 1px) scale(0.985, 1.025) rotate(-3deg); }
    48% { transform: translate(4px, -10px) scale(1.04, 0.99) rotate(2.5deg); }
    68% { transform: translate(-1px, 0) scale(1, 1.015) rotate(-1.5deg); }
    84% { transform: translate(2px, -4px) scale(1.015) rotate(0.8deg); }
}

@keyframes emotion-pill-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes bark-pill-nudge {
    0%, 100% { transform: translateY(0); }
    22% { transform: translate(5px, -9px) rotate(2deg); }
    45% { transform: translate(0, -4px) rotate(-1deg); }
}

@keyframes bark-bubble-pop {
    0% { opacity: 0; transform: translateY(12px) scale(0.72) rotate(-8deg); }
    16% { opacity: 1; transform: translateY(-3px) scale(1.04) rotate(-4deg); }
    42% { opacity: 1; transform: translateY(-8px) scale(1) rotate(-2deg); }
    72% { opacity: 0.88; transform: translateY(-12px) scale(0.96) rotate(1deg); }
    100% { opacity: 0; transform: translateY(-20px) scale(0.82) rotate(4deg); }
}

@keyframes bark-wave-send {
    0% { opacity: 0; transform: rotate(38deg) scale(0.25); }
    18% { opacity: 0.86; }
    100% { opacity: 0; transform: rotate(38deg) scale(1.85) translate(16px, -8px); }
}

@keyframes puppy-heart-float {
    0% { opacity: 0; transform: translateY(8px) scale(0.65) rotate(45deg); }
    18% { opacity: 0.88; }
    62% { opacity: 0.38; }
    100% { opacity: 0; transform: translateY(-42px) scale(1.08) rotate(45deg); }
}

@media (max-width: 768px) {
    .dog-attraction-pack {
        width: min(260px, 100%);
        height: 150px;
        margin: 0.15rem auto 1.05rem;
    }

    .dog-motion-stage {
        left: 50%;
        width: min(250px, 96%);
        transform: translateX(-50%);
    }

    .puppy-character {
        width: 103px;
        height: 145px;
    }

    .dog-middle {
        left: 74px;
        width: 108px;
        height: 151px;
    }

    .dog-right {
        left: 153px;
    }

    .dog-bark-bubble {
        left: 166px;
        top: 14px;
        font-size: 0.7rem;
        padding: 0.42rem 0.62rem;
    }

    .dog-bark-wave {
        left: 174px;
        top: 51px;
    }

    .bark-wave-two {
        left: 181px;
        top: 44px;
    }

    .bark-wave-three {
        left: 187px;
        top: 36px;
    }

    .dog-emotion-copy {
        right: 50%;
        bottom: -2px;
        transform: translateX(50%);
        font-size: 0.72rem;
        padding: 0.45rem 0.65rem;
    }
}

@media (max-width: 420px) {
    .dog-attraction-pack {
        width: min(250px, 100%);
        height: 144px;
    }

    .dog-emotion-copy {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .puppy-character,
    .puppy-character img,
    .puppy-character::after,
    .dog-motion-stage,
    .dog-emotion-copy,
    .dog-heart,
    .dog-bark-bubble,
    .dog-bark-wave {
        animation: none !important;
    }
}

.hero-content p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-content p {
        margin-bottom: 0.9rem;
    }
}

/* Static responsive planning dashboard. */
.hero-dashboard-only {
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
    isolation: isolate;
    padding: 2rem 1.25rem;
    perspective: none;
    transform: none !important;
}

.hero-dashboard-only::before,
.hero-dashboard-only::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.hero-dashboard-only::before {
    inset: 8% 4%;
    border: 1px solid rgba(20, 184, 166, 0.16);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 18% 22%, rgba(20, 184, 166, 0.2), transparent 34%),
        radial-gradient(circle at 82% 74%, rgba(249, 115, 22, 0.17), transparent 32%),
        rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 0 55px rgba(255, 255, 255, 0.6);
}

.hero-dashboard-only::after {
    inset: 8% 4%;
    border-radius: 2rem;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(15, 118, 110, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(145deg, #000, transparent 82%);
}

.hero-dashboard-only .ops-card {
    position: relative;
    inset: auto;
    animation: none;
    transform: none;
}

.hero-dashboard-only .ops-card-top {
    order: 1;
    width: min(19rem, 78%);
    align-self: flex-start;
}

.hero-dashboard-only .ops-card-main {
    order: 2;
    width: min(26rem, 100%);
    align-self: center;
}

.hero-dashboard-only .ops-card-bottom {
    order: 3;
    width: min(19rem, 78%);
    align-self: flex-end;
}

.hero-dashboard-only .ops-route-progress span {
    width: 72%;
    animation: none;
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 768px) {
    .hero-dashboard-only {
        min-height: auto;
        margin-top: 0.75rem;
        padding: 1.5rem 0.25rem;
    }

    .hero-dashboard-only::before,
    .hero-dashboard-only::after {
        inset: 0 0.25rem;
    }

    .hero-dashboard-only .ops-card-main {
        width: 100%;
    }

    .hero-dashboard-only .ops-card-top,
    .hero-dashboard-only .ops-card-bottom {
        width: min(19rem, 88%);
        min-width: 0;
    }

    .dynamic-route-display {
        gap: 0.5rem;
        font-size: clamp(1.05rem, 5.1vw, 1.4rem);
    }

    .dynamic-route-direction {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 390px) {
    .dynamic-route-display {
        grid-template-columns: minmax(0, 1fr) 1.55rem minmax(0, 1fr);
        gap: 0.35rem;
        font-size: clamp(0.98rem, 5vw, 1.18rem);
    }

    .dynamic-route-direction {
        width: 1.55rem;
        height: 1.55rem;
        font-size: 0.58rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dynamic-route-display,
    .hero-dashboard-only .ops-route-progress span {
        transition: none !important;
    }
}
