/* ========================================
   SKILL GAMES TEXAS - LONE STAR EDITION
   "Texas is a whole other country"
   ======================================== */

/* CSS Variables */
:root {
    /* Texas Flag Colors - Bold & Proud */
    --texas-red: #bf1e2e;
    --texas-red-dark: #9a1824;
    --texas-red-light: #d63447;
    --texas-blue: #002868;
    --texas-blue-dark: #001a4d;
    --texas-blue-light: #003d99;
    --texas-white: #ffffff;

    /* Lone Star Gold */
    --star-gold: #d4a84b;
    --star-gold-light: #e8c36a;
    --star-gold-dark: #b8922f;

    /* Western Accents */
    --tan: #c9a66b;
    --leather: #8b5a2b;
    --cream: #faf6f0;
    --warm-white: #fffef9;

    /* Light Theme Backgrounds */
    --bg-light: var(--warm-white);
    --bg-cream: var(--cream);
    --bg-white: #ffffff;

    /* Text */
    --text-dark: #1a1a2e;
    --text-body: #374151;
    --text-muted: #6b7280;

    /* Brand colors */
    --banilla-color: var(--star-gold);
    --jvl-color: var(--texas-red);
    --primero-color: #16a34a;

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

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body.dark-theme {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-light);
    overflow-x: hidden;
    /* Subtle paper texture feel */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

a {
    color: var(--texas-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--texas-red);
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Texas Star Accent */
.texas-star {
    color: var(--star-gold);
}

/* Gradient Text */
.gradient-text {
    color: var(--texas-red);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--texas-blue);
    padding: 0;
    border-bottom: 4px solid var(--texas-red);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--texas-white);
    letter-spacing: 0.05em;
}

.logo-texas {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--star-gold);
    letter-spacing: 0.3em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--texas-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 0;
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--star-gold);
}

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

.nav-cta {
    display: inline-block;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--texas-white);
    transition: var(--transition);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 36px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-glow {
    background: var(--texas-red);
    color: var(--texas-white);
    border-color: var(--texas-red);
}

.btn-glow:hover {
    background: var(--texas-red-dark);
    border-color: var(--texas-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--texas-white);
}

.btn-outline {
    background: transparent;
    color: var(--texas-blue);
    border: 2px solid var(--texas-blue);
}

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

.btn-white {
    background: var(--texas-white);
    color: var(--texas-blue);
    border-color: var(--texas-white);
}

.btn-white:hover {
    background: var(--cream);
    color: var(--texas-blue);
}

.btn-subtle {
    background: var(--cream);
    color: var(--texas-blue);
    border: 2px solid var(--cream);
}

.btn-subtle:hover {
    background: var(--texas-blue);
    color: var(--texas-white);
    border-color: var(--texas-blue);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.05rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   HERO SECTION - SIMPLIFIED
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: var(--texas-blue);
}

/* Simplified hero - cleaner layout with Texas personality */
.hero.hero-simple {
    min-height: auto;
    padding: 140px 0 80px;
    background: var(--texas-blue);
    position: relative;
    overflow: hidden;
}

/* Hero with background image */
.hero.hero-with-bg {
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/installation-restaurant.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 40, 104, 0.92) 0%,
        rgba(0, 40, 104, 0.85) 50%,
        rgba(0, 40, 104, 0.75) 100%
    );
}

.hero.hero-with-bg .container {
    position: relative;
    z-index: 2;
}

.hero.hero-with-bg .hero-content {
    max-width: 640px;
    margin: 0;
    text-align: left;
}

.hero.hero-with-bg h1 {
    font-size: 4.5rem;
}

.hero.hero-with-bg .hero-cta {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero.hero-with-bg {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero.hero-with-bg .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero.hero-with-bg h1 {
        font-size: 2.5rem;
    }

    .hero.hero-with-bg .hero-cta {
        justify-content: center;
    }

    .hero-bg-image::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 40, 104, 0.9) 0%,
            rgba(0, 40, 104, 0.85) 100%
        );
    }
}

/* Red accent bar at top */
.hero.hero-simple::after {
    content: '';
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--texas-red);
}

/* Bold lone star */
.hero.hero-simple::before {
    content: '★';
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-size: 500px;
    color: var(--star-gold);
    opacity: 0.12;
    font-family: serif;
}

.hero.hero-simple .hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero.hero-simple h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1;
    color: var(--texas-white);
}

.hero.hero-simple h1 .gradient-text {
    color: var(--texas-white);
    position: relative;
}

.hero.hero-simple h1 .gradient-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--texas-red);
    z-index: -1;
}

.hero.hero-simple .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero.hero-simple .hero-cta {
    justify-content: center;
    margin-bottom: 24px;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-trust svg {
    color: #4ade80;
}

/* Trust Bar */
.trust-bar {
    background: var(--cream);
    padding: 16px 0;
    border-top: 4px solid var(--texas-red);
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-bar-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--texas-blue);
    background: var(--texas-white);
    padding: 6px 12px;
    border-radius: 3px;
}

.trust-bar-brands {
    display: flex;
    gap: 24px;
    align-items: center;
}

.trust-bar-brands span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--texas-blue);
    letter-spacing: 0.02em;
    position: relative;
}

.trust-bar-brands span:not(:last-child)::after {
    content: '★';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.5rem;
    color: var(--texas-red);
}

/* ========================================
   OPTIONS SECTION - Two Ways to Partner
   ======================================== */
.options-section {
    background: var(--bg-white);
    padding: var(--section-padding);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.option-card {
    background: var(--bg-white);
    border: 2px solid #e5e2dc;
    border-radius: 12px;
    padding: 40px 36px;
    position: relative;
    transition: var(--transition);
}

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

.option-card:hover {
    border-color: var(--texas-blue);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--texas-blue);
}

.option-card:hover .option-icon {
    background: var(--texas-blue);
    color: white;
}

.option-card h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--texas-blue);
    margin-bottom: 4px;
}

.option-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}


.option-features {
    list-style: none;
    margin-bottom: 24px;
}

.option-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-body);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--cream);
}

.option-features li:last-child {
    border-bottom: none;
}

.option-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.option-ideal {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.option-ideal strong {
    color: var(--texas-blue);
}


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

    .option-card {
        padding: 32px 28px;
    }
}

/* Legacy hero styles for other pages */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: var(--texas-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg::before {
    content: '★';
    font-size: 280px;
    color: var(--star-gold);
    opacity: 0.15;
    position: absolute;
}

.hero-glow {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin-left: auto;
    margin-right: 5%;
    text-align: left;
    padding: 40px;
    background: var(--texas-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--texas-blue);
    background: var(--cream);
    border: 2px solid var(--texas-blue);
    padding: 8px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero-badge::before {
    content: '★';
    color: var(--star-gold);
    font-size: 1.1em;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1;
    color: var(--texas-blue);
}

.hero h1 .gradient-text {
    color: var(--texas-red);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-brands {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--texas-blue);
    background: var(--cream);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #e5e2dc;
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--texas-red);
    margin-bottom: 16px;
}

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

.section-title {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: var(--texas-blue);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   BRANDS SHOWCASE
   ======================================== */
.brands-showcase {
    background: var(--bg-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.brand-card {
    position: relative;
    background: var(--bg-white);
    border: 2px solid #e5e2dc;
    border-radius: 8px;
    padding: 40px 30px;
    transition: var(--transition);
    overflow: hidden;
    border-top: 5px solid var(--texas-blue);
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.brand-card.banilla-card {
    border-top-color: var(--star-gold);
}

.brand-card.jvl-card {
    border-top-color: var(--texas-red);
}

.brand-card.primero-card {
    border-top-color: #16a34a;
}

.brand-card.featured {
    border-color: var(--texas-red);
    border-width: 2px;
    border-top-width: 5px;
}

.brand-card-glow {
    display: none;
}

.featured-tag {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--texas-white);
    background: var(--texas-red);
    padding: 6px 14px;
    border-radius: 0 0 4px 4px;
}

.brand-logo-area {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--cream);
    position: relative;
}

.brand-logo-area::after {
    content: '★';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.1;
}

.banilla-card .brand-logo-area::after {
    color: var(--star-gold);
    opacity: 0.3;
}

.jvl-card .brand-logo-area::after {
    color: var(--texas-red);
    opacity: 0.3;
}

.primero-card .brand-logo-area::after {
    color: #16a34a;
    opacity: 0.3;
}

.brand-name {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--texas-blue);
}

.banilla-card .brand-name {
    color: var(--star-gold-dark);
}

.jvl-card .brand-name {
    color: var(--texas-red);
}

.primero-card .brand-name {
    color: #16a34a;
}

.brand-sub {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.brand-card-image {
    margin: -40px -30px 20px -30px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    padding: 20px;
    border-radius: 6px 6px 0 0;
}

.brand-card.featured .brand-card-image {
    margin-top: -40px;
}

.brand-cabinet-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

/* JVL lineup - wider image */
.jvl-card .brand-cabinet-img {
    height: 180px;
    object-fit: cover;
}

.brand-card p {
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.7;
}

.brand-highlights {
    list-style: none;
    margin-bottom: 30px;
}

.brand-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-body);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--cream);
}

.brand-highlights li:last-child {
    border-bottom: none;
}

.highlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--star-gold);
    transform: rotate(45deg);
}

/* ========================================
   STATS SECTION - TEXAS FLAG BAR
   ======================================== */
.stats-section {
    padding: 0;
    background: var(--texas-blue);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--texas-red);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--texas-red);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    padding: 60px 0;
}

.stat-item {
    position: relative;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--texas-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* ========================================
   WHY US SECTION - Simplified
   ======================================== */
.why-us {
    background: var(--bg-cream);
    padding: 80px 0;
}

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

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: 8px;
    border-top: 4px solid var(--texas-red);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--texas-blue);
    border-radius: 50%;
    color: var(--texas-white);
}

.benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--texas-blue);
}

.benefit-item p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========================================
   LEGAL SECTION
   ======================================== */
.legal-section {
    background: var(--texas-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.legal-section::before {
    content: '★';
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    font-size: 400px;
    color: var(--star-gold);
    opacity: 0.08;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.legal-content .section-tag {
    color: var(--star-gold);
}

.legal-content .section-title {
    color: var(--texas-white);
    text-align: left;
    margin-bottom: 20px;
}

.legal-content .section-title .gradient-text {
    color: var(--star-gold);
}

.legal-intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
}

.legal-intro strong {
    color: var(--texas-white);
}

.legal-quote {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--star-gold);
    padding: 24px 28px;
    margin: 0 0 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-quote cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--star-gold);
    font-weight: 600;
}

.legal-details {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.legal-details strong {
    color: var(--texas-white);
}

.legal-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-fact {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-fact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--star-gold);
    border-radius: 50%;
    color: var(--texas-blue);
}

.legal-fact strong {
    display: block;
    color: var(--texas-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.legal-fact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

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

@media (max-width: 768px) {
    .legal-section {
        padding: 60px 0;
    }

    .legal-quote {
        padding: 20px;
    }
}

.visual-card {
    position: relative;
    background: var(--texas-blue);
    border-radius: 8px;
    padding: 50px 40px;
    overflow: hidden;
    border-top: 6px solid var(--texas-red);
}

.visual-card::before {
    content: '★';
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-size: 200px;
    color: var(--star-gold);
    opacity: 0.15;
}

.visual-glow {
    display: none;
}

.visual-content {
    position: relative;
}

.visual-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--star-gold);
}

.visual-card h3 {
    font-size: 2.5rem;
    margin: 12px 0 16px;
    color: var(--texas-white);
}

.visual-card > .visual-content > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.options-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-mini {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-mini strong {
    color: var(--texas-white);
}

.option-mini span {
    color: var(--star-gold);
    font-size: 0.9rem;
}

/* ========================================
   CTA SECTION - Texas Flag Inspired
   ======================================== */
.cta-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    display: flex;
    min-height: 350px;
}

.cta-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    background: var(--texas-blue);
    z-index: 1;
}

.cta-section::after {
    content: '★';
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 220px;
    color: var(--star-gold);
    opacity: 0.25;
    z-index: 2;
}

.cta-glow {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    width: 65%;
    margin-left: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background: var(--texas-red);
}

.cta-content-inner {
    max-width: 450px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--texas-white);
}

.cta-content h2 .gradient-text {
    color: var(--texas-white);
    text-decoration: underline;
    text-decoration-color: var(--star-gold);
    text-underline-offset: 6px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Simple CTA variant for inner pages */
.cta-section.cta-simple {
    min-height: auto;
    display: block;
    background: var(--texas-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section.cta-simple::before {
    content: '★';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 300px;
    color: var(--star-gold);
    opacity: 0.08;
}

.cta-section.cta-simple::after {
    content: '★';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 300px;
    color: var(--star-gold);
    opacity: 0.08;
}

.cta-section.cta-simple .container {
    position: relative;
    z-index: 2;
}

.cta-section.cta-simple .cta-content-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section.cta-simple .cta-content-inner h2 {
    color: var(--texas-white);
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-section.cta-simple .cta-content-inner h2 .gradient-text {
    color: var(--star-gold);
    text-decoration: none;
}

.cta-section.cta-simple .cta-content-inner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.cta-section.cta-simple .btn-white {
    background: var(--texas-red);
    color: var(--texas-white);
    border-color: var(--texas-red);
}

.cta-section.cta-simple .btn-white:hover {
    background: var(--texas-red-dark);
    border-color: var(--texas-red-dark);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    background: var(--texas-blue);
    overflow: hidden;
}

.page-header::before {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 400px;
    color: var(--star-gold);
    opacity: 0.08;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--texas-red);
}

.page-header-glow {
    display: none;
}

.page-header .section-tag {
    color: var(--star-gold);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 16px;
    position: relative;
    color: var(--texas-white);
}

.page-header h1 .gradient-text {
    color: var(--star-gold);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

/* ========================================
   BRAND NAVIGATION
   ======================================== */
.brand-nav {
    padding: 0;
    background: var(--bg-white);
    border-bottom: 3px solid var(--cream);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.brand-nav-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 20px 0;
}

.brand-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    border-radius: 4px;
    transition: var(--transition);
}

.brand-nav-item:hover {
    background: var(--cream);
}

.brand-nav-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--texas-blue);
}

.brand-nav-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ========================================
   GAMES SECTIONS
   ======================================== */
.games-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.games-section.alt-section {
    background: var(--bg-cream);
}

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

.brand-section-logo {
    margin-bottom: 16px;
}

.brand-section-logo h2 {
    font-size: 3.5rem;
    margin-bottom: 0;
}

.brand-section-logo span {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}

.banilla-accent h2 { color: var(--star-gold); }
.jvl-accent h2 { color: var(--texas-red); }
.primero-accent h2 { color: var(--primero-color); }

.brand-section-header p {
    font-size: 1.15rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.game-card {
    background: var(--bg-white);
    border: 2px solid #e5e2dc;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    border-color: var(--texas-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.game-card.featured-game {
    border-color: var(--texas-red);
    border-width: 3px;
}

.game-image {
    position: relative;
    height: auto;
    background: #1a1a2e;
    overflow: hidden;
}

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

/* Banilla hero image */
.banilla-hero {
    text-align: center;
    margin-bottom: 50px;
}

.banilla-hero-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* JVL hero image */
.jvl-hero {
    text-align: center;
    margin-bottom: 50px;
}

.jvl-hero-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Primero hero image */
.primero-hero {
    text-align: center;
    margin-bottom: 50px;
}

.primero-hero-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Video game cards */
.games-grid-videos {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.game-card-video {
    max-width: 400px;
    margin: 0 auto;
}

.game-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.game-video iframe,
.game-video .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.game-video:hover .video-play-btn {
    opacity: 0.9;
}

.more-videos-link {
    text-align: center;
    margin-top: 30px;
}

.more-videos-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.more-videos-link .btn svg {
    flex-shrink: 0;
}

/* Taller image area for JVL cabinets */
.alt-section .game-image {
    height: 350px;
}

.alt-section .game-img {
    object-fit: contain;
    background: #f5f3f0;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banilla-gradient {
    background: linear-gradient(135deg, #92400e 0%, #d4a84b 50%, #fcd34d 100%);
}

.jvl-gradient {
    background: linear-gradient(135deg, #7f1d1d 0%, #bf1e2e 50%, #f87171 100%);
}

.primero-gradient {
    background: linear-gradient(135deg, #14532d 0%, #16a34a 50%, #4ade80 100%);
}

.placeholder-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.placeholder-type {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    margin-top: 4px;
}

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--texas-blue);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
}

.game-badge.hot {
    background: var(--texas-red);
}

.game-badge.new {
    background: var(--primero-color);
}

.game-info {
    padding: 28px;
}

.game-info h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--texas-blue);
}

.game-info > p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-features {
    list-style: none;
    margin-bottom: 24px;
}

.game-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--cream);
}

.game-features li:last-child {
    border-bottom: none;
}

.game-features li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 0.7rem;
    color: var(--star-gold);
}

/* ========================================
   COMPARISON SECTION
   ======================================== */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto 40px;
    background: var(--bg-white);
    border: 2px solid var(--texas-blue);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.comparison-header {
    background: var(--texas-blue);
}

.comparison-header .comparison-cell {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--texas-white);
    padding: 20px;
}

.comparison-row {
    border-bottom: 1px solid var(--cream);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:nth-child(even) {
    background: var(--cream);
}

.comparison-cell {
    padding: 16px 20px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.comparison-cell.label {
    color: var(--texas-blue);
    font-weight: 700;
}

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

.comparison-cta p {
    color: var(--text-body);
    margin-bottom: 20px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding: var(--section-padding);
    background: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--texas-blue);
}

.contact-form-wrapper > p {
    color: var(--text-body);
    margin-bottom: 30px;
}

.contact-form {
    background: var(--bg-white);
    border: 2px solid #e5e2dc;
    border-radius: 8px;
    padding: 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 2px solid #e5e2dc;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--texas-blue);
    box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-white);
    border: 2px solid #e5e2dc;
    border-radius: 8px;
    padding: 30px;
}

.info-card.highlight {
    background: var(--texas-blue);
    border-color: var(--texas-blue);
}

.info-card.highlight h3 {
    color: var(--texas-white);
}

.info-card.highlight p {
    color: rgba(255,255,255,0.8);
}

.info-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--texas-blue);
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-body);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--cream);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--star-gold);
    font-size: 0.9rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cream);
}

.contact-method:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-method svg {
    color: var(--texas-red);
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    color: var(--texas-blue);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.contact-method a {
    color: var(--texas-red);
}

.service-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.service-areas span {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--star-gold);
    border: 1px solid rgba(255,255,255,0.2);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-white);
    padding: var(--section-padding);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.faq-item {
    background: var(--bg-cream);
    border-left: 4px solid var(--texas-red);
    border-radius: 0 8px 8px 0;
    padding: 28px;
}

.faq-item h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--texas-blue);
}

.faq-item p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--texas-blue);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--texas-red);
}

.footer::after {
    content: '★';
    position: absolute;
    bottom: -80px;
    right: -40px;
    font-size: 350px;
    color: var(--star-gold);
    opacity: 0.05;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-brands {
    display: flex;
    gap: 12px;
}

.footer-brands span {
    font-size: 0.8rem;
    color: var(--star-gold);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 4px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: var(--star-gold);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-email {
    color: var(--star-gold) !important;
    font-size: 0.95rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .brands-grid,
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

    .hero-content {
        margin-right: auto;
        margin-left: auto;
    }

    .hero::after,
    .hero::before {
        left: 0;
    }

    .hero-bg {
        width: 100%;
        height: 100%;
        position: absolute;
    }

    /* CTA responsive */
    .cta-section::before {
        display: none;
    }

    .cta-section::after {
        display: none;
    }

    .cta-content {
        margin-left: 0;
        background: var(--texas-red);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 40px;
    }

    /* Simplify hero background for mobile */
    .hero::after,
    .hero::before {
        display: none;
    }

    .hero-bg {
        width: 100%;
        height: 100%;
    }

    .hero-bg::before {
        font-size: 150px;
        opacity: 0.1;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .hero-content {
        margin: 20px 16px;
        padding: 28px 24px;
        border-radius: 12px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .brands-grid,
    .games-grid,
    .faq-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .page-header h1 {
        font-size: 2.75rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .brand-nav-links {
        gap: 20px;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-header,
    .comparison-row {
        min-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .btn-large {
        padding: 16px 28px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .brand-nav-links {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ========================================
   HERO BADGES & STATS
   ======================================== */
.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-badge.legal-badge {
    background: #e8f5e9;
    border-color: #16a34a;
    color: #16a34a;
}

.hero-badge.legal-badge::before {
    display: none;
}

.hero-badge.legal-badge svg {
    color: #16a34a;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 2px solid var(--cream);
    border-bottom: 2px solid var(--cream);
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--texas-blue);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    background: var(--bg-cream);
    padding: var(--section-padding);
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 30px 28px 36px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 2px solid #e5e2dc;
    position: relative;
    border-top: 4px solid var(--texas-red);
    transition: var(--transition);
}

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

.step-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--texas-blue);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.15;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--texas-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texas-white);
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--texas-blue);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texas-red);
    padding-top: 60px;
}

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

/* ========================================
   INSTALLATIONS SECTION
   ======================================== */
.installations-section {
    background: var(--bg-cream);
    padding: var(--section-padding);
}

.installations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.installation-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e2dc;
    transition: var(--transition);
}

.installation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--texas-blue);
}

.installation-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.installation-info {
    padding: 24px;
    border-top: 4px solid var(--texas-red);
}

.installation-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--texas-white);
    background: var(--texas-blue);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.installation-info p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

    .installations-grid .installation-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .installations-grid .installation-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .installation-image {
        height: 220px;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--bg-white);
    padding: var(--section-padding);
    position: relative;
}

.testimonials .section-tag {
    color: var(--texas-red);
}

.testimonials .section-title {
    color: var(--texas-blue);
}

.testimonials .section-title .gradient-text {
    color: var(--texas-red);
}

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

.testimonial-card {
    background: var(--cream);
    border-radius: 8px;
    padding: 30px;
    border-top: 4px solid var(--texas-red);
    position: relative;
    transition: var(--transition);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--texas-blue);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-stars {
    color: var(--star-gold);
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--texas-blue);
    color: var(--texas-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-info strong {
    color: var(--texas-blue);
    font-size: 0.95rem;
}

.testimonial-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   NAVIGATION PHONE & RIGHT SECTION
   ======================================== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--star-gold) !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-phone:hover {
    color: var(--texas-white) !important;
}

.nav-phone svg {
    color: inherit;
}

/* ========================================
   FOOTER PHONE
   ======================================== */
.footer-phone {
    display: block;
    color: var(--star-gold) !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-phone:hover {
    color: var(--texas-white) !important;
}

/* ========================================
   BUTTON WITH ICON
   ======================================== */
.btn svg {
    margin-right: 8px;
}

/* ========================================
   RESPONSIVE - NEW ELEMENTS
   ======================================== */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero-stat {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .hero-stat-number {
        font-size: 2rem;
        min-width: 60px;
    }

    .hero-stat-label {
        margin-top: 0;
        text-align: left;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        padding: 16px 0;
    }

    .hero-stat-number {
        font-size: 1.75rem;
    }

    .step-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }
}

/* ========================================
   STICKY MOBILE CTA
   ======================================== */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--texas-blue);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--texas-red);
}

.sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.sticky-cta-phone {
    flex: 1;
    background: transparent;
    color: var(--star-gold) !important;
    border: 2px solid var(--star-gold);
}

.sticky-cta-phone:hover {
    background: var(--star-gold);
    color: var(--texas-blue) !important;
}

.sticky-cta-quote {
    flex: 1.5;
    background: var(--texas-red);
    color: white !important;
    border: 2px solid var(--texas-red);
}

.sticky-cta-quote:hover {
    background: var(--texas-red-dark);
    border-color: var(--texas-red-dark);
}

@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
        gap: 10px;
    }

    /* Add padding to body so footer isn't hidden behind sticky CTA */
    body {
        padding-bottom: 80px;
    }

    .footer {
        padding-bottom: 30px;
    }
}

/* Animation helper */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Mobile menu active state */
.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--texas-blue);
    border-top: 2px solid var(--texas-red);
    padding: 20px;
    gap: 0;
}

.nav-links.active li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links.active li:last-child {
    border-bottom: none;
}

/* Mobile phone link in nav */
.mobile-phone-link {
    display: none;
}

@media (max-width: 768px) {
    .mobile-phone-link {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--star-gold);
        margin-right: 12px;
    }

    .mobile-phone-link svg {
        width: 20px;
        height: 20px;
    }

    .mobile-phone-link span {
        display: none;
    }
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   BLOG STYLES
   ======================================== */
.blog-section {
    padding: var(--section-padding);
    background: var(--bg-cream);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e2dc;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--texas-blue);
}

.blog-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

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

.blog-card.featured .blog-card-image {
    height: 100%;
    min-height: 320px;
}

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

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

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--texas-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 4px;
}

.blog-card-content {
    padding: 28px;
}

.blog-card.featured .blog-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.blog-card h2 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card.featured h2 {
    font-size: 1.75rem;
}

.blog-card h2 a {
    color: var(--texas-blue);
}

.blog-card h2 a:hover {
    color: var(--texas-red);
}

.blog-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Blog Post Page */
.blog-post-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-post-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-post-meta .category {
    background: var(--texas-red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.blog-post-header h1 {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--texas-blue);
    margin-bottom: 20px;
}

.blog-post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.blog-post-content h2 {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--texas-blue);
    margin: 40px 0 20px;
}

.blog-post-content h3 {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--texas-blue);
    margin: 32px 0 16px;
}

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

.blog-post-content ul,
.blog-post-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.blog-post-content li {
    margin-bottom: 12px;
}

.blog-post-content blockquote {
    background: var(--cream);
    border-left: 4px solid var(--texas-red);
    padding: 24px 28px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.blog-post-content strong {
    color: var(--texas-blue);
}

.blog-post-cta {
    background: var(--texas-blue);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

.blog-post-cta h3 {
    color: var(--texas-white);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 12px;
}

.blog-post-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--texas-blue);
    font-weight: 600;
    margin-bottom: 30px;
}

.blog-back-link:hover {
    color: var(--texas-red);
}

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

    .blog-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .blog-card.featured .blog-card-image {
        min-height: 200px;
    }

    .blog-post-header h1 {
        font-size: 1.75rem;
    }

    .blog-post-featured-image {
        height: 250px;
    }
}
