@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   TECNOSYS
   GRANDSTREAM OCTUBRE 2026
   DESIGN SYSTEM V2
========================================== */

:root {
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;

    --dark-bg: #0f172a;

    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    --radius-lg: 16px;
    --radius-md: 12px;

    --shadow-subtle:
        0 4px 20px -2px rgba(15,23,42,.05);

    --shadow-card:
        0 12px 32px -4px rgba(15,23,42,.08);
}


/* BASE */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1200px, 100%);
    margin: auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}


/* HEADER */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--slate-200);
}

.nav-wrapper {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo img {
    display: block;
    max-width: 190px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.nav-cta {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;

    display: inline-flex;
    gap: 12px;
    align-items: center;

    transition: color .2s ease;
}

.nav-cta:hover {
    color: var(--primary-hover);
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(2,132,199,.22),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #0f172a,
            #1e293b
        );

    color: white;
    padding: 90px 0 35px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: rgba(2,132,199,.14);
    border: 1px solid rgba(56,189,248,.35);

    color: #7dd3fc;

    border-radius: 100px;
    padding: 9px 17px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;

    margin-bottom: 28px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
}

.hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;

    margin-bottom: 24px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero-content > p {
    font-size: 17px;
    line-height: 1.8;
    color: #cbd5e1;
    max-width: 580px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    background: var(--primary);
    color: white;

    border: 0;
    border-radius: var(--radius-md);

    padding: 14px 23px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;

    box-shadow: 0 4px 14px rgba(2,132,199,.22);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2,132,199,.28);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: white;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-md);

    padding: 14px 23px;

    font-size: 14px;
    font-weight: 600;

    transition: background .2s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,.08);
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-top: 35px;

    font-size: 13px;
    color: #94a3b8;
}

.hero-expiry {
    margin-top: 55px;
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.1);

    color: #94a3b8;
    font-size: 12px;
}


/* HERO HIGHLIGHT */

.hero-highlight {
    background: white;
    color: var(--slate-900);

    border-radius: 20px;
    padding: 38px;

    box-shadow: 0 25px 60px rgba(0,0,0,.28);
}

.highlight-label {
    display: inline-block;

    background: var(--primary-light);
    color: var(--primary-hover);

    padding: 7px 12px;
    border-radius: 6px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;

    margin-bottom: 25px;
}

.highlight-title {
    color: var(--slate-500);
    font-size: 15px;
}

.highlight-model {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.highlight-description {
    color: var(--slate-600);
    font-size: 14px;
    margin-bottom: 30px;
}

.highlight-price {
    display: flex;
    flex-direction: column;
}

.highlight-price small {
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.highlight-price strong {
    font-size: clamp(38px, 5vw, 54px);
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.highlight-price span {
    color: var(--slate-500);
    font-size: 13px;
}

.highlight-divider {
    height: 1px;
    background: var(--slate-200);
    margin: 28px 0;
}

.highlight-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;

    font-size: 13px;
}

.highlight-footer strong {
    color: var(--slate-900);
}

.highlight-link {
    display: block;
    text-align: center;

    margin-top: 30px;
    padding: 13px;

    background: var(--slate-900);
    color: white;

    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;

    transition: background .2s ease;
}

.highlight-link:hover {
    background: var(--slate-700);
}


/* SECCIONES */

.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

.section-title h2 {
    color: var(--slate-900);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: var(--slate-600);
    max-width: 620px;
    margin: auto;
}


/* PRODUCTOS */

.products-section {
    background: var(--slate-50);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.product-card {
    background: white;

    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-subtle);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.product-card.featured {
    border-color: #7dd3fc;
}

.product-top {
    padding: 24px 28px 0;
}

.product-badge {
    display: inline-block;

    background: var(--slate-100);
    color: var(--slate-700);

    border-radius: 6px;
    padding: 7px 11px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
}

.featured-badge {
    background: var(--primary-light);
    color: var(--primary-hover);
}

.product-image {
    height: 260px;
    padding: 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: white;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    padding: 0 32px 32px;
}

.product-brand {
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.product-card h3 {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 4px 0 10px;
}

.product-description {
    color: var(--slate-600);
    font-size: 14px;
    min-height: 68px;
}

.specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.spec-tag {
    background: var(--slate-100);
    color: var(--slate-700);

    padding: 6px 10px;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;
}

.product-features {
    padding: 0;
    margin: 25px 0;
    list-style: none;
}

.product-features li {
    position: relative;
    padding: 9px 0 9px 25px;

    font-size: 13px;
    color: var(--slate-700);

    border-bottom: 1px solid var(--slate-100);
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;

    color: var(--primary);
    font-weight: 800;
}

.product-price {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);

    border-radius: 12px;
    padding: 22px;

    margin-bottom: 20px;
}

.price-label {
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.price-value {
    color: var(--slate-900);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.price-value span {
    font-size: 14px;
    color: var(--slate-600);
    font-weight: 500;
}

.price-note {
    color: var(--slate-500);
    font-size: 12px;
}

.product-card .btn-primary {
    width: 100%;
}

.product-datasheet {
    display: block;
    text-align: center;

    margin-top: 18px;

    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.product-datasheet:hover {
    text-decoration: underline;
}

.products-note {
    text-align: center;
    color: var(--slate-500);
    font-size: 12px;

    max-width: 750px;
    margin: 35px auto 0;
}


/* COMPARATIVA */

.comparison {
    background: white;
}

.tablewrap {
    overflow-x: auto;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
}

.comparison-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--slate-900);
    color: white;

    padding: 20px 25px;
    text-align: left;

    font-size: 13px;
}

.comparison-table td {
    padding: 17px 25px;

    border-bottom: 1px solid var(--slate-100);

    color: var(--slate-700);
    font-size: 14px;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--slate-50);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-price td {
    font-weight: 800;
    color: var(--primary);
}


/* FORMULARIO */

.order-section {
    background: var(--slate-50);
}

.order-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.order-content {
    padding-top: 30px;
}

.order-content h2 {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.order-content h2 span {
    color: var(--primary);
}

.order-content > p {
    color: var(--slate-600);
    margin: 22px 0 35px;
}

.order-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 10px;

    background: var(--primary-light);
    color: var(--primary);

    font-weight: 800;
}

.benefit strong {
    font-size: 14px;
}

.benefit p {
    font-size: 13px;
    color: var(--slate-600);
    margin: 3px 0 0;
}


/* FORM CARD */

.form-card {
    background: white;

    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);

    padding: 38px;

    box-shadow:
        0 20px 40px rgba(15,23,42,.08),
        0 4px 12px rgba(15,23,42,.03);
}

.form-header h3 {
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 6px;
}

.form-header p {
    color: var(--slate-600);
    font-size: 13px;
    margin-bottom: 30px;
}

.form-section-label {
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;

    margin: 25px 0 15px;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-card label {
    display: block;
    color: var(--slate-700);

    font-size: 13px;
    font-weight: 600;
}

.form-control,
.qty input {
    width: 100%;

    padding: 12px 14px;

    border: 1.5px solid var(--slate-200);
    border-radius: 10px;

    background: white;
    color: var(--slate-900);

    font-size: 14px;

    margin-top: 7px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-control:focus,
.qty input:focus {
    outline: none;

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px var(--primary-light);
}

.qty {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.qty label {
    padding: 16px;

    background: var(--slate-50);
    border: 1px solid var(--slate-200);

    border-radius: 12px;
}

.qty-model {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qty-model strong {
    font-size: 14px;
}

.qty-model small {
    color: var(--slate-500);
    font-size: 12px;
}

.qty input {
    text-align: center;
    font-weight: 700;
}

.total {
    display: flex;
    flex-direction: column;

    background: var(--slate-900);
    color: white;

    border-radius: 12px;
    padding: 23px;

    margin: 22px 0;
}

.total > span {
    font-size: 13px;
    color: #cbd5e1;
}

.total strong {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.total small {
    color: #94a3b8;
    font-size: 12px;
}

.observations-label {
    margin-bottom: 20px;
}

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

.form-card label.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-size: 12px;
    font-weight: 400;

    color: var(--slate-600);
    line-height: 1.5;

    margin: 20px 0;
}

.consent input {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--primary);
}

.submit {
    width: 100%;
    padding: 16px;
}

.form-disclaimer {
    text-align: center;
    color: var(--slate-500);
    font-size: 11px;
    margin: 15px 0 0;
}


/* ALERTAS */

.alert {
    border-radius: 10px;
    padding: 15px 18px;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 22px;
}

.alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.alert.fail {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}


/* HONEYPOT */

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}


/* FOOTER */

.site-footer {
    background: var(--slate-900);
    color: white;
    padding: 55px 0 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-content strong {
    font-size: 20px;
    font-weight: 800;
}

.footer-content p {
    color: var(--slate-400);
    font-size: 13px;
    margin: 8px 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact span {
    color: var(--slate-400);
    font-size: 12px;
}

.footer-contact a {
    color: #7dd3fc;
    font-size: 14px;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);

    margin-top: 40px;
    padding-top: 20px;

    color: var(--slate-400);
    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-highlight {
        max-width: 550px;
    }

    .order-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .order-content {
        padding-top: 0;
    }

}

@media (max-width: 768px) {

    .section {
        padding: 65px 0;
    }

    .hero {
        padding-top: 65px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 25px;
    }

    .hero-highlight {
        padding: 28px;
    }

    .section-title {
        margin-bottom: 35px;
    }

}

@media (max-width: 480px) {

    .container {
        padding: 0 18px;
    }

    .nav-wrapper {
        min-height: 68px;
    }

    .logo img {
        max-width: 145px;
        max-height: 40px;
    }

    .nav-cta {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .product-content {
        padding: 0 22px 25px;
    }

    .product-image {
        height: 210px;
    }

    .qty {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 22px;
    }

    .price-value {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}
/* Destacado comercial - precios de mercado */

.market-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ee7b7;

    padding: 10px 15px;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.025em;

    margin-bottom: 20px;
}