/* ============================================
   Grade Master - Main Stylesheet
   ============================================ */

:root {
    /* GradeMaster logo palette */
    --brand-navy: #002D62;
    --brand-navy-dark: #001A3D;
    --brand-navy-mid: #003D7A;
    --brand-cyan: #00AEEF;
    --brand-cyan-light: #4DC4F5;
    --brand-cyan-soft: #E6F7FD;
    --brand-cyan-pale: #F0FAFF;
    --brand-gold: #FFB800;
    --brand-gold-dark: #E5A500;
    --brand-gold-hover: #FFC933;

    --primary: var(--brand-navy);
    --primary-dark: var(--brand-navy-dark);
    --primary-light: var(--brand-cyan);
    --secondary: var(--brand-navy-dark);
    --accent: var(--brand-gold);
    --accent-dark: var(--brand-gold-dark);
    --accent-hover: var(--brand-gold-hover);

    --primary-rgb: 0, 45, 98;
    --cyan-rgb: 0, 174, 239;
    --gold-rgb: 255, 184, 0;

    --light-bg: var(--brand-cyan-pale);
    --border: #C5E8F7;
    --text: #1A3A52;
    --text-muted: #5A7A92;
    --white: #ffffff;
    --success: #10b981;
    --shadow: 0 4px 6px -1px rgba(var(--primary-rgb), 0.1), 0 2px 4px -2px rgba(var(--primary-rgb), 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(var(--primary-rgb), 0.12), 0 4px 6px -4px rgba(var(--primary-rgb), 0.08);
    --gradient-brand: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-cyan) 100%);
    --gradient-hero: linear-gradient(135deg, var(--brand-cyan-soft) 0%, var(--brand-cyan-pale) 45%, #ffffff 100%);
    --gradient-gold: linear-gradient(145deg, var(--brand-gold-hover), var(--brand-gold-dark));
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.3;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
img.site-logo {
    max-width: none;
}
img.site-logo--header {
    height: 88px;
    width: auto;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--secondary);
    color: #94a3b8;
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar a { color: #cbd5e1; }
.top-bar a:hover { color: var(--white); }
.badge-offer { color: var(--accent); font-weight: 600; }
.badge-human { color: var(--success); font-weight: 600; }

/* ---- Header ---- */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1030;
}
.navbar { padding: 12px 0; }
.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-brand);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--secondary);
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 8px;
}
.dropdown-item {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
}
.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

/* ---- Buttons ---- */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ---- Hero Section ---- */
.hero-section {
    background: var(--gradient-hero);
    padding: 60px 0 80px;
}
.hero-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.hero-checklist li {
    padding: 6px 0;
    font-weight: 500;
}
.hero-checklist li i {
    color: var(--success);
    margin-right: 8px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    margin-right: 8px;
}
.trust-badge i { color: var(--accent); }

/* ---- Quote Form / Banner Form (reference style) ---- */
.quote-section { margin-top: -20px; overflow: hidden; }
.quote-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.quote-card.ref-banner-form {
    overflow: visible;
}

/* Reference banner form */
.ref-banner-form {
    position: relative;
    padding: 28px 28px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    overflow: visible;
    margin-top: 24px;
    margin-left: 0;
    margin-right: 0;
}
.sale-starburst {
    position: absolute;
    top: -18px;
    left: -12px;
    width: 96px;
    height: 96px;
    z-index: 8;
    pointer-events: none;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.28));
    animation: sale-starburst-pop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.sale-starburst svg {
    display: block;
    width: 100%;
    height: 100%;
}
@keyframes sale-starburst-pop {
    0% { transform: scale(0.6) rotate(-12deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .sale-starburst {
        animation: none;
    }
}
.banner-form-inner {
    padding-top: 52px;
    padding-left: 8px;
}
.banner-form-tagline {
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
    letter-spacing: 0.04em;
    margin: 0 0 16px;
}
.banner-form-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--primary);
}
.banner-form-tabs .quote-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    border-radius: 0;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.banner-form-tabs .quote-tab:not(:last-child) {
    border-right: 1px solid var(--primary);
}
.banner-form-tabs .quote-tab.active {
    background: var(--primary);
    color: var(--white);
}
.banner-form-tabs .quote-tab:hover:not(.active) {
    background: rgba(37, 99, 235, 0.08);
}
.banner-field {
    margin-bottom: 14px;
}
.banner-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}
.banner-field-row .banner-field {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}
.banner-input,
.banner-select {
    width: 100%;
    border: none;
    border-bottom: 2px solid #cbd5e1;
    border-radius: 0;
    padding: 10px 4px;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.banner-input:focus,
.banner-select:focus {
    border-bottom-color: var(--primary);
    box-shadow: none;
}
.banner-input::placeholder {
    color: #94a3b8;
}
.banner-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
    cursor: pointer;
}
.banner-phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 8px;
    flex-shrink: 0;
    min-width: 118px;
}
.banner-select-inline {
    display: none;
}
.banner-word-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #cbd5e1;
    padding: 6px 0;
}
.banner-counter-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--brand-cyan-soft);
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.banner-counter-btn:hover {
    background: #B8EBFA;
}
.banner-word-display {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.banner-deadline-wrap {
    position: relative;
}
.banner-deadline {
    padding-right: 32px;
}
.banner-deadline-icon {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 1rem;
}
.banner-price-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 16px;
    font-size: 0.95rem;
    color: var(--text);
}
.banner-price-label strong {
    font-weight: 800;
}
.banner-price-from {
    background: var(--brand-gold);
    color: var(--brand-navy-dark);
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 1rem;
}
.banner-price-was {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85rem;
}
.banner-submit-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.banner-submit-btn:hover {
    background: var(--primary-dark);
}
.banner-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* Legacy quote classes (mini forms etc.) */
.quote-form-wrap { padding: 30px; }
.quote-tabs {
    display: flex;
    gap: 8px;
}
.quote-tab {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.quote-tab.active,
.quote-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}
.quote-summary {
    background: var(--gradient-brand);
    color: var(--white);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.discount-badge { text-align: center; margin-bottom: 24px; }
.discount-label { display: block; font-size: 0.9rem; opacity: 0.9; }
.discount-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
}
.price-display { text-align: center; margin-bottom: 24px; }
.price-label { font-size: 0.9rem; opacity: 0.9; margin-bottom: 8px; }
.price-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.price-original {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.2rem;
}
.price-current {
    font-size: 2rem;
    font-weight: 800;
}
.price-note { font-size: 0.8rem; opacity: 0.8; margin-top: 8px; }
.quote-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.quote-features li {
    padding: 6px 0;
    font-size: 0.9rem;
}
.quote-features li i { margin-right: 8px; }
.currency-toggle {
    display: flex;
    gap: 6px;
    justify-content: center;
}
.currency-btn {
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.currency-btn.active,
.currency-btn:hover {
    background: var(--white);
    color: var(--primary);
}

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}
.bg-light { background: var(--light-bg) !important; }

/* ---- Feature Grid ---- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.feature-grid-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    font-weight: 500;
    font-size: 0.9rem;
}
.feature-grid-item i {
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* ---- Why Choose Cards ---- */
.why-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.why-card:hover .why-icon {
    transform: scale(1.06) translateY(-2px);
}
.why-icon i {
    font-size: 1.45rem;
    color: var(--white);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}
.why-icon--emerald { background: linear-gradient(145deg, #34D399, #059669); }
.why-icon--amber { background: linear-gradient(145deg, #FCD34D, #F59E0B); }
.why-icon--cyan { background: linear-gradient(145deg, #38BDF8, #0284C7); }
.why-icon--violet { background: linear-gradient(145deg, #A78BFA, #7C3AED); }
.why-icon--indigo { background: linear-gradient(145deg, #818CF8, #4F46E5); }
.why-icon--rose { background: linear-gradient(145deg, #FB7185, #E11D48); }
.why-icon--teal { background: linear-gradient(145deg, #2DD4BF, #0D9488); }
.why-icon--gold { background: linear-gradient(145deg, #FDE047, #EAB308); }
.why-icon--sky { background: linear-gradient(145deg, #7DD3FC, #0EA5E9); }
.why-icon--orange { background: linear-gradient(145deg, #FB923C, #EA580C); }
.why-icon--lime { background: linear-gradient(145deg, #A3E635, #65A30D); }
.why-icon--fuchsia { background: linear-gradient(145deg, #E879F9, #C026D3); }
.why-icon--gold i,
.why-icon--amber i,
.why-icon--lime i {
    color: #1A3A52;
    filter: none;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---- Expert Cards ---- */
.expert-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.expert-avatar {
    width: 72px;
    height: 72px;
    background: var(--gradient-brand);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}
.expert-degree { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.expert-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    font-size: 0.85rem;
}
.expert-stats li { padding: 4px 0; }
.expert-stats li i { color: var(--success); margin-right: 6px; }

/* ---- Service Tabs ---- */
.service-tabs .nav-link {
    color: var(--text);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 24px;
    margin: 4px;
    border: 2px solid var(--border);
}
.service-tabs .nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.service-tab-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.service-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.service-features-list li {
    background: var(--light-bg);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}
.service-tab-icon {
    text-align: center;
    font-size: 6rem;
    color: rgba(37, 99, 235, 0.15);
}

/* ---- Subjects Grid ---- */
.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.subject-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}
.subject-tag i {
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}
.subject-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

/* ---- Process Steps ---- */
.process-step {
    text-align: center;
    padding: 30px;
}
.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 20px;
}
.comparison-table-wrap {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.comparison-table { margin: 0; }
.comparison-table th,
.comparison-table td { padding: 16px 20px; vertical-align: middle; }
.comparison-table thead th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    border: none;
}
.highlight-col { background: rgba(37, 99, 235, 0.05); }

/* ---- Free Features ---- */
.savings-text { font-size: 1.1rem; margin-top: 12px; }
.savings-text strong { color: var(--success); }
.free-feature-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}
.free-feature-card:hover { border-color: var(--success); }
.feat-name { font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.feat-value { margin: 0; font-size: 0.9rem; }
.free-tag {
    background: var(--success);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* ---- Testimonials ---- */
.overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.rating-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}
.rating-stars i { color: var(--accent); font-size: 1.2rem; }
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(37, 99, 235, 0.15);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-quote-icon {
    color: var(--primary);
    opacity: 0.35;
    margin-right: 4px;
}
.testimonial-uni i { margin-right: 4px; color: var(--primary); }
.testimonial-meta i { margin-right: 4px; color: var(--text-muted); }
.testimonial-name { font-size: 1rem; margin: 0; }
.testimonial-uni { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.testimonial-rating i { color: var(--accent); font-size: 0.85rem; }
.testimonial-text {
    font-size: 0.9rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 16px;
}
.testimonial-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ---- City Cards ---- */
.city-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}
.city-card-img-wrap {
    height: 180px;
    overflow: hidden;
}
.city-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.city-card:hover .city-card-img { transform: scale(1.05); }
.city-card-body { padding: 20px; }
.city-card h4 { font-size: 1.1rem; margin-bottom: 12px; }
.city-card h4 i { color: var(--primary); margin-right: 8px; }
.city-card p { font-size: 0.9rem; color: var(--text-muted); }
.city-card a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ---- CTA Banner ---- */
.cta-banner { padding: 0 0 80px; }
.cta-card {
    background: var(--gradient-brand);
    border-radius: var(--radius);
    padding: 48px;
    color: var(--white);
}
.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.cta-card h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 12px; }
.cta-card p { opacity: 0.9; margin-bottom: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-discount-circle {
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px dashed rgba(255,255,255,0.4);
}
.cta-off-label { font-size: 0.8rem; opacity: 0.9; }
.cta-off-value { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.cta-off-text { font-size: 1rem; font-weight: 700; }

/* ---- Tables ---- */
.challenges-table,
.success-table {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.challenges-table th,
.success-table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    padding: 16px 20px;
    border: none;
}
.challenges-table td,
.success-table td { padding: 14px 20px; vertical-align: middle; }

/* ---- Benefit Cards ---- */
.benefit-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.benefit-card p { font-size: 0.9rem; color: var(--text-muted); }
.benefit-quote {
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    margin-top: 16px;
    background: var(--light-bg);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ---- Quality Cards ---- */
.quality-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
}
.quality-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.quality-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---- FAQ ---- */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 20px 24px;
    background: var(--white);
    color: var(--secondary);
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    box-shadow: none;
}
.faq-accordion .accordion-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 24px 20px;
}

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--brand-cyan-soft) 0%, var(--brand-cyan-pale) 100%);
    padding: 60px 0;
}
.page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.page-hero .hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.page-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}
.page-hero .hero-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.page-hero .hero-features li {
    padding: 6px 0;
    font-weight: 500;
}
.page-hero .hero-features li i { color: var(--success); margin-right: 8px; }

/* ---- Content Pages ---- */
.content-section { padding: 60px 0; }
.content-block { margin-bottom: 40px; }
.content-block h2 { font-size: 1.5rem; margin-bottom: 16px; }
.content-block h3 { font-size: 1.2rem; margin-bottom: 12px; }
.content-block p { color: var(--text-muted); margin-bottom: 16px; }
.content-block ul { color: var(--text-muted); }
.content-block ul li { margin-bottom: 8px; }
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
    text-align: center;
}
.info-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.info-card h4 { margin-bottom: 10px; }

/* ---- Pricing Page ---- */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.pricing-card.featured {
    border-color: var(--brand-cyan);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.pricing-card .price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.pricing-features li i { color: var(--success); margin-right: 8px; }

/* ---- Contact Page ---- */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 4px;
}
.contact-info-item h5 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-item p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* ---- Footer ---- */
.site-footer { background: var(--secondary); color: #94a3b8; }
.footer-top { padding: 60px 0 40px; }
.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; }
.footer-contact a {
    display: block;
    color: #cbd5e1;
    font-size: 0.9rem;
    padding: 4px 0;
}
.footer-contact a:hover { color: var(--white); }
.footer-contact a i { margin-right: 8px; }
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-rating .stars i { color: var(--accent); }
.rating-text { font-size: 0.85rem; margin-left: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.85rem;
}
.footer-badges span {
    margin-left: 16px;
    font-size: 0.8rem;
}
.footer-badges i { margin-right: 4px; color: var(--success); }

/* ---- Floating Actions ---- */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition);
}
.float-btn:hover { transform: scale(1.1); color: var(--white); }
.whatsapp-btn { background: #25d366; }
.order-btn { background: var(--primary); }
.float-label {
    position: absolute;
    right: 64px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: #cbd5e1;
    padding: 16px 0;
    z-index: 1040;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--primary-light); }

/* ---- Alert Messages ---- */
.alert-success-custom {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: #065f46;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .hero-main-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .quote-summary { padding: 24px; }
    .service-tab-card { padding: 24px; }
    .service-tab-icon { font-size: 4rem; margin-top: 20px; }
    .cta-card { padding: 32px 24px; }
    .pricing-card.featured { transform: none; }
}

@media (max-width: 767.98px) {
    .hero-section { padding: 40px 0 60px; }
    .section { padding: 50px 0; }
    .hero-main-title { font-size: 1.7rem; }
    .comparison-table { font-size: 0.85rem; }
    .success-table { font-size: 0.8rem; }
    .float-label { display: none; }
}

/* ============================================
   Reference Design — Header, Hero, Order Page
   ============================================ */

/* Yellow accent button */
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--secondary);
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    transition: var(--transition);
}
.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--gold-rgb), 0.4);
}

/* Reference Header */
.ref-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 1030;
}
.ref-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
    min-height: 88px;
}
.ref-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-decoration: none;
}
.ref-logo:hover,
.ref-logo:focus {
    box-shadow: none;
    background: transparent;
}
.site-logo {
    width: auto;
    object-fit: contain;
    display: block;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
    padding: 0;
    margin: 0;
    filter: none;
}
.ref-logo .site-logo,
.ref-logo img {
    box-shadow: none !important;
    background: transparent !important;
}
.site-logo--header {
    height: 88px;
    width: auto;
    max-width: 200px;
    min-width: 130px;
}
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    padding: 0;
    margin: 0 0 14px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-decoration: none;
}
.footer-logo-link .site-logo,
.footer-logo-link img,
.footer-logo-link .site-logo--footer {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    filter: brightness(0) invert(1);
}
.site-logo--footer {
    height: 88px;
    width: auto;
    max-width: 200px;
    min-width: 130px;
}
.footer-brand {
    margin-bottom: 1rem;
}
.footer-logo-link:hover,
.footer-logo-link:focus {
    background: transparent;
    box-shadow: none;
    opacity: 0.92;
}
.site-logo--order {
    height: 52px;
    width: auto;
    max-width: 160px;
}
.order-mini-logo .site-logo--header {
    height: 72px;
    max-width: 180px;
}
.order-form-brand {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.order-form-brand a {
    display: inline-block;
    line-height: 0;
}
@media (max-width: 991.98px) {
    .site-logo--header {
        height: 72px;
        min-width: 110px;
        max-width: 170px;
    }
    .ref-header-inner {
        min-height: 76px;
    }
}
@media (max-width: 575.98px) {
    .site-logo--header {
        height: 64px;
        min-width: 100px;
        max-width: 150px;
    }
    .ref-header-inner {
        min-height: 68px;
    }
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text-main {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo-text-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}
.ref-nav-collapse {
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-grow: 1;
}
@media (min-width: 992px) {
    .ref-nav-collapse {
        display: flex !important;
    }
}
.ref-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.ref-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 6px;
}
.ref-nav a:hover {
    color: var(--primary);
    background: rgba(var(--cyan-rgb), 0.08);
}
.ref-nav a.active {
    color: var(--primary);
    background: rgba(var(--cyan-rgb), 0.14);
    box-shadow: inset 0 -2px 0 var(--brand-cyan);
}
.ref-header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.ref-phone {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    white-space: nowrap;
}
.ref-email {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.gm-phone-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    display: block;
}
.gm-phone-picker {
    position: relative;
    flex-shrink: 0;
}
.gm-phone-picker-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1.2;
}
.gm-phone-picker-code {
    font-weight: 600;
    white-space: nowrap;
}
.gm-phone-picker-chevron {
    font-size: 0.7rem;
    opacity: 0.65;
}
.gm-phone-picker--banner .gm-phone-picker-btn {
    font-size: 0.8rem;
    padding-bottom: 2px;
}
.gm-phone-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1050;
    min-width: 240px;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: var(--white);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.15);
}
.gm-phone-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text);
    transition: background 0.15s ease;
}
.gm-phone-dropdown-item:hover,
.gm-phone-dropdown-item.is-active {
    background: var(--brand-cyan-pale);
}
.gm-phone-dropdown-text strong {
    margin-right: 4px;
}
.form-phone-row {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.form-phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    background: #f8fafc;
    border: 1px solid #dee2e6;
    border-right: none;
    border-radius: 0.375rem 0 0 0.375rem;
    flex-shrink: 0;
    min-width: 118px;
}
.form-phone-code-select {
    display: none;
}
.form-phone-row .form-phone-input {
    border-radius: 0 0.375rem 0.375rem 0;
    flex: 1;
    min-width: 0;
}
.ref-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 6px;
}

/* Hero banner inline quote form */
.ref-hero-section .col-lg-6:last-child {
    padding-top: 0;
}
.ref-hero-section .quote-card.ref-banner-form {
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.14);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    margin-top: 0;
    margin-left: 0;
    overflow: visible;
}
.ref-hero-section .row > [class*="col-"]:has(.ref-banner-form) {
    overflow: visible;
}
.ref-hero-section .banner-form-inner {
    padding-top: 52px;
}
@media (max-width: 575.98px) {
    .ref-banner-form {
        padding: 20px 14px 18px;
    }
    .sale-starburst {
        top: -14px;
        left: -8px;
        width: 78px;
        height: 78px;
    }
    .banner-form-inner {
        padding-top: 44px;
        padding-left: 4px;
    }
    .banner-field-row {
        flex-direction: column;
        gap: 14px;
    }
    .banner-phone-prefix {
        min-width: 100%;
    }
}

/* Reference Hero */
.ref-hero-section {
    background: var(--gradient-hero);
    padding: 50px 0 70px;
    position: relative;
    overflow: hidden;
}
.ref-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.ref-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.ref-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: var(--shadow);
}
.ref-pill i { color: var(--primary); }
.ref-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}
.ref-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 520px;
}
.ref-review-row {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}
.ref-review-item { text-align: center; }
.ref-review-score {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}
.ref-review-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}
.ref-review-label i { color: var(--accent); }

/* Hero Expert Card */
.ref-hero-expert-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.ref-expert-card-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.ref-expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.ref-expert-details h4 { font-size: 1.1rem; color: var(--secondary); }
.ref-expert-degree { font-size: 0.85rem; color: var(--text-muted); margin: 4px 0 10px; }
.ref-expert-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.ref-expert-mini-stats i { color: var(--success); margin-right: 4px; }

.verified-badge {
    color: var(--success);
    font-size: 1rem;
}
.expert-rating-row {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 4px 0;
}
.expert-rating-row i { color: var(--accent); font-size: 0.85rem; }
.expert-rating-row i.empty { color: #e2e8f0; }
.expert-rating-row span { font-size: 0.8rem; font-weight: 600; margin-left: 4px; color: var(--text-muted); }

/* Horizontal Expert Cards */
.ref-experts-section { background: var(--light-bg); }
.ref-experts-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.ref-expert-horizontal-card {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.ref-expert-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.ref-expert-card-top {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}
.ref-expert-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(37, 99, 235, 0.12);
}
.ref-expert-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.order-expert-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}
.order-expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ref-expert-card-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.ref-expert-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
    text-align: center;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
}
.ref-expert-card-stats strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
}
.ref-expert-card-stats small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Order Page */
.order-page-body {
    background: #DFF3FC;
    min-height: 100vh;
}
.order-page-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(230, 247, 253, 0.92);
    z-index: 0;
    pointer-events: none;
}
.order-page-main,
.order-topbar,
.order-mini-footer {
    position: relative;
    z-index: 1;
}
.order-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}
.order-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}
.order-topbar-logo {
    display: inline-flex;
    line-height: 0;
}
.site-logo--order-top {
    height: 58px;
    width: auto;
    max-width: 170px;
}
.order-topbar-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.order-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.88rem;
}
.order-contact-link i {
    color: var(--primary);
    font-size: 1rem;
}
.order-contact-link:hover {
    color: var(--primary);
}
.order-page-section { padding: 28px 0 56px; }
.order-expert-strip { margin-bottom: 18px; }
.order-expert-bar--strip {
    margin-bottom: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.1);
}
.order-page-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 14px 44px rgba(var(--primary-rgb), 0.14);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.order-form-side {
    padding: 34px 36px 38px;
}
.order-content-side {
    padding: 34px 30px;
    background: linear-gradient(180deg, var(--brand-cyan-soft) 0%, var(--brand-cyan-pale) 100%);
    border-right: 1px solid var(--border);
    height: 100%;
}
.order-form-intro {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border);
}
.order-form-title {
    font-size: 1.45rem;
    color: var(--secondary);
    margin-bottom: 8px;
}
.order-form-lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}
.order-upload-note {
    margin: 10px 0 0;
    font-size: 0.8rem;
    color: #b45309;
}
.order-upload-note i { margin-right: 4px; }
.order-submit-btn {
    font-weight: 700;
    letter-spacing: 0.2px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.order-sidebar-contact {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    font-size: 0.88rem;
}
.order-sidebar-phone {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}
.order-mini-footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 22px 0;
    margin-top: 10px;
}
.order-mini-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.order-mini-copy {
    font-size: 0.82rem;
}
.order-mini-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.78rem;
}
.order-mini-badges i {
    color: var(--success);
    margin-right: 4px;
}

/* Order Expert Bar */
.order-expert-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.order-expert-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    flex-shrink: 0;
}
.order-expert-info h4 { font-size: 1rem; }
.order-expert-stats {
    margin-left: auto;
    display: flex;
    gap: 16px;
}
.stat-item {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.stat-item i { display: block; font-size: 1.1rem; color: var(--primary); margin-bottom: 2px; }
.stat-item span { display: block; font-weight: 700; color: var(--secondary); font-size: 0.9rem; }

/* Order Context Card */
.order-context-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.order-context-card h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.order-context-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.order-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.order-feature-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    font-weight: 500;
}
.order-feature-list li i { color: var(--success); margin-right: 8px; }

/* Trust Box */
.order-trust-box {
    background: var(--brand-cyan-soft);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.trust-rating-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.trust-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.trust-stars i { color: var(--accent); }
.trust-strip {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    padding-top: 12px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.15);
}

/* Highlights Grid */
.order-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}
.highlight-item i { color: var(--primary); font-size: 1.1rem; }

/* Payment logos */
.order-payment-logos {
    background: var(--white);
    border-radius: 8px;
    padding: 14px;
}
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.payment-icons span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}
.payment-icons i { margin-right: 4px; color: var(--primary); }

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    background: var(--light-bg);
}
.file-upload-area:hover { border-color: var(--primary-light); background: var(--brand-cyan-pale); }
.file-upload-area i { font-size: 2rem; color: var(--primary); display: block; margin-bottom: 8px; }
.file-upload-area p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.file-upload-area span { color: var(--primary); font-weight: 600; }
.file-upload-area.is-uploaded {
    border-color: #22c55e;
    background: #f0fdf4;
    border-style: solid;
}
.file-upload-area.is-uploaded .file-upload-icon { color: #16a34a; }
.file-upload-area.is-upload-error {
    border-color: #ef4444;
    background: #fef2f2;
    border-style: solid;
}
.file-upload-area.is-upload-error .file-upload-icon { color: #dc2626; }
.file-upload-area.is-dragover {
    border-color: var(--primary);
    background: var(--brand-cyan-pale);
}
.file-upload-wrap { margin-bottom: 4px; }
.file-upload-status {
    font-size: 0.875rem;
    margin-top: 8px;
    min-height: 1.25rem;
    line-height: 1.4;
}
.file-upload-status.is-success { color: #16a34a; font-weight: 600; }
.file-upload-status.is-error { color: #dc2626; font-weight: 600; }
.file-upload-meta { font-size: 0.8rem; color: #15803d; font-weight: 500; }
.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.order-currency { justify-content: flex-start; }
.order-currency .currency-btn {
    border-color: var(--border);
    color: var(--text);
    background: var(--white);
}
.order-currency .currency-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Premium Add-Ons */
.premium-addons-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
}
.premium-addons-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.addon-item {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
}
.addon-item i { color: var(--success); margin-right: 8px; }

/* Order page responsive */
@media (max-width: 991.98px) {
    .ref-nav-collapse {
        flex-direction: column;
        align-items: stretch !important;
        padding: 16px 0;
    }
    .ref-nav { flex-direction: column; }
    .ref-header-contact { flex-direction: column; align-items: stretch; }
    .order-content-side {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .order-topbar-contact { gap: 10px; }
    .order-contact-link span { font-size: 0.8rem; }
    .ref-hero-title { font-size: 1.8rem; }
    .order-expert-stats { display: none !important; }
}

@media (max-width: 767.98px) {
    .ref-hero-section { padding: 36px 0 50px; }
    .order-form-side, .order-content-side { padding: 22px 18px; }
    .order-topbar-inner { flex-direction: column; align-items: flex-start; }
    .order-mini-footer-inner { flex-direction: column; text-align: center; }
    .ref-expert-horizontal-card { flex: 0 0 260px; }
}

/* ============================================
   Top Promo Bar + Mega Menu Navigation
   ============================================ */
.promo-top-bar {
    background: var(--brand-navy-dark);
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 7px 0;
}
.promo-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.promo-top-left {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.promo-top-left a { color: #cbd5e1; }
.promo-top-left a:hover { color: #fff; }
.promo-top-left i { margin-right: 4px; }
.promo-top-right {
    flex-shrink: 0;
}
.promo-ticker-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.promo-ticker-track {
    display: flex;
    width: max-content;
    animation: promo-ticker-scroll 28s linear infinite;
}
.promo-ticker-track:hover {
    animation-play-state: paused;
}
.promo-ticker-group {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    white-space: nowrap;
}
.promo-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.82rem;
}
.promo-ticker-item i {
    color: var(--brand-gold-hover);
    font-size: 0.95rem;
}
.promo-gift-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.promo-gift-icon svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
}
.promo-ticker-item strong {
    color: #fff;
    font-weight: 800;
}
.promo-offer-badge {
    display: inline-flex;
    align-items: center;
    background: var(--brand-gold);
    color: var(--brand-navy-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px 0 0 4px;
    position: relative;
    margin-right: 4px;
}
.promo-offer-badge::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid var(--brand-gold);
}
@keyframes promo-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .promo-ticker-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .promo-ticker-wrap {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .promo-ticker-group[aria-hidden="true"] {
        display: none;
    }
}
.promo-sep { color: #475569; }
.promo-whatsapp {
    background: #25d366;
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.78rem;
}
.promo-whatsapp:hover { background: #1fb855; color: #fff; }

.ref-logo .logo-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}

/* Mega Nav */
.mega-nav { align-items: center; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.show {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}
.nav-badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 2px;
}
/* Mega Menu Panel */
.mega-menu-panel {
    width: min(900px, 95vw);
    padding: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-top: 8px !important;
}
.mega-menu-inner {
    display: flex;
    min-height: 320px;
}
.mega-menu-tabs {
    width: 220px;
    background: var(--brand-cyan-pale);
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}
.mega-tab {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 14px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: var(--transition);
}
.mega-tab:hover { background: var(--brand-cyan-soft); color: var(--primary); }
.mega-tab.active {
    background: var(--white);
    color: var(--primary);
    border-left-color: var(--brand-cyan);
}
@media (min-width: 992px) {
    .mega-tab {
        transition: background 0.15s ease, color 0.15s ease;
    }
    .mega-panel {
        animation: megaPanelFade 0.18s ease;
    }
    @keyframes megaPanelFade {
        from { opacity: 0.6; }
        to { opacity: 1; }
    }
}
.mega-menu-content {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    max-height: 400px;
    position: relative;
}
.mega-panel { display: none; }
.mega-panel.active { display: block; }
.mega-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    width: 100%;
}
.mega-hub-link:hover { color: var(--primary-dark); }
.mega-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.mega-link-group h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 700;
}
.mega-link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-link-group li { margin-bottom: 2px; }
.mega-link-group a {
    display: block;
    padding: 5px 8px;
    font-size: 0.85rem;
    color: var(--text);
    border-radius: 4px;
    font-weight: 500;
}
.mega-link-group a:hover,
.mega-link-group a.active {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}
.nav-sub-dropdown {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px;
    min-width: 220px;
}

/* Desktop: open nav dropdowns on hover */
@media (min-width: 992px) {
    .nav-dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(6px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        margin-top: 0 !important;
    }
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 10px;
    }
    .nav-dropdown-toggle.show {
        color: var(--primary);
        background: rgba(var(--primary-rgb), 0.06);
    }
}

/* Landing Pages */
.landing-hero .ref-hero-title { font-size: 2rem; }
.landing-breadcrumb { margin-bottom: 12px; }
.landing-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 0.8rem;
}
.landing-feature-list {
    list-style: none;
    padding: 0;
}
.landing-feature-list li {
    padding: 8px 0;
    font-weight: 500;
}
.landing-feature-list li i { color: var(--success); margin-right: 8px; }
.landing-sidebar { position: sticky; top: 100px; }
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 12px; }
.sidebar-list, .sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li, .sidebar-links li { padding: 6px 0; font-size: 0.88rem; }
.sidebar-list i { color: var(--success); margin-right: 6px; }
.sidebar-links a { color: var(--primary); font-weight: 500; }
.sidebar-links a:hover { text-decoration: underline; }

/* Sitemap */
.sitemap-category {
    font-size: 1.3rem;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.sitemap-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--light-bg);
    transition: var(--transition);
}
.sitemap-link:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}
.sitemap-link i { color: var(--primary); font-size: 0.75rem; }

@media (max-width: 991.98px) {
    .mega-menu-inner { flex-direction: column; }
    .mega-menu-tabs {
        width: 100%;
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .mega-tab {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .mega-tab.active { border-bottom-color: var(--primary); }
    .promo-ticker-wrap { display: none; }
    .landing-sidebar { position: static; }
}

/* ---- Visual Assets & Media ---- */
.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}
.hero-avatar-stack {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -12px;
    object-fit: cover;
    background: #e2e8f0;
}
.hero-avatar-stack:first-child { margin-left: 0; }
.hero-trust-text {
    margin-left: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.intro-visual-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.12);
}
.intro-visual-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.intro-float-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.intro-float-card i {
    font-size: 1.8rem;
    color: var(--accent);
}
.intro-float-card strong { display: block; font-size: 1rem; }
.intro-float-card small { color: var(--text-muted); font-size: 0.8rem; }

.trust-strip-section {
    padding: 28px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.trust-strip-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.payment-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.payment-strip-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.payment-chip i { font-size: 1.1rem; }
.payment-chip.pay-visa i { color: #1a1f71; }
.payment-chip.pay-master i { color: #eb001b; }
.payment-chip.pay-paypal i { color: #003087; }
.payment-chip.pay-amex i { color: #006fcf; }
.payment-chip-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1.1rem;
    margin-left: 6px;
}
.footer-payments { display: flex; align-items: center; }

.service-tab-visual {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.1);
}
.service-tab-carousel .carousel-item {
    height: 280px;
}
.service-tab-carousel .service-tab-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.service-tab-carousel .carousel-control-prev,
.service-tab-carousel .carousel-control-next {
    width: 12%;
    opacity: 0.85;
}
.service-tab-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.process-step {
    position: relative;
}
.process-step-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.free-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.free-feature-card { text-align: center; }

.landing-page-img,
.city-page-visual .city-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.landing-context-visual,
.city-page-visual {
    overflow: hidden;
    border-radius: var(--radius);
}
.gm-img { max-width: 100%; height: auto; }

/* ---- Order Process & Benefits (reference layout) ---- */
.order-process-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-cyan-pale) 100%);
    overflow: hidden;
}
.order-process-title {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.25;
}
.title-highlight {
    background: linear-gradient(180deg, transparent 55%, rgba(var(--gold-rgb), 0.45) 55%);
    padding: 0 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.order-timeline {
    position: relative;
    padding: 8px 0;
}
.order-timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    position: relative;
    padding-bottom: 36px;
}
.order-timeline-step:last-child {
    padding-bottom: 0;
}
.order-timeline-step.has-connector::after {
    content: '';
    position: absolute;
    left: 39px;
    top: 82px;
    width: 48px;
    height: calc(100% - 50px);
    border-left: 2px dashed #B8CDDC;
    border-bottom: 2px dashed #B8CDDC;
    border-bottom-left-radius: 28px;
    pointer-events: none;
}
.order-timeline-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.order-timeline-icon i {
    font-size: 2rem;
    color: var(--brand-cyan);
}
.order-timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 8px 0 8px;
}
.order-timeline-desc {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
}
.benefits-comparison {
    background: #E8EFF5;
    border-radius: 20px;
    padding: 20px 18px 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.benefits-comparison-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 0;
    align-items: stretch;
}
.benefits-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.benefits-col-head {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-navy);
    padding: 14px 16px 18px;
    text-align: center;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefits-col--ours {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(var(--primary-rgb), 0.14);
    transform: translateY(-6px);
    position: relative;
    z-index: 2;
    margin: 0 -4px;
}
.benefits-col-head--brand {
    background: var(--brand-navy);
    color: var(--white);
    border-radius: 16px 16px 0 0;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 1rem;
}
.benefits-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
    font-size: 0.88rem;
    line-height: 1.45;
    border-top: 1px solid rgba(var(--primary-rgb), 0.08);
    min-height: 58px;
}
.benefits-col--features .benefits-cell {
    color: var(--text);
    font-weight: 500;
    border-top-color: rgba(var(--primary-rgb), 0.06);
}
.benefits-col--ours .benefits-cell {
    border-top-color: #EEF4F8;
    color: var(--text);
    font-weight: 500;
}
.benefits-col--others .benefits-cell {
    color: var(--text-muted);
    border-top-color: rgba(var(--primary-rgb), 0.06);
}
.benefits-feature-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(var(--cyan-rgb), 0.12);
    color: var(--brand-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.benefits-icon-ok {
    color: #22C55E;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.benefits-icon-bad {
    color: #EF4444;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.benefits-icon-warn {
    color: var(--brand-gold);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.benefits-col--ours .benefits-cell:first-of-type,
.benefits-col--features .benefits-cell:first-of-type,
.benefits-col--others .benefits-cell:first-of-type {
    border-top: none;
}

@media (max-width: 991.98px) {
    .benefits-comparison-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .benefits-col--ours {
        transform: none;
        margin: 12px 0;
        order: -1;
    }
    .benefits-col-head {
        text-align: left;
        justify-content: flex-start;
        padding-left: 18px;
    }
    .benefits-col-head--brand {
        text-align: center;
        justify-content: center;
    }
    .order-timeline-step.has-connector::after {
        left: 39px;
        width: 32px;
    }
}

@media (max-width: 767.98px) {
    .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-visual-img { height: 280px; }
    .service-tab-img { height: 220px; }
    .hero-trust-row { flex-wrap: wrap; }
}

/* ---- Form Validation ---- */
.gm-field-error {
    color: #dc3545;
    font-size: 0.8125rem;
    margin-top: 6px;
    line-height: 1.4;
}
.gm-validated-form .is-invalid,
.gm-validated-form select.is-invalid,
.gm-validated-form textarea.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}
.banner-quote-form .banner-input.is-invalid,
.banner-quote-form .banner-select.is-invalid {
    border-color: #ff8a8a !important;
    box-shadow: 0 0 0 2px rgba(255, 138, 138, 0.35);
}
.form-phone-row .gm-phone-input.is-invalid {
    border-color: #dc3545 !important;
}
.banner-phone-prefix + .banner-field .gm-phone-input.is-invalid {
    border-color: #ff8a8a !important;
}
.gm-form-summary-error {
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.banner-quote-form .gm-form-summary-error {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ff8a8a;
    color: #b42318;
}

/* ============================================
   Full Mobile Responsive Enhancements
   ============================================ */
@media (max-width: 991.98px) {
    .ref-header-inner {
        flex-wrap: wrap;
    }
    .ref-toggler {
        order: 2;
        margin-left: auto;
    }
    .ref-nav-collapse {
        order: 3;
        flex-basis: 100%;
        width: 100%;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ref-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }
    .ref-nav > a,
    .nav-dropdown {
        width: 100%;
    }
    .nav-dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
        border-radius: 8px;
    }
    .nav-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        float: none;
        width: 100%;
        max-width: 100%;
        inset: auto !important;
        margin: 4px 0 8px !important;
        box-shadow: none;
        border: 1px solid var(--border);
        border-radius: 10px;
        display: none;
    }
    .nav-dropdown .dropdown-menu.show {
        display: block;
    }
    .mega-menu-panel {
        width: 100%;
    }
    .mega-menu-content {
        max-height: 50vh;
        overflow-y: auto;
    }
    .mega-links-grid {
        grid-template-columns: 1fr;
    }
    .ref-header-contact {
        width: 100%;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }
    .ref-header-contact .btn-accent {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .ref-toggler .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em;
    }

    .ref-hero-section {
        padding: 32px 0 48px;
    }
    .ref-hero-title {
        font-size: 1.65rem;
    }
    .landing-hero .ref-hero-title {
        font-size: 1.55rem;
    }
    .ref-hero-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }
    .ref-hero-badges {
        gap: 6px;
    }
    .ref-pill {
        font-size: 0.72rem;
        padding: 5px 10px;
    }
    .ref-review-row {
        flex-wrap: wrap;
        gap: 16px;
    }
    .hero-trust-row {
        flex-wrap: wrap;
    }
    .hero-trust-text {
        margin-left: 0;
        margin-top: 8px;
        flex-basis: 100%;
    }

    .section {
        padding: 48px 0;
    }
    .section-header {
        margin-bottom: 32px;
    }
    .section-title {
        font-size: 1.45rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
        padding-bottom: 10px;
        scroll-snap-type: x proximity;
    }
    .service-tabs .nav-item {
        flex-shrink: 0;
    }
    .service-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 8px 16px !important;
    }
    .service-tab-card {
        padding: 20px 16px;
    }
    .service-tab-card .row.align-items-center {
        flex-direction: column-reverse;
    }
    .service-tab-carousel .carousel-item,
    .service-tab-img {
        height: 200px;
    }

    .why-card {
        padding: 20px;
    }

    .cta-banner {
        padding: 0 0 48px;
    }
    .cta-card {
        padding: 28px 20px;
    }
    .cta-card h2 {
        font-size: 1.4rem;
    }
    .cta-actions {
        flex-direction: column;
    }
    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .footer-top {
        padding: 40px 0 28px;
    }
    .footer-bottom .footer-badges {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .footer-bottom .footer-badges span {
        margin-left: 0;
    }
    .site-logo--footer {
        height: 72px;
    }

    .page-hero {
        padding: 40px 0;
    }
    .page-hero .hero-title {
        font-size: 1.65rem;
    }
    .page-hero .hero-subtitle {
        font-size: 0.95rem;
    }
    .content-section {
        padding: 40px 0;
    }
    .contact-card {
        padding: 24px 20px;
    }

    .order-topbar-inner {
        gap: 12px;
    }
    .order-topbar-contact {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .order-contact-link {
        font-size: 0.82rem;
    }
    .order-contact-link span {
        word-break: break-all;
    }
    .site-logo--order-top {
        height: 48px;
    }

    .landing-sidebar {
        position: static;
        margin-top: 24px;
    }

    .floating-actions {
        right: 14px;
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .ref-hero-title {
        font-size: 1.5rem;
    }
    .trust-strip-item {
        font-size: 0.78rem;
    }
    .trust-strip-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .payment-strip {
        gap: 6px;
    }
    .payment-chip {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    .subject-tag {
        font-size: 0.82rem;
        padding: 8px 14px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .intro-float-card {
        position: static;
        margin-top: 12px;
    }
    .ref-expert-horizontal-card {
        flex: 0 0 85vw;
        max-width: 300px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-header {
        flex-wrap: wrap;
    }
    .testimonial-rating.ms-auto {
        margin-left: 0 !important;
        width: 100%;
    }
    .order-timeline-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .order-timeline-step.has-connector::after {
        display: none;
    }
    .benefit-card {
        padding: 20px;
    }
    .footer-top .row > [class*="col-"] {
        text-align: center;
    }
    .footer-contact a {
        word-break: break-word;
    }
    .footer-logo-link {
        justify-content: center;
        width: 100%;
    }
    .footer-links {
        text-align: center;
    }
    .process-step {
        padding: 20px 12px;
    }
    .free-feature-card {
        padding: 16px 12px;
    }
    .feat-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .ref-hero-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }
    .page-hero .hero-title {
        font-size: 1.35rem;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .section {
        padding: 36px 0;
    }
    .section-header {
        margin-bottom: 24px;
    }
    .ref-pill {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        text-align: center;
    }
    .ref-hero-badges {
        justify-content: center;
    }
    .ref-review-row {
        justify-content: center;
        width: 100%;
    }
    .btn-accent.btn-lg,
    .btn-primary.btn-lg,
    .btn-light.btn-lg,
    .btn-outline-light.btn-lg {
        padding: 12px 18px;
        font-size: 0.92rem;
    }
    .challenges-table th,
    .challenges-table td,
    .success-table th,
    .success-table td {
        padding: 10px 12px;
        font-size: 0.76rem;
        white-space: nowrap;
    }
    .cookie-banner .btn {
        width: 100%;
    }
    .cookie-banner {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
    .floating-actions {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        right: 12px;
    }
    .site-logo--header {
        height: 56px;
        min-width: 90px;
        max-width: 130px;
    }
    .ref-header-inner {
        min-height: 60px;
        padding: 8px 0;
    }
    .banner-form-tabs .quote-tab {
        flex: 1 1 auto;
        font-size: 0.78rem;
        padding: 8px 10px;
    }
    .sidebar-card {
        padding: 18px 16px;
    }
    .pricing-card {
        padding: 24px 18px;
    }
    .info-card {
        padding: 20px 16px;
    }
    .contact-info-item {
        flex-direction: column;
        gap: 8px;
    }
    .order-form-side,
    .order-content-side {
        padding: 18px 14px;
    }
    .order-form-title {
        font-size: 1.2rem;
    }
    .order-expert-bar {
        flex-wrap: wrap;
    }
    .cta-card h2 {
        font-size: 1.25rem;
    }
    .overall-rating {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== Site Animations ========== */
.gm-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--gm-delay, 0ms);
    will-change: opacity, transform;
}
.gm-reveal.gm-reveal-left { transform: translateX(-36px); }
.gm-reveal.gm-reveal-right { transform: translateX(36px); }
.gm-reveal.gm-reveal-scale { transform: scale(0.94); }
.gm-reveal.gm-visible {
    opacity: 1;
    transform: none;
}

.gm-hero-in {
    opacity: 0;
    animation: gmHeroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--gm-delay, 0ms);
}
@keyframes gmHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.ref-header {
    transition: box-shadow 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease;
}
.ref-header.gm-scrolled {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ref-hero-section::before {
    animation: gmHeroGlow 9s ease-in-out infinite alternate;
}
@keyframes gmHeroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.85; }
    100% { transform: translate(-3%, 2%) scale(1.06); opacity: 1; }
}

.hero-avatar-stack {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-trust-row:hover .hero-avatar-stack:nth-child(1) { transform: translateY(-4px) rotate(-4deg); }
.hero-trust-row:hover .hero-avatar-stack:nth-child(2) { transform: translateY(-6px); }
.hero-trust-row:hover .hero-avatar-stack:nth-child(3) { transform: translateY(-4px) rotate(4deg); }

.intro-visual-wrap.gm-visible .intro-float-card {
    animation: gmFloat 4.5s ease-in-out infinite;
}
.intro-float-card.gm-visible {
    animation: gmFloat 4.5s ease-in-out infinite;
}
@keyframes gmFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.trust-strip-item.gm-visible .trust-strip-icon {
    animation: gmIconPop 0.65s cubic-bezier(0.34, 1.45, 0.64, 1) both;
    animation-delay: var(--gm-delay, 0ms);
}
@keyframes gmIconPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.why-card,
.testimonial-card,
.city-card,
.ref-expert-horizontal-card,
.cta-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.why-card:hover,
.testimonial-card:hover,
.city-card:hover {
    transform: translateY(-8px);
}
.ref-expert-horizontal-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 36px rgba(var(--primary-rgb), 0.14);
}

.btn-accent,
.banner-submit-btn,
.btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-accent::after,
.banner-submit-btn::after,
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}
.btn-accent:hover::after,
.banner-submit-btn:hover::after,
.btn-primary:hover::after {
    left: 140%;
}

.cta-discount-circle.gm-visible {
    animation: gmCtaPulse 2.8s ease-in-out infinite;
}
@keyframes gmCtaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-actions .float-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-actions .float-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ref-pill {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ref-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.12);
}

.accordion-item.gm-visible .accordion-button.collapsed {
    transition: background 0.25s ease;
}

.gm-countup {
    display: inline-block;
    min-width: 2ch;
}

@media (prefers-reduced-motion: reduce) {
    .gm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .gm-hero-in {
        opacity: 1;
        animation: none;
    }
    .ref-hero-section::before,
    .intro-visual-wrap.gm-visible .intro-float-card,
    .intro-float-card.gm-visible,
    .cta-discount-circle.gm-visible,
    .trust-strip-item.gm-visible .trust-strip-icon {
        animation: none;
    }
    .why-card:hover,
    .testimonial-card:hover,
    .city-card:hover,
    .ref-expert-horizontal-card:hover {
        transform: none;
    }
}
