/*
Theme Name: Evo-Daarzy-Theme
Theme URI: https://daarzy.com
Author: LuxeAuto Armour Engineering
Description: A Custom premium theme by Daarzy, high-performance theme for automotive protection services. Built with high-contrast aesthetics and integrated warranty management.
Version: 1.0.1
License: Proprietary
Text Domain: evofilms
*/

:root {
    /* Brand Colors */
    --color-primary: #00d4ff;
    /* Default, overridden by Customizer */
    --color-secondary: #0077ff;
    --color-dark: #0a0a0a;
    --color-dark-surface: #121212;
    --color-light: #ffffff;
    --color-gray: #888888;
    --color-border: #333333;

    /* Typography */
    --font-heading: 'Michroma', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-dark);
    color: var(--color-light);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-light);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-light);
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
    /* Ensure container doesn't overflow viewport */
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    box-shadow: 0 0 15px rgba(var(--color-primary), 0.5);
    /* Fix rgba syntax if using var */
}

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

.btn-primary:hover {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

.section-padding {
    padding: var(--space-xl) 0;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

/* Header & Navigation */
.site-header {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    /* Reduced padding for better mobile fit initially */
    position: sticky;
    /* Changed from fixed */
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 1);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-light);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 50px;
    /* Logo sizing constraint */
    width: auto;
}

.site-logo span {
    color: var(--color-primary);
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.main-navigation a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.menu-header-mobile,
.btn-mobile-inquire {
    display: none;
}

/* Footer */
.site-footer {
    background: var(--color-dark-surface);
    padding: 60px 0 20px;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
}

.site-footer .site-logo img {
    max-height: 40px;
    /* Footer Logo sizing */
    margin-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: var(--color-light);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--color-gray);
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    color: var(--color-gray);
    font-size: 14px;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid var(--color-border);
    color: var(--color-light);
    font-family: var(--font-body);
    margin-bottom: 15px;
    border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-gray);
    font-size: 14px;
    text-transform: uppercase;
}

/* Responsive Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 900px) {

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

@media (max-width: 600px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Reduced from 100vh for desktop */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    margin-top: 0;
    padding-top: 0;
    background-color: #000;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensure it stays above overlay and background */
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(10, 10, 10, 1) 100%);
    z-index: 1;
}

/* Hero Section Mobile Fix */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;      /* fallback */
        height: 100svh;     /* accurate mobile viewport height */
        min-height: 500px;
        padding: 80px 20px 20px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        /* Much smaller mobile font */
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    /* Fluid typography */
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: var(--color-gray);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services Section */
.service-card {
    background: var(--color-dark-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.card-image {
    height: 250px;
    background: #222;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-content h3 a {
    color: var(--color-light);
}

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

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Why Choose Us */
.features-grid {
    text-align: center;
}

.feature-item {
    padding: 30px 20px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-gray);
}

.feature-item h4 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* [Legacy Warranty Styles Removed to avoid conflict with Premium Overhaul] */

/* Light Sections (EvoShield) */
.section-light {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--color-dark);
}

.section-light p {
    color: #444;
}

.evoshield-content .lead {
    font-weight: 700;
    font-style: italic;
}

.evoshield-content h3 {
    color: #2ecc71;
}

/* Fallback green */

.feature-list-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.visual-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 48%;
}

.visual-feature-icon {
    width: 60px;
    height: 60px;
    background: #eef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.visual-feature-icon span {
    font-size: 30px;
    color: #2ecc71;
    /* Green */
    width: 30px;
    height: 30px;
}

.visual-feature h4 {
    font-size: 1rem;
    margin: 0;
}

.badge-warranty {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #2ecc71;
    color: #2ecc71;
    font-weight: bold;
    border-radius: 50px;
}

.placeholder-img {
    width: 100%;
    height: 400px;
    background: #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Registration Page Tabs */
.registration-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-trigger {
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-gray);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-trigger:hover {
    color: var(--color-light);
    border-color: var(--color-gray);
}

.tab-trigger.active {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

.form-tab {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
   -----------------------------------------
   NEW UI/UX ENHANCEMENTS
   ----------------------------------------- 
*/

/* Mobile Menu & Animated Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000;
    /* Ensure above overlay */
    position: relative;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: var(--color-light);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
    content: "";
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Active Hamburger State */
.menu-toggle.active .hamburger-inner {
    transform: rotate(45deg);
    background-color: var(--color-primary);
}

.menu-toggle.active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    background-color: var(--color-primary);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.85);
        /* Increased transparency for glass effect */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 100px 40px;
        /* More top padding */
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* Center content vertically */
        text-align: center;
    }

    .main-navigation.active {
        transform: translateY(0);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .main-navigation li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-navigation.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered Delay Loop */
    .main-navigation.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-navigation.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .main-navigation.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .main-navigation.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .main-navigation.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .main-navigation.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .main-navigation a {
        font-size: 2rem;
        /* Larger font for mobile touch */
        font-weight: 700;
        color: var(--color-light);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .main-navigation a:hover {
        color: var(--color-primary);
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .main-navigation a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--color-light);
    }

    .menu-header-mobile {
        display: block;
        margin-bottom: 40px;
        font-family: var(--font-heading);
        font-size: 24px;
        letter-spacing: 2px;
    }

    .btn-mobile-inquire {
        display: inline-block;
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }
}

/* Service Detail Overhaul */
.service-detail-wrapper .breadcrumb {
    margin-bottom: 2rem;
}

.service-sidebar {
    background: var(--color-dark-surface);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.product-options .badge {
    display: inline-block;
}

.service-meta-block {
    margin-bottom: 20px;
}

.service-meta-block h5 {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-grid-mini div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #222;
    padding: 8px 0;
    font-size: 0.9rem;
}

.specs-grid-mini div:last-child {
    border-bottom: none;
}

.specs-grid-mini strong {
    color: var(--color-gray);
}

/* Trust Icons */
.service-trust-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
    justify-content: space-around;
}

.trust-item {
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-item span {
    display: block;
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

/* Inquiry Modal */
.inquiry-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-dark-surface);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--color-border);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.close-modal {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close-modal:hover {
    color: var(--color-light);
}

/* Pagination */
.navigation.pagination {
    margin-top: 50px;
    text-align: center;
}

.nav-links a,
.nav-links span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--color-border);
    color: var(--color-light);
}

.nav-links a:hover,
.nav-links span.current {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

/* Responsive Service Detail */
@media (max-width: 900px) {
    .service-detail-wrapper .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .evoshield-content h2,
    .section-title {
        font-size: 1.5rem !important;
        /* Prevent huge headings causing overflow */
    }

    .service-sidebar {
        position: static !important;
        margin-top: 20px;
    }

    /* Ensure body doesn't horizontal scroll */
    /* html, body { overflow-x: hidden; } REMOVED: Causes iframe scroll feel */

    .archive-split {
        flex-direction: column;
    }
}


/* 
   --------------------------------------------------------------------------------
   PREMIUM HOMEPAGE REDESIGN (FINAL PRODUCTION VERSION)
   -------------------------------------------------------------------------------- 
*/

/* 1. EvoShield Section (Light Theme Contrast) */
.evoshield-refined-section {
    background: #ffffff !important;
    color: #111 !important;
}

.evoshield-refined-section .section-title {
    color: #111 !important;
    text-align: left;
}

.evoshield-refined-section .section-title::after {
    margin: 20px 0 0 0;
    /* Align bar to left */
    background: var(--color-primary);
}

.evoshield-visual .image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* 2. Warranty Dual-Card Section (Dark Theme) */
.warranty-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.uniform-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 560px;
    /* Force symmetry */
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.uniform-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.card-visual-header {
    height: 240px;
    position: relative;
    background: #000;
    overflow: hidden;
}

.card-visual-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.uniform-card:hover .card-visual-header img {
    opacity: 0.95;
}

/* FIXED: Visual Label Badge */
.visual-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: #000;
    padding: 6px 14px;
    border-radius: 4px;
    /* Small clean radius */
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
    width: auto !important;
    /* Force fit-content */
    height: auto !important;
}

.card-body-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: var(--font-heading);
}

.card-body-content p {
    color: #888;
    line-height: 1.6;
}

/* 3. Uniform Button & Input UI */
.uniform-btn-height {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 25px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px !important;
    transition: all 0.3s ease;
}

.btn-primary.uniform-btn-height {
    background: var(--color-primary);
    color: #000;
    border: none;
}

.btn-primary.uniform-btn-height:hover {
    background: #fff;
    color: #000;
}

.input-action-group {
    display: flex;
    background: #000;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 15px;
}

.input-action-group input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    height: 56px !important;
    padding: 0 20px !important;
    margin-bottom: 0 !important;
}

.input-action-group button {
    border-radius: 0 !important;
    white-space: nowrap;
}

/* Response Box */
#warranty-result {
    margin-top: 15px;
}

/* Responsive Fixes */
@media (max-width: 991px) {

    .premium-split-grid,
    .warranty-dual-grid {
        grid-template-columns: 1fr;
    }

    .uniform-card {
        min-height: auto;
    }

    .card-body-content {
        padding: 30px;
    }
}


/* 4. EvoShield Light Theme Structure (Restored & Refined) */
.evoshield-refined-section .premium-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.evoshield-refined-section .premium-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.evoshield-refined-section .premium-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.evoshield-refined-section .feature-icon {
    width: 48px;
    height: 48px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.evoshield-refined-section .feature-icon .dashicons {
    color: var(--color-primary);
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.evoshield-refined-section .feature-text h4 {
    color: #000 !important;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.evoshield-refined-section .feature-text p {
    color: #555 !important;
    font-size: 0.9rem;
    line-height: 1.5;
}

.evoshield-refined-section .highlight-primary {
    color: var(--color-primary);
}

.evoshield-refined-section .tagline {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* Fix mobile for EvoShield Light */
@media (max-width: 991px) {
    .evoshield-refined-section .premium-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 
   --------------------------------------------------------------------------------
   EXPANDED HOMEPAGE SECTIONS
   -------------------------------------------------------------------------------- 
*/

/* Category & Product Cards */
.category-card,
.testimonial-card {
    padding: 30px;
}

.top-products-section {
    background: #080808;
}

.product-mini-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-mini-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.product-mini-card .card-image {
    height: 150px;
}

.product-mini-card .card-content {
    padding: 15px;
    text-align: center;
}

.product-mini-card h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.btn-link {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
}

/* Why Choose Us */
.white-bg {
    background: #fff !important;
}

.text-dark {
    color: #111 !important;
}

.values-grid {
    text-align: center;
}

.value-item {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary);
}

.value-item .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 1rem;
    color: #111 !important;
    margin: 0;
}/* Word by Word Reveal (Brand Statement - Scroll Scrubbed) */
.word-reveal-group {
    /* Controlled by JS scroll event */
}
.word-reveal {
    display: inline-block;
    opacity: 0.1; /* slightly visible initially */
    transform: translateY(10px);
    margin-right: 0.25em;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.word-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* Testimonials Auto-Slider */
.auto-slider-section {
    position: relative;
    padding: 80px 0;
}

.testimonials-slider-track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.testimonials-slider-track {
    display: flex;
    gap: 30px;
    width: 100%;
}

.quote-card-luxury.slide {
    flex: 0 0 100%; /* Default to 1 per view on mobile */
    box-sizing: border-box;
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .quote-card-luxury.slide {
        flex: 0 0 calc(50% - 15px); /* 2 per view on tablet, 1 gap */
    }
}

@media (min-width: 1024px) {
    .quote-card-luxury.slide {
        flex: 0 0 calc(33.333% - 20px); /* 3 per view on desktop, 2 gaps (60px total / 3 = 20px) */
    }
}

.quote-card-luxury.slide.active-slide {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.quote-card-luxury.slide {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure equal heights */
    min-height: 250px;
}

.quote-mark {
    font-size: 60px;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-heading);
    line-height: 1;
}

.quote-card-luxury p {
    font-style: italic;
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.quote-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0055ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-dark);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.client-meta strong {
    display: block;
    color: var(--color-light);
    font-size: 1.05rem;
}

.client-meta span {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Q&A Accordion */
.accordion-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.accordion-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff !important;
}

.accordion-header .dashicons {
    color: #fff;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    background: #fff;
}

.accordion-item.active .accordion-header .dashicons {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px 30px;
    max-height: 500px;
    border-top: 1px solid #eee;
}

.accordion-content p {
    color: #d0d0d0 !important;
    /* Lighter text for dark backgrounds */
    margin: 0;
}

/* 
   --------------------------------------------------------------------------------
   PREMIUM DESIGN OVERHAUL (GLASS & LUXURY)
   -------------------------------------------------------------------------------- 
*/

/* Global Refinements */
.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #666;
}

.eyebrow.primary {
    color: var(--color-primary);
}

.section-title-alt {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    color: #fff;
    /* White for dark backgrounds */
}

.text-dark .section-title-alt {
    color: #111;
    /* Override for light sections */
}

@media (max-width: 768px) {
    .section-title-alt {
        font-size: 2.2rem;
    }
}

/* 1. Category Card Luxury */
.category-card-premium {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.category-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.category-card-premium .card-visual {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.category-card-premium .card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s ease;
}

.category-card-premium:hover .card-visual img {
    transform: scale(1.1);
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111, #333);
}

.visual-placeholder span {
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
}

.category-card-premium .card-label {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
}

.category-card-premium .card-body {
    padding: 30px;
}

.category-card-premium .card-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-minimal {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #35d213;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.btn-minimal:hover {
    gap: 15px;
    color: var(--color-primary);
}

/* 2. Spotlight Products Grid */
.spotlight-grid {
    gap: 30px;
}

.spotlight-card {
    position: relative;
}

.card-image-outer {
    height: 350px;
    background: #151515;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
}

.card-image-outer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--color-primary), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: overlay;
}

.spotlight-card:hover .card-image-outer img {
    opacity: 1;
    transform: scale(1.05);
}

.spotlight-card:hover .card-glow {
    opacity: 0.3;
}

.card-info {
    padding: 20px 0;
    text-align: center;
}

.card-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.btn-spotlight {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

/* 3. Luxury Values Grid */
.values-grid-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 991px) {
    .values-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.values-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 600px) {
    .values-main-grid {
        grid-template-columns: 1fr;
    }
}

.luxury-value-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.item-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #eee;
    line-height: 1;
    font-weight: 900;
}

.luxury-value-item:hover .item-number {
    color: var(--color-primary);
}

.item-meta h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.item-meta p {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 4. Testimonials Deluxe */
.testimonials-premium-section {
    position: relative;
    padding: 120px 0;
}

.bg-texture-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(53, 210, 19, 0.05), transparent 50%);
}

.testimonials-slider-layout {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

@media (max-width: 991px) {
    .testimonials-slider-layout {
        flex-direction: column;
        align-items: stretch;
    }
}

.quote-card-luxury {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    flex: 1;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.quote-card-luxury.active {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 8rem;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: serif;
}

.quote-card-luxury p {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.quote-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.client-meta strong {
    display: block;
    color: #fff;
}

.client-meta span {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* 5. Q&A Rebuilt */
.qa-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

@media (max-width: 991px) {
    .qa-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* 6. Form Refinements */
.input-action-group {
    display: flex;
    gap: 10px;
}

@media (max-width: 600px) {
    .input-action-group {
        flex-direction: column;
        width: 100%;
    }

    .input-action-group input,
    .input-action-group button {
        width: 100%;
        margin-bottom: 10px;
        height: 50px;
        /* Ensure touch targets */
    }
}

.accordion-header-minimal span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    /* Fixed: White for dark background */
}

.accordion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accordion-header-minimal:hover .accordion-icon {
    background: #111;
    color: #fff;
}

.premium-accordion-item.active .accordion-icon {
    background: var(--color-primary);
    color: #fff;
}

.premium-accordion-item.active .accordion-icon .dashicons-plus::before {
    content: "\f460"; /* dashicons-minus */
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-accordion-item.active .accordion-panel {
    max-height: 300px;
    padding-bottom: 30px;
}

.accordion-panel p {
    color: #777;
    line-height: 1.6;
}

/* Consolidated Accordion Styles */
.premium-accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.accordion-header-minimal {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 
   --------------------------------------------------------------------------------
   SERVICE DETAIL PAGE OVERHAUL
   -------------------------------------------------------------------------------- 
*/

/* 1. Layout & Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

@media (max-width: 991px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 2. Breadcrumb */
.service-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.service-breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.service-breadcrumb a:hover,
.service-breadcrumb .current {
    color: var(--color-primary);
}

.service-breadcrumb .sep {
    margin: 0 8px;
    color: #444;
}

/* 3. Visuals Column */
.service-gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 50px;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.gallery-badges {
    position: absolute;
    top: 20px;
    left: 20px;
}

.badge-warranty {
    background: rgba(53, 210, 19, 0.9);
    color: #000;
    padding: 8px 16px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.section-heading-sm {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.content-body {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 50px;
}

.service-care-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.care-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.care-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.care-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.care-body {
    padding: 25px;
    color: #999;
}

/* 4. Sidebar & Info */
.service-sticky-wrapper {
    position: sticky;
    top: 120px;
}

.product-identity {
    margin-bottom: 30px;
}

.product-cat {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #fff;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 300;
    color: #ccc;
}

.product-meta-specs {
    margin-bottom: 30px;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.meta-label {
    color: #666;
}

.meta-value {
    color: #fff;
    font-weight: 600;
}

.meta-value.mono {
    font-family: monospace;
    opacity: 0.7;
}

/* 5. Tech Specs Grid */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.spec-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
}

.spec-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

.spec-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* 6. Actions & Trust */
.btn-full {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    padding: 18px 0;
    font-size: 1rem;
    margin-bottom: 25px;
}



/* 7. Modal */
.inquiry-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.inquiry-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.inquiry-modal-panel {
    background: #111;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.inquiry-modal-backdrop.active .inquiry-modal-panel {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: #fff;
    font-family: var(--font-heading);
    margin: 0;
}

.modal-header p {
    color: #666;
    margin: 5px 0 0;
}

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

.inquiry-form-premium label {
    display: block;
    color: #aaa;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.inquiry-form-premium input[type="text"],
.inquiry-form-premium textarea,
.inquiry-form-premium select,
.inquiry-form-premium input[type="tel"] {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: var(--font-body);
}

.inquiry-form-premium input:focus,
.inquiry-form-premium textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.phone-row {
    display: flex;
    gap: 10px;
}

.phone-row select {
    width: 90px;
    text-align: center;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: #555;
    margin-top: 15px;
}

/* 
   --------------------------------------------------------------------------------
   SERVICE DETAIL PAGE OVERHAUL (ROBUST & RESPONSIVE)
   -------------------------------------------------------------------------------- 
*/

/* 1. Layout & Grid Wrapper */
.service-detail-page {
    /* overflow-x: hidden; Removed to fix sticky jitter */
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 100%;
    /* Default to stack */
    gap: 40px;
    position: relative;
    width: 100%;
}

@media (min-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1.5fr 1fr;
        /* Desktop Ratio */
        gap: clamp(40px, 5vw, 100px);
        /* Fluid Gap */
        align-items: start;
    }
}

/* 2. Visuals Column */
.service-visuals-col {
    width: 100%;
    min-width: 0;
    /* Flex/Grid child overflow fix */
}

.service-gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #222;
}

.img-main {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    pointer-events: none;
}

.badge-warranty {
    display: inline-block;
    background: rgba(53, 210, 19, 0.95);
    color: #000;
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.service-long-description .section-heading-sm {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.content-body {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.content-body p {
    margin-bottom: 20px;
}

/* Care Box */
.service-care-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    border-radius: 8px;
    margin-top: 30px;
}

.care-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #333;
}

.care-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.care-header .dashicons {
    color: var(--color-primary);
}

.care-body {
    padding: 20px;
    color: #999;
    font-size: 0.95rem;
}

/* 3. Sidebar (Sticky on Desktop) */
.service-info-col {
    width: 100%;
    min-width: 0;
}

.service-sticky-wrapper {
    /* Sticky only on big screens */
    position: relative;
}

@media (min-width: 992px) {
    .service-sticky-wrapper {
        position: sticky;
        top: 100px;
        /* Adjust based on header height */
    }
}

.product-identity {
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.product-cat {
    display: block;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    /* Fluid Font */
    line-height: 1.1;
    color: #fff;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.product-price {
    font-size: 1.8rem;
    color: #eee;
    font-weight: 300;
}

/* Meta Data */
.product-meta-specs {
    margin-bottom: 30px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #222;
    font-size: 0.95rem;
}

.meta-label {
    color: #666;
}

.meta-value {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

/* Tech Specs Grid */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.spec-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px 5px;
    text-align: center;
}

.spec-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.spec-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Actions & Trust */
.product-actions {
    margin-bottom: 30px;
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}



/* 4. Modal (Fixed Full Screen Overlay) */
.inquiry-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker backdrop */
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
    /* Safe area for mobile */
}

.inquiry-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.inquiry-modal-panel {
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.inquiry-modal-backdrop.active .inquiry-modal-panel {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
}

.modal-header p {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Styling */
.inquiry-form-premium label {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 6px;
    display: block;
}

.inquiry-form-premium input,
.inquiry-form-premium textarea,
.inquiry-form-premium select {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: border-color 0.2s;
}

.inquiry-form-premium input:focus,
.inquiry-form-premium textarea:focus,
.inquiry-form-premium select:focus {
    border-color: var(--color-primary);
    outline: none;
}

.phone-row {
    display: flex;
    gap: 10px;
}

.phone-row select {
    width: 30%;
    text-align: center;
}

.phone-row input {
    width: 70%;
}

/* 
   --------------------------------------------------------------------------------
   PROFESSIONAL LAYOUT REFACTOR (Sticky Footer & Header)
   -------------------------------------------------------------------------------- 
*/

/* 1. Sticky Footer via Flexbox */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.site-main {
    flex: 1;
    width: 100%;
}

/* 2. Professional Sticky Header */
.site-header {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    position: sticky;
    /*Changed from fixed */
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

/* Remove old padding hacks */
.page-header,
.service-archive-header,
.single-service .service-detail-page,
.page-template-default .site-main,
.archive .site-main>.container:first-child {
    padding-top: 0 !important;
    /* Reset */
    margin-top: 40px;
    /* Natural spacing */
}

/* Specific Archive Header spacing */
.service-archive-header {
    background: #111;
    border-bottom: 1px solid #222;
    margin-bottom: 40px;
    padding: 60px 0;
    /* Internal padding only */
}

.service-archive-header .page-title {
    margin-top: 0;
    margin-bottom: 10px;
}

/* 
   --------------------------------------------------------------------------------
   MOBILE LAYOUT REORDER (Interleave Identity)
   -------------------------------------------------------------------------------- 
*/
/* 
   --------------------------------------------------------------------------------
   TRUST INDICATORS (Consolidated & Responsive)
   -------------------------------------------------------------------------------- 
*/
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    /* Fix responsiveness */
    justify-content: center;
    gap: 30px;
    border-top: 1px solid #222;
    padding-top: 30px;
    margin-top: 30px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    min-width: 100px;
    /* Ensure they don't squash */
}

.trust-item span {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Icon Sizing - Increased as requested */
.trust-item i {
    font-size: 2rem;
    /* ~32px */
    color: var(--color-primary);
    margin-bottom: 5px;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.trust-item:hover i {
    transform: translateY(-3px);
    opacity: 1;
}

/* 
   --------------------------------------------------------------------------------
   MOBILE IDENTITY LOGIC (Structural)
   -------------------------------------------------------------------------------- 
*/
/* Default: Mobile Hidden, Desktop Visible */
.product-identity-mobile {
    display: none;
}

@media (max-width: 991px) {

    /* Show Mobile Identity */
    .product-identity-mobile {
        display: block;
        margin-bottom: 30px;
        border-bottom: 1px solid #333;
        padding-bottom: 20px;
    }

    /* Hide Desktop Identity */
    .product-identity-desktop {
        display: none;
    }
}

/* 
   --------------------------------------------------------------------------------
   SERVICE ARCHIVE REFACTOR (Modern & Compact)
   -------------------------------------------------------------------------------- 
*/

.service-archive-layout {
    background: #000;
}

/* 1. Layout Structure */
.archive-split {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 991px) {
    .archive-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 2. Sidebar (Modern Filter) */
.archive-sidebar {
    position: sticky;
    top: 100px;
    /* Below sticky header */
}

.filter-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 25px;
}

.filter-box h3 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list a {
    display: flex;
    justify-content: space-between;
    color: #888;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.filter-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.filter-list a.active {
    background: var(--color-primary);
    color: #000;
    font-weight: 700;
    border-color: var(--color-primary);
}

/* 3. Grid & Cards */
.service-grid-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    /* Compact gap */
}

.service-card-modern {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #333;
}

.card-thumb {
    position: relative;
    height: 200px;
    /* Compact height */
    overflow: hidden;
    background: #000;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.service-card-modern:hover .card-thumb img {
    transform: scale(1.05);
    opacity: 1;
}

.placeholder-thumb {
    width: 100%;
    height: 100%;
    background: #222;
    background-image: linear-gradient(45deg, #222 25%, #2a2a2a 25%, #2a2a2a 50%, #222 50%, #222 75%, #2a2a2a 75%, #2a2a2a 100%);
    background-size: 20px 20px;
}

.card-body {
    padding: 20px;
    /* Compact padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.card-title a {
    color: #fff;
    transition: color 0.2s;
}

.service-card-modern:hover .card-title a {
    color: var(--color-primary);
}

.card-excerpt {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body .btn-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
}

.card-body .btn-link:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    background: #111;
    color: #fff;
    padding: 10px 15px;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

/* 
   --------------------------------------------------------------------------------
   MOBILE FILTER UI (Compact Horizontal Scroll)
   -------------------------------------------------------------------------------- 
*/
/* 
   --------------------------------------------------------------------------------
   MOBILE FILTER UI (Filter Bar & Chips)
   -------------------------------------------------------------------------------- 
*/
@media (max-width: 991px) {
    .archive-sidebar {
        position: initial;
        top: 100px;
        /* Safer clearance for header */
        z-index: 90;
        margin-bottom: 25px;
        width: 100%;
        max-width: 100vw;
        /* Prevent overflow */
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
        /* Prevent child overflow expanding parent */
    }

    .filter-box {
        padding: 5px 0;
        background: #0a0a0a;
        /* Solid dark background to cover content behind */
        border-top: 1px solid #222;
        border-bottom: 1px solid #222;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .filter-box h3 {
        display: none;
    }

    .filter-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        align-items: center;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-right: 15px;
        /* End padding */
    }

    .filter-list::-webkit-scrollbar {
        display: none;
    }

    .filter-list li {
        margin-bottom: 0;
        flex: 0 0 auto;
    }

    .filter-list a {
        display: inline-flex;
        align-items: center;
        padding: 8px 18px;
        background: transparent;
        border: 1px solid #444;
        border-radius: 6px;
        /* Chip/Button shape */
        font-size: 0.85rem;
        color: #ccc;
        font-weight: 500;
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    .filter-list a:hover {
        border-color: #fff;
        color: #fff;
        transform: none;
    }

    .filter-list a.active {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #000;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
    }
}

/* 
   --------------------------------------------------------------------------------
   MOBILE MENU OVERHAUL (Sleek Half Sheet & Animation)
   -------------------------------------------------------------------------------- 
*/

/* 1. Animated Hamburger Icon */
.menu-toggle {
    display: none;
    /* Hidden on Desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000;
    /* Above menu */
    position: relative;
    outline: none;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
    content: "";
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Active Animation State (X Shape) */
/* Active Animation State (X Shape - Center Disappears) */
.menu-toggle.active .hamburger-inner {
    background-color: transparent !important;
    /* Center stick disappears */
    transform: none;
    /* Don't rotate center */
}

.menu-toggle.active .hamburger-inner::before {
    opacity: 1 !important;
    top: 0;
    transform: rotate(45deg);
    background-color: #fff;
    /* Keep white for clear X */
}

.menu-toggle.active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-45deg);
    background-color: #fff;
}

/* 2. Half Sheet Menu Container */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-navigation {
        position: fixed;
        top: 71px;
        /* Opens BELOW the header (approx height) */
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 71px);
        /* Rest of screen */
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        z-index: 999;
        /* Below header (1000) */
        padding: 30px 20px 50px;
        /* Adjusted padding */
        transform: translateY(-20px);
        /* Subtle fading slide */
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid #333;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        display: block !important;
        visibility: hidden;
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* 3. Mobile Menu Items (Clean White Text) */
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        /* Stack formatting */
        width: 100%;
        border-bottom: 1px solid #333;
        /* Divider before CTA */
        margin-bottom: 25px;
        padding-bottom: 10px;
    }

    .main-navigation li {
        width: 100%;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    /* Staggered Animation for items */
    .main-navigation.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .main-navigation.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-navigation.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .main-navigation.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .main-navigation.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .main-navigation.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .main-navigation a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 5px;
        background: transparent;
        border: none;
        border-radius: 0;
        font-size: 1.1rem;
        /* Larger, readable text */
        color: #fff;
        font-weight: 500;
        width: 100%;
    }

    /* SVG Arrow via CSS Mask or simply Pseudo */
    .main-navigation a::after {
        content: "→";
        font-family: var(--font-body);
        font-weight: 300;
        color: #666;
        /* Subtle arrow */
        font-size: 1.2rem;
        transition: transform 0.2s, color 0.2s;
    }

    .main-navigation a:hover {
        background: transparent;
        padding-left: 10px;
        /* Slide effect */
        color: var(--color-primary);
    }

    .main-navigation a:hover::after {
        transform: translateX(5px);
        color: var(--color-primary);
    }

    /* Inquire Button Mobile (Distinct CTA) */
    .btn-mobile-inquire {
        display: block !important;
        margin-top: 10px;
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 1.1rem !important;
        background: var(--color-primary) !important;
        color: #000 !important;
        font-weight: 800 !important;
        border: none !important;
        border-radius: 8px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .btn-mobile-inquire:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .menu-header-mobile {
        display: none !important;
        /* Hide internal header since we use main header */
    }
}

/* 
   --------------------------------------------------------------------------------
   WARRANTY SYSTEM OVERHAUL (Premium Dark Theme)
   -------------------------------------------------------------------------------- 
*/

/* 1. Warranty Check Page - Hero */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.page-title-alt {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.warranty-form-premium {
    margin-bottom: 40px;
}

.input-hero-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 50px;
    /* Pill shape */
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.input-hero-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(53, 210, 19, 0.1);
}

.icon-prefix {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #666;
}

.input-hero-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    height: 60px;
    line-height: 60px;
    margin-bottom: 0 !important;
}

.input-hero-group input:focus {
    outline: none;
}

.btn-hero-action {
    border-radius: 40px;
    padding: 0 30px;
    height: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Loader */
.check-loader {
    text-align: center;
    color: #666;
    margin-top: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-top: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Results */
.warranty-card-success {
    background: rgba(53, 210, 19, 0.05);
    border: 1px solid rgba(53, 210, 19, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.specs-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.spec-item label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

.spec-item span {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

.status-active {
    color: var(--color-primary) !important;
}

.warranty-card-error {
    background: rgba(255, 59, 48, 0.05);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #ff3b30;
}

.warranty-card-error i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* 2. Warranty Registration - Premium Tabs & Form */
.registration-card-premium {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Tabs */
.registration-tabs-premium {
    display: flex;
    background: #0a0a0a;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 30px;
    border: 1px solid #222;
}

.tab-trigger-premium {
    flex: 1;
    background: transparent;
    border: none;
    color: #666;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-trigger-premium.active {
    background: #222;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tab-trigger-premium:hover {
    color: #fff;
}

/* Form Fields */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {

    .form-grid-2,
    .specs-grid-mini {
        grid-template-columns: 1fr;
    }

    .registration-card-premium {
        padding: 20px;
    }
}

.form-group-floating {
    position: relative;
}

.form-control-premium {
    width: 100%;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px 15px 12px;
    font-size: 1rem;
    color: #fff;
    transition: all 0.2s;
}

.form-control-premium:focus {
    border-color: var(--color-primary);
    outline: none;
    background: #151515;
}

.form-group-floating label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.9rem;
    color: #666;
    pointer-events: none;
    transition: all 0.2s;
}

/* Floating Label Logic: If input has focus or value */
.form-control-premium:focus+label,
.form-control-premium:not(:placeholder-shown)+label,
.static-label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    background: #111;
    padding: 0 5px;
    color: var(--color-primary);
}

/* Form Divider */
.form-divider {
    text-align: center;
    border-bottom: 1px solid #222;
    line-height: 0.1em;
    margin: 30px 0;
}

.form-divider span {
    background: #111;
    padding: 0 10px;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warranty-success-card {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* 
   --------------------------------------------------------------------------------
   RESPONSIVE FIXES (Warranty & Registration)
   -------------------------------------------------------------------------------- 
*/

@media (max-width: 768px) {

    /* General Container Fixes */
    .section-padding {
        padding: 40px 15px;
        /* Reduce side padding */
    }

    .container,
    .container-narrow {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
        /* Prevent horizontal scroll */
    }

    /* Warranty Hero / Check Page */
    .page-title-alt {
        font-size: 2rem;
        /* Scale down title */
    }

    .input-hero-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        /* Stack vertically on small mobile */
        height: auto;
        padding: 10px;
        border-radius: 20px;
        gap: 10px;
    }

    .icon-prefix {
        display: none;
        /* Hide icon to save space */
    }

    .input-hero-group input {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .btn-hero-action {
        width: 100%;
        height: 44px;
        border-radius: 12px;
    }

    /* Registration Page */
    .registration-wrapper-premium {
        max-width: 100%;
    }

    .registration-card-premium {
        padding: 25px 15px;
        /* Compact padding */
        border-radius: 12px;
    }

    .registration-tabs-premium {
        flex-direction: row;
        /* Keep standard tabs side-by-side */
    }

    .tab-trigger-premium {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Force Grid Stacking */
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Results Card */
    .warranty-card-success,
    .warranty-card-error {
        padding: 30px 20px;
    }

    .specs-grid-mini {
        grid-template-columns: 1fr;
        /* Stack specifics */
        text-align: center;
    }

    /* Ensure inputs don't overflow */
    .form-control-premium {
        width: 100%;
        box-sizing: border-box;
        /* Crucial for inputs with padding */
    }
}

/* 
   --------------------------------------------------------------------------------
   HOMEPAGE WARRANTY CARD RESPONSIVENESS
   -------------------------------------------------------------------------------- 
*/

@media (max-width: 768px) {

    /* Stack Dual Grid */
    .warranty-dual-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Card Mobile Styling */
    .warranty-card.uniform-card {
        border-radius: 12px;
        overflow: hidden;
    }

    .card-visual-header {
        height: 180px;
        /* Smaller image on mobile */
    }

    .card-body-content {
        padding: 20px;
    }

    /* Title Sizing */
    .card-body-content h3 {
        font-size: 1.4rem;
    }

    /* Input Action Group Stacking */
    .input-action-group {
        flex-direction: column;
        background: transparent;
        border: none;
    }

    .input-action-group input {
        width: 100%;
        background: #000 !important;
        border: 1px solid #333 !important;
        border-radius: 8px;
        margin-bottom: 10px !important;
        padding-left: 15px !important;
    }

    .input-action-group button {
        width: 100%;
        border-radius: 8px !important;
    }

    /* Result Container Padding */
    #warranty-result-container {
        margin-top: 15px;
    }

    /* Ensure no horizontal overflow */
    .warranty-overhaul-section {
        overflow-x: hidden;
    }
}

/* 
   --------------------------------------------------------------------------------
   WARRANTY INPUT FIX (Renamed to prevent conflicts)
   -------------------------------------------------------------------------------- 
*/

/* Desktop Defaults */
.warranty-action-group {
    display: flex;
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    /* Increased radius */
    overflow: hidden;
    margin-top: 15px;
    position: relative;
    max-width: 100%;
}

.warranty-action-group input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    height: 56px !important;
    /* Fixed height */
    padding: 0 20px !important;
    font-size: 1rem !important;
    min-width: 0;
    /* Flex fix */
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.warranty-action-group button {
    border-radius: 0 !important;
    white-space: nowrap;
    margin: 0 !important;
    height: 56px !important;
    border: none !important;
    padding: 0 25px !important;
}

/* Mobile Overrides (High Specificity) */
@media (max-width: 768px) {
    .warranty-action-group {
        display: flex;
        flex-direction: column;
        background: transparent !important;
        border: none !important;
        overflow: visible;
        gap: 12px;
        /* Space between input and button */
    }

    .warranty-action-group input {
        width: 100%;
        background: #000 !important;
        border: 1px solid #333 !important;
        border-radius: 8px !important;
        height: 50px !important;
        /* Reset any conflicting padding/margins */
        margin: 0 !important;
        box-shadow: none !important;
    }

    .warranty-action-group button {
        width: 100%;
        border-radius: 8px !important;
        height: 50px !important;
    }
}

/* 
   --------------------------------------------------------------------------------
   SPOTLIGHT CARD UI UPGRADE (Premium & Responsive)
   -------------------------------------------------------------------------------- 
*/

.spotlight-grid {
    display: grid;
    gap: 20px;
}

.spotlight-card {
    display: block;
    /* Make sure anchor behaves like a block */
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    /* Remove default link underline */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    position: relative;
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--color-primary);
}

.card-image-outer {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image-outer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spotlight-card:hover .card-image-outer img {
    transform: scale(1.05);
}

.card-info {
    padding: 20px;
    text-align: center;
}

.card-info h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.btn-spotlight {
    display: inline-flex;
    /* Changed from block to inline-flex */
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    transition: gap 0.2s ease;
}

.spotlight-card:hover .btn-spotlight {
    gap: 12px;
    /* Subtle arrow movement */
}

/* Responsive Grid Overrides */
@media (max-width: 991px) {
    .spotlight-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .spotlight-grid.grid-4 {
        grid-template-columns: 1fr !important;
        /* Full width on mobile */
    }

    .card-image-outer {
        height: 200px;
    }
}

/* 
   --------------------------------------------------------------------------------
   SERVICE PAGE SCROLLBAR FIX (Force auto height)
   -------------------------------------------------------------------------------- 
*/

.service-detail-grid,
.service-visuals-col,
.service-info-col,
.content-body,
.service-long-description {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Ensure sticky wrapper doesn't trap scroll on mobile */
@media (max-width: 991px) {
    .service-sticky-wrapper {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        top: auto !important;
    }
}

/* 
   --------------------------------------------------------------------------------
   PHONE INPUT GROUP (Warranty & Contact)
   -------------------------------------------------------------------------------- 
*/
.phone-group-premium {
    display: flex;
    position: relative;
    /* Ensure label can position absolutely within this if needed, 
       but currently label is sibling. We might need to adjust form-group container. */
}

/* Adjust the country select to blend in */
.phone-group-premium .country-select {
    width: 110px;
    background: #111;
    border: 1px solid #333;
    border-right: none;
    color: #fff;
    padding: 0 10px;
    border-radius: 8px 0 0 8px;
    font-size: 0.9rem;
    height: 56px;
    /* Match standard input height */
    appearance: none;
    /* Remove default arrow if customized later */
    cursor: pointer;
}

/* Fix input radii when grouped */
.phone-group-premium .phone-input {
    border-radius: 0 8px 8px 0 !important;
    border-left: 1px solid #333 !important;
    flex: 1;
}

/* Adjust label position for grouped input */
.phone-group-premium+label,
.form-group-floating .phone-group-premium .static-label {
    /* Since we wrapped input, the sibling label selector might break. 
       In the PHP, I added .static-label INSIDE .phone-group-premium 
       Let's target that. */
    top: -10px !important;
    left: 10px !important;
    font-size: 0.75rem !important;
    background: #111 !important;
    color: var(--color-primary) !important;
    z-index: 5;
}

/* Make sure the select shows an arrow or indicator */
.country-select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right .7em top 50%;
    background-size: .65em auto;
}

/* 
   --------------------------------------------------------------------------------
   HEADER CTA (Warranty)
   -------------------------------------------------------------------------------- 
*/
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.btn-header-warranty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 4px;
    /* Slightly squarer for header */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-header-warranty:hover {
    background: var(--color-primary);
    color: #fff !important;
    box-shadow: 0 0 10px rgba(53, 210, 19, 0.3);
}

.btn-header-warranty i {
    font-size: 1.1rem;
}

/* Responsive: Hide text on smaller screens or stack? */
@media (max-width: 991px) {
    .header-actions {
        display: none;
        /* Hide for now, it's inside the mobile menu too? 
                        Wait, I put it NEXT to the menu toggle in markup? 
                        No, I put it INSIDE #site-navigation div. 
                        #site-navigation is usually hidden on mobile until toggled.
                        So this CSS handles the desktop layout within the nav. 
                        On mobile, the nav opens and these buttons should stack. */
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 20px;
    }

    .main-navigation.active .header-actions {
        display: flex;
    }

    .btn-header-warranty {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
}

/* 
   --------------------------------------------------------------------------------
   SINGLE POST UI OVERHAUL (Re-applied)
   -------------------------------------------------------------------------------- 
*/

/* Hero Section */
.single-post-hero {
    background: var(--color-dark-surface) !important;
    padding: 80px 0 60px !important;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

.post-meta-top {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-meta-top .post-category a {
    color: var(--color-primary);
    font-weight: 700;
}

.post-meta-top .post-date {
    margin-left: 10px;
    color: var(--color-gray);
    position: relative;
}

.post-meta-top .post-date::before {
    content: "|";
    margin-right: 10px;
    color: #444;
}

.single-post-hero .entry-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--color-light);
    line-height: 1.2;
}

.post-author {
    font-size: 1rem;
    color: var(--color-gray);
    font-style: italic;
}

/* Content Container */
.post-content-container {
    max-width: 800px;
    /* Optimal reading width */
    margin: 0 auto;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 1.125rem;
    /* 18px for better readability */
    line-height: 1.8;
    color: #ddd;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--color-light);
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    margin: 2em 0;
    padding: 1em 2em;
    background: rgba(212, 175, 55, 0.05);
    /* Gold tint */
    font-style: italic;
    color: var(--color-light);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

/* Footer & Tags */
.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.tags-links {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* Navigation */
.post-navigation-container {
    max-width: 800px;
    margin: 0 auto 60px;
}

.navigation.post-navigation {
    margin-top: 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 0;
    /* Flexbox text truncation fix */
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-gray);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-light);
    font-weight: 700;
    transition: color 0.3s;
}

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

/* Comments Styles */
.comments-container {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
    padding-bottom: 60px;
    /* Space at very bottom */
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--color-light);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.comment-body {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.comment-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--color-gray);
    display: flex;
    justify-content: space-between;
}

.comment-author cite {
    font-style: normal;
    font-weight: bold;
    color: var(--color-light);
    font-size: 1rem;
}

.comment-content p {
    margin-bottom: 15px;
    color: #ddd;
}

.reply a {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Comment Form */
.comment-reply-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-light);
}

.comment-notes {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    margin-bottom: 5px;
    color: var(--color-gray);
}

.form-submit .submit {
    margin-top: 10px;
}

/* --- MICRO-INTERACTIONS & ANIMATIONS FOR WARRANTY PAGE --- */

/* 1. Staggered Fade In Up for Form Groups */
.form-group-floating {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Add delays for staggered effect in grid */
.form-tab-premium .form-grid-2:nth-of-type(1) .form-group-floating:nth-child(1) { animation-delay: 0.1s; }
.form-tab-premium .form-grid-2:nth-of-type(1) .form-group-floating:nth-child(2) { animation-delay: 0.2s; }
.form-tab-premium .form-grid-2:nth-of-type(2) .form-group-floating:nth-child(1) { animation-delay: 0.3s; }
.form-tab-premium .form-grid-2:nth-of-type(2) .form-group-floating:nth-child(2) { animation-delay: 0.4s; }
.form-tab-premium > .form-group-floating.mt-3 { animation-delay: 0.5s; } /* Customer Ref */

.form-divider { 
    opacity: 0; 
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    animation-delay: 0.6s; 
}

/* Common Fields Delays */
.registration-form-premium > .form-grid-2:nth-of-type(1) .form-group-floating:nth-child(1) { animation-delay: 0.7s; }
.registration-form-premium > .form-grid-2:nth-of-type(1) .form-group-floating:nth-child(2) { animation-delay: 0.8s; }
.registration-form-premium > .form-grid-2:nth-of-type(2) .form-group-floating:nth-child(1) { animation-delay: 0.9s; }
.registration-form-premium > .form-grid-2:nth-of-type(2) .form-group-floating:nth-child(2) { animation-delay: 1.0s; }

.form-actions { 
    opacity: 0; 
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    animation-delay: 1.1s; 
}

/* 2. Enhanced Input Focus Glow & Scale */
.form-control-premium {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.form-control-premium:focus {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

/* 3. Label Micro-interactions */
.form-group-floating label {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 4. Tab Trigger Hover Details */
.tab-trigger-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.tab-trigger-premium i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tab-trigger-premium:hover i {
    transform: scale(1.2) rotate(-10deg);
}
.tab-trigger-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    opacity: 0;
}
.tab-trigger-premium.active::after {
    width: 40%;
    opacity: 1;
}

/* 5. Icon Header Pulse */
.header-icon i {
    display: inline-block;
    animation: shieldPulse 2.5s infinite alternate ease-in-out;
}
@keyframes shieldPulse {
    0% { filter: drop-shadow(0 0 5px rgba(0,212,255,0.3)); transform: scale(1); }
    100% { filter: drop-shadow(0 0 20px rgba(0,212,255,0.7)); transform: scale(1.1); }
}

/* 6. Button Hover Flow */
.form-actions .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    transform: translateY(0);
}
.form-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}
.form-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,212,255,0.3);
}
.form-actions .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(0,212,255,0.2);
}
.form-actions .btn-primary:hover::before {
    left: 100%;
}
.form-actions .btn-primary i {
    transition: transform 0.3s ease;
    display: inline-block;
}
.form-actions .btn-primary:hover i {
    transform: translateX(6px);
}

/* 7. Success Card Pop In */
.warranty-success-card {
    opacity: 0;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.95) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.success-icon i {
    display: inline-block;
    opacity: 0;
    transform: scale(0);
    animation: successBounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.3s;
}
@keyframes successBounce {
    0% { opacity: 0; transform: scale(0); }
    60% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* 8. Registration Tabs Entry */
.registration-tabs-premium {
    opacity: 0;
    transform: translateY(-15px);
    animation: fadeDown 0.5s ease forwards;
}
@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 9. Page Title Entry */
.page-header-minimal {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 10. Registration Card Entry */
.registration-card-premium {
    opacity: 0;
    transform: scale(0.98);
    animation: scaleInCard 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}
@keyframes scaleInCard {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 11. Custom Select Micro-interactions */
.country-select {
    cursor: pointer;
    transition: all 0.3s ease;
}
.country-select:hover {
    background-color: #1a1a1a;
    border-color: rgba(0, 212, 255, 0.5);
}

/* 
   ==========================================================================
   THEME-WIDE SCROLL ANIMATIONS
   ========================================================================== 
*/

/* Base trigger class for items JS will observe */
.anim-trigger {
    opacity: 0;
    visibility: hidden;
    /* Replaced will-change with hardware acceleration to prevent flickers */
    backface-visibility: hidden;
}

/* Base trigger class for groups where children have delays */
.anim-stagger-group {
    /* JS observes the group, adding .is-visible triggers children */
}

/* Reset opacity when visible */
.anim-trigger.is-visible,
.anim-stagger-group.is-visible .anim-trigger {
    opacity: 1;
    visibility: visible;
}

/* --- Animation Types --- */
/* Slide Up */
.anim-slide-up {
    transform: translate3d(0, 40px, 0);
}
.anim-slide-up.is-visible,
.anim-stagger-group.is-visible .anim-slide-up {
    animation: fwSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Slide Right */
.anim-slide-right {
    transform: translate3d(-40px, 0, 0);
}
.anim-slide-right.is-visible,
.anim-stagger-group.is-visible .anim-slide-right {
    animation: fwSlideRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Slide Left */
.anim-slide-left {
    transform: translate3d(40px, 0, 0);
}
.anim-slide-left.is-visible,
.anim-stagger-group.is-visible .anim-slide-left {
    animation: fwSlideLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Zoom In / Scale Up */
.anim-zoom-in {
    transform: scale3d(0.9, 0.9, 1);
}
.anim-zoom-in.is-visible,
.anim-stagger-group.is-visible .anim-zoom-in {
    animation: fwZoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 3D Flip Up */
.anim-flip-up {
    transform: perspective(1000px) rotate3d(1, 0, 0, 20deg) translate3d(0, 20px, 0);
    transform-origin: bottom center;
}
.anim-flip-up.is-visible,
.anim-stagger-group.is-visible .anim-flip-up {
    animation: fwFlipUp 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* --- Keyframes --- */
@keyframes fwSlideUp {
    0% { opacity: 0; transform: translate3d(0, 40px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fwSlideRight {
    0% { opacity: 0; transform: translate3d(-40px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fwSlideLeft {
    0% { opacity: 0; transform: translate3d(40px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fwZoomIn {
    0% { opacity: 0; transform: scale3d(0.9, 0.9, 1); }
    100% { opacity: 1; transform: scale3d(1, 1, 1); }
}
@keyframes fwFlipUp {
    0% { opacity: 0; transform: perspective(1000px) rotate3d(1, 0, 0, 20deg) translate3d(0, 20px, 0); }
    100% { opacity: 1; transform: perspective(1000px) rotate3d(0, 0, 0, 0) translate3d(0, 0, 0); }
}

/* --- Custom Wipe Down (Hero) --- */
.hero-wipe-down::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-dark);
    z-index: 1;
    transform-origin: bottom;
    animation: wipeDownReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes wipeDownReveal {
    0% { transform: scale3d(1, 1, 1); }
    100% { transform: scale3d(1, 0, 1); }
}

/* --- Header Button Shine Flare --- */
.btn-header-warranty {
    position: relative;
    overflow: hidden;
}
.btn-header-warranty::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -150%;
    width: 50%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: flareShine 3s infinite linear;
    pointer-events: none;
}
@keyframes flareShine {
    0% { left: -150%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* --- Stagger Delays --- */
.anim-stagger-group.is-visible > *:nth-child(1) { animation-delay: 0.1s; }
.anim-stagger-group.is-visible > *:nth-child(2) { animation-delay: 0.2s; }
.anim-stagger-group.is-visible > *:nth-child(3) { animation-delay: 0.3s; }
.anim-stagger-group.is-visible > *:nth-child(4) { animation-delay: 0.4s; }
.anim-stagger-group.is-visible > *:nth-child(5) { animation-delay: 0.5s; }
.anim-stagger-group.is-visible > *:nth-child(6) { animation-delay: 0.6s; }
.anim-stagger-group.is-visible > *:nth-child(7) { animation-delay: 0.7s; }
.anim-stagger-group.is-visible > *:nth-child(8) { animation-delay: 0.8s; }
.anim-stagger-group.is-visible > *:nth-child(9) { animation-delay: 0.9s; }
.anim-stagger-group.is-visible > *:nth-child(10) { animation-delay: 1.0s; }
.anim-stagger-group.is-visible > *:nth-child(11) { animation-delay: 1.1s; }
.anim-stagger-group.is-visible > *:nth-child(12) { animation-delay: 1.2s; }

/* Global Override: Disable observer animations if requested */
@media (prefers-reduced-motion: reduce) {
    .anim-trigger {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
    }
}