/* =========================================================
   MAREVIVAZ
   HOME.CSS
   ========================================================= */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --mv-navy: #062f4f;
    --mv-navy-2: #0a4265;
    --mv-blue: #159fca;
    --mv-cyan: #20b8d8;
    --mv-orange: #ff5b22;
    --mv-lime: #8bcf24;
    --mv-bg: #f7fbfd;
    --mv-text: #173b52;
}


/* =========================================================
   BASE
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--mv-text);
    background: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

.mv-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #edf2f5;
}

.mv-header-inner {
    min-height: 112px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO TEXTO DEL HEADER
   ========================================================= */

.mv-logo {
    display: inline-flex;
    align-items: center;

    font-size: 34px;
    line-height: 1;
    font-weight: 900;

    white-space: nowrap;
}

.mv-logo-word-marea {
    color: var(--mv-navy);
}

.mv-logo-word-vivaz {
    color: var(--mv-cyan);
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.mv-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.mv-nav > a:not(.mv-cart):not(.mv-order-btn) {
    color: var(--mv-navy);
    font-size: 17px;
    font-weight: 700;
}

.mv-nav > a:not(.mv-cart):not(.mv-order-btn):hover {
    color: var(--mv-cyan);
}


/* =========================================================
   CARRITO
   ========================================================= */

.mv-cart {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: var(--mv-navy);
    font-size: 21px;
}

.mv-cart:hover {
    color: var(--mv-cyan);
}

.mv-cart-badge {
    position: absolute;

    top: -8px;
    right: -8px;

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--mv-orange);
    color: #fff;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   BOTÓN PEDIDO HEADER
   ========================================================= */

.mv-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 17px 28px;

    border-radius: 15px;

    background: var(--mv-orange);
    color: #fff !important;

    font-size: 16px;
    font-weight: 900;

    box-shadow: 0 10px 25px rgba(255, 91, 34, .20);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.mv-order-btn:hover {
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(255, 91, 34, .28);
}


/* =========================================================
   HERO
   ========================================================= */

.mv-hero {
    position: relative;

    height: 430px;
    min-height: 430px;

    overflow: hidden;

    background-image: url("../img/hero-mariscos.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* =========================================================
   VELO BLANCO PARA EL TEXTO
   ========================================================= */

.mv-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.94) 0%,
            rgba(255,255,255,.86) 25%,
            rgba(255,255,255,.55) 40%,
            rgba(255,255,255,.18) 53%,
            rgba(255,255,255,0) 68%
        );

    pointer-events: none;
}


/* =========================================================
   DECORACIÓN SUAVE
   ========================================================= */

.mv-hero::after {
    content: "";

    position: absolute;

    left: -180px;
    bottom: -300px;

    width: 620px;
    height: 620px;

    border-radius: 50%;

    background: rgba(32,184,216,.08);

    pointer-events: none;
}


/* =========================================================
   CONTENIDO HERO
   ========================================================= */

.mv-hero-content {
    position: relative;
    z-index: 2;

    width: 500px;
    max-width: 100%;

    padding-top: 12px;
    padding-bottom: 20px;
}
/* =========================================================
   LOGO GRANDE DEL HERO
   ========================================================= */

.mv-hero-logo {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin: 0 0 5px;

    filter:
        drop-shadow(
            0 5px 12px rgba(6,47,79,.14)
        );
}

/* =========================================================
   ETIQUETA
   ========================================================= */

.mv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 15px;

    margin-bottom: 11px;

    border-radius: 30px;

    background: rgba(6,47,79,.93);

    color: #fff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;

    box-shadow:
        0 8px 20px rgba(6,47,79,.12);
}

.mv-kicker-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: var(--mv-orange);
}


/* =========================================================
   TITULO HERO
   ========================================================= */

.mv-hero-title {
    max-width: 520px;

    margin: 0 0 10px;

    color: var(--mv-navy);

    font-size: clamp(42px, 4vw, 54px);

    line-height: .94;
    letter-spacing: -2.5px;
    font-weight: 900;
}

.mv-hero-title span {
    color: var(--mv-cyan);
}


/* =========================================================
   TEXTO HERO
   ========================================================= */

.mv-hero-copy {
    max-width: 520px;

    margin: 0 0 14px;

    color: var(--mv-navy);

    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
}


/* =========================================================
   CATEGORÍAS HERO
   ========================================================= */

.mv-hero-menu {
    display: flex;
    flex-wrap: wrap;

    gap: 7px 18px;

    margin-bottom: 15px;

    color: var(--mv-navy);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 1px;
}

.mv-hero-menu span::before {
    content: "•";

    color: var(--mv-orange);

    margin-right: 7px;
}


/* =========================================================
   BOTÓN HERO
   ========================================================= */

.mv-hero-cta {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 25px;

    border-radius: 13px;

    background: var(--mv-orange);

    color: #fff !important;

    font-size: 15px;

    font-weight: 900;

    box-shadow:
        0 12px 28px rgba(255,91,34,.28);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.mv-hero-cta:hover {
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(255,91,34,.34);
}


/* =========================================================
   NOTA DELIVERY
   ========================================================= */

.mv-hero-note {
    display: inline-block;

    margin-left: 15px;

    color: var(--mv-navy);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   BENEFICIOS
   ========================================================= */

.mv-brand-strip {
    position: relative;

    z-index: 4;

    margin-top: -1px;

    background: #fff;

    box-shadow:
        0 -8px 30px rgba(0,0,0,.04);
}

.mv-brand-points {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    padding: 24px 0;
}

.mv-point {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 58px;

    border-right: 1px solid #dbe7ec;
}

.mv-point:last-child {
    border-right: 0;
}

.mv-point-icon {
    color: var(--mv-navy);

    font-size: 27px;
}

.mv-point-title {
    color: var(--mv-navy);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.mv-section {
    padding: 70px 0;
}

.mv-section-soft {
    background: var(--mv-bg);
}


/* =========================================================
   TITULOS DE SECCIÓN
   ========================================================= */

.mv-section-heading {
    text-align: center;

    margin-bottom: 40px;
}

.mv-section-heading h2 {
    margin-bottom: 10px;

    color: var(--mv-navy);

    font-size: clamp(30px, 4vw, 45px);

    font-weight: 900;

    letter-spacing: -1px;
}

.mv-section-heading h2::before {
    content: "";

    display: inline-block;

    width: 45px;
    height: 3px;

    margin-right: 16px;

    vertical-align: middle;

    background: var(--mv-cyan);
}

.mv-section-heading h2::after {
    content: "";

    display: inline-block;

    width: 45px;
    height: 3px;

    margin-left: 16px;

    vertical-align: middle;

    background: var(--mv-cyan);
}

.mv-section-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #60798a;

    font-size: 17px;
}


/* =========================================================
   TARJETAS DE CATEGORÍAS
   ========================================================= */

.mv-category {
    position: relative;

    min-height: 285px;

    overflow: hidden;

    border-radius: 18px;

    background: #dff5fa;

    box-shadow:
        0 12px 30px rgba(6,47,79,.09);
}

.mv-category-img {
    display: block;

    width: 100%;
    height: 285px;

    object-fit: cover;

    transition:
        transform .35s ease;
}

.mv-category:hover .mv-category-img {
    transform: scale(1.04);
}

.mv-category-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 25px;

    background:
        linear-gradient(
            transparent 28%,
            rgba(6,47,79,.90) 100%
        );
}

.mv-category-content {
    color: #fff;
}

.mv-category-content h3 {
    margin: 0 0 4px;

    font-size: 25px;

    font-weight: 900;
}

.mv-category-content p {
    margin: 0;

    color: rgba(255,255,255,.88);

    font-size: 14px;
}

.mv-image-missing {
    height: 285px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--mv-navy);

    font-size: 54px;

    background:
        linear-gradient(
            135deg,
            #e5f8fb,
            #c7edf4
        );
}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.mv-product-card {
    height: 100%;

    border: 0;

    overflow: hidden;

    border-radius: 17px;

    background: #fff;

    box-shadow:
        0 10px 28px rgba(6,47,79,.08);
}

.mv-product-image {
    display: block;

    width: 100%;
    height: 205px;

    object-fit: cover;

    background: #e8f8fb;
}

.mv-product-placeholder {
    height: 205px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 65px;

    background:
        linear-gradient(
            135deg,
            #e9faff,
            #d3f2f7
        );
}

.mv-product-body {
    padding: 21px;
}

.mv-product-body h3 {
    margin-bottom: 8px;

    color: var(--mv-navy);

    font-size: 20px;

    font-weight: 900;
}

.mv-product-body p {
    min-height: 52px;

    color: #6a7e8b;

    font-size: 14px;

    line-height: 1.45;
}

.mv-product-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.mv-product-price {
    color: var(--mv-navy);

    font-size: 17px;

    font-weight: 900;
}

.mv-product-btn {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    border-radius: 10px;

    background: var(--mv-navy);

    color: #fff !important;

    font-size: 13px;

    font-weight: 800;
}


/* =========================================================
   COMO FUNCIONA
   ========================================================= */

.mv-step {
    height: 100%;

    padding: 28px 22px;

    text-align: center;

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(6,47,79,.06);
}

.mv-step-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f8fb;

    color: var(--mv-navy);

    font-size: 24px;
}

.mv-step h3 {
    color: var(--mv-navy);

    font-size: 20px;

    font-weight: 900;
}

.mv-step p {
    margin-bottom: 0;

    color: #6a7e8b;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.mv-final-cta {
    position: relative;

    overflow: hidden;

    padding: 65px 0;

    background:
        linear-gradient(
            135deg,
            var(--mv-navy),
            var(--mv-navy-2)
        );

    color: #fff;
}

.mv-final-cta h2 {
    color: #fff;

    font-size: clamp(30px, 4vw, 46px);

    font-weight: 900;
}

.mv-final-cta p {
    color: rgba(255,255,255,.82);

    font-size: 17px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.mv-footer {
    padding: 55px 0 25px;

    background: #041f35;

    color: #cbdde5;
}

.mv-footer-brand {
    color: #fff;

    font-size: 28px;

    font-weight: 900;
}

.mv-footer-brand span {
    color: var(--mv-cyan);
}

.mv-footer h4 {
    color: #fff;

    font-size: 15px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.mv-footer a {
    color: #cbdde5;
}

.mv-footer-bottom {
    padding-top: 22px;

    margin-top: 25px;

    border-top: 1px solid rgba(255,255,255,.1);

    font-size: 13px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .mv-header-inner {
        min-height: 90px;
    }

    .mv-nav {
        display: none;
    }

    .mv-logo {
        font-size: 30px;
    }

    .mv-hero {
        height: 510px;
        min-height: 560px;

        background-position: 58% center;
    }

    .mv-hero-content {
        padding-top: 32px;
    }

    .mv-hero-logo {
        width: 145px;
    }

    .mv-hero-title {
        font-size: 48px;
    }

    .mv-hero-copy {
        font-size: 18px;
    }

    .mv-brand-points {
        grid-template-columns: repeat(2, 1fr);
    }

    .mv-point:nth-child(2) {
        border-right: 0;
    }

    .mv-point:nth-child(-n+2) {
        border-bottom: 1px solid #dbe7ec;
    }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 575px) {

    .mv-header-inner {
        min-height: 76px;
    }

    .mv-logo {
        font-size: 25px;
    }

    .mv-order-btn {
        padding: 12px 15px;

        font-size: 13px;
    }

    .mv-cart {
        display: none;
    }

    /*
       En celular el hero NO debe crecer
       hasta ocupar toda la pantalla.
    */

    .mv-hero {
        height: 610px;
        min-height: 610px;

        background-position: 63% center;
    }

    /*
       Velo más fuerte para poder leer
       el contenido sobre la fotografía.
    */

    .mv-hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.96) 0%,
                rgba(255,255,255,.88) 45%,
                rgba(255,255,255,.35) 75%,
                rgba(255,255,255,0) 100%
            );
    }

    .mv-hero-content {
        width: 100%;

        padding-top: 28px;
        padding-bottom: 25px;
    }

    .mv-hero-logo {
        width: 125px;

        margin-bottom: 8px;
    }

    .mv-kicker {
        padding: 7px 13px;

        margin-bottom: 15px;

        font-size: 11px;
    }

    .mv-hero-title {
        max-width: 330px;

        font-size: 43px;

        letter-spacing: -1.8px;
    }

    .mv-hero-copy {
        max-width: 330px;

        font-size: 17px;
    }

    .mv-hero-menu {
        max-width: 330px;

        gap: 7px 13px;

        margin-bottom: 20px;

        font-size: 12px;
    }

    .mv-hero-cta {
        padding: 13px 20px;

        font-size: 13px;
    }

    .mv-hero-note {
        display: block;

        margin: 12px 0 0;

        font-size: 12px;
    }

    .mv-brand-points {
        grid-template-columns: 1fr 1fr;

        padding: 15px 0;
    }

    .mv-point {
        min-height: 60px;

        gap: 8px;

        padding: 8px;
    }

    .mv-point-icon {
        font-size: 20px;
    }

    .mv-point-title {
        font-size: 9px;

        letter-spacing: .5px;
    }

    .mv-section {
        padding: 55px 0;
    }

    .mv-section-heading h2::before,
    .mv-section-heading h2::after {
        display: none;
    }
}