@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================================
   VARIABLES
   ========================================= */
:root {
    --color-olive: #6B8227;
    --color-sage: #ccd5ae;
    --color-cream: #F5F2DC;
    --color-black: #1A1A1A;
    --color-white: #FFFFFF;
    --color-yellow: #F4DC3C;

    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Poppins', sans-serif;

    --section-pad: 90px 7%;
    --ease: all 0.3s ease;
}

/* =========================================
   RESET & BASE
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    line-height: 1.65;
    background-color: var(--color-cream);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   GLOBAL BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--ease);
    border: none;
    text-align: center;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--color-olive);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #576b1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 130, 39, 0.35);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-olive);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 242, 220, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 14px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo img {
    height: 46px;
    width: auto;
}

nav.nav-menu ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav.nav-menu ul li a {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--color-black);
    letter-spacing: 0.01em;
}

nav.nav-menu ul li a:hover {
    color: var(--color-olive);
}

.header-cta .btn {
    padding: 10px 24px;
    font-size: 0.88rem;
}

/* =========================================
   HERO
   ========================================= */
.hero {
    min-height: 88vh;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%),
        url('assets/Hero/hero.png') center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 120px 7% 100px;
    position: relative;
    color: var(--color-white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    width: 100%;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.hero-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.hero-info {
    margin-top: -50px;
    /* Margen negativo para compensar el espacio del SVG */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    position: relative;
    z-index: 10;
}

.hero-info p {
    background-color: #A8CF1C;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    padding: 4px 12px;
    display: inline-block;
}



.hero-right h1 {
    font-size: clamp(2.2rem, 3.5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 22px;
    color: var(--color-white);
}

.hero-right p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    opacity: 0.88;
    line-height: 1.7;
}

/* Wave divider */
.hero-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.hero-divider img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================
   CONCEPT SECTION
   ========================================= */
.concept {
    background-color: var(--color-sage);
    padding: var(--section-pad);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* Title with inline image effect */
.concept-title {
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 0.9;
    margin-bottom: 32px;
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Fila 1: "El" + imagen píldora */
.concept-title-row1 {
    display: flex;
    align-items: center;
    gap: 18px;
    line-height: 1;
}

.ct-word {
    display: inline-block;
    line-height: 1;
}

/* Imagen oval/píldora dentro del título */
.concept-title-img {
    display: inline-block;
    width: 220px;
    height: 130px;
    border-radius: 100px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    vertical-align: middle;
}

/* "concepto" — línea inferior a ancho completo */
.ct-concepto {
    display: block;
    line-height: 0.95;
}

.concept-left p {
    font-size: 0.97rem;
    color: rgba(26, 26, 26, 0.82);
    line-height: 1.75;
    margin-bottom: 14px;
}

.concept-right img {
    border-radius: 36px;
    width: 100%;
    height: 480px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* =========================================
   WHAT TO FIND
   ========================================= */
.what-to-find {
    background-color: var(--color-sage);
    padding: var(--section-pad);
    padding-top: 0;
    /* no extra top gap — flows from concept */
}

.what-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
}

.what-left {
    flex: 0 0 28%;
}

.what-left h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    line-height: 1.2;
    color: var(--color-black);
}

.what-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.what-item {
    text-align: center;
}

.what-circle {
    width: 90px;
    height: 90px;
    background-color: var(--color-olive);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.what-circle svg {
    width: 42px;
    height: 42px;
}

.what-item h3 {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-black);
}

.what-item p {
    font-size: 0.82rem;
    opacity: 0.75;
    line-height: 1.55;
}

/* =========================================
   WORKSHOPS / TALLERES
   ========================================= */
.workshops {
    background-color: var(--color-cream);
    padding: var(--section-pad);
    position: relative;
}

.workshops-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
}

.workshops-left {
    flex: 1;
}

.workshops-label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-black);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.workshops-left h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.05;
    margin-bottom: 18px;
    transition: opacity 0.3s ease;
}

.workshops-left p {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.75);
}

/* Chef Card */
.workshops-card {
    flex: 0 0 420px;
    background-color: var(--color-sage);
    border-radius: 30px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.chef-info {
    flex: 1;
}

.chef-info h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.chef-info p {
    font-size: 0.87rem;
    margin-bottom: 16px;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.75);
}

.btn-insta {
    display: inline-block;
    background-color: var(--color-olive);
    color: var(--color-white);
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 30px;
    font-family: var(--font-sans);
}

.btn-insta:hover {
    background-color: #576b1f;
}

/* Chef photo placeholder — silueta */
.chef-photo {
    width: 110px;
    height: 110px;
    background-color: var(--color-black);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.chef-photo svg {
    width: 80%;
    fill: rgba(255, 255, 255, 0.6);
    margin-bottom: -4px;
}

.chef-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider arrows */
.slider-arrow {
    font-size: 1.6rem;
    color: var(--color-olive);
    cursor: pointer;
    user-select: none;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid var(--color-olive);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--ease);
}

.slider-arrow:hover {
    background-color: var(--color-olive);
    color: var(--color-white);
}

/* =========================================
   EXHIBITORS
   ========================================= */
.exhibitors {
    background-color: var(--color-cream);
    padding: var(--section-pad);
    text-align: center;
}

.exhibitors>h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 50px;
}

.exhibitors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 44px;
    text-align: left;
}

.exhibitor-card {
    text-align: left;
}

.exhibitor-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-olive);
    border-radius: 24px;
    margin-bottom: 14px;
    overflow: hidden;
}

.exhibitor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exhibitor-card h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* Instagram follow button */
.btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 7px 14px;
    border-radius: 30px;
    font-family: var(--font-sans);
    transition: var(--ease);
}

.btn-follow:hover {
    opacity: 0.85;
}

.btn-follow svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* =========================================
   PARTICIPATE / SPLIT SCREEN
   ========================================= */
.participate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.participate-left {
    background-color: var(--color-sage);
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.participate-left h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 20px;
}

.participate-left p {
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 32px;
    opacity: 0.82;
}

.participate-right {
    background: url('assets/img/contact.jpg') center / cover no-repeat;
    min-height: 400px;
    position: relative;
}

.participate-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            #ccd5ae 0%,
            rgba(204, 213, 174, 0.7) 25%,
            rgba(204, 213, 174, 0.0) 55%);
    pointer-events: none;
}

/* =========================================
   SECCIÓN COLABORADORES
   ========================================= */
.collaborators {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 70px 7%;
    text-align: center;
}

.collaborators h2 {
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--color-cream);
}

.collabs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 60px;
    flex-wrap: wrap;
}

.collab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.collab-role {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(245, 242, 220, 0.5);
}

.collab-circle {
    width: 120px;
    height: 120px;
    background-color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
}

.collab-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   FOOTER PRINCIPAL
   ========================================= */
.main-footer {
    background-color: #111209;
    /* casi negro con leve tono verde */
    color: rgba(245, 242, 220, 0.75);
    font-family: var(--font-sans);
}

.footer-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 60px;
    padding: 60px 7% 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Col 1 — Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    object-position: left;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 280px;
}

.btn-footer-insta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    width: fit-content;
    transition: var(--ease);
}

.btn-footer-insta:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn-footer-insta svg {
    width: 16px;
    height: 16px;
}

/* Col 2 — Navegación */
.footer-nav h4 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--color-cream);
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav ul li a {
    font-size: 0.9rem;
    color: rgba(245, 242, 220, 0.65);
    transition: var(--ease);
}

.footer-nav ul li a:hover {
    color: var(--color-cream);
    padding-left: 4px;
}

/* Col 3 — Organiza */
.footer-organizer h4 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--color-cream);
    margin-bottom: 20px;
}

.footer-org-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    margin-bottom: 20px;
    display: block;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(245, 242, 220, 0.65);
}

.footer-contact li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

.footer-contact li a {
    color: rgba(245, 242, 220, 0.65);
    transition: var(--ease);
}

.footer-contact li a:hover {
    color: var(--color-cream);
}

/* Barra de copyright */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
    color: rgba(245, 242, 220, 0.35);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-dev {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.footer-dev img {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.4;
}

/* Responsive footer */
@media (max-width: 1024px) {
    .footer-body {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-body {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.collab-circle span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        align-items: center;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .concept-title .line-2 {
        justify-content: flex-start;
    }

    .what-grid {
        flex-direction: column;
    }

    .what-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .exhibitors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .participate {
        grid-template-columns: 1fr;
    }

    .participate-right {
        min-height: 320px;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .header-cta {
        display: none;
    }

    .hero {
        padding: 100px 5% 80px;
    }

    .hero-content {
        gap: 36px;
    }

    .what-right {
        grid-template-columns: 1fr;
    }

    .workshops-container {
        flex-direction: column;
        gap: 24px;
    }

    .workshops-card {
        flex: unset;
        width: 100%;
    }

    .collabs {
        gap: 28px;
    }

    .collab-circle {
        width: 90px;
        height: 90px;
        padding: 14px;
    }
}