:root {
    --bg: #f8fafc;
    --ink: #0f172a;
    --muted: #475569;
    --brand: #0ea5e9;
    --card: #ffffff;
    --line: #e2e8f0;
    --radius: 16px;
    --space: 20px;
    --maxw: 1140px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

img.placeholder {
    display: block;
    width: 100%;
    height: auto;
    background: #e5e7eb;
    border: 1px solid transparent;
    border-radius: 12px;
}

img.image-content {
    display: block;
    width: 100%;
    height: auto;
    background: #e5e7eb;
    border-radius: 12px;
}

.section .wrapper {
    padding: 32px;
    margin-bottom: 24px;
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.section .box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.eyebrow {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

h1,
h2 {
    margin: 0 0 12px;
    line-height: 1.2;
}

h1 {
    font-size: clamp(28px, 4vw, 44px);
}

h2 {
    font-size: clamp(22px, 3vw, 32px);
}

p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 16px;
}

ul {
    margin: 12px 0 0 20px;
    color: var(--muted);
    padding: 0;
}

li {
    margin: 8px 0;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: 1.2fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}


.btn {
    display: inline-block;
    padding: 14px 18px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.btn:focus,
.btn:hover {
    filter: brightness(0.95);
    transform: scale(1.05);
}

.card {
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 16px;
    color: var(--ink);
}

.card img+p {
    margin-top: 18px;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 48px;
}

@media (max-width: 900px) {
    .kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .kpis {
        grid-template-columns: 1fr;
    }
}

.kpi {
    text-align: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fdfefe;
}

.kpi .num {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
}

.kpi .lbl {
    font-size: 12px;
    color: var(--muted);
}

.footer-cta {
    text-align: center;
}

header .wrapper {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 40px;
    position: relative; /* Allows to align responsive menu to header */
}

header .wrapper .logo {
    width: 100px;
}

header .wrapper nav ul {
    list-style: none;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
}



header .wrapper nav a {
    text-decoration: none;
    color: var(--brand);
    transition: 0.1s ease-in transform;
    display: inline-block;
    /* makes hover transform work */
}

header .wrapper nav a:hover {
    transform: scale(1.05);
}

#hero {
    height: 60vh;
    background: #777 url("../img/hero-pesca-anchoveta.jpg") no-repeat center center / cover fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
}

#hero:before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#hero .wrapper {
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

#hero .wrapper .container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 32px;
}

#hero .wrapper .container p,
#hero .wrapper .container .eyebrow {
    color: #fff;
}

#hero .wrapper .container a {
    margin-top: 40px;
}

#contexto {
    margin: 20px;
}

#contexto .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#solucion {
    background: #777 url("../img/integridad-del-recurso-hasta-su-ingreso-a-planta.jpg") no-repeat center center / cover fixed;
    position: relative;
    color: #fff;
    padding: 60px 0;
}

#solucion:before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#solucion .wrapper p,
#solucion .wrapper .eyebrow {
    color: #fff;
}

#solucion .card {
    margin-top: 32px;
}

#como_funciona .btn {
    width: fit-content;
    display: block;
    margin: 40px auto 20px auto;
}

#impacto {
    background: #777 url("../img/mas-proteina-disponible-mayor-rentabilidad.jpg") no-repeat center center / cover fixed;
    position: relative;
    color: #fff;
    padding: 60px 0;
}

#impacto:before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#impacto .wrapper p,
#impacto .wrapper .eyebrow {
    color: #fff;
}

#confianza .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* - Nav icon - */
.nav-icon {
    width: 2rem;
    height: 2rem;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 2rem;
}

@media(min-width: 1140px) {
    .nav-icon {
        display: none;
    }
}

.nav-icon span {
    display: block;
    position: absolute;
    height: 0.4rem;
    width: 100%;
    background: var( --brand );
    border-radius: 1em;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.nav-icon span:nth-child(1) {
    top: 0;
}

.nav-icon span:nth-child(2),
.nav-icon span:nth-child(3) {
    top: 0.75rem;
}

.nav-icon span:nth-child(4) {
    top: 1.5rem;
}

.nav-icon.open span:nth-child(1) {
    top: 1rem;
    width: 0%;
    left: 50%;
}

.nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-icon.open span:nth-child(4) {
    top: 1.5em;
    width: 0%;
    left: 50%;
}

/* - Responsive nav - */

.responsive-nav ul {
    display: none;
    justify-content: flex-end;
    text-transform: uppercase;
    flex-direction: column;
    text-align: center;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
}
  
.responsive-nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.responsive-nav ul li a,
.responsive-nav ul li span {
    text-decoration: none;
    color: var( --brand );
    padding: 1rem;
    transition: transform 0.1s ease-in;
    display: block;
    cursor: pointer;
}
  
.responsive-nav ul li a:hover,
.responsive-nav ul li span:hover {
    color: var( --ink );
    transform: scale(1.05);
}
  
@media(min-width: 1140px) {
    .responsive-nav ul li {
        color: inherit;
    }

    .responsive-nav ul li:hover {
        color: var( --brand );
    }
}
  
  
@media(min-width: 1140px) {
    .responsive-nav ul {
        border-top: none;
        flex-direction: row;
        display: flex;
        width: auto;
        background: none;
        position: static;
        background: none;
        overflow: visible;
        height: 100%;
        padding: 0 1rem;

    }
}

.open span {
    transform: scale(1.05);
}


.responsive-nav .open + ul {
    display: flex;
}