*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-dark: #0d2b12;
    --green-mid: #1a5c25;
    --green-bright: #3db54a;
    --green-light: #5ecb6b;
    --yellow: #f5c518;
    --white: #ffffff;
    --red: #d94040;
    --orange: #e8742a;
    --purple: #7c3aaa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--green-dark);
    color: var(--white);
    overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(13, 43, 18, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--green-bright);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--green-light);
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-decoration: none;
}

.nav-logo img {
    flex-shrink: 0;
}

.nav-logo span {
    color: var(--yellow);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

nav ul a:hover {
    color: var(--yellow);
}

/* ── LANGUAGE SWITCHER ──────────────────────────── */
.lang-switcher {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--green-bright);
    border-color: var(--green-bright);
    color: var(--white);
}

/* ── HERO ────────────────────────────────────────── */
#hero {
    min-height: 100vh;
    background: radial-gradient(ellipse at 60% 40%, var(--green-mid) 0%, var(--green-dark) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--green-bright);
    opacity: 0.08;
}

.hero-bg-circle.c1 {
    width: 600px;
    height: 600px;
    top: -150px;
    left: -150px;
}

.hero-bg-circle.c2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--green-bright);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.hero-title .accent {
    color: var(--green-light);
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--green-bright);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 2.2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 2.2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--yellow);
    color: var(--green-dark);
    transform: translateY(-2px);
}

/* Floating vegetables */
.veg-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.veg-item {
    animation: float 3.5s ease-in-out infinite;
}

.veg-item img {
    display: block;
}

.veg-item:nth-child(2) {
    animation-delay: 0.5s;
}

.veg-item:nth-child(3) {
    animation-delay: 1s;
}

.veg-item:nth-child(4) {
    animation-delay: 1.5s;
}

.veg-item:nth-child(5) {
    animation-delay: 2s;
}

.veg-item:nth-child(6) {
    animation-delay: 2.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ── SECTION BASE ───────────────────────────────── */
section {
    padding: 5rem 2rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.section-title .hi {
    color: var(--yellow);
}

.section-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── ABOUT ───────────────────────────────────────── */
#about {
    background: var(--green-mid);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual img {
    max-width: 100%;
    height: auto;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 1.5rem;
    margin-right: 0.5rem;
}

.pill-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-light);
}

.pill-badge .dot.yellow {
    background: var(--yellow);
}

.pill-badge .dot.red {
    background: var(--red);
}

/* ── PRODUCTS ────────────────────────────────────── */
#productos {
    background: var(--green-dark);
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-header .section-body {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--green-mid);
    border-radius: 20px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
    border-color: var(--green-bright);
    transform: translateY(-4px);
}

.product-card .icon {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
    display: block;
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.product-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.product-card .season-tag {
    display: inline-block;
    margin-top: 0.6rem;
    background: rgba(61, 181, 74, 0.2);
    color: var(--green-light);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
}

/* ── WEEKEND MARKET ──────────────────────────────── */
#mercado {
    background: linear-gradient(135deg, var(--green-mid) 0%, #0d2b12 100%);
}

.mercado-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mercado-svg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mercado-svg img {
    max-width: 100%;
    width: 480px;
    height: auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-card .ic-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 0.3rem;
}

.info-card p {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.info-card p small {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
}

/* ── PHONE CTA ───────────────────────────────────── */
#encargo {
    background: var(--green-bright);
    text-align: center;
    padding: 5rem 2rem;
}

#encargo .section-label {
    color: rgba(255, 255, 255, 0.7);
}

#encargo .section-title {
    color: var(--white);
}

#encargo .section-body {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 2rem;
}

.phone-big {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--green-dark);
    letter-spacing: 2px;
    background: var(--white);
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: transform 0.15s;
}

.phone-big:hover {
    transform: scale(1.03);
}

.encargo-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin: 0 auto;
}

/* ── MEDITERRANEAN ───────────────────────────────── */
#mediterraneo {
    background: var(--green-dark);
}

.med-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.wave-illustration {
    display: flex;
    justify-content: center;
}

.wave-illustration img {
    max-width: 100%;
    height: auto;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
    background: var(--yellow);
    color: var(--green-dark);
    padding: 2rem;
    text-align: center;
}

footer strong {
    font-size: 1.1rem;
    font-weight: 900;
}

footer p {
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: 0.3rem;
}

footer a {
    color: var(--green-dark);
    font-weight: 800;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {

    .about-grid,
    .mercado-inner,
    .med-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        order: -1;
    }

    .wave-illustration {
        order: -1;
    }

    .mercado-svg {
        order: -1;
    }

    nav ul {
        gap: 1rem;
    }

    nav ul a {
        font-size: 0.78rem;
    }

    section {
        padding: 3.5rem 1.25rem;
    }

    #encargo {
        padding: 3.5rem 1.25rem;
    }

    .info-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .info-card .ic-icon {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .pill-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        margin-top: 0.75rem;
    }

    .about-visual img,
    .wave-illustration img,
    .mercado-svg img {
        max-width: 280px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    nav ul {
        display: none;
    }

    .nav-right {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 1rem;
    }

    #encargo {
        padding: 3rem 1rem;
    }

    #hero {
        padding: 5rem 1rem 3rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .veg-row {
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .veg-row .veg-item img {
        width: 44px;
        height: auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-card {
        padding: 1rem 0.75rem;
    }

    .product-card .icon {
        font-size: 2.2rem;
    }

    .info-card {
        flex-direction: column;
        gap: 0.4rem;
    }

    .info-card .ic-icon {
        font-size: 1.4rem;
    }

    .phone-big {
        font-size: clamp(1.8rem, 10vw, 3rem);
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }

    .encargo-note {
        font-size: 0.88rem;
    }

    .pill-badge {
        display: flex;
        width: fit-content;
        font-size: 0.78rem;
        margin-top: 0.6rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.82rem;
    }
}