:root {
    --primary-color: #ffffff;
    --secondary-color: #c6dafc;
}

/* GENERAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* HEADER */
header {
    background: #1a73e8;
    color: white;
    padding: 20px;
    position: relative;
}

.header-top {
    background: white;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-text {
    font-size: 22px;
    font-weight: bold;
}

/* --- MENU PRINCIPAL --- */
nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* SUBMENU */
nav ul li .dropdown {
    position: absolute;
    top: 35px;
    left: 0;
    background: white;
    padding: 10px 10px;
    list-style: none;
    min-width: max-content;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 100;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;

    display: block;
}

nav ul li.submenu:hover .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

nav ul li .dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 1.1rem;
    color: #333;
}

nav ul li .dropdown li a:hover {
    color: var(--secondary-color);
}

/* HAMBURGUESA */
.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    background: #1a73e8;
    margin: 5px 0;
    border-radius: 3px;
}

/* HEADER CONTENT */
.header-content {
    text-align: center;
    padding: 40px 20px;
}

.header-content h1 {
    margin: 0;
    font-size: 36px;
}

.header-content p {
    font-size: 18px;
    margin-top: 10px;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

.section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.section h2 {
    margin-top: 0;
    color: #1a73e8;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* PRICE BOX */
.price-box {
    text-align: center;
    background: #e8f0fe;
    border: 1px solid #c6dafc;
}

.precio {
    font-size: 28px;
    font-weight: bold;
    color: #1a73e8;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    nav ul {
        display: none;
        flex-direction: column;
        background: #1a73e8;
        padding: 20px;
        border-radius: 10px;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
    }

    nav ul li a {
        font-size: 1.4rem;
    }

    nav ul li .dropdown {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        background: #0f5ec4;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    nav ul li.submenu.open .dropdown {
        display: block;
    }

    nav ul li .dropdown li a {
        color: white;
        padding-left: 30px;
    }

    .hamburger {
        display: block;
    }
}

/* ==================================================================
   2026-10-01: secciones de Caracteristicas, Comparativo y Precio
   ================================================================== */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 20px; }

.logo-pdv { width: 50px; height: 50px; border: none; }
.logo-hero { width: 100px; height: 100px; border: none; }

.btn-claro {
    background: white;
    color: #1a73e8;
    font-weight: bold;
}

.intro { color: #555; margin-bottom: 25px; }

/* Video responsivo 16:9 */
.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Dos ediciones lado a lado */
.ediciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.edicion {
    border: 1px solid #dfe6f3;
    border-radius: 10px;
    padding: 0 22px 18px;
    background: #fafcff;
}

.edicion-pro {
    border: 2px solid #1a73e8;
    background: #f3f7ff;
}

.edicion-cabecera {
    margin: 0 -22px 10px;
    padding: 20px 22px 16px;
    border-radius: 9px 9px 0 0;
    background: #e8f0fe;
    position: relative;
}

.edicion-pro .edicion-cabecera {
    background: #1a73e8;
    color: white;
    border-radius: 7px 7px 0 0;
}

.edicion-cabecera h3 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #1a73e8;
}

.edicion-pro .edicion-cabecera h3 { color: white; }

.edicion-cabecera p { margin: 0; font-size: 15px; }

.edicion h4 {
    margin: 20px 0 4px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #1a73e8;
}

.incluye {
    margin: 14px 0 0;
    font-weight: bold;
    color: #333;
}

.etiqueta {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #fbbc04;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
}

.edicion .features-list li {
    position: relative;
    padding: 8px 0 8px 26px;
    border-bottom: 1px solid #e6e9ef;
}

.edicion .features-list li::before {
    content: "✔";
    position: absolute;
    left: 2px;
    top: 8px;
    color: #34a853;
    font-weight: bold;
}

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

/* Comparativo */
.tabla-wrap { overflow-x: auto; }

.comparativo {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.comparativo th,
.comparativo td {
    padding: 10px 12px;
    border-bottom: 1px solid #e3e6ec;
    text-align: left;
}

.comparativo th {
    background: #1a73e8;
    color: white;
}

.comparativo th:nth-child(n+2),
.comparativo td:nth-child(n+2) {
    text-align: center;
    width: 90px;
}

.comparativo tbody tr:nth-child(even) { background: #f7f9fc; }
.comparativo .si { color: #34a853; font-weight: bold; }
.comparativo .no { color: #aaa; }

/* Precios */
.precios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.price-box {
    position: relative;
    border-radius: 10px;
    padding: 30px 20px;
}

.price-box h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.price-box-pro {
    border: 2px solid #1a73e8;
    background: #dbe7fd;
}

.precio-desc {
    color: #555;
    min-height: 44px;
}

.precio { margin: 10px 0 0; }

.precio-nota {
    margin: 4px 0 0;
    color: #555;
}

#contacto a { text-decoration: none; }

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

    .section { padding: 20px; }

    .header-content h1 { font-size: 28px; }

    .logo-img { width: 140px; }

    .precio-desc { min-height: 0; }

    .comparativo th:nth-child(n+2),
    .comparativo td:nth-child(n+2) { width: 52px; padding: 10px 4px; }
}
