:root {
    --primary-color: #32462f;
    --secondary-color: #d1d1aa;
    --starbucks-green: #00704a;
    --brown: #5f4633;
}

/* A cada elemento del tipo:*/
* {
    box-sizing: border-box;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
}

/*Navegación*/
.site-header{
    width: 100%;
    padding: 15px 10px 15px 10px;
    font-size: 1rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

/*Logo*/
.brand-mark {
    display: inline-block;
    height: 45px;
    width: 45px;
    background-image: url("./img/logo.png");
    background-size: cover;
    background-position: center;
    color: transparent;
}

/*Lista */
.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0px;
    padding: 0px;
}

.nav-list li a:hover {
    border-bottom: 5px solid var(--starbucks-green);
    color: var(--starbucks-green);
    opacity: 0.8;
    padding-bottom: 12px;
}

/*Acciones*/
.header-actions {
    display: flex;
    gap: 35px;
    margin-left: auto;
    align-items: center;
}   

.header-actions a:hover {
    opacity: 0.8;
}

.header-actions a:last-child {
    border: 1px solid #000;
    padding: 5px 15px;
    border-radius: 20px;
    color:  #fff;
    background-color: #000;
}
.header-actions a:nth-last-child(2) {
    border: 1px solid #000;
    padding: 5px 15px;
    border-radius: 20px;
    color:  #000;
}
/*Mobil*/
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    margin-left: auto;
}


/*Body*/
.promo p{
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 45px;
    font-size: 20px;
}

.promo-media img {
    width: 100%; 
    height: auto; 
    display: block;    
    object-fit: cover;
    max-height: 100%;
    margin: 0;
    padding: 0;
}

.promo-hero, .promo-rewards, .promo-product, .promo-cups{
    display: grid;
    line-height: 1.5;
    grid-template-areas: 
        "mediaL contentR";
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: start;
    gap: 0;
    min-height: 100px;
    margin-bottom: 4%;
    font-size: .91rem;
}

.promo-content a {
    display: inline-block;
    width: fit-content;
    align-self: center;
    border: 1px solid var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
}

.promo-product a{
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
.promo-content, .promo-media {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.promo-content {
    padding: 20px 30px;
}

.promo-hero .promo-content, .promo-rewards .promo-content {
    grid-area: contentR;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    text-align: center;
}
.promo-hero .promo-media, .promo-rewards .promo-media {
    grid-area: mediaL;
    justify-self: start;
    justify-content: center;
}
.promo-product .promo-media, .promo-cups .promo-media{
    grid-area: contentR;
    justify-self: end;
    justify-content: center;
}

.promo-product .promo-content{
    grid-area: mediaL;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
}

.promo-cups .promo-content{
    grid-area: mediaL;
    background-color: var(--brown);
    color: var(--secondary-color);
    text-align: center;
}

.promo-hero, .promo-rewards {
    background-color: var(--primary-color);
}

.promo-product {
    background-color: var(--secondary-color);
}
.promo-cups {
    background-color: var(--brown);
}

.promo h2{
    font-size: xx-large;
    margin-bottom: 0;
    margin-top: 0;
}

/*Cards*/
.info-strip {
    display: grid;
    line-height: 1.5;
    grid-template-areas: 
        "left right";
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    font-size: .91rem;
    gap: 30px;
    margin-bottom: 30px;
}

.info-strip .card1 {
    grid-area: left;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.info-strip .card2 {
    grid-area: right;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.card1 a{
    display: inline;
    border: 1px solid var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
}

.card2 a{
    display: inline;
    border: 1px solid var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
}

.info-strip h2 {
    font-family: 'Times new roman', Times, serif;
    font-size: 40px;
    padding: 0 80px;
    line-height: 1;
    margin-bottom: 25%;
    margin-top: 20%;
}

.info-strip p {
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 45px;
    font-size: 20px;
}

/*Footer */
.site-footer {
    box-shadow: 0 -3px 3px rgba(0,0,0, 0.1);
    padding: 20px 10px;
    color: rgba(0,0,0, 0.67);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    align-items: start;
    gap: 20px;
}

.footer-inner > .footer-col:nth-of-type(1),
.footer-inner > .footer-col:nth-of-type(2) {
    grid-column: span 1; 
}

.footer-inner li {
    color: rgba(0,0,0, 0.47);
    font-family: "roboto", "sans-serif";
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.footer-social, .footer-legal {
    grid-column: 1/-1;
}

.footer-legal li {
    align-items: flex-start;
    white-space: nowrap;
    box-sizing: border-box;
}

.footer-legal li:not(:last-child) {
    padding-right: 15px;
    border-right: 1px solid rgba(0,0,0, 0.47); 
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-legal h3, .footer-social h3 {
    color: transparent;
}

.footer-legal ul, .footer-social ul {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(0,0,0, 0.67);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/*Responsive*/
@media (max-width: 768px) {
    .nav-list{
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        border: 1px solid var(--secondary-color);
    }
    .header-actions {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    .menu-toggle {
        display: block;        
    }
    .promo-hero, .promo-rewards, .promo-product, .promo-cups{
        display: grid;
        line-height: 1.5;
        grid-template-areas: 
            "mediaL" 
            "contentR";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        align-items: center;
        margin-bottom: 4%;
    }
    .promo-cups .promo-content, .promo-product .promo-content {
        grid-area: contentR;
    }
    .promo-cups .promo-media, .promo-product .promo-media {
        grid-area: mediaL;
    }
    .info-strip {
        display: grid;
        line-height: 1.5;
        grid-template-areas: 
            "left" 
            "right";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-social,
    .footer-legal {
        grid-column: auto;
    }
    .footer-col li{
        display: none;
    }
}