/* ========================================================
   VARIABLES DE ESTILO EXACTAS DE LA REFERENCIA
   ======================================================== */
:root {
    --bg: #0A0D10;
    --surface: #14181C;
    --slate-2: #1E242A;
    --slate-3: #2A323A;
    --ink: #EEF0EC;
    --muted: #9AA1A8;
    --line: rgba(255, 255, 255, 0.08);
    --or: #F36B12;
    --hv: #FFB400;
    --hv-ink: #1A1000;
    --grad: linear-gradient(100deg, #F36B12 0%, #FF8A1F 45%, #FFB400 100%);
    --f-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --f-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
    --r: 8px;
}

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

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.mono {
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

h1,
h2,
h3 {
    font-family: var(--f-display);
    text-transform: uppercase;
    text-wrap: balance;
    margin: 0;
}

h2 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.005em;
}

h3 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.1;
}

.g {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ol {
    color: transparent;
    -webkit-text-stroke: 1.6px rgba(255, 255, 255, 0.85);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C9A57E;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--grad);
}

.tape {
    height: 12px;
    background: repeating-linear-gradient(-45deg, var(--or) 0 18px, #111 18px 36px);
}

/* ========================================================
   BOTONES
   ======================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: var(--r);
    padding: 13px 22px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-hv {
    background: var(--grad);
    color: var(--hv-ink);
    box-shadow: 0 8px 24px -8px rgba(243, 107, 18, 0.7);
}

.btn-hv:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(243, 107, 18, 0.85);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--ink);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-dark {
    background: #111;
    color: #fff;
    border: 1px solid var(--line);
}

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

.arrow {
    transition: transform 0.2s;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ========================================================
   TOPBAR & HEADER
   ======================================================== */
.util-bar {
    background: #07090B;
    color: #A9B1B8;
    font-size: 12.5px;
    border-bottom: 1px solid var(--line);
}

.util-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 7px;
    padding-bottom: 7px;
    flex-wrap: wrap;
    gap: 12px;
}

.header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 24, 28, 0.86);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-plate {

    border-radius: 8px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
}

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

.logo-desc small {
    display: block;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: #A9B1B8;
    line-height: 1.5;
}

.nav-links ul {
    display: flex;
    gap: 4px;
}

.nav-links a {
    position: relative;
    padding: 9px 12px;
    font-size: 14px;
    color: #D3D8DC;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    background: var(--grad);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-cart {
    background: var(--grad);
    color: var(--hv-ink);
    border: none;
    border-radius: var(--r);
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px -8px rgba(243, 107, 18, 0.7);
}

.cart-badge {
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    background: #111;
    color: var(--hv);
    font-family: var(--f-mono);
    font-size: 12px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
}

.btn-menu-mobile {
    display: none;
    background: none;
    border: 1.5px solid #4A555E;
    border-radius: 6px;
    color: var(--ink);
    padding: 7px 11px;
    cursor: pointer;
}

/* ========================================================
   HERO CON ESCENA ILUSTRADA REAL Y CAPAS
   ======================================================== */
.hero {
    position: relative;
    background: #0A0D10;
    color: var(--ink);
    overflow: visible !important;
    /* Permite que el buscador flote sobre las barras inferiores */
    isolation: auto !important;
    flex-grow: 1;
    display: flex;
    align-items: center;
    z-index: 20;
    /* Eleva el hero sobre la barra .conds */
    width: 100%;
}

/* El fondo SVG se mantiene recortado en su propia capa de fondo */
.hero-scene {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.hero-scene svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 10, 12, 0.94) 0%, rgba(8, 10, 12, 0.78) 38%, rgba(8, 10, 12, 0.18) 70%, rgba(8, 10, 12, 0.1) 100%),
        linear-gradient(0deg, rgba(8, 10, 12, 0.85) 0%, transparent 35%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: center;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 12px;
}

.hero-title {
    font-size: clamp(38px, 5.2vw, 74px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.01em;
    margin-top: 8px;
    margin-bottom: 0;
}

.hero-lead {
    margin-top: 12px;
    max-width: 50ch;
    color: #C9D0D5;
    font-size: 14.5px;
    line-height: 1.5;
}

.hero-search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 4px;
    backdrop-filter: blur(8px);
}

.hero-search-box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.hero-search-box input::placeholder {
    color: #97A0A8;
}

.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 12px;
    color: #97A0A8;
    align-items: center;
}

.hero-tags a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 3px 10px;
    color: #D3D8DC;
    font-size: 11.5px;
}

.hero-tags a:hover {
    border-color: var(--hv);
    color: #fff;
}

.hero-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* ========================================================
   ESCENARIO FLOTANTE GLASSMORPHISM
   ======================================================== */
.float-stage {
    position: relative;
    height: 420px;
    width: 100%;
    margin-left: 15px;
    /* Crea separación con respecto al texto y buscador */
}

.glass {
    position: absolute;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
    padding: 12px 14px;
    color: #fff;
    animation: bobAnim 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
    box-shadow: 0 30px 60px -10px rgba(243, 107, 18, 0.25);
}

.glass.g1 {
    width: 50%;
    left: 4%;
    top: 0%;
    z-index: 2;
}

.glass.g2 {
    width: 48%;
    right: -2%;
    top: 22%;
    animation-delay: -2s;
    z-index: 1;
}

/* 3. Bota (Tarjeta Inferior Central - Desplazada hacia abajo para no tapar textos) */
.glass.g3 {
    width: 46%;
    left: 9%;
    bottom: 2%;
    animation-delay: -4s;
    z-index: 3;
    /* Queda al frente con espacio limpio */
}

@keyframes bobAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.glass .norm {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--f-mono);
    font-size: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--hv);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 180, 0, 0.3);
    z-index: 2;
}

.glass-preview {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    border-radius: 6px;
    overflow: hidden;
}

.glass-preview img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
}

.glass .gl {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
}

.glass b {
    font-family: var(--f-display);
    font-size: 15.5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.glass small {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--hv);
}

/* ========================================================
   BARRA DE CONDICIONES B2B Y MARQUESINA
   ======================================================== */
.conds {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 13, 16, 0.7);
    backdrop-filter: blur(6px);
}

.conds-flex {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.conds-flex div {
    padding: 16px 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.conds-flex div:first-child {
    border-left: 0;
}

.conds-flex small {
    display: block;
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8C959D;
    margin-bottom: 2px;
}

.conds-flex b {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

.marquee {
    background: var(--grad);
    color: #1A1000;
    overflow: hidden;
    white-space: nowrap;
    border-block: 2px solid #111;
}

.marquee .track {
    display: inline-flex;
    animation: mqAnim 38s linear infinite;
    padding-top: 12px;
    padding-bottom: 12px;
}

.marquee span {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 22px;
}

.marquee span::after {
    content: "";
    width: 9px;
    height: 9px;
    background: #111;
    transform: rotate(45deg);
}

@keyframes mqAnim {
    to {
        transform: translateX(-50%);
    }
}

/* ========================================================
   MOSAICO DE LÍNEAS
   ======================================================== */
.section-lines {
    padding-top: 88px;
    padding-bottom: 88px;
}

.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.sec-head h2 {
    margin-top: 12px;
}

.sec-head p.sub {
    max-width: 56ch;
    color: var(--muted);
    margin-top: 14px;
    font-size: 16px;
}

.lines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
}

.line-tile {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 0;
    padding: 20px;
    color: #fff;
    background: radial-gradient(ellipse 80% 80% at 70% 30%, #33404B 0%, #151A1F 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s;
}

.line-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.55);
}

.line-tile.big {
    grid-column: span 2;
    grid-row: span 2;
    background: radial-gradient(ellipse 70% 70% at 65% 35%, #5A3415 0%, #1B140F 72%);
}

.line-tile.big h3 {
    font-size: 44px;
}

.line-tile .cnt {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--hv);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.line-tile h3 {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 4px;
    margin-bottom: 4px;
}

.line-tile p {
    font-size: 13px;
    color: #B9C1C7;
    max-width: 30ch;
}

.line-tile .go {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: #fff;
    transition: background 0.2s;
}

.line-tile:hover .go {
    background: var(--or);
}

/* ========================================================
   ESTADÍSTICAS Y CIFRAS
   ======================================================== */
.section-stats {
    padding-top: 88px;
    padding-bottom: 88px;
    background: var(--surface);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 40px;
}

.why-grid div {
    padding: 26px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.why-grid div:first-child {
    border-left: 0;
}

.why-grid b {
    display: block;
    font-family: var(--f-display);
    font-size: clamp(46px, 6vw, 72px);
    font-weight: 900;
    line-height: 0.9;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.why-grid span {
    font-size: 14px;
    color: #A9B1B8;
}

/* ========================================================
   CTA BANDA
   ======================================================== */
.cta-band {
    background: var(--grad);
    color: #1A1000;
    padding-top: 52px;
    padding-bottom: 52px;
}

.cta-band-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-band-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========================================================
   CARRITO LATERAL
   ======================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 14, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.cart-overlay.activo {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -460px;
    width: min(460px, 100%);
    height: 100%;
    background: var(--surface);
    z-index: 2001;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-panel.activo {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(255, 180, 0, 0.14), var(--surface));
}

.cart-header h3 {
    font-size: 24px;
    text-transform: uppercase;
}

.close-cart {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 14px 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--muted);
    margin-top: 40px;
}

.cart-footer {
    border-top: 1px solid var(--line);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 14px;
    margin-bottom: 8px;
}

/* ========================================================
   ESTILOS DE TIENDA TÉCNICA B2B (IDÉNTICO A LA REFERENCIA)
   ======================================================== */
.catalog-page-main {
    padding: 50px 0 90px 0;
    background: #0A0D10;
    min-height: 80vh;
}

.catalog-sec-header {
    margin-bottom: 30px;
}

.catalog-main-title {
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 0.92;
    margin-top: 10px;
    letter-spacing: -0.01em;
}

.catalog-sublead {
    color: #9AA1A8;
    font-size: 15px;
    margin-top: 12px;
}

/* Barra de Herramientas (Chips + Input) */
.cat-tools-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #14181C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 35px;
    position: sticky;
    top: 70px;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.chip-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0A0D10;
    color: #D3D8DC;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-family: var(--f-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.chip-btn.activo {
    background: #ffffff;
    color: #0A0D10;
    border-color: #ffffff;
    font-weight: 700;
}

.search-input-wrap {
    position: relative;
    width: 100%;
    max-width: 310px;
}

.search-input-wrap .search-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 13px;
}

.search-input-wrap input {
    width: 100%;
    background: #0A0D10;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r);
    padding: 10px 14px 10px 38px;
    color: #fff;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input-wrap input:focus {
    border-color: var(--hv);
}

/* Grilla de Fichas Técnicas */
.catalog-technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Tarjeta Técnica de Producto */
.tech-prod-card {
    background: #14181C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.tech-prod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
    border-color: rgba(243, 107, 18, 0.5);
}

/* Recuadro de Imagen Superior con Glow */
.tech-pic-box {
    position: relative;
    aspect-ratio: 16 / 11;
    background: radial-gradient(ellipse 70% 62% at 50% 42%, #FFFFFF 0%, #D8D6D0 100%);
    display: grid;
    place-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: 15px;
}

.tech-pic-box img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease;
}

.tech-prod-card:hover .tech-pic-box img {
    transform: scale(1.06);
}

.tech-norm-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #14181C;
    color: var(--hv);
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.tech-stock-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #DEDBD5;
    z-index: 2;
}

.tech-stock-badge.ok {
    color: #1F8A4C;
}

.tech-stock-badge.low {
    color: #B86E00;
}

.tech-stock-badge.imp {
    color: #2563A8;
}

/* Cuerpo de la Tarjeta */
.tech-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tech-sku {
    font-family: var(--f-mono);
    font-size: 11.5px;
    color: #8C959D;
}

.tech-title {
    font-family: var(--f-display);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0;
}

.tech-specs {
    margin: 0;
    padding-left: 16px;
    font-size: 12.5px;
    color: #9AA1A8;
    line-height: 1.45;
}

/* Tabla de Escalones de Precio por Volumen */
.tech-tiers-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    overflow: hidden;
    margin-top: auto;
    background: #0E1216;
}

.tech-tier-col {
    padding: 6px 4px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-tier-col:last-child {
    border-right: none;
    background: rgba(255, 180, 0, 0.12);
}

.tech-tier-col small {
    display: block;
    font-size: 10px;
    color: #8C959D;
    font-family: var(--f-mono);
}

.tech-tier-col b {
    font-family: var(--f-mono);
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
}

.tech-tier-col:last-child b {
    color: var(--hv);
}

/* Botones de Ficha PDF y Certificado */
.tech-docs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.btn-doc-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0E1216;
    color: #D3D8DC;
    border-radius: 6px;
    padding: 7px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-doc-link:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* Fila de Agregar a Cotización */
.tech-add-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.input-tech-qty {
    color-scheme: dark;
    background-color: #0E1216;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r);
    padding: 8px 6px;
    font-family: var(--f-mono);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    width: 65px;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-tech-qty:focus {
    border-color: var(--hv);
}

.btn-tech-add {
    flex: 1;
    background: #ffffff;
    color: #0A0D10;
    border: none;
    border-radius: var(--r);
    padding: 10px 14px;
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-tech-add:hover {
    background: var(--hv);
    transform: translateY(-1px);
}


/* ========================================================
   FOOTER
   ======================================================== */
.main-footer {
    background: #07090B;
    color: #9AA3AB;
    font-size: 13.5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 28px;
}

.footer-grid h4 {
    color: #fff;
    font-family: var(--f-display);
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.footer-grid a {
    display: block;
    padding: 4px 0;
    color: inherit;
}

.footer-grid a:hover {
    color: var(--hv);
}

.social-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.social-tags a {
    border: 1px solid #2E363D;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
}

.social-tags a:hover {
    border-color: var(--hv);
    color: var(--hv);
}

.icon-accordion {
    display: none;
}

.legal-bar {
    border-top: 1px solid #1E252B;
}

.legal-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

/* Botón Flotante WhatsApp */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    background: #1E9E55;
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 10px 26px -6px rgba(30, 158, 85, 0.6);
}

.wa-float:hover {
        transform: scale(1.08) translateY(-2px);
        box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
    }

/* ========================================================
   SECCIONES EXCLUSIVAS DE NOSOTROS.HTML
   ======================================================== */
.about-hero {
    padding: 70px 0 50px 0;
    background: radial-gradient(ellipse 90% 70% at 50% 20%, #1c2638 0%, #0a0d10 80%);
    border-bottom: 1px solid var(--line);
}

.about-hero-content {
    max-width: 780px;
}

.about-hero-title {
    font-size: clamp(38px, 5.8vw, 76px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.01em;
    margin-top: 12px;
}

.about-hero-lead {
    margin-top: 18px;
    color: #c9d0d5;
    font-size: 16px;
    line-height: 1.6;
}

/* Badges de Certificaciones */
.cert-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cbadge-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 12px;
    background: #14181c;
    border: 1px solid var(--line);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cbadge-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 180, 0, 0.4);
}

.seal-pill {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #1a1000;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.cbadge-item b {
    display: block;
    font-family: var(--f-display);
    font-size: 18px;
    color: #ffffff;
}

.cbadge-item small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35;
    margin-top: 2px;
}

/* Flujo de Pasos / Proceso */
.steps-flow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.step-card {
    position: relative;
    padding: 22px 18px;
    border-radius: 14px;
    background: #14181c;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: var(--or);
}

.step-num {
    font-family: var(--f-display);
    font-size: 52px;
    font-weight: 900;
    line-height: 0.9;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.step-card h3 {
    margin-top: 10px;
    font-size: 20px;
    color: #ffffff;
}

.step-card p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.45;
}

.step-tag {
    font-size: 11px;
    margin-top: auto;
    padding-top: 14px;
    display: inline-block;
    color: var(--hv);
    text-transform: uppercase;
}


/* ========================================================
   DESPLEGABLE PREDICTIVO DE BÚSQUEDA DEL HERO
   ======================================================== */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #14181C;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
    z-index: 99999 !important;
    max-height: 280px;
    overflow-y: auto;
}

#search-results-box::-webkit-scrollbar,
.hide-search-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

#search-results-box,
.hide-search-scroll {
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE y Edge */
}

.search-results-dropdown {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE y Edge clásico */
}

.search-results-dropdown::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera y Edge moderno */
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 180, 0, 0.12);
}

.search-result-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #0a0d10;
    border-radius: 6px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.search-result-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--hv);
    font-weight: 700;
}

.search-no-results {
    padding: 14px;
    text-align: center;
    color: #9aa1a8;
    font-size: 13px;
}

/* ========================================================
   DESPLEGABLE PREDICTIVO COMPACTO (TIPO RETAIL)
   ======================================================== */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #14181c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    max-height: 340px;
    overflow-y: auto;
}

/* Fila de producto compacta */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    color: #eef0ec;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 180, 0, 0.1);
}

/* Control estricto de la imagen en miniatura */
.search-result-img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    background: #0a0d10;
    border-radius: 4px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
}

/* Contenedor de información de texto */
.search-result-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.search-result-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-family: var(--f-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--hv);
    white-space: nowrap;
}

.search-no-results {
    padding: 14px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* ========================================================
   ESTILOS DE PÁGINAS LEGALES (TÉRMINOS / PRIVACIDAD)
   ======================================================== */
.legal-page-main {
    background: #0A0D10;
    min-height: 80vh;
}

.legal-grid-columns {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
}

/* Índice lateral flotante */
.legal-sidebar {
    position: sticky;
    top: 90px;
    z-index: 20;
}

.legal-index-card {
    background: #14181C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.5);
}

.legal-index-card .index-title {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--hv);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-index-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-index-card a {
    font-size: 13px;
    color: #9AA1A8;
    line-height: 1.35;
    display: block;
    padding: 4px 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.legal-index-card a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.index-support-box {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.index-support-box small {
    display: block;
    font-size: 11px;
    color: #8C959D;
}

/* Tarjetas de Cláusulas */
.legal-articles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-article-card {
    background: #14181C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px 28px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.legal-article-card:hover {
    border-color: rgba(243, 107, 18, 0.4);
    transform: translateY(-2px);
}

.article-badge {
    font-size: 11px;
    color: var(--hv);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: inline-block;
}

.legal-article-card h2 {
    font-family: var(--f-display);
    font-size: 26px;
    color: #ffffff;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
}

.legal-article-card p {
    font-size: 14.5px;
    color: #C9D0D5;
    line-height: 1.65;
    margin-bottom: 14px;
}

.legal-article-card p:last-child {
    margin-bottom: 0;
}

.legal-article-card ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-article-card li {
    font-size: 14px;
    color: #9AA1A8;
    line-height: 1.55;
    list-style-type: disc;
}

.legal-article-card li strong {
    color: #EEF0EC;
}

@media (max-width: 1080px) {
    .nav-links {
        display: none;
    }

    .btn-menu-mobile {
        display: inline-block;
    }

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

    .float-stage {
        height: 380px;
        max-width: 560px;
    }

    .conds-flex {
        grid-template-columns: repeat(3, 1fr);
    }

    .conds-flex div:nth-child(4) {
        border-left: 0;
    }

    .lines-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid div:nth-child(3) {
        border-left: 0;
    }

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

    .cert-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-flow-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .wa-float {
        position: fixed;
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #25D366;
        color: #ffffff !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
        z-index: 9999;
        text-decoration: none;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .wa-float:hover {
        transform: scale(1.08) translateY(-2px);
        box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
    }

    .wa-float span {
        display: none !important;
        /* Oculta cualquier texto residual */
    }

    .header-main {
        position: relative;
    }

    .btn-menu-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0f1317;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 25px 40px rgba(0, 0, 0, 0.95);
        padding: 16px 20px;
        z-index: 9999;
    }

    .header-main.activo .nav-links {
        display: block !important;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links li a {
        display: block;
        padding: 10px 14px;
        font-size: 15px;
        font-weight: 600;
        color: #C9D0D5;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.03);
    }

    .nav-links li a.active,
    .nav-links li a:hover {
        background: rgba(243, 107, 18, 0.15);
        color: var(--hv);
    }

    .header-main.activo #btn-menu-sticky .fa-bars {
        display: none !important;
    }

    .header-main.activo #btn-menu-sticky .fa-xmark {
        display: inline-block !important;
    }

    .screen-hero-wrapper {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .hero {
        padding: 30px 0 20px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding-top: 15px !important;
        padding-bottom: 25px !important;
    }

    .hero-title {
        font-size: clamp(34px, 9vw, 54px) !important;
        line-height: 0.92 !important;
    }

    /* 3. Reorganización de las tarjetas para que no se descuadren ni tapen nada */
    .float-stage {
        position: relative !important;
        height: auto !important;
        margin-left: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    .glass {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        animation: none !important; /* Desactiva la flotación flotante en móvil */
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 10px 14px !important;
    }

    .glass .norm {
        position: static !important;
        display: inline-block;
        margin-bottom: 4px;
    }

    .glass-preview {
        width: 65px !important;
        height: 65px !important;
        min-width: 65px !important;
        margin-top: 0 !important;
    }

    .glass .gl {
        margin-top: 0 !important;
    }

    .glass b {
        font-size: 15px !important;
    }

    .glass small {
        font-size: 12px !important;
    }

    .conds-flex {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 14px 0 !important;
    }

    .cat-tools-bar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-wrap {
        max-width: none;
    }

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

    .legal-article-card {
        padding: 22px 18px;
    }
}

@media (max-width: 620px) {
    .hero-grid {
        padding-top: 48px;
        padding-bottom: 28px;
    }

    .float-stage {
        height: 300px;
    }

    .conds-flex {
        grid-template-columns: 1fr 1fr;
    }

    .conds-flex div {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .lines-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 190px;
    }

    .line-tile.big {
        grid-column: auto;
        grid-row: auto;
    }

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

    .icon-accordion {
        display: inline-block;
        margin-left: 8px;
    }

    .col-krz-links.accordion-col ul {
        display: none;
    }

    .col-krz-links.accordion-col.activo ul {
        display: block;
    }

    .hide-sm {
        display: none !important;
    }

    .cert-badges-grid,
    .steps-flow-grid {
        grid-template-columns: 1fr;
    }
}