/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
    --primary: #004D99; /* Subaru/Trust Blue */
    --primary-light: #0066CC;
    --primary-dark: #003366;
    --secondary: #0f172a; /* Slate 900 - Deep Space */
    --accent: #E11D25; /* Subaru Red / Attention */
    --line: #06C755;
    
    --bg-main: #f8fafc;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    
    --border-radius: 12px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 35px -5px rgba(0, 102, 204, 0.15), 0 10px 15px -5px rgba(0, 102, 204, 0.1);
}

.pc-only { display: inline !important; }
.sp-only { display: none !important; }
br.sp-only { display: none !important; }
.sp-line { display: inline; }

@media (max-width: 992px) {
    .pc-only { display: none !important; }
    .sp-only { display: inline !important; }
    br.sp-only { display: inline !important; }
    .sp-line {
        display: inline-block;
        white-space: nowrap !important;
        max-width: 100%;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

html {
    font-size: 16px;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.pb-0 {
    padding-bottom: 0 !important;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.font-number {
    font-family: 'Oswald', sans-serif;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 102, 204, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 20px;
}

.bg-light {
    background-color: var(--surface-alt);
}

/* ==========================================================================
   Intro Loader (WOW Effect)
   ========================================================================== */
.intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.intro-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.intro-logo-img {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
    display: block;
    width: 85vw;
    max-width: 650px;
    height: auto;
    filter: blur(15px) brightness(1.2);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.intro-loader.active .intro-logo-img {
    filter: blur(0) brightness(1);
    opacity: 1;
    transform: scale(1);
}

.intro-loader.logo-out .intro-logo-img {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(10px);
}

@keyframes logoShimmer {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3) drop-shadow(0 0 20px rgba(255,255,255,0.4)); }
    100% { filter: brightness(1); }
}

.intro-logo .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-logo .word:nth-child(2) {
    animation-delay: 0.3s;
    color: var(--primary-light);
}

.intro-sub {
    font-family: 'Oswald', sans-serif;
    color: var(--accent);
    letter-spacing: 12px;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: fadeIn 1.2s ease 0.6s forwards;
}

.intro-logo {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), font-size 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animations applied via JS classes */
.intro-loader.finish {
    opacity: 0;
    pointer-events: none;
}

.intro-loader.done {
    display: none;
}

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

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 77, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 77, 153, 0.4);
}

.btn-line {
    background: #06C755 !important;
    color: white !important;
}

.btn-line:hover {
    background: #05a346 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--primary);
}

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

.btn-line {
    background: var(--line);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.btn-large .btn-text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-large .btn-number {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary); /* Solid Navy */
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: var(--primary-dark);
}

.header .logo-text, .header .nav a {
    color: #ffffff !important;
}

.header .nav a:hover {
    color: var(--accent) !important;
}

.btn-contact-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(0, 77, 153, 0.2);
    font-size: 0.95rem;
    padding: 10px 24px;
}

.btn-contact-header:hover {
    box-shadow: 0 8px 25px rgba(0, 77, 153, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff !important;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.5s ease;
}

.nav {
    display: block;
}

.nav ul {
    display: flex;
    gap: 32px;
}

.nav a {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #f8fafc; /* Match page bg */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: scale(1);
    z-index: -2;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.08);
    transition: opacity 1.5s ease-in-out, transform 5.5s ease-out;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.4) 0%,
        rgba(15, 23, 42, 0.6) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 950px;
    padding: 0 24px; /* Pattern B: No box padding */
    color: var(--text-inverse);
    z-index: 10;
    /* Pattern A (Glassmorphism) - Kept for reference
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    */
}

.hero-catch {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
    color: white;
    /* Pattern B: Extra Thick Outline (Navy) */
    text-shadow: 
        2px 2px 0 #0f172a,
        -2px -2px 0 #0f172a,
        2px -2px 0 #0f172a,
        -2px 2px 0 #0f172a,
        0 2px 0 #0f172a,
        2px 0 0 #0f172a,
        0 -2px 0 #0f172a,
        -2px 0 0 #0f172a,
        0 10px 20px rgba(0,0,0,0.8);
}

.hero-catch .highlight {
    color: #38bdf8;
    text-shadow: none; /* Keep highlight clean */
}

.hero-sub {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 1;
    color: white;
    /* Pattern B: Clear Outline (Navy) */
    text-shadow: 
        1.5px 1.5px 0 #0f172a,
        -1px -1px 0 #0f172a,
        1.5px -1px 0 #0f172a,
        -1px 1.5px 0 #0f172a,
        0 5px 10px rgba(0,0,0,0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1.2s ease 2s forwards;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin-bottom: 8px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

.scroll-indicator p {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ==========================================================================
   Rainbow Club Featured Section
   ========================================================================== */
.rainbow-feature {
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../0707306_Pit_Shp_06.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

@media (max-width: 768px) {
    .rainbow-feature {
        background-attachment: scroll;
    }
}


.rainbow-feature .section-title {
    color: #ffffff; /* Ensure title is white */
}

.rainbow-feature .highlight {
    color: #ffff00; /* Vivid Lemon Yellow */
    text-shadow: 0 0 20px rgba(255, 255, 0, 0.5);
    font-weight: 900;
}

.rainbow-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.rainbow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 45px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.rainbow-content { grid-area: auto; }
.rainbow-image { grid-area: auto; }

.rainbow-badge-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.rainbow-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rainbow-badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    white-space: nowrap !important; /* Prevent 2-line break on mobile */
}

@media (max-width: 992px) {
    .rainbow-badge-trust {
        font-size: 0.9rem !important;
        padding: 6px 14px !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
    }
}

/* Bottom Centered CTA Button Container */

.rainbow-title {
    font-size: 3.2rem;
    margin-bottom: 16px;
    line-height: 1.25;
    font-weight: 900;
    color: #ffffff;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.rainbow-text {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.rainbow-benefits {
    display: flex;
    gap: 25px;
    margin-bottom: 22px;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.benefit i {
    font-size: 28px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.benefit span {
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
}

.rainbow-image {
    position: relative;
    z-index: 2;
}

.rainbow-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.rainbow-feature.active .rainbow-content {
    opacity: 1;
    transform: translateX(0);
}

.rainbow-content {
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateX(300px);
}

.rainbow-feature.active .rainbow-content {
    opacity: 1;
    transform: translateX(0);
}

.rainbow-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateX(-300px);
}

.rainbow-feature.active .rainbow-img {
    opacity: 1;
    transform: translateX(0);
}

.rainbow-img:hover {
    transform: scale(1.02) !important;
}

.rainbow-manga-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--primary-light);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.rainbow-manga-link:hover {
    color: white;
}

@media (max-width: 992px) {
    .rainbow-grid {
        display: flex;
        flex-direction: column;
        grid-template-areas: none;
        gap: 30px;
        text-align: center;
    }
    
    .rainbow-content {
        order: 1;
        transform: translateX(50px);
    }
    
    .rainbow-image {
        order: 2;
        margin: 20px 0;
    }
    
    .rainbow-cta {
        order: 3;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease 0.5s;
    }
    
    .rainbow-feature.active .rainbow-cta {
        opacity: 1;
        transform: translateY(0);
    }
    
    .rainbow-title {
        font-size: 2.2rem;
    }
    
    .rainbow-benefits {
        justify-content: center;
    }
    
    .rainbow-img {
        transform: translateX(-50px);
    }
}

/* ==========================================================================
   Services Section & Cards
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 35px 28px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 102, 204, 0.15);
}

.card-icon-wrapper {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 77, 153, 0.15);
}

.service-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
    box-shadow: 0 8px 20px rgba(225, 29, 37, 0.25);
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--secondary);
    font-weight: 700;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Homepage Blog Section
   ========================================================================== */
.home-blog {
    background-color: var(--surface-alt);
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.home-blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.home-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 102, 204, 0.1);
}

.home-blog-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.home-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.home-blog-card:hover .home-blog-thumb img {
    transform: scale(1.03);
}

.home-blog-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-blog-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    align-items: center;
}

.home-blog-meta .category-badge {
    background: var(--primary-light);
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
}

.home-blog-body h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--secondary);
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: var(--transition-fast);
}

.home-blog-card:hover .home-blog-more {
    color: var(--accent);
    gap: 10px;
}

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

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 90%;
    max-width: 600px;
    background: var(--surface);
    border-radius: var(--border-radius);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal.active, .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.modal-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    background: var(--surface-alt);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.modal-header h4 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--secondary);
}

.modal-body {
    padding: 0;
    overflow-y: auto;
}

.modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.modal-body p, .modal-body ul {
    padding: 0 24px;
}

.modal-body p {
    margin-top: 20px;
    color: var(--text-main);
}

.modal-body ul {
    margin: 20px 24px 30px;
}

.modal-body li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    color: var(--text-muted);
}

.modal-body li i {
    position: absolute;
    left: 0;
    top: 4px;
}

/* ==========================================================================
   Showcase / Trust Section
   ========================================================================== */
.trust {
    position: relative;
    padding: 120px 0;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .trust {
        background-attachment: scroll;
    }
}

.trust-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); 
    z-index: 1;
}

.trust .container {
    position: relative;
    z-index: 2;
}

.trust-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 24px;
}

.trust-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 60px;
}

.trust-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.stat-unit {
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* ==========================================================================
   Company Section
   ========================================================================== */
.company-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.company-info {
    padding: 50px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: left;
    vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table th {
    width: 120px;
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.95rem;
}

.info-table td {
    color: var(--text-main);
}

.info-table .tel {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.info-table .fax {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-table .note {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.company-map {
    height: 100%;
    min-height: 400px;
}

.map-container {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background: var(--surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-box {
    background: var(--surface-alt);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--line);
    margin-bottom: 15px;
}

.contact-icon-phone {
    color: var(--primary);
}

.btn-phone {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 77, 153, 0.3);
    font-size: 1.15rem;
    font-weight: 700;
}

.btn-phone:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 77, 153, 0.4);
}

.contact-hours {
    display: block;
    margin-top: 10px;
    font-size: 0.825rem;
    color: var(--text-muted);
}

.contact-box h4 {
    margin-bottom: 12px;
}

.contact-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.contact-form-wrapper {
    padding: 20px 30px;
}

.contact-form-wrapper h4 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--surface-alt);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.required {
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--surface-alt);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 77, 153, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-nav {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-address {
    text-align: right;
    color: #94a3b8;
    line-height: 1.8;
}

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

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.footer-copyright .separator {
    margin: 0 10px;
}

.stealth-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.stealth-link:hover {
    text-decoration: none;
    opacity: 1;
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-copyright .separator {
        display: none;
    }

    .footer-copyright .designed-by {
        display: block;
        margin-top: 8px;
    }
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.delay-intro-1 { transition-delay: 1.5s; }
.delay-intro-2 { transition-delay: 1.7s; }
.delay-intro-3 { transition-delay: 1.9s; }
.delay-intro-4 { transition-delay: 2.1s; }

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .company-wrapper {
        grid-template-columns: 1fr;
    }
    
    .company-info {
        padding: 40px 24px;
    }
    
    .company-map {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-catch {
        font-size: 2.8rem;
    }

    .intro-logo {
        font-size: 3rem;
    }
}

@media (max-width: 1080px) {
    .header-container {
        padding: 0 16px;
        gap: 6px;
    }

    .logo {
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }

    .logo-text {
        font-size: clamp(0.95rem, 3.8vw, 1.3rem);
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .header-cta-nav {
        display: none;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .nav li {
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav li:last-child {
        border-bottom: none;
    }
    
    .header .nav a {
        color: var(--secondary) !important;
        display: block;
        padding: 20px;
        font-size: 1.1rem;
        width: 100%;
    }

    .header .nav a:hover,
    .header .nav a.active {
        background: var(--surface-alt);
        color: var(--primary) !important;
    }

    .nav a::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        flex-shrink: 0;
        font-size: 1.4rem;
        padding: 4px;
    }

    .nav-cta {
        padding: 20px;
        background: #f8fafc;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .nav-cta .btn {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
        box-shadow: var(--shadow-md);
        color: white !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-container {
        padding: 0 16px;
    }

    .nowrap {
        display: inline-block;
        white-space: nowrap;
    }

    .intro-logo {
        font-size: 2.2rem;
        gap: 12px;
        letter-spacing: 2px;
    }

    .intro-sub {
        letter-spacing: 5px;
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: calc(100vh - 80px);
        min-height: 100svh;
        height: auto;
        padding-top: 85px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        padding: 0 12px;
        margin-bottom: 10px;
    }

    .hero-catch {
        font-size: clamp(1.25rem, 5vw, 1.55rem);
        line-height: 1.35;
        margin-bottom: 12px;
    }
    
    .hero-sub {
        font-size: clamp(0.85rem, 3.6vw, 0.95rem);
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .hero-cta {
        margin-bottom: 10px;
    }

    .btn-large {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .scroll-indicator {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 8px;
        opacity: 0.85;
    }

    .mouse {
        width: 20px;
        height: 32px;
        margin-bottom: 4px;
    }

    .mouse::before {
        width: 3px;
        height: 6px;
    }
    
    .trust-stats {
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .contact-grid {
        padding: 20px;
    }
    
    .contact-box, .contact-form-wrapper {
        padding: 20px 10px;
    }

    .service-card {
        padding: 30px 24px;
    }
}

/* ==========================================================================
   Sound Toggle Buttons (PC & Mobile)
   ========================================================================== */
.sound-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 0;
    width: 140px !important;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border: 2px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-left: 20px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    animation: slowBlink 2.5s ease-in-out infinite;
    white-space: nowrap;
}

.sound-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
}

.sound-btn.playing {
    background: linear-gradient(135deg, #06C755, #10b981);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    animation: slowBlinkGreen 2.5s ease-in-out infinite;
}

@keyframes slowBlink {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4); }
    50% { opacity: 0.75; transform: scale(1.05); box-shadow: 0 6px 25px rgba(255, 71, 87, 0.8); }
}

@keyframes slowBlinkGreen {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4); }
    50% { opacity: 0.75; transform: scale(1.05); box-shadow: 0 6px 25px rgba(6, 199, 85, 0.8); }
}

.mobile-sound-btn {
    display: none;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border: 2px solid #ffffff;
    color: white;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-left: auto;
    margin-right: 8px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    animation: slowBlink 2.5s ease-in-out infinite;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

.mobile-sound-btn.playing {
    background: linear-gradient(135deg, #06C755, #10b981);
    animation: slowBlinkGreen 2.5s ease-in-out infinite;
}

@media (max-width: 1080px) {
    .sound-btn {
        display: none !important;
    }

    .mobile-sound-btn {
        display: flex !important;
    }
}

/* ==========================================================================
   Customer Reviews Section
   ========================================================================== */
.reviews-intro-lead {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 16px;
    background: rgba(0, 77, 153, 0.06);
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.reviewer-avatar {
    font-size: 2.5rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-local-guide {
    font-size: 0.75rem;
    background: #fef3c7;
    color: #b45309;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.reviewer-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-tag {
    font-size: 0.75rem;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    flex-grow: 1;
}

.owner-reply {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
}

.owner-reply-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reply-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: auto;
}

.reply-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Lease CTA Button & Car Lease Meister Custom Styles
   ========================================================================== */

/* High-Visibility Lease CTA Button */
.btn-lease-cta {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8800 50%, #ffaa00 100%) !important;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    padding: 16px 48px !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.5), 0 0 20px rgba(255, 170, 0, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    letter-spacing: 1px;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap !important; /* Single line guarantee */
    word-break: keep-all !important;
}

.btn-lease-cta:hover {
    transform: translateY(-4px) scale(1.03) !important;
    background: linear-gradient(135deg, #ff7700 0%, #ff9900 50%, #ffbb00 100%) !important;
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.75), 0 0 30px rgba(255, 170, 0, 0.6) !important;
    color: #ffffff !important;
}

@keyframes leaseCtaGlow {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(255, 107, 0, 0.5), 0 0 20px rgba(255, 170, 0, 0.4);
    }
    50% {
        box-shadow: 0 14px 32px rgba(255, 107, 0, 0.8), 0 0 30px rgba(255, 170, 0, 0.7);
    }
}
.btn-lease-cta {
    animation: leaseCtaGlow 2.5s infinite ease-in-out;
}

/* Meister Badge Card (Home Page - Rainbow Feature) */
.meister-badge-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 22px 28px;
    margin-top: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.meister-card-img {
    width: 240px; /* High clarity & balanced scale */
    max-width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
    flex-shrink: 0;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.meister-card-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meister-card-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffcc00;
    letter-spacing: 0.5px;
}

.meister-card-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    white-space: nowrap !important;
}

.meister-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

/* Bottom Centered CTA Button Container */
.rainbow-cta-bottom {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 5;
}

.rainbow-cta-bottom .btn-lease-cta {
    font-size: 1.3rem !important;
    padding: 18px 56px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.6), 0 0 25px rgba(255, 170, 0, 0.5) !important;
}

/* Meister Section / Banner (Lease Page) */
.meister-section {
    margin-top: 40px;
    margin-bottom: 60px;
}

.meister-banner {
    display: grid;
    grid-template-columns: 320px 1fr; /* Increased image column width */
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border: 2px solid #cbd5e1;
    border-left: 8px solid var(--primary);
    border-radius: 24px;
    padding: 40px 45px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.meister-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.meister-banner-img {
    max-width: 100%;
    height: auto;
    max-height: 250px; /* Increased for prominent display */
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15));
}

.meister-banner-content h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin: 10px 0 14px 0;
    font-weight: 800;
}

.meister-banner-content p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 1.02rem;
}

.meister-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #004d99 0%, #002b55 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .meister-badge-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 18px;
    }

    .meister-card-img {
        width: 240px;
        max-width: 100%;
        max-height: 170px;
        margin: 0 auto 10px auto;
    }

    .meister-card-right {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .meister-banner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 25px 18px !important;
        text-align: center !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .meister-img-wrapper {
        margin: 0 auto !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .meister-banner-img {
        max-height: 220px !important;
        width: 250px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .trust-title {
        font-size: 1.55rem !important;
        line-height: 1.35 !important;
    }

    .trust-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .rainbow-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .rainbow-text {
        font-size: 0.92rem !important;
        line-height: 1.65 !important;
    }
}

