/*
Theme Name: Toros Motors
Theme URI: https://torosmotors.mx
Author: Toros Motors Team
Author URI: https://torosmotors.mx
Description: Tema personalizado para Toros Motors - Marketplace de vehículos premium. Especialistas en pickups de lujo y trabajo, SUVs, vans, camiones y equipamiento pesado. Optimizado para DirectAdmin. Compatible con WordPress 6.8+ y PHP 8.4.
Version: 2025.4.15-FINAL
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toros-motors
Tags: automotive, dealership, vehicles, marketplace, responsive, custom-menu, custom-logo, directadmin
*/

/* ============================================
   TOROS MOTORS - WORDPRESS THEME
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f7f7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --color-primary: #000000;
    --color-white: #ffffff;
    --color-gray-1: #f7f7f7;
    --color-gray-2: #e5e5e5;
    --color-gray-3: #999999;
    --color-gray-4: #4d4d4d;
    --color-green: #25d366;
    --color-blue: #1877f2;
    --color-pink: #e4405f;
    --color-red: #ff0000;
    
    --font-primary: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* ============================================
   HEADER - FONDO BLANCO
   ============================================ */
.site-header,
#site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header.scrolled,
#site-header.scrolled {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.site-logo img {
    height: 60px;
    width: auto;
}

/* Navegación Principal */
.main-navigation {
    display: none;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-navigation a {
    color: var(--color-gray-3);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

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

.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.main-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.main-navigation .sub-menu a:hover {
    background: rgba(255,255,255,0.1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: none;
    color: var(--color-gray-3);
    font-size: 0.875rem;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .phone-link {
        display: flex;
    }
}

.phone-link:hover {
    color: var(--color-primary);
}

.whatsapp-btn {
    display: none;
    background: var(--color-green);
    color: var(--color-white);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .whatsapp-btn {
        display: flex;
    }
}

.whatsapp-btn:hover {
    background: #128c7e;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--color-dark);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.98);
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--color-white);
    background: rgba(255,255,255,0.1);
}

.mobile-menu .sub-menu a {
    padding-left: 2rem;
    font-size: 1rem;
}

.mobile-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mobile-whatsapp {
    background: var(--color-green);
    color: var(--color-white) !important;
    justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-primary);
}

.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video-container iframe {
    position: absolute;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.3);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator-dot {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-gray {
    background: var(--color-gray-1);
}

.section-black {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-gray-4);
    max-width: 600px;
    margin: 0 auto;
}

.section-black .section-description {
    color: rgba(255,255,255,0.6);
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--color-white);
}

.category-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.category-card-description {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-card-count {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.category-card-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-card-arrow {
    background: var(--color-white);
    color: var(--color-primary);
}

/* ============================================
   VEHICLE CARDS
   ============================================ */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vehicles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vehicle-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-gray-2);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    border-color: var(--color-gray-3);
    box-shadow: var(--shadow-lg);
}

.vehicle-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.vehicle-card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-green {
    background: #22c55e;
    color: var(--color-white);
}

.badge-blue {
    background: #3b82f6;
    color: var(--color-white);
}

.badge-amber {
    background: #f59e0b;
    color: var(--color-white);
}

.badge-black {
    background: var(--color-primary);
    color: var(--color-white);
}

.vehicle-card-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicle-card:hover .vehicle-card-actions {
    opacity: 1;
}

.vehicle-card-action-btn {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-card-action-btn:hover {
    background: var(--color-white);
}

.vehicle-card-action-btn.active {
    background: #ef4444;
    color: var(--color-white);
}

.vehicle-card-content {
    padding: 1rem;
}

.vehicle-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-card-subtitle {
    font-size: 0.875rem;
    color: var(--color-gray-3);
    margin-bottom: 0.75rem;
}

.vehicle-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.vehicle-card-spec {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-gray-4);
}

.vehicle-card-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-gray-4);
    margin-bottom: 1rem;
}

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-2);
}

.vehicle-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.vehicle-card-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   FINANCING CALCULATOR
   ============================================ */
.calculator-container {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-2);
    padding: 2rem;
}

.calculator-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculator-field {
    margin-bottom: 2rem;
}

.calculator-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.calculator-value {
    font-weight: 700;
}

.calculator-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-gray-2);
    border-radius: 3px;
    outline: none;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calculator-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.calculator-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-gray-3);
    margin-top: 0.5rem;
}

.calculator-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.calculator-input-row .calculator-slider {
    flex: 1;
}

.calculator-number-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 2px solid var(--color-gray-2);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    min-width: 140px;
    transition: border-color 0.3s ease;
}

.calculator-number-input-wrapper:focus-within {
    border-color: var(--color-primary);
}

.calculator-number-input-wrapper .currency-symbol {
    font-weight: 600;
    color: var(--color-primary);
    margin-right: 0.25rem;
}

.calculator-number-input {
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    width: 100%;
    outline: none;
    -moz-appearance: textfield;
}

.calculator-number-input::-webkit-outer-spin-button,
.calculator-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calculator-note {
    font-size: 0.75rem;
    color: var(--color-gray-3);
    margin-top: 0.5rem;
}

.calculator-rate-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 1rem;
}

.calculator-rate-box p {
    font-size: 0.875rem;
    color: #166534;
}

/* Results Box */
.results-box {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.results-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.results-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.results-item-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.results-item-value {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-info-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-2);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-info-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-text {
    font-size: 0.875rem;
    color: var(--color-gray-4);
    white-space: pre-line;
}

.contact-form-container {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-2);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-2);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

.footer-social a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-social a.facebook:hover { background: #1877f2; }
.footer-social a.instagram:hover { background: #e4405f; }
.footer-social a.youtube:hover { background: #ff0000; }
.footer-social a.whatsapp:hover { background: #25d366; }

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    white-space: pre-line;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
}

.footer-bottom-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s ease;
}

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

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-bounce 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsapp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   INVENTORY PAGE
   ============================================ */
.page-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0 3rem;
}

.page-header-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

.page-header-subtitle {
    color: rgba(255,255,255,0.6);
    margin-top: 0.5rem;
}

.inventory-toolbar {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-2);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.inventory-toolbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-2);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-toggle:hover {
    background: var(--color-gray-1);
}

.sort-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--color-gray-2);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: var(--color-white);
    cursor: pointer;
}

.view-toggle {
    display: flex;
    border: 1px solid var(--color-gray-2);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.view-toggle button {
    padding: 0.5rem;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle button.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Sidebar Filters */
.filters-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .filters-sidebar {
        display: block;
        width: 280px;
        flex-shrink: 0;
    }
}

.filters-sidebar-inner {
    position: sticky;
    top: 100px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-2);
    padding: 1.5rem;
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-2);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-option:hover {
    background: var(--color-gray-1);
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.filter-option label {
    font-size: 0.875rem;
    cursor: pointer;
    flex: 1;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
    .header-container {
        height: 70px;
    }
    
    .site-logo img {
        height: 50px;
    }
    
    .hero-content {
        padding-top: 6rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .calculator-container,
    .results-box,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .results-amount {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        padding: 2rem 1rem;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-video-container {
        display: none;
    }
    
    .hero-overlay,
    .hero-gradient {
        background: none;
    }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
/* Admin Bar */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Content Styles */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.entry-content p {
    margin-bottom: 1rem;
}

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

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

/* Alignment */
.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
