
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&family=Permanent+Marker&display=swap');

/* =========================================
   VARIABLES GENERALES
   ========================================= */

:root {
    --red: #e5091b;
    --black: #101010;
    --paper: #fffdfb;
    --muted: #777;
    --line: #e9e5e2;
    --green: #16864b;
}

/* =========================================
   CONFIGURACIÓN GENERAL
   ========================================= */

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family: 'DM Sans', Arial, sans-serif;
}

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

/* =========================================
   ENCABEZADO
   ========================================= */

.header {
    height: 86px;
    padding: 0 clamp(20px, 5vw, 75px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    width: 145px;
    max-width: 100%;
    max-height: 65px;
    object-fit: contain;
}

.header nav {
    display: flex;
    gap: 25px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.header nav a:hover {
    color: var(--red);
}

.phone {
    background: var(--red);
    color: white;
    padding: 13px 15px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================================
   PORTADA
   ========================================= */

.hero {
    background: #040304;
    color: white;
    min-height: 480px;
    padding: 75px clamp(24px, 8vw, 120px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 600px;
    position: relative;
    z-index: 4;
}

.kicker {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--red);
    margin: 0 0 18px;
}

.hero h1,
.callout h2 {
    font: 900 clamp(48px, 6.3vw, 80px)/.92 'Barlow Condensed', sans-serif;
    margin: 0;
    letter-spacing: -1.5px;
}

.hero em,
.intro h2 em,
.category-head h3 em {
    font-style: normal;
    color: var(--red);
}

.hero-copy > p:not(.kicker) {
    color: #c8c8c8;
    line-height: 1.8;
    font-size: 14px;
    max-width: 440px;
    margin: 24px 0;
}

.button {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 16px 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: .2s;
}

.button:hover {
    filter: brightness(.88);
    transform: translateY(-2px);
}

/* =========================================
   IMAGEN PRINCIPAL Y HUMO
   ========================================= */

.hero-art {
    position: absolute;
    top: 0;
    right: 2%;
    width: 46%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
}

.hero-sushi-img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
}

/* Capas de humo */

.smoke {
    position: absolute;
    display: block;
    width: 180px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;

    background:
        radial-gradient(
            ellipse at 50% 70%,
            rgba(255, 255, 255, .30) 0%,
            rgba(230, 230, 230, .20) 25%,
            rgba(190, 190, 190, .12) 48%,
            rgba(150, 150, 150, .04) 65%,
            transparent 78%
        );

    filter: blur(25px);
    mix-blend-mode: screen;
}

/* Primera columna */

.smoke-1 {
    left: 5%;
    bottom: 0;
    animation: humoSubir 7s ease-in-out infinite;
}

/* Segunda columna */

.smoke-2 {
    left: 38%;
    bottom: -5%;
    width: 150px;
    height: 230px;
    animation: humoSubir 9s ease-in-out infinite 2s;
}

/* Tercera columna */

.smoke-3 {
    right: 3%;
    bottom: 0;
    width: 190px;
    height: 250px;
    animation: humoSubir 8s ease-in-out infinite 4s;
}

/* Cuarta columna: movimiento adicional */

.smoke-4 {
    left: 23%;
    bottom: -8%;
    width: 130px;
    height: 210px;
    animation: humoSubir 10s ease-in-out infinite 1s;
}

/* Animación del humo */

@keyframes humoSubir {
    0% {
        transform: translate(0, 35px) scale(.55) rotate(-12deg);
        opacity: 0;
    }

    15% {
        opacity: .75;
    }

    35% {
        transform: translate(22px, -25px) scale(.9) rotate(10deg);
        opacity: .55;
    }

    60% {
        transform: translate(-18px, -75px) scale(1.2) rotate(-8deg);
        opacity: .35;
    }

    85% {
        opacity: .15;
    }

    100% {
        transform: translate(20px, -150px) scale(1.55) rotate(14deg);
        opacity: 0;
    }
}

/* =========================================
   MENÚ
   ========================================= */

.menu {
    max-width: 1280px;
    margin: auto;
    padding: 78px clamp(20px, 5vw, 68px) 85px;
}

.intro {
    text-align: center;
    max-width: 610px;
    margin: 0 auto 38px;
}

.intro .kicker {
    margin-bottom: 14px;
}

.intro h2 {
    font: 900 clamp(42px, 5vw, 60px)/1 'Barlow Condensed', sans-serif;
    margin: 0;
}

.intro > p:last-child {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================
   PESTAÑAS DE CATEGORÍAS
   ========================================= */

.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-bottom: 2px solid var(--black);
}

.tabs button {
    padding: 17px 8px;
    border: 0;
    background: transparent;
    color: #888;
    font: 800 13px 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
}

.tabs button span {
    font-size: 17px;
    color: var(--black);
    margin-left: 9px;
}

.tabs button.active {
    background: var(--black);
    color: var(--red);
    border-radius: 4px 4px 0 0;
}

.tabs button.active span {
    color: #fff;
}

/* =========================================
   LEYENDA
   ========================================= */

.legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #777;
    margin: 22px 0 55px;
}

.legend b,
.grid article p b {
    font-size: 17px;
    color: var(--black);
    margin-right: 7px;
}

.legend .red,
.grid article p .red,
.red {
    color: var(--red) !important;
}

/* =========================================
   ENCABEZADOS DE CATEGORÍAS
   ========================================= */

.category {
    scroll-margin-top: 105px;
    margin-bottom: 66px;
}

.category-head {
    display: flex;
    align-items: center;
    gap: 17px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.category-head > span {
    font: 900 42px 'Barlow Condensed', sans-serif;
    color: var(--red);
}

.category-head h3 {
    font: 900 34px 'Barlow Condensed', sans-serif;
    margin: 0;
    line-height: 1;
}

.category-head p {
    font-size: 11px;
    color: var(--muted);
    margin: 6px 0 0;
}

.category-head small {
    margin-left: auto;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 800;
    color: #777;
}

/* =========================================
   TARJETAS DE PLATILLOS
   ========================================= */

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

.grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 22px;
    transition: transform .2s, border-color .2s;
    min-width: 0;
    line-height: 1.6;
}

.grid article:hover {
    transform: translateY(-4px);
    border-color: #ee9ca4;
}

.grid article.featured {
    border-top: 3px solid var(--red);
}

.grid label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #999;
}

.grid h4 {
    font: 900 24px/1.05 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    margin: 13px 0;
}

.grid article p {
    display: grid;
    grid-template-columns: 15px 1fr;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 8px 0 0;
}

.grid article p b {
    margin: 0;
    line-height: 1.2;
}

.grid .muted {
    color: #999;
    font-style: italic;
}

.grid article .price {
    font-size: 20px;
}

/* =========================================
   FOTOGRAFÍAS DE LOS PLATILLOS
   ========================================= */

.platillo-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}

/* =========================================
   LLAMADO A LA ACCIÓN
   ========================================= */

.callout {
    background: var(--red);
    color: #fff;
    padding: 50px clamp(24px, 9vw, 135px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.callout .kicker {
    color: #fff;
}

.callout h2 {
    font-size: clamp(34px, 4vw, 52px);
}

.callout h2 em {
    color: var(--black);
}

.button.white {
    background: #fff;
    color: var(--black);
    white-space: nowrap;
}

/* =========================================
   PIE DE PÁGINA
   ========================================= */

footer {
    background: var(--black);
    color: #fff;
    padding: 28px clamp(20px, 5vw, 75px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

footer p {
    font-size: 12px;
    color: #ddd;
}

footer p b {
    color: var(--red);
    padding: 0 8px;
}

.footer-logo-img {
    display: block;
    width: 120px;
    max-height: 55px;
    object-fit: contain;
}

footer > small {
    font-size: 10px;
    color: #888;
}

/* =========================================
   ALINEACIÓN DE ICONOS
   ========================================= */

.phone i,
.button i {
    margin-right: 7px;
}

.legend b i,
.grid article p b i {
    font-size: 12px;
}

/* =========================================
   DISEÑO RESPONSIVO: TABLETAS
   ========================================= */

@media (max-width: 900px) {

    .header nav {
        gap: 12px;
    }

    .header nav a {
        font-size: 9px;
    }

    .hero-art {
        right: -5%;
        width: 50%;
    }

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

/* =========================================
   DISEÑO RESPONSIVO: CELULARES
   ========================================= */

@media (max-width: 650px) {

    .header {
        height: 72px;
        padding: 0 15px;
    }

    .logo-img {
        width: 112px;
        max-height: 54px;
    }

    .header nav {
        display: none;
    }

    .phone {
        font-size: 10px;
        padding: 11px;
    }

    .hero {
        min-height: 465px;
        padding: 60px 23px;
    }

    .hero h1 {
        font-size: clamp(48px, 12vw, 65px);
    }

    .hero-art {
        right: -25%;
        width: 85%;
    }

    .hero-sushi-img {
        max-width: 450px;
    }

    .smoke {
        filter: blur(22px);
    }

    .menu {
        padding: 58px 17px;
    }

    .tabs {
        gap: 3px;
    }

    .tabs button {
        font-size: 10px;
        padding: 14px 3px;
        letter-spacing: .2px;
    }

    .tabs button span {
        display: block;
        font-size: 13px;
        margin: 5px 0 0;
    }

    .legend {
        justify-content: flex-start;
        gap: 10px 18px;
        margin-bottom: 40px;
    }

    .category-head {
        gap: 10px;
    }

    .category-head > span {
        font-size: 32px;
    }

    .category-head h3 {
        font-size: 27px;
    }

    .category-head small {
        font-size: 8px;
    }

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

    .grid article {
        padding: 19px;
    }

    .grid h4 {
        font-size: 21px;
    }

    .grid article p {
        font-size: 16px;
        line-height: 1.7;
    }

    .grid article .price {
        font-size: 19px;
    }

    .platillo-img {
        height: 190px;
    }

    .callout {
        padding: 40px 23px;
        align-items: flex-start;
        flex-direction: column;
    }

    .callout h2 {
        font-size: 40px;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    footer p {
        margin: 5px 0;
    }

    .footer-logo-img {
        width: 110px;
        max-height: 50px;
    }
}

/* =========================================
   ACCESIBILIDAD
   ========================================= */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }

    .smoke {
        animation: none;
    }
}
