
/* ========================================
   COOKING - COCINO PARA TI
   DISEÑO DE PAGINA PRINCIPAL
======================================== */

.cooking-home {
    --cream: #fff9ef;
    --green: #53643d;
    --dark-green: #34452c;
    --pistachio: #c9dc91;
    --yellow: #f9d65c;
    --orange: #bd5d10;
    --peach: #f5b58b;
    --sage: #d5e5da;

    margin: 0;
    background: var(--cream);
    color: var(--dark-green);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.cooking-home * {
    box-sizing: border-box;
}

.cooking-home > main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.cooking-home img {
    max-width: 100%;
}

.cooking-home [hidden] {
    display: none !important;
}

.cooking-home > main > section {
    min-width: 0;
}

.cooking-home h1,
.cooking-home h2,
.cooking-home h3 {
    font-family: Arial, Helvetica, sans-serif;
}

.cooking-home .eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* BOTONES */

.cooking-home .button {
    display: inline-block;
    background: var(--green);
    color: white;
    border-radius: 40px;
    padding: 14px 26px;
    font-weight: 700;
    text-decoration: none;
}

.cooking-home .button:hover {
    background: var(--dark-green);
}

/* BARRA SUPERIOR */

.cooking-home .strip {
    background: var(--dark-green);
    color: white;
    font-size: 14px;
    letter-spacing: .7px;
    text-align: center;
    padding: 9px 15px;
}

/* LOGO Y NAVEGACION */

.cooking-home > header {
    width: 100%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 3%;
    gap: 20px;
}

.cooking-home > header > img {
    width: 280px;
    height: 190px;
    object-fit: contain;
    object-position: left center;
    display: block;
    flex-shrink: 0;
    margin: 0 auto 0 0;
}

.cooking-home > header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 26px;
    font-size: 18px;
    font-weight: 700;
}

.cooking-home > header nav a,
.cooking-home > header nav button {
    font-size: 18px !important;
    font-weight: 700;
}

.cooking-home > header nav a:hover {
    color: var(--orange);
}

/* PORTADA PRINCIPAL */

.cooking-home .hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.15fr);
    align-items: center;
    gap: 30px;
    padding: 5px 4% 45px;
}

.cooking-home .intro {
    padding: 15px 0;
    min-width: 0;
}

.cooking-home .intro h1 {
    font-size: clamp(44px, 5.3vw, 78px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 20px 0 24px;
}

.cooking-home .intro h1 span {
    display: block;
}

.cooking-home .intro .accent {
    color: var(--orange);
}

.cooking-home .intro p {
    font-size: 21px;
    line-height: 1.6;
    max-width: 490px;
    margin-bottom: 26px;
}

.cooking-home .hero-button {
    padding: 16px 30px;
    font-size: 18px;
}

.cooking-home .hero-location {
    margin-top: 18px;
    font-size: 14px;
}

/* FOTOGRAFIAS PRINCIPALES */

.cooking-home .hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1;
    min-width: 0;
    isolation: isolate;
}

.cooking-home .hero-shape {
    position: absolute;
    inset: 6% 3% 5% 5%;
    background: var(--yellow);
    border-radius: 48% 42% 44% 38%;
    z-index: -1;
}

.cooking-home .hero-meal {
    position: absolute;
    object-fit: contain;
    height: auto;
    filter: drop-shadow(
        0 18px 15px rgba(42, 40, 20, .16)
    );
}

.cooking-home .hero-meal-one {
    width: 69%;
    top: 0;
    left: 0;
    transform: rotate(-12deg);
    z-index: 2;
}

.cooking-home .hero-meal-two {
    width: 65%;
    right: 0;
    bottom: 0;
    transform: rotate(13deg);
    z-index: 1;
}

/* INGREDIENTES DECORATIVOS */

.cooking-home .decoration {
    position: absolute;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    display: block;
}

/* ALBAHACA */

.cooking-home .hero-basil {
    width: 22%;
    left: 0;
    bottom: 3%;
    top: auto;
    transform: rotate(-25deg);
    z-index: 3;
    filter: drop-shadow(
        0 5px 5px rgba(0, 0, 0, .08)
    );
}

/* LIMON */

.cooking-home .hero-lemon {
    width: 22%;
    right: 0;
    top: 25%;
    transform: rotate(15deg);
    z-index: 3;
    filter: drop-shadow(
        0 5px 5px rgba(0, 0, 0, .08)
    );
}

/* AGUACATE */

.cooking-home .kitchen-avocado {
    width: 180px;
    height: auto;
    bottom: -15px;
    right: 0;
    transform: rotate(-15deg);
    opacity: 1;
}

/* SELLO FRESH MADE WITH LOVE */

.cooking-home .fresh-stamp {
    position: absolute;
    right: 2%;
    top: 4%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--pistachio);
    color: var(--dark-green);
    border: 2px dashed var(--green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    transform: rotate(12deg);
    z-index: 4;
}

/* BARRA DE BENEFICIOS */

.cooking-home .benefits {
    background: var(--pistachio);
    padding: 22px 4%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 18px;
    font-weight: 700;
    gap: 20px;
    text-align: center;
}

.cooking-home .benefit-star {
    color: var(--green);
    font-size: 25px;
}

/* TITULOS DE SECCIONES */

.cooking-home #plans > h2,
.cooking-home #how-it-works > h2,
.cooking-home #gallery > h2,
.cooking-home .kitchen-content h2,
.cooking-home #menu > h2 {
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin: 14px 0 20px;
}

.cooking-home .section-description {
    font-size: 19px;
    max-width: 680px;
    margin: 0 auto 28px;
}

/* PLANES DE COMIDA */

.cooking-home #plans {
    padding: 60px 4%;
    text-align: center;
}

.cooking-home .toggle {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.cooking-home .toggle button {
    font-size: 16px;
    padding: 13px 24px;
    background: #e7ecdb;
    color: var(--dark-green);
}

.cooking-home .toggle button[aria-pressed="true"] {
    background: var(--green);
    color: white;
}

.cooking-home #cards {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cooking-home .plan {
    display: flex;
    flex-direction: column;
    padding: 28px 23px;
    border-radius: 25px;
    min-width: 0;
    text-align: left;
    box-shadow: 0 5px 15px rgba(52, 69, 44, .04);
}

/* COLORES DE LOS PLANES */

.cooking-home .plan:nth-child(4n+1) {
    background: var(--pistachio);
}

.cooking-home .plan:nth-child(4n+2) {
    background: var(--yellow);
}

.cooking-home .plan:nth-child(4n+3) {
    background: var(--peach);
}

.cooking-home .plan:nth-child(4n+4) {
    background: var(--sage);
}

.cooking-home .plan h3 {
    font-size: 29px;
    letter-spacing: -.7px;
    margin: 0 0 14px;
}

.cooking-home .plan .price {
    font-size: 44px;
    font-weight: 800;
}

.cooking-home .plan p,
.cooking-home .plan li {
    font-size: 17px;
    line-height: 1.55;
}

.cooking-home .plan button {
    font-size: 16px;
    width: 100%;
    margin-top: auto;
    padding: 14px 18px;
}

/* COMO FUNCIONA */

.cooking-home #how-it-works {
    margin: 0 2%;
    padding: 55px 4%;
    border-radius: 30px;
    background: #f3ead9;
    text-align: center;
}

.cooking-home .steps-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 32px 0;
}

.cooking-home .step {
    background: white;
    border-radius: 24px;
    padding: 28px 22px;
}

.cooking-home .step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--pistachio);
}

.cooking-home .step-icon svg {
    width: 42px;
    height: 42px;
}

.cooking-home .step:nth-child(2) .step-icon {
    background: var(--yellow);
}

.cooking-home .step:nth-child(3) .step-icon {
    background: var(--peach);
}

.cooking-home .step h3 {
    font-size: 26px;
    letter-spacing: -.6px;
    margin: 10px 0;
}

.cooking-home .step p {
    font-size: 17px;
    line-height: 1.6;
}

/* NUESTRA COCINA */

.cooking-home #our-kitchen {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    align-items: center;
    gap: 50px;
    padding: 60px 5%;
}

.cooking-home .kitchen-image {
    min-width: 0;
    overflow: hidden;
    border-radius: 30px;
    background: #f3ead9;
}

.cooking-home .kitchen-image img {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 30px;
}

.cooking-home .kitchen-content {
    position: relative;
    min-width: 0;
    padding-bottom: 90px;
}

.cooking-home .kitchen-content h2 span {
    display: block;
}

.cooking-home .kitchen-content h2 span:last-child {
    color: var(--orange);
}

.cooking-home .kitchen-content p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* GALERIA DE COMIDAS */

.cooking-home #gallery {
    background: #f8d9bd;
    margin: 0 2%;
    padding: 55px 2% 45px;
    border-radius: 30px;
    text-align: center;
}

.cooking-home .gallery {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    margin-top: 24px;
}

.cooking-home .gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    transform: scale(1.06);
    filter: drop-shadow(
        0 10px 9px rgba(0, 0, 0, .12)
    );
    transition: transform .25s ease;
}

.cooking-home .gallery img:hover {
    transform: scale(1.11);
}

/* MENU SEMANAL Y PEDIDOS */

.cooking-home #menu {
    background: #f9edc5;
    margin: 40px 3%;
    padding: 35px 3%;
    border-radius: 28px;
    min-width: 0;
}

.cooking-home #menu h2 {
    font-size: clamp(30px, 3.3vw, 48px);
    margin: 14px 0 18px;
    line-height: 1.15;
}

.cooking-home #menu h3 {
    font-size: clamp(20px, 2vw, 25px);
    letter-spacing: -.5px;
    margin-top: 14px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.cooking-home #menu h4 {
    font-size: 18px;
    margin-top: 14px;
    margin-bottom: 10px;
}

.cooking-home #menu p {
    line-height: 1.55;
    margin-top: 10px;
    margin-bottom: 12px;
}

.cooking-home #menu ul {
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 12px;
}

.cooking-home #menu small {
    font-size: 12px;
    letter-spacing: 1px;
}

.cooking-home #menu button {
    font-size: 16px;
}

.cooking-home #menu input,
.cooking-home #menu select,
.cooking-home #menu textarea {
    font-size: 16px;
    max-width: 100%;
}

.cooking-home #selection {
    font-weight: 600;
}

/* PIE DE PAGINA */

.cooking-home > footer {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 30px;
    background: var(--pistachio);
    color: var(--dark-green);
    padding: 25px 5% 18px;
    border-top: 5px solid var(--green);
}

.cooking-home .footer-brand img {
    width: 210px;
    height: 150px;
    object-fit: contain;
    object-position: left center;
}

.cooking-home .footer-brand p {
    font-size: 16px;
    margin-top: 5px;
}

.cooking-home .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-size: 17px;
}

.cooking-home .footer-links h3,
.cooking-home .footer-contact h3 {
    font-size: 21px;
    letter-spacing: -.5px;
    margin: 0 0 10px;
}

.cooking-home .footer-contact {
    font-size: 16px;
    text-align: right;
    overflow-wrap: anywhere;
}

.cooking-home .footer-contact p {
    margin: 5px 0;
}

.cooking-home footer a:hover {
    color: var(--orange);
}

.cooking-home .footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(52, 69, 44, .25);
    padding-top: 18px;
    font-size: 13px;
    text-align: center;
}

/* ========================================
   TABLETS Y PANTALLAS MEDIANAS
======================================== */

@media (max-width: 1100px) {

    .cooking-home > header > img {
        width: 230px;
        height: 165px;
    }

    .cooking-home > header nav {
        gap: 18px;
    }

    .cooking-home > header nav a,
    .cooking-home > header nav button {
        font-size: 16px !important;
    }

    .cooking-home #cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .cooking-home .intro h1 {
        font-size: clamp(40px, 5.5vw, 60px);
    }

    .cooking-home #our-kitchen {
        gap: 30px;
    }

    .cooking-home .kitchen-avocado {
        width: 145px;
    }
}

/* TABLETS PEQUENAS */

@media (max-width: 800px) {

    .cooking-home > header > img {
        width: 190px;
        height: 135px;
    }

    .cooking-home .hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 15px 5% 30px;
        text-align: center;
        gap: 10px;
    }

    .cooking-home .intro p {
        margin: 0 auto 24px;
    }

    .cooking-home .hero-visual {
        max-width: 540px;
        margin: 0 auto;
    }

    .cooking-home .hero-basil {
        width: 20%;
    }

    .cooking-home .hero-lemon {
        width: 20%;
    }

    .cooking-home .benefits {
        font-size: 14px;
        gap: 10px;
    }

    .cooking-home .steps-grid {
        gap: 12px;
    }

    .cooking-home .step {
        padding: 22px 15px;
    }

    .cooking-home #our-kitchen {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        padding: 40px 5%;
    }

    .cooking-home .kitchen-image {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

    .cooking-home .kitchen-content {
        padding-bottom: 100px;
    }

    .cooking-home .kitchen-avocado {
        width: 120px;
        bottom: 0;
        right: 0;
    }

    .cooking-home .gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ========================================
   VERSION PARA CELULARES
======================================== */

@media (max-width: 600px) {

    .cooking-home {
        font-size: 16px;
    }

    .cooking-home .strip {
        font-size: 11px;
        padding: 8px 10px;
    }

    .cooking-home > header {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        padding: 0 4% 12px;
        gap: 5px;
    }

    .cooking-home > header > img {
        width: 175px;
        height: 125px;
        margin-right: auto;
    }

    .cooking-home > header nav {
        flex: 1 1 140px;
        width: auto;
        justify-content: flex-end;
        gap: 10px;
    }

    .cooking-home > header nav a,
    .cooking-home > header nav button {
        font-size: 14px !important;
    }

    .cooking-home > header nav button {
        padding: 9px 14px;
    }

    .cooking-home .hero {
        padding: 8px 5% 25px;
        gap: 8px;
    }

    .cooking-home .intro {
        padding: 10px 0 0;
    }

    .cooking-home .intro h1 {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -1.2px;
        line-height: 1.13;
        margin: 12px 0 18px;
        overflow-wrap: anywhere;
    }

    .cooking-home .eyebrow {
        font-size: 11px;
    }

    .cooking-home .intro p {
        font-size: 17px;
        line-height: 1.6;
        margin: 0 auto 20px;
    }

    .cooking-home .hero-button {
        font-size: 16px;
        padding: 13px 23px;
    }

    .cooking-home .hero-location {
        font-size: 12px;
        margin-top: 12px;
    }

    .cooking-home .hero-visual {
        max-width: 420px;
        aspect-ratio: 1.15;
    }

    .cooking-home .hero-meal-one {
        width: 68%;
        top: 3%;
        left: 1%;
    }

    .cooking-home .hero-meal-two {
        width: 64%;
        right: 1%;
        bottom: 1%;
    }

    .cooking-home .fresh-stamp {
        width: 72px;
        height: 72px;
        font-size: 9px;
        top: 4%;
        right: 2%;
    }

    .cooking-home .hero-basil {
        width: 19%;
        left: 0;
        bottom: 2%;
    }

    .cooking-home .hero-lemon {
        width: 18%;
        right: 0;
        top: 25%;
    }

    .cooking-home .benefits {
        font-size: 12px;
        padding: 14px 10px;
        gap: 7px;
    }

    .cooking-home .benefit-star {
        font-size: 15px;
    }

    .cooking-home #plans > h2,
    .cooking-home #how-it-works > h2,
    .cooking-home #gallery > h2,
    .cooking-home .kitchen-content h2,
    .cooking-home #menu > h2 {
        font-size: clamp(30px, 8vw, 40px);
        letter-spacing: -1px;
    }

    /* PLANES EN CELULARES */

    .cooking-home #plans {
        padding: 38px 5%;
    }

    .cooking-home .section-description {
        font-size: 17px;
    }

    .cooking-home .toggle {
        gap: 7px;
    }

    .cooking-home .toggle button {
        font-size: 13px;
        padding: 10px 15px;
    }

    .cooking-home #cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .cooking-home .plan {
        padding: 24px;
        border-radius: 22px;
    }

    .cooking-home .plan h3 {
        font-size: 27px;
    }

    .cooking-home .plan .price {
        font-size: 38px;
    }

    .cooking-home .plan p,
    .cooking-home .plan li {
        font-size: 16px;
    }

    /* COMO FUNCIONA EN CELULARES */

    .cooking-home #how-it-works {
        margin: 0 3%;
        padding: 35px 5%;
        border-radius: 22px;
    }

    .cooking-home .steps-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin: 25px 0;
    }

    .cooking-home .step {
        padding: 25px 20px;
    }

    .cooking-home .step-icon {
        width: 72px;
        height: 72px;
    }

    .cooking-home .step-icon svg {
        width: 35px;
        height: 35px;
    }

    .cooking-home .step h3 {
        font-size: 24px;
    }

    /* NUESTRA COCINA EN CELULARES */

    .cooking-home #our-kitchen {
        padding: 35px 5%;
        gap: 25px;
    }

    .cooking-home .kitchen-image,
    .cooking-home .kitchen-image img {
        border-radius: 22px;
    }

    .cooking-home .kitchen-content p {
        font-size: 17px;
    }

    .cooking-home .kitchen-content {
        padding-bottom: 100px;
    }

    .cooking-home .kitchen-avocado {
        width: 100px;
        bottom: 0;
        right: 0;
    }

    /* GALERIA EN CELULARES */

    .cooking-home #gallery {
        margin: 0 3%;
        padding: 35px 4%;
        border-radius: 22px;
    }

    .cooking-home .gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cooking-home .gallery img:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 55%;
        justify-self: center;
    }

    /* MENU SEMANAL EN CELULARES */

    .cooking-home #menu {
        margin: 25px 3%;
        padding: 24px 3%;
        border-radius: 22px;
    }

    .cooking-home #menu h2 {
        font-size: 30px;
    }

    .cooking-home #menu h3 {
        font-size: 21px;
    }

    .cooking-home #menu h4 {
        font-size: 17px;
    }

    .cooking-home #menu p,
    .cooking-home #menu li {
        font-size: 15px;
    }

    .cooking-home #menu button {
        font-size: 14px;
    }

    /* PIE DE PAGINA EN CELULARES */

    .cooking-home > footer {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: 20px;
        padding: 20px 15px;
    }

    .cooking-home .footer-brand img {
        width: 190px;
        height: 135px;
        object-position: center;
    }

    .cooking-home .footer-contact {
        text-align: center;
    }

    .cooking-home .footer-bottom {
        font-size: 12px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    .cooking-home *,
    .cooking-home *::before,
    .cooking-home *::after {
        transition: none !important;
    }
}

/* FIN DEL ARCHIVO HOME.CSS */
