/* Landing pública SETECOM: estilo SpaceX (mayúsculas tipo DIN, contornos) sobre fondo blanco; el hero es negro. */

:root {
    --bg: #fff;
    --surface: #f6f6f6;
    --card: #fff;
    --media: #f0f0f0;
    --line: #e4e4e4;
    --line-strong: #cfcfcf;
    --heading: #000;
    --text: #1c1c1c;
    --muted: #5c5c5c;
    --ink: #000;   /* color de contornos y rellenos de botón */
    --paper: #fff; /* color del texto sobre el relleno */
    --green: #25d366;
    --header-h: 76px;
    --max: 1240px;
    --pad: clamp(20px, 4vw, 48px);
    --font: Barlow, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

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

h1,
h2,
h3 {
    color: var(--heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.08;
}

h2 {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    margin-bottom: 0;
}

h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.wrap {
    width: min(100%, var(--max));
    margin-inline: auto;
    padding-inline: var(--pad);
}

.muted {
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.skip-link {
    position: absolute;
    z-index: 200;
    top: -80px;
    left: 16px;
    padding: 12px;
    background: var(--ink);
    color: var(--paper);
}

.skip-link:focus {
    top: 8px;
}

/* Botones: contorno que se rellena al pasar el cursor (negro en blanco, blanco en el hero) */
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 30px;
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: 600 14px/1 var(--font);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.3s ease;
}

.button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.button:hover,
.button-solid {
    color: var(--paper);
}

.button:hover::before,
.button-solid::before {
    transform: scaleY(1);
}

.button-solid:hover {
    color: var(--ink);
}

.button-solid:hover::before {
    transform: scaleY(0);
}

.button-small {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 12px;
}

.wa-icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: var(--green);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

/* Encabezado blanco, fijo arriba */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
    box-shadow: 0 1px 0 var(--line-strong);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
    text-decoration: none;
}

.brand img {
    width: 34px;
    height: 34px;
}

.brand-name {
    font: 700 20px/1 Sora, var(--font);
    letter-spacing: 0.04em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.6vw, 36px);
}

.main-nav > a:not(.button) {
    color: var(--heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding-block: 6px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.main-nav > a:not(.button):hover {
    border-bottom-color: var(--ink);
}

.menu-toggle {
    display: none;
}

/* Hero negro a pantalla completa; la red neuronal (landing-network.js) va de fondo */
.hero {
    --heading: #fff;
    --text: #e6e6e6;
    --muted: #a3a3a3;
    --ink: #fff;
    --paper: #000;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: flex-end;
    background: #000;
    color: var(--text);
}

.hero-content {
    padding-top: 60px;
    padding-bottom: clamp(90px, 14vh, 150px);
}

.hero h1 {
    max-width: 15ch;
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.02;
}

.hero-lede {
    max-width: 52ch;
    margin-bottom: 32px;
    color: var(--text);
    font-size: clamp(17px, 1.5vw, 19px);
}

.open-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
}

.status-dot.is-open {
    background: var(--green);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    transform: translateX(-50%);
}

.scroll-cue span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--ink);
    transform: translateX(-50%);
    animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* Franja de datos grandes */
.stats {
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
    padding: clamp(36px, 6vw, 64px) 0;
    text-align: center;
}

.stat + .stat {
    border-left: 1px solid var(--line);
}

.stat-value {
    margin: 0 0 6px;
    color: var(--heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 500;
    line-height: 1;
}

.stat-label {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Secciones */
.section {
    padding-block: clamp(80px, 11vw, 150px);
}

.section-alt {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head-split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-row {
    display: grid;
    grid-template-columns: 80px 5fr 5fr;
    gap: 24px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}

.service-number {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.14em;
}

.service-row h3 {
    margin-bottom: 10px;
}

.service-row p {
    margin: 0;
    font-size: 16px;
}

.service-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.service-bullets li::before {
    content: '—';
    margin-right: 10px;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 48px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line-strong);
}

.steps li {
    min-height: 180px;
    padding: 28px 28px 0 0;
}

.steps li + li {
    padding-left: 28px;
    border-left: 1px solid var(--line-strong);
}

.steps span {
    display: block;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.14em;
}

.steps h3 {
    max-width: 18ch;
    margin: 0;
}

/* Tienda */
.store-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    font: 600 12px/1 var(--font);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--card);
}

.product-card[hidden] {
    display: none;
}

.product-media {
    position: relative;
    height: 220px;
    display: grid;
    place-items: center;
    background: var(--media);
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    width: 64px;
    height: 64px;
    fill: none;
    stroke: #9a9a9a;
    stroke-width: 1.2;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 6px 10px;
    background: var(--ink);
    color: var(--paper);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.product-kind {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-info h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.25;
}

.product-meta {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
}

.product-foot strong {
    color: var(--heading);
    font-size: 20px;
    font-weight: 600;
}

.product-foot a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.store-empty {
    padding: 36px;
    border: 1px solid var(--line);
    background: var(--card);
}

/* Promoción */
.promo {
    padding-block: 56px;
    border-block: 1px solid var(--line);
}

.promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.promo h2 {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.promo p {
    margin-bottom: 8px;
}

.promo small {
    font-size: 13px;
}

/* Ubicación */
.location-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 44px;
}

.map-frame {
    min-height: 480px;
    border: 1px solid var(--line);
    background: var(--card);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    filter: grayscale(1);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.location-block {
    padding-top: 18px;
    border-top: 1px solid var(--line-strong);
}

.location-block h3 {
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 0.16em;
}

.location-block p,
.location-block a {
    font-size: 15px;
}

.location-block a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.hours-table th,
.hours-table td {
    padding: 6px 0;
    color: var(--muted);
    font-weight: 400;
    text-align: left;
}

.hours-table td {
    text-align: right;
}

.hours-table tr.today th,
.hours-table tr.today td {
    color: var(--heading);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Pie */
.site-footer {
    padding-block: 32px;
    border-top: 1px solid var(--line);
}

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

.footer-inner p,
.footer-inner a {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.footer-inner a:hover {
    color: var(--heading);
}

/* Aparición al bajar (solo con JS) */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js-ready .reveal,
    .button,
    .button::before {
        transition: none;
    }

    .scroll-cue span {
        animation: none;
    }
}

/* Celular y tableta */
@media (max-width: 860px) {
    :root {
        --header-h: 64px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 46px;
        height: 46px;
        border: 1px solid var(--line-strong);
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        background: var(--ink);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px var(--pad) 24px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a:not(.button) {
        min-height: 52px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--line);
    }

    .main-nav .button {
        margin-top: 16px;
        min-height: 52px;
    }

    .hero-content {
        padding-bottom: 96px;
    }

    .hero .actions .button {
        width: 100%;
    }

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

    .stat + .stat {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .service-row {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .service-bullets {
        grid-column: 2;
        grid-template-columns: 1fr;
    }

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

    .steps li,
    .steps li + li {
        min-height: 0;
        padding: 22px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line-strong);
    }

    .steps span {
        margin-bottom: 12px;
    }

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

    .product-media {
        height: 180px;
    }

    .promo-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 340px;
    }

    .scroll-cue {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Guías del blog */
.guide-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.guide-item {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
}

.guide-item:hover {
    border-color: var(--ink);
}

.guide-item strong {
    color: var(--heading);
    font-size: 19px;
    line-height: 1.3;
}

.guide-more {
    margin: 24px 0 0;
    color: var(--muted);
}

@media (max-width: 760px) {
    .guide-list {
        grid-template-columns: 1fr;
    }
}
