/* =========================================================
   CLASSIC.WEB — STREET DETAIL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3eadc;
    color: #1f1f1f;
}

a {
    color: inherit;
}


/* =========================================================
   NAVBAR
========================================================= */

.product-navbar {
    width: 100%;
    padding: 28px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d8ccbc;
}

.product-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1px;
    text-decoration: none;
}

.back-link {
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #6f675d;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 0.6;
}


/* =========================================================
   PRODUCT HERO
========================================================= */

.product-hero {
    min-height: 680px;
    padding: 90px 6%;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.product-hero-content {
    max-width: 560px;
}

.product-category {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8b7355;
}

.product-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(65px, 8vw, 110px);
    line-height: 0.9;
    letter-spacing: -5px;
    margin-bottom: 28px;
}

.product-description {
    max-width: 500px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #6f675d;
}

.product-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 21px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.btn-primary {
    background-color: #1f1f1f;
    color: #fffaf2;
}

.btn-secondary {
    border: 1px solid #1f1f1f;
    color: #1f1f1f;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}


/* =========================================================
   PREVIEW
========================================================= */

.product-preview {
    width: 100%;
    height: 570px;
    background-color: #fffaf2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(31, 31, 31, 0.14);
}

.browser-bar {
    height: 38px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #e8dfd2;
}

.browser-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #b7aa9a;
}

.product-preview iframe {
    width: 100%;
    height: calc(100% - 38px);
    border: none;
    background-color: white;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-header {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-header > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #8b7355;
}

.section-header h2 {
    max-width: 620px;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -2px;
    color: #1f1f1f;
}

.section-header h2 span {
    color: #8b7355;
}

.section-header > p {
    max-width: 560px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.1px;
    color: #6f685e;
}


/* =========================================================
   FEATURES
========================================================= */

.product-features {
    padding: 100px 6%;
    border-top: 1px solid #d8ccbc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #d8ccbc;
    border-left: 1px solid #d8ccbc;
}

.feature-card {
    min-height: 220px;
    padding: 28px;
    border-right: 1px solid #d8ccbc;
    border-bottom: 1px solid #d8ccbc;
    background-color: rgba(255, 250, 242, 0.3);
}

.feature-number {
    display: block;
    margin-bottom: 35px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: #8b7355;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
}

.feature-card p {
    max-width: 290px;
    font-size: 14px;
    line-height: 1.6;
    color: #6f675d;
}


/* =========================================================
   PROCESS
========================================================= */

.product-process {
    padding: 100px 6%;
    border-top: 1px solid #d8ccbc;
}

.process-list {
    border-top: 1px solid #d8ccbc;
}

.process-item {
    min-height: 130px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #d8ccbc;
}

.process-item > span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #8b7355;
}

.process-item h3 {
    margin-bottom: 7px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
}

.process-item p {
    max-width: 600px;
    font-size: 14px;
    line-height: 1.6;
    color: #6f675d;
}


/* =========================================================
   CTA
========================================================= */

.product-cta {
    padding: 120px 6%;
    background-color: #1f1f1f;
    color: #fffaf2;
    text-align: center;
}

.product-cta > div {
    max-width: 850px;
    margin: 0 auto;
}

.product-cta > div > span {
    display: block;
    margin-bottom: 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c5aa87;
}

.product-cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 7vw, 78px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.product-cta h2 span {
    color: #c5aa87;
}

.product-cta p {
    max-width: 500px;
    margin: 0 auto 35px;
    font-size: 16px;
    line-height: 1.6;
    color: #c9c1b7;
}

.btn-cta {
    display: inline-flex;
    padding: 15px 23px;
    background-color: #fffaf2;
    color: #1f1f1f;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}


/* =========================================================
   FOOTER
========================================================= */

.product-footer {
    padding: 45px 6% 25px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    background-color: #1f1f1f;
    color: #fffaf2;
    border-top: 1px solid #4a4641;
}

.product-footer strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
}

.product-footer p {
    font-size: 13px;
    color: #aaa39a;
}

.product-footer > span {
    font-size: 11px;
    color: #77716a;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .product-hero {
        grid-template-columns: 1fr;
        gap: 55px;
        padding-top: 70px;
    }

    .product-hero-content {
        max-width: 700px;
    }

    .product-preview {
        height: 600px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   STREET — IDENTIDAD ACTUAL DE LA DEMO
   Paleta tomada de street.css: tinta, papel y vermellón.
   Solo cambia la piel: estructura, clases e idioma intactos.
======================================================== */

.street-detail {
    background-color: #121316;
    color: #f2efe9;
    font-family: "DM Sans", Arial, sans-serif;
}

.street-detail ::selection {
    background-color: #f2542d;
    color: #14161a;
}

/* NAVBAR — franja vermellón superior, como la cabecera de la demo */

.street-detail .product-navbar {
    background-color: #121316;
    border-top: 3px solid #f2542d;
    border-bottom-color: rgba(242, 239, 233, .18);
}

.street-detail .product-logo {
    color: #f2efe9;
}

.street-detail .back-link {
    color: #a7a29a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}


/* HERO */

.street-detail .product-category {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #a7a29a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.street-detail .product-category::before {
    content: "";
    width: 34px;
    height: 2px;
    background-color: #f2542d;
}

.street-detail .product-hero {
    grid-template-columns: 1.05fr .95fr;
}

.street-detail .product-hero-content {
    order: 2;
}

.street-detail .product-preview {
    order: 1;
}

.street-detail .product-hero h1 {
    font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
    font-stretch: 78%;
    font-weight: 700;
    font-size: clamp(76px, 10vw, 138px);
    line-height: .85;
    letter-spacing: -.028em;
    text-transform: uppercase;
}

.street-detail .product-hero h1::after {
    content: ".";
    color: #f2542d;
}

.street-detail .product-description {
    color: #a7a29a;
}

.street-detail .btn-primary {
    background-color: #f2542d;
    border: 1px solid #14161a;
    color: #14161a;
    border-radius: 0;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition:
        transform .2s ease,
        opacity .2s ease,
        background-color .2s ease,
        color .2s ease;
}

.street-detail .btn-primary:hover {
    background-color: #f2efe9;
    border-color: #f2efe9;
    color: #121316;
    opacity: 1;
}

.street-detail .btn-secondary {
    border: 1px solid rgba(242, 239, 233, .45);
    border-radius: 0;
    color: #f2efe9;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.street-detail .btn-secondary:hover {
    border-color: #f2efe9;
    opacity: 1;
}


/* PREVIEW — mat de papel, como el catálogo de la demo */

.street-detail .product-preview {
    background-color: #e6e5e0;
    border: 1px solid rgba(20, 22, 26, .2);
    border-radius: 0;
    box-shadow: 12px 12px 0 rgba(20, 22, 26, .18);
}

.street-detail .browser-bar {
    background-color: #d9d8d2;
    border-bottom: 1px solid rgba(20, 22, 26, .12);
}

.street-detail .browser-bar span {
    background-color: rgba(20, 22, 26, .28);
}

.street-detail .browser-bar span:first-child {
    background-color: #f2542d;
}


/* ENCABEZADOS DE SECCIÓN */

.street-detail .section-header > span {
    font-size: 13px;
    color: #a7a29a;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.street-detail .section-header > span::before {
    content: "";
    width: 34px;
    height: 2px;
    background-color: #f2542d;
}

.street-detail .section-header h2 {
    font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
    font-stretch: 78%;
    font-weight: 700;
    color: #f2efe9;
    text-transform: uppercase;
    letter-spacing: -.028em;
}

.street-detail .section-header h2 span {
    color: #f2542d;
}


/* FEATURES Y PROCESS — retícula de filetes sobre tinta */

.street-detail .product-features,
.street-detail .product-process {
    background-color: #121316;
    border-color: rgba(242, 239, 233, .18);
}

.street-detail .features-grid,
.street-detail .process-list,
.street-detail .feature-card,
.street-detail .process-item {
    border-color: rgba(242, 239, 233, .18);
}

.street-detail .feature-card {
    background-color: transparent;
}

.street-detail .feature-number,
.street-detail .process-item > span {
    color: #f2542d;
    font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
    font-weight: 700;
}

.street-detail .feature-card h3,
.street-detail .process-item h3 {
    font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
    font-stretch: 78%;
    font-weight: 700;
    color: #f2efe9;
    text-transform: uppercase;
    letter-spacing: -.012em;
}

.street-detail .feature-card p,
.street-detail .process-item p {
    color: #a7a29a;
}


/* CTA — campo papel con la acción primaria en vermellón */

.street-detail .product-cta {
    background-color: #e6e5e0;
    color: #14161a;
}

.street-detail .product-cta > div > span {
    color: #5c5c56;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.street-detail .product-cta h2 {
    font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
    font-stretch: 78%;
    font-weight: 700;
    color: #14161a;
    text-transform: uppercase;
    letter-spacing: -.028em;
}

.street-detail .product-cta h2 span {
    color: #b9321a;
}

.street-detail .product-cta p {
    color: #5c5c56;
}


/* FOOTER */

.street-detail .product-footer {
    background-color: #121316;
    border-top: 1px solid rgba(242, 239, 233, .18);
}

.street-detail .product-footer strong {
    color: #f2efe9;
}

.street-detail .product-footer p {
    color: #a7a29a;
}

.street-detail .product-footer > span {
    color: #8f8b84;
}

@media (max-width: 1000px) {
    .street-detail .product-hero {
        grid-template-columns: 1fr;
    }

    .street-detail .product-hero-content,
    .street-detail .product-preview {
        order: initial;
    }
}

@media (max-width: 650px) {
    .product-navbar {
        padding: 22px 5%;
    }

    .product-hero {
        padding: 60px 5% 75px;
    }

    .product-hero h1 {
        font-size: 70px;
        letter-spacing: -4px;
    }

    .product-description {
        font-size: 16px;
    }

    .product-preview {
        height: 480px;
        border-radius: 12px;
    }

    .product-features,
    .product-process {
        padding: 75px 5%;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 190px;
    }

    .process-item {
        grid-template-columns: 45px 1fr;
        gap: 15px;
    }

    .process-item h3 {
        font-size: 21px;
    }

    .product-cta {
        padding: 85px 5%;
    }

    .product-footer {
        padding: 40px 5% 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .street-detail .product-hero h1 {
        font-size: 70px;
        letter-spacing: -2px;
    }

    .street-detail .product-preview {
        box-shadow: 6px 6px 0 rgba(20, 22, 26, .18);
    }
}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

/* Doble anillo: el filete tinta marca el foco sobre los fondos claros
   y el anillo vermellón sobre las secciones oscuras. Siempre hay un anillo
   con contraste visible. */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #1f1f1f;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px #f2542d;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}