@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');


:root {
    --navy: #102a43;
    --navy-dark: #081c2c;

    --ocean: #0e7490;
    --ocean-dark: #0a5c72;

    --accent: #e58a2b;

    --ice: #f3f8fa;
    --white: #ffffff;

    --text: #24343d;
    --muted: #667780;

    --border: #dce7eb;

    --container: 1180px;

    --radius: 14px;

    --shadow:
        0 15px 40px rgba(16, 42, 67, .10);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}


img {
    width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(90%, var(--container));
    margin-inline: auto;
}


/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 82px;

    display: flex;
    align-items: center;

    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(0, 0, 0, .05);

    backdrop-filter: blur(12px);
}


.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}


.header .logo {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}


.logo__image {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
}


.logo__text {
    display: flex;
    flex-direction: column;
}


.logo__name {
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
}


.logo__sub {
    margin-top: 5px;
    color: var(--ocean);
    font-weight: 600;
    font-size: .9rem;
}


.nav {
    display: flex;
    align-items: center;
    gap: 30px;

    font-size: .93rem;
    font-weight: 500;
}


.nav>a:not(.btn) {
    transition: color .2s ease;
}


.nav>a:not(.btn):hover {
    color: var(--ocean);
}


.menu-toggle {
    display: none;

    border: 0;
    background: transparent;
    cursor: pointer;
}


.menu-toggle span {
    width: 25px;
    height: 2px;

    display: block;

    margin: 5px;

    background: var(--navy);
}


/* BUTTON */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border: 2px solid var(--ocean);
    border-radius: 7px;

    background: var(--ocean);
    color: var(--white);

    font-family: inherit;
    font-weight: 600;
    font-size: .94rem;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.btn:hover {
    background: var(--ocean-dark);
    border-color: var(--ocean-dark);
    transform: translateY(-2px);
}


.btn--small {
    min-height: 42px;
    padding-inline: 18px;
}


.btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .7);
}


.btn--outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}


/* HERO */

.hero {
    min-height: 680px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        url("../img/hero-mariscos.jpg") center / cover no-repeat;

    color: var(--white);
}


.hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(5, 27, 41, .92) 0%,
            rgba(8, 42, 59, .72) 48%,
            rgba(8, 42, 59, .15) 100%);
}


.hero__content {
    position: relative;
    z-index: 2;
}


.eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    color: #dcecf1;

    font-size: .8rem;
    font-weight: 700;

    letter-spacing: .16em;
    text-transform: uppercase;
}


.hero h1 {
    max-width: 720px;

    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1.02;

    letter-spacing: -.03em;
}


.hero h1 span {
    display: block;
    color: #87d4df;
}


.hero p {
    max-width: 610px;

    margin-top: 26px;

    color: #e3edf0;

    font-size: 1.12rem;
}


.hero__actions {
    display: flex;
    gap: 14px;

    margin-top: 35px;
}


/* GENERAL SECTIONS */

.section {
    padding: 110px 0;
}


.section--light {
    background: var(--ice);
}


.section-label {
    display: block;

    margin-bottom: 12px;

    color: var(--ocean);

    font-size: .76rem;
    font-weight: 700;

    letter-spacing: .16em;
    text-transform: uppercase;
}


.section-label--light {
    color: #8ed5df;
}


h2 {
    color: var(--navy);

    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;

    letter-spacing: -.02em;
}


.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}


.section-heading p {
    max-width: 600px;
    margin-top: 18px;

    color: var(--muted);
}


/* ABOUT */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
    align-items: center;
}


.about__image img {
    height: 570px;
    object-fit: cover;

    border-radius: var(--radius);
}


.about__content>p {
    margin-top: 22px;

    color: var(--muted);
}


.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 40px;
}


.stat {
    padding-top: 20px;
    border-top: 2px solid var(--border);
}


.stat strong,
.stat span {
    display: block;
}


.stat strong {
    color: var(--ocean);
    font-size: 1.3rem;
}


.stat span {
    margin-top: 5px;

    color: var(--muted);
    font-size: .8rem;
}


/* PRODUCTS */

.products-carousel {
    padding: 8px 0 20px;
}


.products-carousel__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}


.products-carousel__button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ocean);
    border-radius: 50%;
    background: var(--white);
    color: var(--ocean);
    font: inherit;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}


.products-carousel__button:hover,
.products-carousel__button:focus-visible {
    background: var(--ocean);
    color: var(--white);
}


.products-grid {
    display: flex;
    width: max-content;
    gap: 24px;
    transition: transform .35s ease;
}


.products-carousel__viewport {
    overflow: hidden;
}


.product-card {
    width: 280px;
    flex: 0 0 280px;
    overflow: hidden;

    background: var(--white);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.product-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 50px rgba(16, 42, 67, .15);
}


.product-card__image {
    height: 240px;
    overflow: hidden;
}


.product-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}


.product-card:hover img {
    transform: scale(1.05);
}


.product-card__content {
    padding: 25px;
}


.product-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
}


.product-card p {
    min-height: 80px;

    margin-top: 10px;

    color: var(--muted);
    font-size: .9rem;
}


.product-card a {
    display: inline-block;

    margin-top: 18px;

    color: var(--ocean);
    font-size: .88rem;
    font-weight: 700;
}


/* QUALITY */

.quality {
    padding: 110px 0;

    background: var(--navy-dark);
    color: var(--white);
}


.quality__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 100px;
}


.quality h2 {
    color: var(--white);
}


.quality__grid>div:first-child p {
    margin-top: 25px;
    color: #b9cbd3;
}


.quality__features {
    display: flex;
    flex-direction: column;
}


.feature {
    display: grid;
    grid-template-columns: 60px 1fr;

    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .12);
}


.feature:first-child {
    padding-top: 0;
}


.feature__number {
    color: #68c6d3;
    font-weight: 700;
}


.feature h3 {
    margin-bottom: 7px;
    font-size: 1.1rem;
}


.feature p {
    color: #aebfc6;
    font-size: .9rem;
}


/* CTA */

.cta {
    padding: 70px 0;
    background: #eaf4f6;
}


.cta__content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.cta h2 {
    font-size: 2.5rem;
}


.cta p {
    margin-top: 10px;
    color: var(--muted);
}


/* CONTACT */

.contact {
    display: grid;
    grid-template-columns: .8fr 1.2fr;

    gap: 90px;
}


.contact__info>p {
    margin: 20px 0 40px;
    color: var(--muted);
}


.contact-item {
    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}


.contact-item span,
.contact-item strong {
    display: block;
}


.contact-item span {
    color: var(--muted);
    font-size: .8rem;
}


.contact-item strong {
    margin-top: 5px;

    color: var(--navy);

    font-size: .95rem;
    font-weight: 600;
}


.contact-form {
    padding: 40px;

    background: var(--ice);
    border-radius: var(--radius);
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--navy);

    font-size: .83rem;
    font-weight: 600;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--white);

    color: var(--text);
    font: inherit;

    outline: none;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ocean);

    box-shadow:
        0 0 0 3px rgba(14, 116, 144, .08);
}


.form-group textarea {
    resize: vertical;
}


.contact-form .btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}


.form-status {
    min-height: 26px;
    margin-top: 18px;
    color: var(--ocean-dark);
    font-size: .88rem;
}


/* FOOTER */

.footer {
    padding: 50px 0;

    background: #071722;
    color: #9fb0b9;
}


.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;
}


.logo--footer .logo__name {
    color: var(--white);
}

#logo-camaron {
    width: 50px;
    max-width: 50px;
}

.footer p {
    max-width: 600px;

    text-align: right;
    font-size: .78rem;
}


/* RESPONSIVE */

@media (max-width: 1000px) {
    .about,
    .quality__grid,
    .contact {
        gap: 50px;
    }

}


@media (max-width: 800px) {

    .header {
        height: 72px;
    }


    .menu-toggle {
        display: block;
    }


    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 20px 5% 25px;

        background: var(--white);

        box-shadow:
            0 15px 25px rgba(0, 0, 0, .08);
    }


    .nav.active {
        display: flex;
    }


    .nav a {
        padding: 13px 0;
    }


    .nav .btn {
        margin-top: 10px;
        padding: 0 20px;
    }


    .hero {
        min-height: 650px;
    }


    .hero__overlay {
        background:
            rgba(5, 27, 41, .78);
    }


    .hero h1 {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }


    .section {
        padding: 80px 0;
    }


    .about,
    .quality__grid,
    .contact {
        grid-template-columns: 1fr;
    }


    .about__image img {
        height: 450px;
    }


    .quality__grid {
        gap: 60px;
    }


    .cta__content {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 550px) {

    .hero {
        min-height: calc(100vh - 72px);
    }


    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }


    .stats,
    .form-row {
        grid-template-columns: 1fr;
    }


    .product-card p {
        min-height: auto;
    }


    .products-carousel {
        overflow: visible;
    }


    .products-carousel__controls {
        justify-content: flex-start;
    }


    .products-carousel__viewport {
        overflow-x: auto;
        scrollbar-width: thin;
    }


    .contact-form {
        padding: 25px;
    }


    .footer__content {
        flex-direction: column;
        align-items: flex-start;
    }


    .footer p {
        text-align: left;
    }

}