/* ============================================================
   Homepage Beautification - Modern UI/UX 2026
   ศูนย์รับแปลเอกสาร.com
   ============================================================ */

/* === Hero Section === */
.hero-section-home {
    background-image:
        linear-gradient(90deg, rgba(5, 47, 80, 0.72) 0%, rgba(13, 91, 140, 0.60) 48%, rgba(7, 45, 77, 0.56) 100%),
        url('../images/background/main/hero-translation-blue.png');
    background-size: 100% 100%, 100% 100%;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    padding: 60px 40px;
    aspect-ratio: 2038 / 772;
    box-sizing: border-box;
    min-height: 0;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(23, 119, 168, 0.3);
}

.hero-section-home {
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.hero-section-home {
    border-radius: 0;
}

.hero-section-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.18) 100%);
    opacity: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 96px));
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(-6px);
}

.hero-content::before {
    content: '';
    display: block;
    width: 86px;
    height: 4px;
    margin: 0 auto 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,194,128,0.95));
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.hero-content h1 {
    color: white;
    font-size: clamp(40px, 3.6vw, 58px);
    font-weight: 700;
    margin: 0;
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 4px 18px rgba(0,0,0,0.38);
}

.hero-content h1 span {
    display: block;
}

.hero-content h1 span + span {
    margin-top: 4px;
}

.hero-content p {
    color: rgba(255,255,255,0.95);
    width: min(1080px, 100%);
    font-size: clamp(18px, 1.35vw, 21px);
    font-weight: 600;
    margin: 24px auto 36px;
    line-height: 1.65;
    text-shadow: 0 3px 14px rgba(0,0,0,0.42);
    text-wrap: pretty;
}

.hero-content p strong {
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: min(860px, 100%);
}

.hero-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    min-width: 315px;
    padding: 17px 34px;
    border-radius: 50px;
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.hero-cta .cta-button.primary {
    background: white;
    color: var(--site-action-on-light, #c2410c);
}

.hero-cta .cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-cta .cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-cta .cta-button.secondary:hover {
    background: white;
    color: var(--site-action-on-light, #c2410c);
    transform: translateY(-3px);
}

/* === Statistics Section === */
.stats-section-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #1f1c1c 0%, #2a2525 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    color: #e96524;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(233, 101, 36, 0.3);
}

.stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
}

/* === Language Grid Section === */
.language-grid-home {
    margin: 40px 0;
    padding: 40px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.language-grid-home h2 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.language-grid-home h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #e96524);
    border-radius: 2px;
}

.language-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

.language-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    min-height: 150px;
    justify-content: center;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.language-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: #f97316;
}

.language-card .flag {
    display: block;
    width: 76px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.language-card:hover .flag {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.language-card .name {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* === Why Choose Us Section === */
.why-choose-us-home {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 100%);
    border-radius: 20px;
    border: 1px solid #fbbf24;
}

.why-choose-us-home h2 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.why-choose-us-home h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #e96524);
    border-radius: 2px;
}

.benefits-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-item-home {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
}

.benefit-item-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.benefit-item-home i {
    font-size: 40px;
    color: #f97316;
    margin-bottom: 15px;
    display: block;
}

.benefit-item-home h3 {
    color: #1f2937;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.benefit-item-home p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* === Process Flow Section === */
.process-flow-home {
    margin: 40px 0;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.process-flow-home h2 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.process-flow-home h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #e96524);
    border-radius: 2px;
}

.process-steps-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step-home {
    text-align: center;
    padding: 25px 15px;
    background: #f8fafc;
    border-radius: 16px;
    position: relative;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.process-step-home:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.step-number-home {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316, #bd172d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(214, 7, 34, 0.3);
}

.process-step-home h3 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.process-step-home p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* === Testimonials Section === */
.testimonials-section-home {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    border-radius: 20px;
    border: 1px solid #bbf7d0;
}

.testimonials-section-home h2 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.testimonials-section-home h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 2px;
}

.testimonials-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card-home {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    position: relative;
}

.testimonial-card-home::before {
    content: '\201C';
    font-size: 60px;
    color: #d1fae5;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text-home {
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    padding-top: 20px;
}

.testimonial-author-home {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author-home strong {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
}

.testimonial-author-home span {
    color: #6b7280;
    font-size: 13px;
}

/* === CTA Section === */
.cta-section-home {
    margin: 50px 0;
}

.cta-box-home {
    background: linear-gradient(135deg, #f97316 0%, #851020 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(214, 7, 34, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box-home::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box-home h2 {
    color: white;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 15px 0;
    position: relative;
}

.cta-box-home p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin: 0 0 25px 0;
    position: relative;
}

.cta-actions-home {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-actions-home .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-actions-home .cta-button.primary {
    background: white;
    color: var(--site-action-on-light, #c2410c);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-actions-home .cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-actions-home .cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-actions-home .cta-button.secondary:hover {
    background: white;
    color: var(--site-action-on-light, #c2410c);
}

/* === Modern Footer === */
.footer-modern {
    background: linear-gradient(135deg, #1f1c1c 0%, #2a2525 100%);
    width: 100%;
    max-width: none;
    padding: 60px 40px 30px;
    margin-top: 60px;
    border-radius: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e96524;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #e96524;
    transform: translateX(5px);
}

.footer-col ul li a::before {
    content: '\f105';
    font-family: FontAwesome;
    font-size: 12px;
    color: #e96524;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 10px 0;
}

.footer-col p i {
    color: #e96524;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

/* === Showcase Cards Enhancement === */
.showcase-home-enhanced .portlet {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
}

.showcase-home-enhanced .portlet:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* === Floating Contact Button === */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-contact a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.floating-contact a:hover {
    transform: translateY(-5px) scale(1.1);
}

.floating-contact .phone-btn {
    background: linear-gradient(135deg, #10b981, #059669);
}

.floating-contact .line-btn {
    background: linear-gradient(135deg, #06c755, #05a846);
}

/* === Scroll Animation Classes === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

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

/* === Mobile Responsive === */
@media (max-width: 1024px) {
    .benefits-grid-home,
    .process-steps-home {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section-home {
        aspect-ratio: auto;
        min-height: 420px;
        padding: 56px 22px;
        background-size: auto 100%, auto 100%;
        background-position: center center, center center;
    }

    .hero-content {
        width: min(100%, 680px);
        transform: none;
    }

    .hero-content::before {
        width: 68px;
        margin-bottom: 18px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.25;
    }
    
    .hero-content p {
        font-size: 16px;
        margin: 18px auto 26px;
        line-height: 1.7;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .cta-button {
        width: 100%;
        max-width: 330px;
        min-width: 0;
        justify-content: center;
    }
    
    .stats-section-home {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .language-grid-home,
    .why-choose-us-home,
    .process-flow-home,
    .testimonials-section-home,
    .cta-box-home {
        padding: 30px 20px;
    }
    
    .language-grid-home h2,
    .why-choose-us-home h2,
    .process-flow-home h2,
    .testimonials-section-home h2 {
        font-size: 22px;
    }
    
    .language-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid-home,
    .process-steps-home,
    .testimonials-grid-home {
        grid-template-columns: 1fr;
    }
    
    .footer-modern {
        padding: 40px 20px 20px;
        border-radius: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-contact a {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section-home {
        min-height: 470px;
        padding: 44px 18px 104px;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content::before {
        width: 56px;
        margin-bottom: 14px;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.22;
        max-width: 340px;
    }

    .hero-content p {
        max-width: 350px;
        margin: 14px auto 20px;
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-cta {
        gap: 10px;
    }

    .hero-cta .cta-button {
        max-width: 310px;
        min-height: 52px;
        padding: 14px 20px;
        font-size: 18px;
    }
    
    .language-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .language-card {
        min-height: 135px;
        padding: 22px 12px;
    }

    .language-card .flag {
        width: 66px;
        height: 47px;
    }
    
    .stats-section-home {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        display: none;
    }
}

/* Full-width layout for homepage */
#content {
    --homepage-content-pad: 20px;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--homepage-content-pad);
}

.hidable-container {
    width: 100% !important;
    float: none !important;
}

#content.homepage-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#content.homepage-content {
    width: 100% !important;
    max-width: none;
    margin: 0;
    padding: 0;
    /* Keep horizontal decoration clipped without turning #content into a
       second vertical scroll container. */
    overflow-x: clip;
    overflow-y: visible;
}

#content.homepage-content > #viewcart-box-no-sidebar {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#content.homepage-content > .hidable-container {
    width: min(100%, 1200px) !important;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--homepage-content-pad);
    padding-right: var(--homepage-content-pad);
    box-sizing: border-box;
}

#content.homepage-content > .home-hero-container {
    position: relative;
    left: 50%;
    width: 100vw !important;
    max-width: 100vw;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    box-sizing: border-box;
}

#content.homepage-content > .home-hero-container .hidable,
#content.homepage-content > .home-hero-container .hidable-content {
    margin: 0 !important;
    padding: 0 !important;
}

#content.homepage-content .hero-section-home {
    width: 100vw !important;
    max-width: 100vw;
    margin: 0 0 40px !important;
}

/* Featured language card */
.language-card.featured {
    border: 2px solid #f97316;
    position: relative;
}

.language-card .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #f97316;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Testimonial rating */
.testimonial-rating {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Process CTA */
.process-cta {
    text-align: center;
    margin-top: 30px;
}

.cta-button-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f97316, #851020);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 7, 34, 0.4);
}

/* Language note */
.language-note {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-top: 20px;
}

/* Footer social */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #e96524;
    transform: translateY(-3px);
}

/* Footer trust */
.footer-trust {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    margin-top: 10px;
}

/* Stat sub */
.stat-sub {
    display: block;
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    margin-top: 5px;
}

/* CTA tertiary button */
.hero-cta .cta-button.tertiary,
.cta-actions-home .cta-button.tertiary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.hero-cta .cta-button.tertiary:hover,
.cta-actions-home .cta-button.tertiary:hover {
    background: white;
    color: var(--site-action-on-light, #c2410c);
    border-color: white;
}

/* Language card position relative */
.language-card {
    position: relative;
    overflow: visible;
}

/* Credibility Section */
.credibility-section {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
    margin: 30px 0;
}

.credibility-section h2 {
    color: #1e3a5f;
    font-size: 24px;
    margin-bottom: 30px;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.credibility-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
}

.credibility-item i {
    font-size: 30px;
    color: #f97316;
    min-width: 40px;
}

.credibility-content h3 {
    font-size: 16px;
    color: #1e3a5f;
    margin: 0 0 5px 0;
}

.credibility-content p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

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

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

/* Footer Trust Section */
.footer-trust-section {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.trust-badge i {
    color: #4ade80;
    font-size: 18px;
}

@media (max-width: 768px) {
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #ffffff;
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
    border: 2px solid rgba(255,255,255,0.15);
}

.welcome-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
}

.welcome-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.welcome-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.welcome-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.welcome-feature i {
    font-size: 22px;
    color: #fbbf24;
}

/* Service Highlights */
.service-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.highlight-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.highlight-card i {
    font-size: 40px;
    color: #f97316;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 18px;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.highlight-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

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

/* Contact Info Banner */
.contact-info-banner {
    background: linear-gradient(135deg, #f97316 0%, #851020 100%);
    padding: 40px 30px;
    border-radius: 12px;
    margin: 40px 0;
    border: 2px solid rgba(255,255,255,0.15);
}

.contact-info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    color: white;
}

.contact-info-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-info-content p {
    font-size: 16px;
}

.contact-info-actions {
    display: flex;
    gap: 15px;
}

.contact-info-actions .cta-button-step {
    background: white;
    color: var(--site-action-on-light, #c2410c);
}

.contact-info-actions .cta-button-step:hover {
    background: #f8f9fa;
}

.contact-info-actions .cta-button-step.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.contact-info-actions .cta-button-step.secondary:hover {
    background: white;
    color: var(--site-action-on-light, #c2410c);
}

@media (max-width: 768px) {
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Customer Thank-You Section */
.customer-thankyou-section {
    background: #f8f9fa;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}

.customer-thankyou-section h2 {
    color: #1e3a5f;
    font-size: 24px;
    margin-bottom: 30px;
}

.customer-logos {
    max-width: 800px;
    margin: 0 auto 20px;
}

.customer-logos img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.customer-count {
    color: #6b7280;
    font-size: 16px;
}

/* === Services Overview Section === */
.services-overview-home {
    padding: 50px 30px;
    margin-bottom: 40px;
}

.services-overview-home h2 {
    text-align: center;
    color: #1e3a5f;
    font-size: 28px;
    margin-bottom: 40px;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item-home {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.service-item-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #f97316;
}

.service-item-home i {
    font-size: 36px;
    color: #f97316;
    margin-bottom: 15px;
    display: block;
}

.service-item-home h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.service-item-home p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

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

@media (max-width: 480px) {
    .services-grid-home {
        grid-template-columns: 1fr;
    }
}

/* === Trust & Credibility Section === */
.trust-credibility-home {
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
    padding: 60px 30px;
    border-radius: 16px;
    margin: 50px 0;
    color: white;
    border: 2px solid rgba(255,255,255,0.12);
}

.trust-credibility-home h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: white;
}

.trust-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item-home {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trust-item-home:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.trust-item-home i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #f97316;
}

.trust-item-home h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: white;
}

.trust-item-home p {
    font-size: 14px;
    margin: 0;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
}

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

@media (max-width: 480px) {
    .trust-grid-home {
        grid-template-columns: 1fr;
    }
}

/* Homepage contrast fixes for dark panels */
#content.homepage-content .descriptionContainer .description .welcome-section,
#content.homepage-content .descriptionContainer .description .trust-credibility-home,
#content.homepage-content .descriptionContainer .description .contact-info-banner {
    color: #ffffff !important;
}

#content.homepage-content .descriptionContainer .description .welcome-section {
    background: linear-gradient(135deg, #14365c 0%, #0f5f89 100%);
    box-shadow: 0 18px 38px rgba(14, 74, 110, 0.22);
}

#content.homepage-content .descriptionContainer .description .trust-credibility-home {
    background: linear-gradient(135deg, #06415f 0%, #0b6a93 100%);
    box-shadow: 0 20px 42px rgba(7, 89, 133, 0.2);
}

#content.homepage-content .descriptionContainer .description .contact-info-banner {
    background: linear-gradient(135deg, #ea580c 0%, #9f1239 100%);
    box-shadow: 0 18px 38px rgba(159, 18, 57, 0.18);
}

#content.homepage-content .descriptionContainer .description .welcome-section h2,
#content.homepage-content .descriptionContainer .description .trust-credibility-home h2,
#content.homepage-content .descriptionContainer .description .trust-credibility-home h3,
#content.homepage-content .descriptionContainer .description .contact-info-content h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

#content.homepage-content .descriptionContainer .description .welcome-section p,
#content.homepage-content .descriptionContainer .description .welcome-section span,
#content.homepage-content .descriptionContainer .description .trust-credibility-home p,
#content.homepage-content .descriptionContainer .description .contact-info-content p {
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

#content.homepage-content .descriptionContainer .description .welcome-feature i,
#content.homepage-content .descriptionContainer .description .trust-item-home i {
    color: #ffb21f !important;
    text-shadow: none;
}

#content.homepage-content .descriptionContainer .description .trust-item-home {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#content.homepage-content .descriptionContainer .description .trust-item-home:hover {
    background: rgba(255, 255, 255, 0.24);
}

#content.homepage-content .descriptionContainer .description .contact-info-content a {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.55);
    text-underline-offset: 3px;
}

/* === Top Documents Section === */
.top-documents-home {
    padding: 50px 30px;
    margin: 40px 0;
    background: #f8fafc;
    border-radius: 16px;
}

.top-documents-home h2 {
    text-align: center;
    color: #1e3a5f;
    font-size: 26px;
    margin-bottom: 35px;
}

.top-docs-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.top-doc-item-home {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 18px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.top-doc-item-home:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    border-left: 4px solid #f97316;
}

.doc-rank {
    background: #f97316;
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    min-width: 45px;
    text-align: center;
}

.doc-name {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 16px;
}

.top-docs-cta-home {
    text-align: center;
}

@media (max-width: 768px) {
    .top-docs-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .top-docs-grid-home {
        grid-template-columns: 1fr;
    }
}

/* === FAQ Section === */
.faq-section-home {
    padding: 50px 30px;
    margin: 40px 0;
}

.faq-section-home h2 {
    text-align: center;
    color: #1e3a5f;
    font-size: 26px;
    margin-bottom: 30px;
}

.faq-section-home details {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section-home summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #1e3a5f;
    font-size: 16px;
    transition: all 0.3s ease;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section-home summary::before {
    content: '\f105';
    font-family: FontAwesome;
    font-size: 14px;
    color: #f97316;
    transition: transform 0.3s ease;
}

.faq-section-home details[open] summary::before {
    transform: rotate(90deg);
}

.faq-section-home summary:hover {
    background: #f8fafc;
}

.faq-section-home details p {
    padding: 0 25px 20px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.seo-guides-link {
    text-align: center;
    margin-bottom: 30px;
}

.seo-guides-link a {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
}

.seo-guides-link a:hover {
    text-decoration: underline;
}

/* === SEO Content Beautified Section === */
.seo-content-beautified {
    padding: 60px 30px;
    margin: 40px 0;
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%);
    border-radius: 24px;
    border: 1px solid #fde68a;
}

.seo-header-beautified {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.seo-header-beautified h2 {
    color: #1e3a5f;
    font-size: 30px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.seo-header-beautified h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #fb923c, #f97316);
    border-radius: 2px;
}

.seo-intro-beautified {
    color: #6b7280;
    font-size: 17px;
    line-height: 1.9;
    background: white;
    padding: 25px 30px;
    border-radius: 16px;
    border-left: 5px solid #f97316;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.08);
    margin-top: 25px;
}

/* Categories Section */
.seo-categories-beautified {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.seo-categories-beautified h3 {
    color: #1e3a5f;
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.seo-categories-beautified h3 i {
    color: #f97316;
    font-size: 28px;
}

.category-cards-beautified {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-card-beautified {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 28px 30px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid transparent;
}

.category-card-beautified:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.15);
    border-color: #f97316;
}

.category-icon-beautified {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.category-icon-beautified i {
    font-size: 28px;
    color: white;
}

.category-content-beautified {
    flex: 1;
}

.category-content-beautified h4 {
    color: #1e3a5f;
    font-size: 19px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.category-content-beautified h4 span {
    color: #f97316;
}

.category-content-beautified p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.category-arrow-beautified {
    color: #f97316;
    font-size: 18px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.category-card-beautified:hover .category-arrow-beautified {
    transform: translateX(5px);
    opacity: 1;
}

/* Requirements Section */
.seo-requirements-beautified {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.seo-requirements-beautified h3 {
    color: #1e3a5f;
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.seo-requirements-beautified h3 i {
    color: #f97316;
    font-size: 28px;
}

.requirements-grid-beautified {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.requirement-item-beautified {
    display: flex;
    gap: 18px;
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.requirement-item-beautified:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.12);
    border-color: #fed7aa;
}

.req-number-beautified {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    font-weight: 700;
    font-size: 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.req-content-beautified h4 {
    color: #1e3a5f;
    font-size: 17px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.req-content-beautified p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* Quality Check Section */
.seo-quality-beautified {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    border-left: 6px solid #10b981;
    position: relative;
    overflow: hidden;
}

.seo-quality-beautified::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.quality-header-beautified {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quality-header-beautified i {
    font-size: 36px;
    color: #10b981;
}

.quality-header-beautified h3 {
    color: #1e3a5f;
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.seo-quality-beautified > p {
    color: #6b7280;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 16px;
}

.quality-checklist-beautified {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quality-check-beautified {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e3a5f;
    font-weight: 600;
    font-size: 15px;
    background: #f0fdf4;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.quality-check-beautified i {
    color: #10b981;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-card-beautified {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .category-arrow-beautified {
        display: none;
    }
    
    .requirements-grid-beautified {
        grid-template-columns: 1fr;
    }
    
    .quality-checklist-beautified {
        grid-template-columns: 1fr;
    }
    
    .seo-quality-beautified {
        padding: 25px 20px;
    }
}

/* === Blog Preview Section === */
.blog-preview-home {
    padding: 50px 30px;
    margin: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: 20px;
}

.blog-preview-home h2 {
    text-align: center;
    color: #1e3a5f;
    font-size: 28px;
    margin-bottom: 40px;
}

.blog-preview-home h2 i {
    color: #f97316;
    margin-right: 10px;
}

.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.blog-card-home {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.blog-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #f97316;
}

.blog-icon-home {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f97316 0%, #ff4d6d 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-icon-home i {
    font-size: 26px;
    color: white;
}

.blog-content-home {
    flex: 1;
}

.blog-content-home h3 {
    color: #1e3a5f;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.blog-content-home p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.blog-readmore-home {
    color: #f97316;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-card-home:hover .blog-readmore-home {
    gap: 12px;
}

.blog-readmore-home i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.blog-card-home:hover .blog-readmore-home i {
    transform: translateX(4px);
}

.blog-cta-home {
    text-align: center;
}

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

@media (max-width: 768px) {
    .blog-grid-home {
        grid-template-columns: 1fr;
    }
    
    .blog-card-home {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* === Mobile Reading Enhancement === */
@media (max-width: 768px) {
    .welcome-section {
        padding: 30px 20px !important;
    }
    
    .welcome-card h2 {
        font-size: 22px !important;
        line-height: 1.4;
    }
    
    .welcome-subtitle {
        font-size: 16px !important;
        line-height: 1.6;
    }
    
    .welcome-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .welcome-feature {
        font-size: 15px !important;
    }
    
    .hero h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    .hero p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .stat-item {
        padding: 15px 10px !important;
    }
    
    .stat-number {
        font-size: 28px !important;
    }
    
    .stat-label {
        font-size: 13px !important;
    }
    
    .section-title {
        font-size: 22px !important;
    }
    
    .benefit-item-home {
        padding: 20px 15px !important;
    }
    
    .benefit-item-home h3 {
        font-size: 16px !important;
    }
    
    .benefit-item-home p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .language-grid-home {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .cta-section-home {
        padding: 30px 20px !important;
    }
    
    .cta-section-home h2 {
        font-size: 22px !important;
    }
    
    .cta-section-home p {
        font-size: 15px !important;
    }
    
    .faq-section .faq-item {
        padding: 15px !important;
    }
    
    .faq-section .faq-question {
        font-size: 15px !important;
    }
    
    .faq-section .faq-answer p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    .testimonials-section .testimonial-item {
        padding: 20px !important;
    }
    
    .testimonials-section .testimonial-text {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    .seo-content-section p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    
    .blog-card-home .blog-excerpt {
        font-size: 14px !important;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 20px !important;
    }
    
    .stat-number {
        font-size: 24px !important;
    }
    
    .trust-item-home {
        font-size: 13px !important;
    }
}

/* Touch-friendly */
@media (hover: none) and (pointer: coarse) {
    .cta-button-home,
    .service-cta-button {
        min-height: 52px;
        padding: 14px 28px;
    }
    
    .footer-modern a {
        padding: 8px 0;
    }
}

/* ========================================================================
   Smart ITL home v3 — cleaner editorial layout using the owner's imagery
   ======================================================================== */
:root {
    --home-v3-ink: #102a43;
    --home-v3-ink-soft: #526779;
    --home-v3-blue: #1769aa;
    --home-v3-teal: #0d8b8f;
    --home-v3-gold: #e5a33a;
    --home-v3-line: #dce8f0;
    --home-v3-paper: #f7fbfd;
}

html,
body,
#body-bg,
#wrapper {
    background: var(--home-v3-paper) !important;
}

body {
    color: var(--home-v3-ink);
    font-family: "Kanit", "kanit", Tahoma, sans-serif;
}

.standard-site-header {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid var(--home-v3-line);
}

.standard-site-brandbar,
.standard-site-menu-inner {
    width: min(1200px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 0 auto !important;
}

.standard-site-brandbar {
    min-height: 82px;
    padding: 12px 0 !important;
    display: flex !important;
    align-items: center;
}

.standard-site-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 16px;
    text-decoration: none !important;
}

.standard-site-brand img {
    width: 72px !important;
    height: 58px !important;
    object-fit: contain;
}

.standard-site-brand span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.standard-site-brand strong {
    color: var(--home-v3-ink) !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
}

.standard-site-brand small {
    color: var(--home-v3-ink-soft) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.standard-site-menu {
    background: var(--home-v3-ink) !important;
    border: 0 !important;
}

.standard-site-menu-inner {
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.standard-site-menu-inner::-webkit-scrollbar {
    display: none;
}

.standard-site-menu-inner > a,
.standard-site-menu-inner > details > summary {
    color: #e8f4fb !important;
    font-size: 12px !important;
    font-weight: 500;
    white-space: nowrap;
    padding: 15px 10px !important;
    text-decoration: none !important;
    transition: color .2s ease, background .2s ease;
}

.standard-site-menu-inner > a:hover,
.standard-site-menu-inner > details > summary:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .1);
}

.standard-site-menu-inner details {
    position: relative;
}

.standard-site-menu-inner details .standard-site-submenu {
    min-width: 280px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--home-v3-line);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(16, 42, 67, .18);
}

.standard-site-menu-inner details .standard-site-submenu a {
    display: block;
    padding: 9px 12px;
    color: var(--home-v3-ink);
    font-size: 12px;
    line-height: 1.45;
    border-radius: 8px;
}

.standard-site-menu-inner details .standard-site-submenu a:hover {
    background: #eef7fa;
}

#content.home-v3-enabled {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--home-v3-paper) !important;
}

.home-v3-root {
    overflow: hidden;
    background: var(--home-v3-paper);
}

.home-v3-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.home-v3-hero {
    position: relative;
    background:
        radial-gradient(circle at 76% 24%, rgba(81, 180, 188, .14), transparent 25%),
        linear-gradient(135deg, #f7fcff 0%, #eef7fb 55%, #e6f2f5 100%);
}

.home-v3-hero::after {
    position: absolute;
    right: -130px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(23, 105, 170, .11);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 36px rgba(23, 105, 170, .035), 0 0 0 72px rgba(23, 105, 170, .025);
}

.home-v3-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr);
    gap: 70px;
    align-items: center;
    min-height: 585px;
    padding-top: 70px;
    padding-bottom: 74px;
}

.home-v3-hero-copy {
    max-width: 620px;
}

.home-v3-eyebrow,
.home-v3-kicker {
    margin: 0 0 18px;
    color: var(--home-v3-teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.home-v3-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
}

.home-v3-eyebrow-dot {
    width: 9px;
    height: 9px;
    background: var(--home-v3-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(229, 163, 58, .15);
}

.home-v3-hero h1 {
    max-width: 650px;
    margin: 0;
    color: var(--home-v3-ink);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.home-v3-hero h1 em {
    display: inline-block;
    color: var(--home-v3-blue);
    font-style: normal;
}

.home-v3-lead {
    max-width: 570px;
    margin: 24px 0 0;
    color: var(--home-v3-ink-soft);
    font-size: 17px;
    line-height: 1.85;
}

.home-v3-actions,
.home-v3-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-v3-actions {
    margin-top: 30px;
}

.home-v3-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.home-v3-button:hover {
    transform: translateY(-2px);
}

.home-v3-button-primary {
    color: #fff !important;
    background: var(--home-v3-blue);
    box-shadow: 0 10px 22px rgba(23, 105, 170, .22);
}

.home-v3-button-primary:hover {
    background: #125887;
    box-shadow: 0 14px 28px rgba(23, 105, 170, .27);
}

.home-v3-button-ghost {
    color: var(--home-v3-ink) !important;
    background: #fff;
    border: 1px solid #cbdde7;
}

.home-v3-button-ghost:hover {
    border-color: var(--home-v3-teal);
    box-shadow: 0 8px 20px rgba(16, 42, 67, .08);
}

.home-v3-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 22px;
    color: #557082;
    font-size: 13px;
}

.home-v3-assurance i {
    margin-right: 5px;
    color: var(--home-v3-teal);
}

.home-v3-hero-media {
    position: relative;
    padding: 18px 10px 34px 20px;
}

.home-v3-image-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.22;
    border: 9px solid #fff;
    border-radius: 28px;
    background: #dceef2;
    box-shadow: 0 24px 48px rgba(16, 42, 67, .17);
    transform: rotate(1.8deg);
}

.home-v3-image-frame::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 48%, rgba(5, 28, 48, .7) 100%);
    content: "";
}

.home-v3-image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-v3-image-caption {
    position: absolute;
    right: 23px;
    bottom: 20px;
    left: 23px;
    z-index: 2;
    color: #fff;
}

.home-v3-image-caption span,
.home-v3-image-caption strong {
    display: block;
}

.home-v3-image-caption span {
    margin-bottom: 4px;
    color: #bfe8e4;
    font-size: 12px;
}

.home-v3-image-caption strong {
    font-size: 19px;
    font-weight: 600;
}

.home-v3-float-card {
    position: absolute;
    right: -6px;
    bottom: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 235px;
    padding: 13px 16px 13px 13px;
    background: #fff;
    border: 1px solid rgba(220, 232, 240, .9);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(16, 42, 67, .18);
    transform: rotate(-2deg);
}

.home-v3-float-icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    color: #fff;
    background: var(--home-v3-teal);
    border-radius: 12px;
}

.home-v3-float-card strong,
.home-v3-float-card small {
    display: block;
}

.home-v3-float-card strong {
    color: var(--home-v3-ink);
    font-size: 14px;
}

.home-v3-float-card small {
    margin-top: 2px;
    color: var(--home-v3-ink-soft);
    font-size: 11px;
}

.home-v3-stamp {
    position: absolute;
    top: -4px;
    left: -3px;
    display: flex;
    width: 86px;
    height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--home-v3-gold);
    border: 7px solid #f7fcff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(16, 42, 67, .13);
    transform: rotate(-9deg);
}

.home-v3-stamp strong {
    font-size: 25px;
    line-height: 1;
}

.home-v3-stamp sup {
    font-size: 13px;
}

.home-v3-stamp span {
    margin-top: 4px;
    font-size: 10px;
}

.home-v3-metrics {
    position: relative;
    z-index: 2;
    background: var(--home-v3-ink);
}

.home-v3-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.home-v3-metric {
    position: relative;
    display: flex;
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
    padding: 20px 28px;
    color: #fff;
}

.home-v3-metric + .home-v3-metric::before {
    position: absolute;
    top: 27px;
    bottom: 27px;
    left: 0;
    width: 1px;
    background: rgba(255, 255, 255, .17);
    content: "";
}

.home-v3-metric strong {
    color: #fff;
    font-size: 32px;
    line-height: 1;
}

.home-v3-metric strong span {
    color: #8ad1cb;
    font-size: .55em;
}

.home-v3-metric > span {
    margin-top: 8px;
    color: #bdd0dc;
    font-size: 13px;
}

.home-v3-section {
    padding: 94px 0;
}

.home-v3-section-heading {
    max-width: 680px;
    margin-bottom: 38px;
}

.home-v3-section-heading-centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-v3-section-heading .home-v3-kicker {
    margin-bottom: 11px;
}

.home-v3-section-heading h2,
.home-v3-proof h2,
.home-v3-final-cta h2 {
    margin: 0;
    color: var(--home-v3-ink);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.home-v3-section-heading > p:last-child,
.home-v3-proof-copy > p {
    margin: 14px 0 0;
    color: var(--home-v3-ink-soft);
    font-size: 16px;
    line-height: 1.8;
}

.home-v3-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-v3-service-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr 18px;
    gap: 14px;
    align-items: start;
    min-height: 128px;
    padding: 23px 19px;
    background: #fff;
    border: 1px solid var(--home-v3-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 42, 67, .035);
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-v3-service-card:hover {
    border-color: #8dc8cf;
    box-shadow: 0 16px 30px rgba(16, 42, 67, .1);
    transform: translateY(-4px);
}

.home-v3-service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--home-v3-teal), var(--home-v3-blue));
    border-radius: 15px;
}

.home-v3-service-icon i {
    font-size: 21px;
}

.home-v3-service-card strong,
.home-v3-service-card small {
    display: block;
}

.home-v3-service-card strong {
    color: var(--home-v3-ink);
    font-size: 17px;
    line-height: 1.35;
}

.home-v3-service-card small {
    margin-top: 7px;
    color: var(--home-v3-ink-soft);
    font-size: 12px;
    line-height: 1.55;
}

.home-v3-card-arrow {
    padding-top: 18px;
    color: #87a6b7;
    font-size: 12px;
    transition: color .2s ease, transform .2s ease;
}

.home-v3-service-card:hover .home-v3-card-arrow {
    color: var(--home-v3-teal);
    transform: translateX(3px);
}

.home-v3-inline-note {
    width: fit-content;
    max-width: 100%;
    margin: 26px auto 0;
    padding: 11px 18px;
    color: #416577;
    background: #e8f5f5;
    border-radius: 999px;
    font-size: 13px;
    text-align: center;
}

.home-v3-inline-note i {
    margin-right: 7px;
    color: var(--home-v3-teal);
}

.home-v3-section-tint {
    background: #edf5f8;
}

.home-v3-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-v3-process-step {
    position: relative;
    padding: 28px 22px 24px;
    background: #fff;
    border: 1px solid #d8e7ed;
    border-radius: 18px;
}

.home-v3-process-step > span {
    position: absolute;
    top: 16px;
    right: 18px;
    color: #b8d0d9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-v3-process-step > i {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--home-v3-teal);
    background: #e5f4f4;
    border-radius: 13px;
    font-size: 19px;
}

.home-v3-process-step h3 {
    margin: 0;
    color: var(--home-v3-ink);
    font-size: 17px;
}

.home-v3-process-step p {
    margin: 8px 0 0;
    color: var(--home-v3-ink-soft);
    font-size: 13px;
    line-height: 1.65;
}

.home-v3-proof {
    padding: 100px 0;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 139, 143, .28), transparent 36%),
        var(--home-v3-ink);
}

.home-v3-proof-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 70px;
    align-items: center;
}

.home-v3-proof .home-v3-kicker {
    color: #83d2cc;
}

.home-v3-proof h2 {
    color: #fff;
}

.home-v3-proof-copy > p {
    color: #bfd0db;
}

.home-v3-proof-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.home-v3-proof-list > div {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.home-v3-proof-list i {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    color: #8ad1cb;
    background: rgba(138, 209, 203, .12);
    border-radius: 10px;
}

.home-v3-proof-list strong,
.home-v3-proof-list small {
    display: block;
}

.home-v3-proof-list strong {
    color: #fff;
    font-size: 15px;
}

.home-v3-proof-list small {
    margin-top: 2px;
    color: #a9c1ce;
    font-size: 12px;
}

.home-v3-text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 32px;
    color: #f2c36e !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.home-v3-text-link:hover {
    color: #fff !important;
}

.home-v3-gallery {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.home-v3-gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 155px;
    margin: 0;
    background: #214761;
    border: 4px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
}

.home-v3-gallery-large {
    grid-row: span 2;
}

.home-v3-gallery-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-v3-gallery-card:hover img {
    transform: scale(1.045);
}

.home-v3-gallery-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(5, 28, 48, .78));
    content: "";
}

.home-v3-gallery-card figcaption {
    position: absolute;
    right: 14px;
    bottom: 12px;
    left: 14px;
    z-index: 1;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.home-v3-trust-section {
    background: #fff;
}

.home-v3-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-v3-trust-grid > div {
    padding: 24px 20px;
    border: 1px solid var(--home-v3-line);
    border-radius: 17px;
}

.home-v3-trust-grid i {
    color: var(--home-v3-teal);
    font-size: 24px;
}

.home-v3-trust-grid h3 {
    margin: 15px 0 8px;
    color: var(--home-v3-ink);
    font-size: 17px;
}

.home-v3-trust-grid p {
    margin: 0;
    color: var(--home-v3-ink-soft);
    font-size: 13px;
    line-height: 1.7;
}

.home-v3-faq-section {
    background: #f1f7fa;
}

.home-v3-faq-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    align-items: start;
}

.home-v3-faq-list {
    display: grid;
    gap: 10px;
}

.home-v3-faq-list details {
    padding: 0 20px;
    background: #fff;
    border: 1px solid var(--home-v3-line);
    border-radius: 13px;
}

.home-v3-faq-list summary {
    position: relative;
    padding: 18px 25px 18px 0;
    color: var(--home-v3-ink);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    list-style: none;
}

.home-v3-faq-list summary::-webkit-details-marker {
    display: none;
}

.home-v3-faq-list summary::after {
    position: absolute;
    top: 18px;
    right: 0;
    color: var(--home-v3-teal);
    content: "+";
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.home-v3-faq-list details[open] summary::after {
    content: "−";
}

.home-v3-faq-list details p {
    margin: -2px 0 18px;
    padding-top: 14px;
    color: var(--home-v3-ink-soft);
    border-top: 1px solid #e7eff3;
    font-size: 13px;
    line-height: 1.8;
}

.home-v3-final-cta {
    color: #fff;
    background: linear-gradient(110deg, #1769aa 0%, #0d8b8f 100%);
}

.home-v3-final-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    padding-top: 58px;
    padding-bottom: 58px;
}

.home-v3-final-cta .home-v3-kicker {
    margin-bottom: 10px;
    color: #b7ece8;
}

.home-v3-final-cta h2 {
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
}

.home-v3-final-cta p:last-child {
    margin: 9px 0 0;
    color: #d6f1f0;
    font-size: 15px;
}

.home-v3-button-light {
    color: var(--home-v3-ink) !important;
    background: #fff;
}

.home-v3-button-outline-light {
    color: #fff !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .65);
}

.home-v3-button-outline-light:hover {
    background: rgba(255, 255, 255, .12);
}

.cta-section-home {
    display: none !important;
}

.footer-modern {
    background: #0b1d30 !important;
}

.floating-contact a {
    background: var(--home-v3-teal) !important;
}

@media (max-width: 1020px) {
    .standard-site-menu-inner {
        justify-content: flex-start;
    }

    .home-v3-hero-grid {
        grid-template-columns: 1fr .85fr;
        gap: 35px;
    }

    .home-v3-hero h1 {
        font-size: clamp(37px, 5vw, 52px);
    }

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

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

@media (max-width: 760px) {
    .standard-site-brandbar,
    .standard-site-menu-inner,
    .home-v3-shell {
        width: min(100% - 32px, 600px) !important;
    }

    .standard-site-brand strong {
        font-size: 16px !important;
    }

    .standard-site-brand small {
        font-size: 10px !important;
    }

    .home-v3-hero-grid,
    .home-v3-proof-grid,
    .home-v3-faq-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .home-v3-hero-grid {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .home-v3-hero h1 {
        font-size: clamp(35px, 10vw, 48px);
    }

    .home-v3-lead {
        font-size: 15px;
    }

    .home-v3-hero-media {
        max-width: 560px;
        margin: 0 auto;
        padding-right: 16px;
        padding-left: 7px;
    }

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

    .home-v3-metric {
        min-height: 95px;
        padding: 16px 20px;
    }

    .home-v3-metric:nth-child(odd)::before {
        display: none;
    }

    .home-v3-metric:nth-child(n+3)::after {
        position: absolute;
        top: 0;
        right: 20px;
        left: 20px;
        height: 1px;
        background: rgba(255, 255, 255, .17);
        content: "";
    }

    .home-v3-section,
    .home-v3-proof {
        padding: 68px 0;
    }

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

    .home-v3-final-inner {
        display: block;
    }

    .home-v3-final-actions {
        margin-top: 24px;
    }
}

@media (max-width: 500px) {
    .standard-site-brandbar {
        min-height: 70px;
    }

    .standard-site-brand img {
        width: 58px !important;
        height: 48px !important;
    }

    .standard-site-brand {
        gap: 10px;
    }

    .standard-site-brand strong {
        font-size: 14px !important;
    }

    .standard-site-brand small {
        display: none;
    }

    .home-v3-actions,
    .home-v3-final-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-v3-button {
        width: 100%;
    }

    .home-v3-assurance {
        flex-direction: column;
        gap: 8px;
    }

    .home-v3-service-grid,
    .home-v3-process-grid,
    .home-v3-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-v3-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .home-v3-gallery-card {
        min-height: 130px;
        border-width: 3px;
        border-radius: 13px;
    }

    .home-v3-gallery-large {
        grid-row: span 2;
    }

    .home-v3-gallery-card figcaption {
        right: 9px;
        bottom: 8px;
        left: 9px;
        font-size: 11px;
    }

    .home-v3-inline-note {
        border-radius: 14px;
        font-size: 12px;
        line-height: 1.5;
    }
}
