/* ========================================
   VARIABLES Y CONFIGURACIÓN GENERAL
======================================== */

:root {
    --yellow: #ffe600;
    --dark: #202020;
    --text: #333333;
    --white: #ffffff;
    --light: #f5f5f5;
    --border: #e5e5e5;
    --green: #00a650;

    --max-width: 1200px;

    --font-main: Arial, Helvetica, sans-serif;
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.5;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    cursor: pointer;
}


/* ========================================
   CONTENEDOR GENERAL
======================================== */

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

/* ========================================
   HEADER
======================================== */
.header .tpvnet-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 190px;
}


/* PUTO CÓDIGO DEL LOGO TPVNET -- */
.header .tpvnet-logo {
    display: block;
    width: 100%;
    max-width: 150px; /* --PUTO CODIGO PARA EL TAMAÑO DEL LOGO --*/
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header .tpvnet-brand {
        max-width: 145px;
    }

    .header .tpvnet-logo {
        max-width: 145px;
    }
}

.header {
    background: var(--yellow);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size: 28px;
    font-weight: 700;
}


.logo small {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 400;
    
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.6;
}


/* ========================================
   BOTONES
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-header {
    background: var(--dark);
    color: var(--white);
    white-space: nowrap;
}

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

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

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

/* ========================================
   HERO
======================================== */

.hero {
    background: var(--yellow);
    padding: 70px 0 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 22px;
}

.hero h1 span {
    font-weight: 400;
}

.hero h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-description {
    max-width: 500px;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 35px;
}


/* ========================================
   CARACTERÍSTICAS DEL HERO
======================================== */

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 2px solid var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.hero-feature span {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
}


/* ========================================
   OPCIONES DE COMPRA DEL HERO
======================================== */

.purchase-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

.purchase-option {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    padding: 13px 16px;
    min-width: 175px;
    display: flex;
    flex-direction: column;
}

.purchase-option strong {
    font-size: 13px;
}

.purchase-option span {
    font-size: 11px;
    opacity: 0.75;
}

.purchase-option b {
    margin-top: 5px;
    font-size: 24px;
    line-height: 1;
}

.purchase-option small {
    font-size: 10px;
    margin-top: 3px;
}


/* ========================================
   PRODUCTO
======================================== */

.hero-product {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-product img {
    width: min(100%, 570px);
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.commission-badge {
    position: absolute;
    right: 4%;
    bottom: 12%;
    z-index: 3;

    background: #00a650;
    color: white;

    padding: 12px 18px;
    border-radius: 30px;

    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

/* ========================================
   BENEFICIOS
======================================== */

.benefits {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.benefits-grid > div {
    min-height: 115px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.benefits-grid > div:first-child {
    border-left: 1px solid var(--border);
}

.benefits-grid strong {
    font-size: 14px;
    color: var(--dark);
}

.benefits-grid span {
    font-size: 13px;
    color: #666;
}

/* ========================================
   COMISIONES
======================================== */

.commissions {
    background: #f7f7f7;
    padding: 85px 0;
}

.commission-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.commission-title h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 18px;
}

.commission-title p {
    font-size: 16px;
    color: #666;
}

.commission-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 20px;
}

.commission-levels > div {
    background: var(--white);
    border-radius: 14px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.commission-levels span {
    display: block;
    min-height: 42px;
    font-size: 14px;
    color: #555;
}

.commission-levels strong {
    display: block;
    margin-top: 12px;
    font-size: 42px;
    line-height: 1;
    color: var(--dark);
}

.commission-levels small {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

/* ========================================
   TARJETAS ACEPTADAS
======================================== */

.accepted-payments {
    background: var(--white);
    padding: 65px 0;
}

.accepted-payments .container {
    text-align: center;
}

.accepted-payments h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 35px;
}

.accepted-payments img {
    width: min(100%, 1050px);
    height: auto;
    margin: 0 auto;
}

/* ========================================
   SOPORTE
======================================== */

.support {
    background: #f5f8fc;
    padding: 70px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.support-card {
    background: var(--white);
    border-radius: 18px;
    padding: 40px;
    border: 1px solid var(--border);
}

.support-card h2 {
    font-size: 28px;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 8px;
}

.support-card h3 {
    font-size: 20px;
    color: #174ea6;
    margin-bottom: 25px;
}

.support-card p {
    color: #555;
    margin-bottom: 22px;
}

.support-card ul {
    list-style: none;
    margin: 0 0 28px;
}

.support-card li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 12px;
    font-size: 14px;
}

.support-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 800;
}

.btn-whatsapp,
.btn-ai {
    min-width: 190px;
}

/* ========================================
   ENTREGA Y COMPRA
======================================== */

.delivery {
    background: #ffffff;
    padding: 75px 0;
}

.delivery .container {
    text-align: center;
}

.delivery h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--dark);
    margin-bottom: 10px;
}

.delivery-intro {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto;
}

.delivery-option {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: left;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
}

.delivery-option:hover {
    border-color: #1769ff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.delivery-icon {
    font-size: 32px;
    margin-bottom: 18px;
}

.delivery-option h3 {
    font-size: 21px;
    color: var(--dark);
    margin-bottom: 2px;
}

.delivery-option > span {
    display: block;
    color: #666;
    font-size: 14px;
}

.delivery-option strong {
    display: block;
    margin: 18px 0 5px;
    font-size: 34px;
    line-height: 1;
    color: #1769ff;
}

.delivery-option strong small {
    font-size: 14px;
}

.delivery-option > small {
    color: #777;
}

.delivery-option p {
    min-height: 48px;
    margin: 18px 0;
    color: #555;
    font-size: 14px;
}

.delivery-select {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: var(--dark);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.delivery-select:hover {
    background: #333;
}

.calculate-price {
    font-size: 25px !important;
}

/* ========================================
   CÓMO COMPRAR
======================================== */

.how-to-buy {
    background: #f7f7f7;
    padding: 75px 0;
}

.how-to-buy .container {
    text-align: center;
}

.how-to-buy h2 {
    font-size: clamp(32px, 4vw, 46px);
    color: var(--dark);
    margin-bottom: 45px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.steps > div {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    border: 1px solid var(--border);
}

.steps span {
    width: 42px;
    height: 42px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 800;
    font-size: 18px;
}

.steps h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.steps p {
    color: #666;
    font-size: 14px;
}

/* ========================================
   PREGUNTAS FRECUENTES
======================================== */

.faq {
    background: #ffffff;
    padding: 75px 0;
}

.faq .container {
    max-width: 900px;
}

.faq h2 {
    text-align: center;
    font-size: clamp(32px, 4vw, 46px);
    color: var(--dark);
    margin-bottom: 40px;
}

.faq details {
    border-bottom: 1px solid var(--border);
}

.faq summary {
    padding: 22px 5px;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    float: right;
    font-size: 24px;
    font-weight: 400;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    padding: 0 35px 22px 5px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 45px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 25px;
}

.footer-links a {
    font-size: 13px;
    color: #ddd;
}

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

.footer-legal {
    max-width: 420px;
    text-align: right;
}

.footer-legal p {
    margin-bottom: 6px;
    font-size: 12px;
    color: #bbb;
}




