/* ==========================================================================
   Stadium Couch Argentina - Custom High-End Styling & Google Ads Enhancements
   Av. del Libertador 7240, Núñez, C1429BMN, CABA
   Planta Munro: Av. Mitre 3850, Vicente López, PBA
   ========================================================================== */

:root {
    --sc-navy-dark: #0a0f1d;
    --sc-navy: #0f172a;
    --sc-navy-light: #1e293b;
    --sc-slate: #334155;
    --sc-slate-light: #64748b;
    --sc-gold: #c59b27;
    --sc-gold-light: #d4af37;
    --sc-gold-hover: #b3891e;
    --sc-gold-bg: rgba(197, 155, 39, 0.12);
    --sc-blue: #2563eb;
    --sc-blue-light: #3b82f6;
    --sc-emerald: #059669;
    --sc-emerald-light: #10b981;
    --sc-bg-light: #f8fafc;
    --sc-bg-alt: #f1f5f9;
    --sc-border: #e2e8f0;
    --sc-border-dark: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Patch 3.9: Bootstrap CSS Grid & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    color: #1e293b;
    background-color: #ffffff;
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Patch 7.5: iOS Safari 16px minimum font size to prevent automatic zooming */
input, select, textarea {
    font-size: 16px !important;
}

/* Patch 3.11: Zero Header Overflow */
header, nav, .hero, .topbar {
    max-width: 100vw;
    overflow-x: clip;
}

/* Topbar */
.topbar {
    background: #090e1a;
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: var(--sc-gold-light);
}

.topbar-badge {
    background: rgba(197, 155, 39, 0.2);
    color: #e2b744;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Main Navigation Enhancements */
#mainNav {
    background: rgba(15, 23, 42, 0.96) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

#mainNav.scrolled {
    background: rgba(10, 15, 29, 0.99) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #c59b27 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}

.brand-title-wrap {
    display: flex;
    flex-direction: column;
}

.brand-main-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-sub-title {
    font-size: 0.7rem;
    color: var(--sc-gold-light);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-link-custom {
    color: #e2e8f0 !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px !important;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--sc-gold-light) !important;
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-menu-dark-custom {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    padding: 8px;
}

.dropdown-menu-dark-custom .dropdown-item {
    color: #cbd5e1;
    font-size: 0.88rem;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-menu-dark-custom .dropdown-item:hover {
    background: rgba(197, 155, 39, 0.15);
    color: var(--sc-gold-light);
    transform: translateX(4px);
}

/* ==========================================================================
   Patch 3.10: White Ticker Marquee
   ========================================================================== */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #0b1329;
    border-top: 1px solid rgba(197, 155, 39, 0.2);
    border-bottom: 1px solid rgba(197, 155, 39, 0.2);
    padding: 12px 0;
    position: relative;
    z-index: 10;
}

.ticker-move {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerAnim 35s linear infinite;
}

.ticker-wrap:hover .ticker-move {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0 28px;
    gap: 10px;
}

.ticker-item i {
    color: var(--sc-gold-light);
    font-size: 1rem;
}

.ticker-badge {
    background: rgba(197, 155, 39, 0.2);
    color: #f1c40f;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

@keyframes tickerAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Hero Section Enhancements
   ========================================================================== */
.stadium-hero {
    position: relative;
    min-height: 85vh;
    background: radial-gradient(circle at 75% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(197, 155, 39, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, #090e1a 0%, #0f172a 50%, #172033 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.stadium-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stadium-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.7"/></pattern></defs><rect width="100" height="100" fill="url(%23stadium-grid)"/></svg>');
    opacity: 0.8;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 155, 39, 0.15);
    border: 1px solid rgba(197, 155, 39, 0.4);
    color: var(--sc-gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero-title-main {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    color: #ffffff;
}

.hero-title-accent {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead-text {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 650px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #b3891e 100%);
    color: #0a0f1d;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(197, 155, 39, 0.35);
    border: none;
}

.hero-cta-btn:hover {
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(197, 155, 39, 0.45);
}

.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.hero-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
    transform: scale(1.02);
}

.hero-floating-stat {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 155, 39, 0.4);
    border-radius: 12px;
    padding: 14px 20px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.hero-floating-stat .stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sc-gold-light);
    line-height: 1;
}

.hero-floating-stat .stat-label {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ==========================================================================
   Patch 3.13: Elastic Flex Cards & Consistent Heights
   ========================================================================== */
.card-row-equal {
    display: flex;
    flex-wrap: wrap;
}

.card-row-equal > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.custom-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--sc-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

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

.custom-card .card-footer-auto {
    margin-top: auto;
    padding-top: 18px;
}

/* Feature Icon Box */
.icon-box-gold {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--sc-gold-bg);
    color: var(--sc-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.custom-card:hover .icon-box-gold {
    background: var(--sc-gold);
    color: #0f172a;
    transform: scale(1.08);
}

/* Section Header Styles */
.section-tag {
    display: inline-block;
    color: var(--sc-gold);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-heading-dark {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.section-subtext {
    color: var(--sc-slate-light);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

/* ==========================================================================
   Configurador Modular de Sillones para Estadios
   ========================================================================== */
.configurator-panel {
    background: linear-gradient(145deg, #0d1424 0%, #172033 100%);
    border-radius: 20px;
    border: 1px solid rgba(197, 155, 39, 0.3);
    padding: 35px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.config-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sc-gold-light);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.config-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sc-gold);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.config-btn-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.config-option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.config-option-btn:hover {
    background: rgba(197, 155, 39, 0.12);
    border-color: rgba(197, 155, 39, 0.5);
    color: #ffffff;
}

.config-option-btn.active {
    background: rgba(197, 155, 39, 0.22);
    border-color: var(--sc-gold-light);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(197, 155, 39, 0.25);
}

.config-summary-box {
    background: rgba(10, 15, 29, 0.8);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px;
}

.config-price-display {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--sc-gold-light);
    line-height: 1.1;
    font-family: 'Space Mono', monospace, sans-serif;
}

/* ==========================================================================
   Technical Specification Tables & Badges
   ========================================================================== */
.table-tech-spec {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--sc-border);
    margin-bottom: 25px;
}

.table-tech-spec th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 16px;
    font-size: 0.88rem;
    text-align: left;
}

.table-tech-spec td {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--sc-border);
    color: #334155;
}

.table-tech-spec tr:last-child td {
    border-bottom: none;
}

.table-tech-spec tr:nth-child(even) {
    background-color: var(--sc-bg-light);
}

.badge-iram {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ==========================================================================
   Bento Showcase Grid for Stadium Photos
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--sc-border);
    background: #0f172a;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.bento-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sc-gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.bento-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.bento-desc {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bento Sizing Classes */
.bento-col-8 { grid-column: span 8; min-height: 380px; }
.bento-col-4 { grid-column: span 4; min-height: 380px; }
.bento-col-6 { grid-column: span 6; min-height: 300px; }
.bento-col-12 { grid-column: span 12; min-height: 340px; }

@media (max-width: 991px) {
    .bento-col-8, .bento-col-4, .bento-col-6 {
        grid-column: span 12;
        min-height: 280px;
    }
}

/* ==========================================================================
   Footer & AFIP Data Fiscal
   ========================================================================== */
.footer-stadium {
    background: #090e1a;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-stadium h5 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-stadium h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--sc-gold-light);
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--sc-gold-light);
    transform: translateX(4px);
}

.afip-badge-box {
    display: inline-block;
    background: #ffffff;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    transition: transform 0.2s ease;
}

.afip-badge-box:hover {
    transform: scale(1.05);
}

.afip-badge-box img {
    display: block;
    width: 58px;
    height: auto;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float-btn:hover {
    color: #ffffff;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Breadcrumbs */
.breadcrumb-wrap {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid var(--sc-border);
    font-size: 0.85rem;
}

.breadcrumb-wrap a {
    color: var(--sc-slate-light);
    text-decoration: none;
}

.breadcrumb-wrap a:hover {
    color: var(--sc-gold);
}

.breadcrumb-wrap .current-crumb {
    color: var(--sc-navy);
    font-weight: 600;
}

/* Cookie Notice */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: #cbd5e1;
    padding: 14px 20px;
    font-size: 0.85rem;
    z-index: 1050;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
}

/* Page Headers for Internal Pages */
.internal-page-header {
    background: linear-gradient(135deg, #090e1a 0%, #0f172a 60%, #1e293b 100%);
    color: #ffffff;
    padding: 120px 0 60px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.internal-page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.internal-page-header p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0;
}
