/* ======================================================
   VASCONCELLOS — PRO-500 Product Page (Premium Design)
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

/* ---- VARIABLES ---- */
:root {
    --vino-oscuro: #72253D;
    --vino-intenso: #BF2673;
    --silver-mist: #DCE3EB;
    --price-bg: #72253D;

    --bg: #f5f2f3;
    --bg-card: #ffffff;
    --bg-elevated: #faf8f9;
    --text: #3a1a25;
    --text-muted: #7a6670;
    --border: #e8e0e4;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dark {
    --bg: #110810;
    --bg-card: #1e0f18;
    --bg-elevated: #251520;
    --text: #dde2ec;
    --text-muted: #a0a8b5;
    --border: #3a2030;
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

body {
    font-family: 'Raleway', 'Century Gothic', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.imagenlogo{
    height: 2rem;
}

/* ---- ANIMATIONS ---- */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-slide-up { animation: slideUp 0.8s ease both; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Scroll reveal */
.feature-box, .app-card, .specs-section, .roi-section, .viewer-section {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-box.visible, .app-card.visible, .specs-section.visible, .roi-section.visible, .viewer-section.visible {
    opacity: 1; transform: translateY(0);
}
.feature-box:nth-child(2) { transition-delay: 0.1s; }
.feature-box:nth-child(3) { transition-delay: 0.2s; }
.feature-box:nth-child(4) { transition-delay: 0.3s; }
.feature-box:nth-child(5) { transition-delay: 0.4s; }
.feature-box:nth-child(6) { transition-delay: 0.5s; }

.app-card:nth-child(2) { transition-delay: 0.15s; }
.app-card:nth-child(3) { transition-delay: 0.3s; }

/* ================ HEADER ================ */
.site-header {
    background: var(--bg-card);
    border-bottom: 3px solid var(--vino-oscuro);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
}
.dark .site-header { border-bottom-color: var(--vino-intenso); }

.header-inner {
    max-width: 1360px; margin: 0 auto;
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2rem;
}

.header-logo-area { display: flex; align-items: center; gap: 0.75rem; }
.header-brand {
    font-size: 1.15rem; font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--vino-oscuro);
}
.dark .header-brand { color: var(--silver-mist); }

.header-nav { display: flex; align-items: center; gap: 1rem; }

.nav-btn-back {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--vino-intenso);
    color: #fff;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(191,38,115,0.25);
}
.nav-btn-back:hover {
    background: var(--vino-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(114,37,61,0.3);
}

.logo-dark { display: none; }
.dark .logo-light { display: none; }
.dark .logo-dark { display: block; }

.theme-toggle {
    width: 52px; height: 28px;
    border-radius: 14px;
    background: var(--silver-mist);
    border: 1px solid var(--border);
    cursor: pointer; position: relative;
    transition: background var(--transition);
    padding: 0;
}
.dark .theme-toggle { background: #3d2030; }

.toggle-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--vino-oscuro);
    position: absolute; top: 2px; left: 3px;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition);
    color: #fff;
}
.dark .toggle-thumb { transform: translateX(23px); background: var(--vino-intenso); }
.icon-moon { display: none; }
.dark .icon-sun { display: none; }
.dark .icon-moon { display: block; }

/* ================ HERO BANNER ================ */
.hero-banner {
    position: relative;
    background: linear-gradient(160deg, var(--vino-oscuro) 0%, #4a1528 40%, #2a0c18 100%);
    overflow: hidden;
    padding: 80px 0 100px;
    min-height: 520px;
}

.hero-banner-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}
.hero-glow-1 {
    width: 500px; height: 500px;
    background: var(--vino-intenso);
    top: -150px; right: -100px;
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: rgba(220,227,235,0.15);
    bottom: -150px; left: -100px;
}

.hero-diagonal-lines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 30px,
        rgba(255,255,255,0.015) 30px,
        rgba(255,255,255,0.015) 31px
    );
}

.hero-banner-inner {
    max-width: 1360px; margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative; z-index: 1;
}

.hero-info { color: #fff; }

.badge-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(191,38,115,0.3);
    color: #fff;
    border: 1px solid rgba(191,38,115,0.4);
    backdrop-filter: blur(4px);
}
.badge-alt {
    background: rgba(220,227,235,0.1);
    border-color: rgba(220,227,235,0.2);
}

.hero-info h1 {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.hero-accent {
    background: linear-gradient(90deg, var(--vino-intenso), #e64a9a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.15rem;
    color: rgba(220,227,235,0.7);
    font-weight: 400;
    margin-bottom: 35px;
    letter-spacing: 0.02em;
}

.hero-stats {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 10px;
    backdrop-filter: blur(8px);
}
.stat-item {
    flex: 1;
    text-align: center;
}
.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(220,227,235,0.5);
    font-weight: 600;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    align-self: stretch;
}

/* Hero image */
.hero-image-container {
    position: relative;
    display: flex; justify-content: center; align-items: center;
}
.image-glow {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(191,38,115,0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}
.product-main-img {
    position: relative; z-index: 1;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
    animation: float 6s ease-in-out infinite;
}

/* ================ SECTION EYEBROW ================ */
.section-eyebrow {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 8px;
}
.section-eyebrow.center { justify-content: center; }
.eyebrow-diamond {
    width: 8px; height: 8px;
    background: var(--vino-intenso);
    transform: rotate(45deg);
}
.section-eyebrow span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--vino-intenso);
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--vino-oscuro);
    margin-bottom: 20px;
}
.dark .section-heading { color: var(--silver-mist); }

.section-title {
    color: var(--vino-oscuro);
    text-align: center;
    margin-bottom: 12px;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.dark .section-title { color: var(--silver-mist); }

/* ================ PRODUCT WRAPPER ================ */
.product-wrapper {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 5% 80px;
}

/* ================ INFO ROW ================ */
.info-row {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding-top: 30px;
}

.desc-col {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.desc-col p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-align: justify;
}

.feature-list {
    list-style: none; padding: 0; margin: 24px 0;
}
.feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 500;
}
.check-icon { color: var(--vino-intenso); flex-shrink: 0; }

.extra-downloads {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 24px;
}
.btn-download {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    color: var(--vino-intenso);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-download:hover {
    background: var(--vino-intenso);
    color: #fff;
    border-color: var(--vino-intenso);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191,38,115,0.2);
}
.btn-download svg { opacity: 0.7; }
.btn-download:hover svg { opacity: 1; stroke: #fff; }

/* ================ PRICE CARD ================ */
.price-card {
    background: linear-gradient(155deg, var(--price-bg) 0%, #520828 50%, #2a0415 100%);
    color: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(114,37,61,0.35);
    height: fit-content;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.price-ribbon {
    position: absolute;
    top: 18px; right: -30px;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    color: #3a0020;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 5px 40px;
    transform: rotate(35deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
}
.price-header {
    background: rgba(255,255,255,0.06);
    padding: 22px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.price-body { padding: 28px 24px; }

.price-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
    font-size: 0.85rem;
}
.price-row.strike {
    opacity: 0.5;
    text-decoration: line-through;
    font-size: 0.8rem;
}
.price-row.highlight {
    font-weight: 700; font-size: 0.95rem;
    margin-top: 10px;
}
.main-price {
    font-size: 1.6rem;
    font-weight: 900;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.main-price small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.7;
}
.price-row.savings {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    padding: 10px 14px;
    border-radius: 10px;
    color: #ffd700;
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 10px;
}
.divider {
    border: 0; height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 24px 0;
}
.btn-contract {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #fff;
    color: var(--price-bg);
    padding: 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.btn-contract:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background: #f0f0f0;
}

/* ================ 3D VIEWER ================ */
.viewer-section {
    margin: 80px 0;
    text-align: center;
}

.viewer-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

.viewer-container {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    position: relative;
}

model-viewer { --poster-color: transparent; }

.ar-button {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--vino-intenso), #e64a9a);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 30px rgba(191,38,115,0.35);
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    z-index: 10;
}
.ar-button:hover {
    transform: translateX(-50%) translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(191,38,115,0.45);
}

.viewer-controls {
    position: absolute; top: 16px; right: 16px; z-index: 10;
}
.viewer-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 42px; height: 42px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
}
.viewer-btn:hover {
    background: var(--vino-intenso);
    color: #fff;
    border-color: var(--vino-intenso);
}

.ar-instructions {
    display: flex; justify-content: center; gap: 2.5rem;
    margin-top: 2.5rem; flex-wrap: wrap;
}
.ar-step {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.step-num {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--vino-intenso), #e64a9a);
    color: #fff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(191,38,115,0.2);
}

/* ================ FEATURES GRID ================ */
.features-section { margin-bottom: 80px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.feature-box {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.feature-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--vino-intenso), var(--vino-oscuro));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-box:hover::before { opacity: 1; }
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: rgba(191,38,115,0.15);
}

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(191,38,115,0.08), rgba(114,37,61,0.05));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--vino-intenso);
}
.dark .feature-icon {
    background: linear-gradient(135deg, rgba(191,38,115,0.15), rgba(114,37,61,0.1));
}

.feature-box h3 {
    color: var(--vino-oscuro);
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}
.dark .feature-box h3 { color: var(--silver-mist); }
.feature-box p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ================ VIDEO SECTION ================ */
.video-section { margin-bottom: 80px; }

.video-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: -8px auto 40px;
    line-height: 1.6;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container-iframe {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 8px 40px rgba(114, 37, 61, 0.08);
    overflow: hidden;
}

.dark .video-container-iframe {
    box-shadow: 0 8px 40px rgba(191, 38, 115, 0.06);
}

.video-container-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* ================ CONTACT SECTION ================ */
.contact-section {
    margin-bottom: 80px;
}

.contact-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: -8px auto 48px;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.contact-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

.contact-info-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vino-oscuro);
    margin-bottom: 20px;
}

.dark .contact-info-box h3 {
    color: var(--vino-intenso);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--text);
    font-size: 0.95rem;
    transition: color var(--transition);
    border-bottom: 1px solid var(--border);
}

.contact-link:last-child {
    border-bottom: none;
}

.contact-link:hover {
    color: var(--vino-intenso);
}

.contact-link svg {
    color: var(--vino-intenso);
    flex-shrink: 0;
}

.form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(114, 37, 61, 0.06);
    border-top: 5px solid var(--vino-oscuro);
    border: 1px solid var(--border);
    border-top: 5px solid var(--vino-oscuro);
}

.dark .form-wrapper {
    box-shadow: 0 15px 40px rgba(191, 38, 115, 0.04);
    border-top-color: var(--vino-intenso);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--vino-oscuro);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.dark .form-group label {
    color: var(--vino-intenso);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Raleway', 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-elevated);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vino-intenso);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(191, 38, 115, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.btn-submit {
    width: 100%;
    background-color: var(--vino-oscuro);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Raleway', sans-serif;
}

.btn-submit:hover {
    background-color: var(--vino-intenso);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(114, 37, 61, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-feedback {
    text-align: center;
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 24px;
}

.form-feedback.success {
    color: #2d9f5a;
}

.form-feedback.error {
    color: #d94444;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-info-box {
        position: static;
    }
    .form-wrapper {
        padding: 24px;
    }
}
/* ================ APPLICATIONS ================ */
.applications-section { margin-bottom: 80px; }

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}
.app-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
}
.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}
.app-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--vino-intenso);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 12px;
}
.app-card h3 {
    color: var(--vino-oscuro);
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.dark .app-card h3 { color: var(--silver-mist); }
.app-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ================ SPECS TABLE ================ */
.specs-section, .roi-section {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 24px;
    margin-bottom: 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.roi-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.specs-table-container {
    overflow-x: auto;
    border-radius: 16px;
    overflow: hidden;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table th, .specs-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.specs-table td:first-child { font-weight: 600; color: var(--text); }
.specs-table td:last-child { color: var(--text-muted); }
.specs-table th {
    background: linear-gradient(135deg, var(--vino-oscuro), #520828);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.specs-table tr:nth-child(even) { background: var(--bg-elevated); }
.specs-table tbody tr:hover { background: rgba(191,38,115,0.04); }
.dark .specs-table tbody tr:hover { background: rgba(191,38,115,0.08); }

/* ================ FOOTER ================ */
.site-footer {
    background: linear-gradient(160deg, var(--vino-oscuro), #2a0c18);
    color: #fff;
    padding: 50px 5%;
}
.footer-inner {
    max-width: 1360px; margin: 0 auto;
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
    display: flex; align-items: center; gap: 14px;
}
.footer-name {
    display: block;
    font-size: 1rem; font-weight: 700;
    letter-spacing: 0.1em;
}
.footer-contact {
    display: block;
    font-size: 0.78rem;
    opacity: 0.6;
    margin-top: 2px;
}
.footer-copy {
    font-size: 0.72rem;
    opacity: 0.4;
}/* =========================================================
   ESTILOS PREMIUM PARA TABLA DE INVERSIÓN (MODO OSCURO COMPATIBLE)
   ========================================================= */

.inv-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08); /* Sombra más suave y premium */
    border-radius: 12px; /* Bordes más redondeados */
    margin-bottom: 25px;
    border: 1px solid var(--border); /* Usa la variable de borde de tu tema */
    background: var(--bg-card); /* FONDOS DINÁMICOS PARA MODO OSCURO */
}

.inv-interactive-table {
    min-width: 850px;
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    color: var(--text); /* Asegura que el texto general respete el tema */
}

.inv-interactive-table thead {
    background: var(--vino-oscuro);
    color: #ffffff; /* El encabezado siempre blanco porque el fondo es vino oscuro */
}

.inv-interactive-table th {
    padding: 16px 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.inv-interactive-table td {
    padding: 18px 12px;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

/* Hover effect solo en desktop */
@media (hover: hover) {
    .inv-interactive-table tbody tr:hover td {
        background: rgba(142, 22, 59, 0.03); /* Un toque sutil del color vino al pasar el mouse */
    }
}

/* Filas dinámicas */
.inv-hidden-row {
    display: none;
    /* Un fondo ligerísimamente distinto para diferenciar las filas reveladas */
    background: var(--bg-elevated); 
}

/* Destacados */
.inv-price-highlight {
    color: var(--vino-intenso);
    font-weight: 900;
    font-size: 1.15rem;
}

.inv-promo-text {
    font-weight: 700;
    color: var(--text); /* Adaptable al modo oscuro */
    font-size: 0.9rem;
}

/* Controles (Botones más elegantes) */
.inv-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.inv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.inv-btn:hover {
    background: var(--vino-intenso);
    color: #ffffff;
    border-color: var(--vino-intenso);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 22, 59, 0.2);
}

.inv-btn svg {
    transition: transform 0.3s ease;
}

.inv-btn-hide:hover {
    background: var(--text-muted); /* Color neutral para el botón de ocultar */
    border-color: var(--text-muted);
}

/* =========================================================
   RESPONSIVE MÓVIL
   ========================================================= */
@media (max-width: 768px) {
    .inv-table-wrapper {
        border-radius: 8px;
    }
    
    .inv-interactive-table th, 
    .inv-interactive-table td {
        padding: 12px 10px;
        font-size: 0.85rem; 
    }
    
    .inv-price-highlight {
        font-size: 1.05rem; 
    }
    
    .inv-promo-text {
        font-size: 0.8rem;
    }

    /* Ajuste para que se note que se puede hacer scroll horizontal */
    .inv-table-wrapper::after {
        content: '';
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 30px;
        background: linear-gradient(to right, transparent, var(--bg-card));
        pointer-events: none;
    }
}

/* ================ RESPONSIVE ================ */
@media (max-width: 1100px) {
    .info-row { grid-template-columns: 1fr 340px; gap: 30px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-banner-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-info h1 { font-size: 2.8rem; }
    .badge-row { justify-content: center; }
    .hero-image-container { order: -1; }
    .product-main-img { max-height: 300px; }

    .info-row { grid-template-columns: 1fr; margin-top: -30px; }
    .price-card { max-width: 450px; margin: 0 auto; }

    .applications-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-info h1 { font-size: 2.2rem; }
    .hero-stats { flex-wrap: wrap; gap: 0; }
    .stat-item { min-width: 50%; padding: 10px 0; }
    .stat-divider { display: none; }

    .features-grid { grid-template-columns: 1fr; }

    .desc-col { padding: 28px; }

    model-viewer { height: 350px !important; }
    .ar-instructions { gap: 1rem; }

    .specs-table th, .specs-table td {
        display: block; width: 100%;
    }
    .specs-table tr { display: block; margin-bottom: 8px; border-bottom: 2px solid var(--border); }
    .specs-table th { text-align: center; }

    .header-inner { padding: 0.6rem 0.75rem; gap: 0.5rem; }
    .header-brand { font-size: 0.85rem; letter-spacing: 0.1em; }
    .nav-btn-back { padding: 7px 14px; font-size: 0.65rem; gap: 4px; }
    .nav-btn-back svg { width: 12px; height: 12px; }
    .theme-toggle { width: 44px; height: 24px; }
    .toggle-thumb { width: 18px; height: 18px; top: 2px; left: 3px; }
    .toggle-thumb svg { width: 10px; height: 10px; }
    .dark .toggle-thumb { transform: translateX(19px); }
    .header-nav { gap: 0.5rem; }

    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-banner { padding: 50px 0 70px; }
    .hero-info h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .specs-section, .roi-section { padding: 28px 18px; }
    model-viewer { height: 260px !important; }
    .price-card { max-width: 100%; }
    .header-brand { display: none; }
    .nav-btn-back { padding: 6px 12px; font-size: 0.6rem; }
}