/* =========================================================
   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;

    width: 100%;

    /*
       ALTURA REAL DEL HERO.
       EL HERO MANDA.
       LA IMAGEN SE ADAPTA A ESTOS 430PX.
    */
    height: 430px;
    min-height: 430px;
    max-height: 430px;

    overflow: hidden;

    background-image: url("../img/hero-mariscos.png");

    /*
       IMPORTANTE:
       NO usamos cover.
       La imagen debe ajustarse exactamente
       al espacio disponible del hero.
    */
    background-size: 100% 100%;

    background-position: center center;
    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;
}


/* =========================================================
   CONTENEDOR DEL HERO
   ========================================================= */

/* =========================================================
   CONTENEDOR DEL HERO
   ========================================================= */

.mv-hero > .container {
    position: relative;
    height: 430px;

    /*
       MUY IMPORTANTE:
       evitamos cualquier alineación vertical
       que pueda venir de la plantilla.
    */
    display: block !important;
}


/* =========================================================
   CONTENIDO HERO
   ========================================================= */

.mv-hero-content {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    z-index: 2;

    width: 570px;
    max-width: 100%;

    padding-top: 8px !important;
    padding-bottom: 0 !important;

    margin: 0 !important;
}


/* =========================================================
   LOGO GRANDE DEL HERO
   ========================================================= */

.mv-hero-logo {
    display: block;

    width: 145px !important;
    max-width: 145px !important;

    height: auto !important;

    margin: 0 0 4px 0;

    filter:
        drop-shadow(
            0 5px 12px rgba(6,47,79,.14)
        );
}


/* =========================================================
   ETIQUETA
   ========================================================= */

.mv-kicker {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 6px 14px;

    margin: 0 0 8px 0;

    border-radius: 30px;

    background: rgba(6,47,79,.93);

    color: #fff;

    font-size: 11px;
    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 7px 0;

    color: var(--mv-navy);

    font-size: 36px;

    line-height: .92;

    letter-spacing: -2.2px;

    font-weight: 900;
}

.mv-hero-title span {
    color: var(--mv-cyan);
}


/* =========================================================
   TEXTO HERO
   ========================================================= */

.mv-hero-copy {
    max-width: 520px;

    margin: 0 0 10px 0;

    color: var(--mv-navy);

    font-size: 17px;

    line-height: 1.3;

    font-weight: 500;
}


/* =========================================================
   CATEGORÍAS HERO
   ========================================================= */

.mv-hero-menu {
    display: flex;

    flex-wrap: wrap;

    gap: 5px 16px;

    margin: 0 0 10px 0;

    color: var(--mv-navy);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: .8px;
}

.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: 12px 22px;

    border-radius: 13px;

    background: var(--mv-orange);

    color: #fff !important;

    font-size: 14px;

    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: 12px;

    color: var(--mv-navy);

    font-size: 11px;

    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: 30px 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%;

    display: flex;
    flex-direction: column;

    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;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.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: center;

    gap: 15px;

    margin-top: auto;
}

.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: 430px;
        min-height: 430px;
        max-height: 430px;

        /*
           TAMBIÉN SE ADAPTA EXACTAMENTE
           AL HERO EN TABLET.
        */
        background-size: 100% 100%;
        background-position: center center;
    }

    .mv-hero-content {
        padding-top: 8px;
        padding-bottom: 0;
    }

    .mv-hero-logo {
        width: 140px !important;
        max-width: 140px !important;
    }

    .mv-hero-title {
        font-size: 46px;
    }

    .mv-hero-copy {
        font-size: 17px;
    }

    .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;
    }

    .mv-hero {
        height: 430px;
        min-height: 430px;
        max-height: 430px;

        background-size: 100% 100%;
        background-position: center center;
    }

    .mv-hero-content {
        width: 100%;

        padding-top: 8px;
        padding-bottom: 0;
    }

    .mv-hero-logo {
        width: 120px !important;
        max-width: 120px !important;

        margin-bottom: 5px;
    }

    .mv-kicker {
        padding: 6px 12px;

        margin-bottom: 9px;

        font-size: 10px;
    }

    .mv-hero-title {
        max-width: 330px;

        font-size: 40px;

        letter-spacing: -1.6px;
    }

    .mv-hero-copy {
        max-width: 330px;

        font-size: 16px;

        margin-bottom: 10px;
    }

    .mv-hero-menu {
        max-width: 330px;

        gap: 5px 12px;

        margin-bottom: 12px;

        font-size: 11px;
    }

    .mv-hero-cta {
        padding: 11px 18px;

        font-size: 12px;
    }

    .mv-hero-note {
        display: block;

        margin: 9px 0 0;

        font-size: 11px;
    }

    .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;
    }
}

/* =========================================================
   AJUSTE DEFINITIVO HERO - MAREVIVAZ
   ========================================================= */

.mv-hero {
    position: relative !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    overflow: hidden !important;
}

.mv-hero > .container {
    position: relative !important;
    height: 430px !important;
    min-height: 430px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mv-hero-content {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    width: 570px !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 8px 0 0 0 !important;

    transform: none !important;
}

/* =========================================================
   MAREVIVAZ - AJUSTE FINAL DEL HERO
   ========================================================= */

.mv-hero {
    position: relative !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;

    overflow: hidden !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/*
   EL CONTENIDO COMPLETO DEL HERO SUBE JUNTO.
   No movemos logo, título, botón, etc. por separado.
*/

.mv-hero-content {
    position: relative !important;

    z-index: 2 !important;

    width: 570px !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    transform: translateY(-105px) !important;

}
/*
   EL LOGO CONSERVA SU TAMAÑO.
*/

.mv-hero-logo {
    display: block !important;

    width: 145px !important;
    height: auto !important;

    margin: 0 0 4px !important;
}

/* =========================================================
   MAREAVIVAZ
   ALTURA REAL DE BENEFICIOS
   ========================================================= */

.mv-brand-strip {
    position: relative !important;
    z-index: 4 !important;

    width: 100% !important;
    height: 106px !important;
    min-height: 106px !important;
    max-height: 106px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    box-shadow: 0 -8px 30px rgba(0,0,0,.04);
}

.mv-brand-strip > .container {
    height: 106px !important;
    min-height: 106px !important;
    max-height: 106px !important;

    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.mv-brand-points {
    display: grid !important;

    grid-template-columns: repeat(4, 1fr) !important;

    width: 100% !important;
    height: 106px !important;
    min-height: 106px !important;
    max-height: 106px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.mv-point {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    height: 106px !important;
    min-height: 106px !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 13px;

    border-right: 1px solid #dbe7ec;
}

.mv-point:last-child {
    border-right: 0;
}

/* =========================================================
   MAREAVIVAZ — TITULOS DE CATEGORIAS
   ========================================================= */

.mv-category-content h3 {
    color: #ff5b22 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
