* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animaciones suaves de entrada */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(22px);
}

.anim-fade-in {
    opacity: 0;
}

.anim-fade-up.is-visible {
    animation: fadeUp 0.9s ease forwards;
}

.anim-fade-in.is-visible {
    animation: fadeIn 0.9s ease forwards;
}

.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }

:root {
    --header-offset: 80px;
}

/* Tipografías personalizadas */
@font-face {
    font-family: 'LEMON MILK';
    src: url('./assets/fonts/lemon-milk.woff2') format('woff2'),
         url('./assets/fonts/lemon-milk.otf') format('opentype'),
         url('./assets/fonts/lemon-milk.ttf') format('truetype'),
         local('LEMON MILK'),
         local('LEMONMILK');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sticky Notes';
    src: url('./assets/fonts/sticky-notes.woff2') format('woff2'),
         url('./assets/fonts/sticky-notes.woff') format('woff'),
         url('./assets/fonts/sticky-notes.ttf') format('truetype'),
         local('Sticky Notes'),
         local('StickyNotes');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('./assets/fonts/poppins.woff2') format('woff2'),
         url('./assets/fonts/poppins.woff') format('woff'),
         url('./assets/fonts/poppins.ttf') format('truetype'),
         local('Poppins'),
         local('Poppins');

    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Clases utilitarias para aplicar tipografías */
.font-lemon {
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
}

.font-sticky {
    font-family: 'Sticky Notes', 'Montserrat', cursive;
}

/* Estilos generales */
body {
    font-family: 'Montserrat', 'Montserrat-Variable', sans-serif;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    padding-top: var(--header-offset); /* Espacio exacto para el header fijo */
}

img {
    width: auto;
    height: auto;
    display: flex;
    z-index: inherit;
}

/* Header y navegación */
.header {
    background-color: white;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
}
.nav-container {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 40px;
    background-color: white;
    border-radius: 53px;
    transition: all 0.3s ease;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}
/* Navegación principal */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.nav-item {
    position: relative;
}

.nav-link {
    color: #45AC34;
    text-decoration: none;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.submenu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.submenu-toggle::after {
    content: '▾';
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.25s ease;
}

.nav-item.submenu-open .submenu-toggle::after,
.nav-item--has-submenu:hover .submenu-toggle::after,
.nav-item--has-submenu:focus-within .submenu-toggle::after {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 220px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1100;
}

.submenu-link {
    display: block;
    padding: 10px 16px;
    color: #45AC34 !important;
    text-decoration: none;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.submenu-link:hover {
    background-color: #f5f8f4;
}

.nav-item--has-submenu:hover .submenu,
.nav-item--has-submenu:focus-within .submenu,
.nav-item.submenu-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Menú hamburguesa para móvil */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #45AC34;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    
}

/* Responsive design */
@media (max-width: 768px) {
    :root {
        --header-offset: 70px;
    }

    .header {
        padding: 15px;
    }
    
    .nav-container {
        padding: 0 20px;
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        left: 0;
        top: 100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        color: #45AC34;
        transition: all 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 0;
        border-radius: 0 0 20px 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        z-index: 1200; /* Sobre cualquier fondo de página */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        max-height: calc(100vh - var(--header-offset) - 8px);
        overflow-y: auto;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item {
        margin: 10px 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 20px;
        color: #45AC34;
    }

    .submenu-toggle {
        width: 100%;
        text-align: center;
        color: #45AC34;
    }

    .submenu {
        position: static;
        min-width: 100%;
        background: #ffffff;
        box-shadow: none;
        border-radius: 0;
        padding: 6px 0 10px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        border-top: 1px solid #e6e6e6;
    }

    .nav-item.submenu-open .submenu {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .submenu-link {
        color: #45AC34;
        padding: 12px 20px;
        font-size: 13px;
        background: transparent;
    }

    .submenu-link:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* Estilos adicionales para el contenido principal */
.main-content {
    min-height: calc(100vh - var(--header-offset));
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-background {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


.hero-background {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ======= BANNERS LÍNEAS CON HOVER GIF ======= */
.lines-gifs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.line-banner {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: clamp(280px, 42vw, 560px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}

.line-banner::before,
.line-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: var(--line-size, cover);
    background-position: var(--line-position, center);
    background-color: #ffffff;
    z-index: -2;
}

.line-banner::before {
    background-image: var(--line-static);
}

.line-banner::after {
    background-image: var(--line-gif);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.line-banner:hover::after,
.line-banner:focus-visible::after {
    opacity: 1;
}

.line-banner-title {
    margin-top: 20px;
    padding: 10px 20px;
    color: #ffffff;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.8rem);
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.line-banner-title strong {
    font-family: 'Sticky Notes', 'Montserrat', cursive;
    font-weight: 400;
}

.line-especialidades {
    --line-static: url('./assets/linea-especialidades.png');
    --line-gif: url('./assets/linea-especialidades-‍gifs.gif');
    --line-size: cover;
    --line-position: center;
}

.line-corporal {
    --line-static: url('./assets/linea-cuidado-corporal.png');
    --line-gif: url('./assets/linea-corporal.gif');
    --line-size: cover;
    --line-position: center;
}

@media (max-width: 1024px) {
    .line-banner {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .lines-gifs {
        grid-template-columns: 1fr;
    }

    .line-banner {
        aspect-ratio: 4 / 5;
        min-height: 220px;
    }

    .line-especialidades,
    .line-corporal {
        --line-size: contain;
        --line-position: center;
    }

    .line-banner::before,
    .line-banner::after {
        background-size: contain;
        background-position: center;
    }
}
/* Banner capilar */
.banner-capilar {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.capilar-background {
    width: 100%;
    position: relative;
    z-index: 1;
}

.capilar-copy {
    position: absolute;
    left: 2.5%;
    top: 18%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}
.capilar-title {
    margin: 0;
    padding: 0;
    display: block;
    color: #ffffff;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 2.5rem;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    text-align: left;
}
.capilar-sub-title {
    margin-top: 5px;
    padding: 0;
    display: block;
    color: #ffffff;
    font-family: 'Sticky Notes', 'Montserrat', cursive;
    font-size: 5.5rem;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    text-align: left;
}
.button-capilar {
    position: absolute;
    left: 2.5%;
    top: 84%;
    z-index: 2;
}

.capilar-button {
    display: inline-block;
    background-color: #A0D683;
    color: #ffffff;
    text-decoration: none;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 30px;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.capilar-button:hover {
    background-color: #8ecb6d;
    transform: translateY(-2px);
}

.capilar-button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .capilar-copy {
        left: 4%;
        top: 70%;
    }

    .button-capilar {
        left: 4%;
        top: 84%;
    }
}
/* Banner kids */
.banner-kids {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-kids-container {
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.banner-kids img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* ======= SOCIAL MEDIA SECTION ======= */
.social-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.social-title {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    letter-spacing: 0.04em;
    color: #6aa84f;
}

.social-subtitle {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    letter-spacing: 0.04em;
    color: #6aa84f;
}

.social-brand-credit {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    color: #45AC34;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.social-brand-logo {
    height: 42px;
    width: auto;
    display: block;
}

.social-brand-text {
    font-size: 1rem;
    text-transform: uppercase;
}

/* Contenedor de íconos */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    color: #45AC34;
}

/* Enlaces de redes sociales */
.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 100px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    gap: 8px;
    padding: 10px;
}

.social-name {
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #45AC34;
    margin-top: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Distribuidores */
.retailers {
    padding: 28px 0 34px;
    background: #ffffff;
}

.retailers-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.retailers-logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(26px, 6vw, 78px);
    flex-wrap: wrap;
}

.retailers-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.retailers-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
}

.retailers-logos img {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
}

.ecare-section {
    padding: 30px 0 56px;
    background: #ffffff;
}

.ecare-card {
    width: min(960px, 100% - 40px);
    margin: 0 auto;
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.ecare-title {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: clamp(1.3rem, 2.8vw, 2.5rem);
    letter-spacing: 0.04em;
    color: #6aa84f;
}

.ecare-logo {
    width: clamp(220px, 52vw, 420px);
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .retailers {
        padding: 22px 0 28px;
    }

    .retailers-wrap {
        width: min(1100px, calc(100% - 24px));
    }

    .retailers-logos {
        gap: 18px 26px;
    }

    .retailers-logos img {
        height: 50px;
    }

    .ecare-section {
        padding: 24px 0 40px;
    }

    .ecare-card {
        width: min(960px, 100% - 24px);
    }

    .ecare-title {
        font-size: clamp(1.15rem, 4vw, 1.6rem);
    }

    .ecare-logo {
        width: clamp(210px, 68vw, 340px);
    }
}


/* ======= MAIN FOOTER ======= */
.main-footer {
    background: #45AC34;
    color: white;
    padding: 60px 0 40px;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Columna izquierda - Enlaces */
.footer-links .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links .footer-menu li {
    margin: 8px 0;
}

.footer-links .footer-menu li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links .footer-menu li a:hover {
    color: #f0f0f0;
    transform: translateX(5px);
}

/* Columna central - Políticas y Redes */
.footer-center {
    text-align: center;
}

.footer-policies {
    margin-bottom: 30px;
}

.footer-policies p {
    margin: 8px 0;
    text-align: left;
}

.footer-policies a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    text-align: left;
}

.footer-policies a:hover {
    color: #f0f0f0;
}

/* Redes sociales del footer */
.footer-social {
    display: flex;
    justify-content: left;
    gap: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Columna derecha - Logo */
.footer-logo {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-credit {
    margin: 30px auto 0;
    padding: 10px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-credit-logo {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* ======= PÁGINA CUIDADO CAPILAR ======= */
.capilar-page {
    position: relative;
    background-color: #f7faf5;
}

.capilar-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('./assets/background-flores.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    pointer-events: none;
    z-index: -1;
}

.capilar-products-section {
    width: min(1200px, 100% - 40px);
    margin: 40px auto 70px;
}

.capilar-products-wrapper {
    display: grid;
    gap: 28px;
}

.capilar-product-item {
    display: grid;
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: 24px;
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 24px;
    padding: 18px;
}

.capilar-product-item--reverse {
    grid-template-columns: 1fr minmax(240px, 380px);
}

.capilar-product-item--reverse .capilar-product-media {
    order: 2;
}

.capilar-product-item--reverse .capilar-product-info {
    order: 1;
}

.capilar-product-media {
    width: 100%;
}

.capilar-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

.capilar-product-info {
    color: #1f3f1a;
}

.capilar-product-title {
    margin: 0 0 8px;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.6rem);
}

.capilar-product-ingredient {
    margin: 0 0 8px;
    font-family: 'Sticky Notes', 'Montserrat', cursive;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: #45AC34;
}

.capilar-product-copy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.text-capilar {
    color: #45AC34;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    margin: 12px auto 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 8px;
    align-content: center;
}
.title-seccion {
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-weight: 700;
    color: #7AA75C;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0 0 16px;
    align-content: center;
}
.text-capilar-subtitle {
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    color: #000;
    font-weight: 400;
    font-size: 1rem;
    margin: 0 0 16px;
    align-content: center;
}

@media (max-width: 900px) {
    .capilar-product-item,
    .capilar-product-item--reverse {
        grid-template-columns: 1fr;
    }

    .capilar-product-item--reverse .capilar-product-media,
    .capilar-product-item--reverse .capilar-product-info {
        order: initial;
    }
}

@media (max-width: 768px) {
    .capilar-page::before {
        background-size: 150% auto;
        background-position: top center;
        opacity: 0.12;
    }

    .capilar-products-section {
        width: min(1200px, 100% - 24px);
        margin-top: 24px;
    }
}

/* ======= LÍNEA ESPECIALIDADES (4 + 3) ======= */
.especialidades-products-section {
    width: min(1280px, 100% - 40px);
    margin: 46px auto 70px;
}

.especialidades-products-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px 20px;
}

.especialidad-card {
    grid-column: span 3;
    text-align: center;
}

.especialidad-card:nth-child(n + 5) {
    grid-column: span 3;
}

.especialidad-card:nth-child(5) {
    grid-column: 2 / span 3;
}

.especialidad-card:nth-child(6) {
    grid-column: 5 / span 3;
}

.especialidad-card:nth-child(7) {
    grid-column: 8 / span 3;
}

.especialidad-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.especialidad-name {
    margin-top: 10px;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: #45AC34;
}

/* Grid responsive para la página Kids */
.kids-page .especialidades-products-section {
    width: min(1100px, 100% - 32px);
    margin: 34px auto 72px;
}

.kids-page .especialidades-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px 18px;
}

.kids-page .especialidad-card {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
}

.kids-page .especialidad-image {
    max-width: 240px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.kids-page .especialidad-name {
    text-align: center;
    line-height: 1.3;
    font-size: clamp(1rem, 2.4vw, 1.12rem);
}

@media (max-width: 1024px) {
    .kids-page .especialidades-products-section {
        margin: 26px auto 56px;
        width: min(1040px, 100% - 28px);
    }

    .kids-page .especialidades-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 22px 16px;
    }

    .kids-page .especialidad-image {
        max-width: 210px;
    }
}

@media (max-width: 720px) {
    .kids-page .especialidades-products-section {
        width: min(960px, 100% - 22px);
    }

    .kids-page .especialidades-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px 14px;
    }

    .kids-page .especialidad-image {
        max-width: 200px;
    }
}

@media (max-width: 520px) {
    .kids-page .especialidades-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kids-page .especialidad-card {
        padding: 10px;
    }

    .kids-page .especialidad-image {
        max-width: 230px;
    }

    .kids-page .especialidad-name {
        font-size: clamp(1.02rem, 3.4vw, 1.16rem);
    }
}
/* ======= Modos de uso  ======= */
.capilar-usage-section {
    margin: 18px 0 28px;
    padding: 14px 0 20px;
}

.capilar-usage-container {
    width: min(1340px, calc(100% - 36px));
    margin: 0 auto;
}

.capilar-usage-title {
    margin: 0 0 18px;
    text-align: center;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 2vw, 2.3rem);
    color: #6fa74f;
    letter-spacing: 0.2px;
}

.capilar-usage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.capilar-usage-item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.capilar-usage-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.capilar-usage-item p {
    margin: 0;
    color: #1f1f1f;
    font-size: clamp(0.9rem, 1vw, 1.02rem);
    line-height: 1.1;
    max-width: 150px;
}
/* ======= Explora otras líneas ======= */
.explore-lines-section {
    padding: 0 0 36px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.explore-lines-container {
    width: 100%;
    margin: 0 auto;
}

.explore-lines-title {
    margin: 0;
    padding: 20px 16px 16px;
    text-align: center;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 2.3vw, 2.2rem);
    color: #6fa74f;
}

.explore-line-row {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 360px 0 34px;
    text-decoration: none;
    position: relative;
    overflow: visible;
}

.explore-line-row--especialidades {
    background: #FED26F;
}

.explore-line-row--corporal {
    background: #FA9BB1;
    margin-top: 130px;
    padding: 0 34px 0 360px;
}

.explore-line-row--kids {
    background: linear-gradient(45deg, #23B093 0%, #d9e918 72%, #F5E715 100%);
    margin-top: 130px;
}
.explore-line-row--capilar{
    background: #A0D683;
    margin-top: 130px;
}

.explore-line-copy {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.explore-line-label {
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(2rem, 1.45vw, 1.35rem);
    line-height: 1.05;
}

.explore-line-name {
    font-size: clamp(2rem, 2.2vw, 2.35rem);
    line-height: 0.9;
}

.explore-line-name--script {
    font-family: 'Sticky Notes', 'Montserrat', cursive;
    display: block;
    margin-top: 4px;
    transform: translateX(18px);
}

.explore-line-row--corporal .explore-line-name--script {
    transform: translateX(-18px);
}

.explore-line-name--kids {
    font-family: 'Sticky Notes', 'Montserrat', cursive;
    color: #fefefe;
    text-shadow: -3px -3px 0 #ff9ec6, 3px -3px 0 #ff9ec6, -3px 3px 0 #ff9ec6, 3px 3px 0 #ff9ec6;
}

.explore-line-logo-kids {
    width: clamp(86px, 11vw, 170px);
    height: auto;
    margin-top: 4px;
    margin-left: 0;
    transform: translateX(18px);
}

.explore-line-image {
    width: min(42vw, 340px);
    height: 240px;
    object-fit: contain;
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-60%);
    flex-shrink: 0;
    pointer-events: none;
}

.explore-line-placeholder {
    width: min(42vw, 340px);
    height: 240px;
    background: transparent;
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-60%);
    flex-shrink: 0;
    pointer-events: none;
}

.explore-line-row--corporal .explore-line-placeholder {
    left: 34px;
    right: auto;
}

.explore-line-row--corporal .explore-line-copy {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}

.explore-line-row--corporal .explore-line-image {
    left: 34px;
    right: auto;
}

.explore-line-row--kids .explore-line-image {
    width: min(48vw, 460px);
    margin-top: 21px;
    height: 600px;
    right: -5px;
    transform: translateY(-58%);
}
/*======= Modal de producto capilar ======= */
.capilar-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;
}

.capilar-modal.is-open {
    display: flex;
}

.capilar-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 9, 0.55);
}

.capilar-modal-card {
    position: relative;
    width: min(1250px, 100%);
    max-height: 100%;
    margin: 0;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(16, 38, 17, 0.28);
    z-index: 2;
}

.capilar-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #4daa45;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.capilar-modal-main {
    --modal-bg-image: url('assets/modal-bckg.png');
    display: grid;
    grid-template-columns: minmax(300px, 46%) 1fr;
    gap: 22px;
    padding: 30px 24px 12px;
    background-image: var(--modal-bg-image);
    background-size: cover;
    background-position: center;
    position: relative;
}

.capilar-modal-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 52%, rgba(255, 255, 255, 0.72) 100%);
    z-index: 0;
    pointer-events: none;
}

.capilar-modal-main::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -24px;
    width: 220px;
    height: 220px;
    background-image: var(--modal-bg-image);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    z-index: -1;
    pointer-events: none;
}

.capilar-modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.capilar-modal-main-image-wrap {
    background: #ffffff;
    border-radius: 8px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.capilar-modal-main-image {
    width: 88%;
    max-height: 360px;
    object-fit: contain;
}

.capilar-modal-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.capilar-modal-thumb {
    border: 2px solid transparent;
    border-radius: 5px;
    background: #ffffff;
    padding: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.capilar-modal-thumb img {
    width: 100%;
    height: 65px;
    object-fit: contain;
}

.capilar-modal-thumb.is-active {
    border-color: #4daa45;
}

.capilar-modal-content {
    position: relative;
    z-index: 1;
    padding: 4px 18px 8px 0;
    color: #385b32;
    border-radius: 12px;
}

.capilar-modal-title,
.capilar-modal-subtitle {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-weight: 700;
    color: #69a850;
    line-height: 1.18;
}

.capilar-modal-title {
    font-size: clamp(1rem, 2.2vw, 2.2rem);
}

.capilar-modal-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 10px;
}

.capilar-modal-description {
    color: #3f473f;
    font-family: 'Poppins', 'Arial' sans-serif;
    font-weight: 400; /* Regular */
    font-size: clamp(0.75rem, 1.15vw, 1.1rem);
    line-height: 1.45;
    max-width: 560px;
}

.capilar-modal-description p {
    margin: 0 0 10px;
}

.capilar-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin-top: 12px;
}

.capilar-modal-meta-title {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(0.82rem, 1vw, 1rem);
    font-weight: 700;
    color: #69a850;
}

.capilar-modal-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.capilar-modal-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 68px;
}

.capilar-modal-icon-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 1.5px solid #82b874;
    background: #e7efe4;
}

.capilar-modal-icon-label {
    font-size: 0.72rem;
    line-height: 1.2;
    color: #6d8268;
    text-align: center;
}

.capilar-modal-meta-text {
    margin: 6px 0 0;
    font-size: clamp(0.9rem, 1.05vw, 1.05rem);
    color: #4a504a;
}

.capilar-modal-presentacion {
    margin-top: 10px;
}

.capilar-modal-benefits {
    background: #c5d2c2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 26px;
    padding: 16px 30px 20px;
}

.capilar-modal-benefits p {
    margin: 0;
    color: #3d433d;
    font-size: clamp(0.96rem, 1.05vw, 1.08rem);
    position: relative;
    padding-left: 16px;
}

.capilar-modal-benefits p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3d433d;
}
.kids-page {
    position: relative;
    background-color: #f7faf5;
}

.kids-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('./assets/background-kids.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 1024px) {
    .especialidad-card,
    .especialidad-card:nth-child(n + 5) {
        grid-column: span 4;
    }

    .especialidad-card:nth-child(5),
    .especialidad-card:nth-child(6),
    .especialidad-card:nth-child(7) {
        grid-column: span 4;
    }

    .capilar-usage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 20px;
    }

    .explore-line-row {
        min-height: 72px;
        padding: 0 280px 0 18px;
    }

    .explore-line-row--corporal {
        padding: 0 18px 0 280px;
    }

    .explore-line-image,
    .explore-line-placeholder {
        width: min(38vw, 260px);
        height: 180px;
        right: 18px;
        transform: translateY(-58%);
    }

    .explore-line-logo-kids {
        width: clamp(82px, 10vw, 140px);
        margin-top: 21px;
        margin-left: 0;
        transform: translateX(16px);
    }

    .explore-line-row--corporal .explore-line-placeholder {
        left: 18px;
        right: auto;
    }

    .explore-line-row--corporal .explore-line-image {
        left: 18px;
        right: auto;
    }

    .explore-line-row--kids .explore-line-image {
        width: min(46vw, 360px);
        height: 230px;
        right: -130px;
        transform: translateY(-56%);
    }
}

@media (max-width: 768px) {
    .especialidades-products-section {
        width: min(1280px, 100% - 24px);
        margin-top: 26px;
    }

    .especialidad-card,
    .especialidad-card:nth-child(n + 5) {
        grid-column: span 6;
    }

    .especialidad-card:nth-child(5),
    .especialidad-card:nth-child(6),
    .especialidad-card:nth-child(7) {
        grid-column: span 6;
    }

    .capilar-modal-card {
        width: 100%;
        max-height: calc(100dvh - 16px);
        margin: 0;
        border-radius: 18px;
        overflow-y: auto;
    }

    .capilar-modal {
        align-items: flex-start;
        padding: 8px;
    }

    .capilar-modal-main {
        grid-template-columns: 1fr;
        padding: 18px 14px 10px;
    }

    .capilar-modal-main-image-wrap {
        min-height: 290px;
    }

    .capilar-modal-main-image {
        max-height: 260px;
    }

    .capilar-modal-content {
        padding: 0 4px;
    }

    .capilar-modal-main::after {
        width: 120px;
        height: 120px;
        top: 4px;
        right: -8px;
        opacity: 0.6;
    }

    .capilar-modal-benefits {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 8px;
    }

    .capilar-usage-section {
        margin: 18px 0 26px;
    }

    .capilar-usage-container {
        width: min(1280px, calc(100% - 24px));
    }

    .capilar-usage-title {
        margin-bottom: 12px;
    }

    .capilar-usage-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .explore-lines-container {
        width: 100%;
    }

    .explore-line-row {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
        min-height: 0;
    }

    .explore-line-image,
    .explore-line-placeholder {
        width: 100%;
        max-width: 240px;
        height: 150px;
        transform: translateY(0);
        position: static;
    }

    .explore-line-logo-kids {
        width: clamp(86px, 28vw, 140px);
    }

    .explore-line-row--kids .explore-line-image {
        max-width: 280px;
        height: 185px;
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .especialidad-card,
    .especialidad-card:nth-child(n + 5) {
        grid-column: span 12;
    }

    .especialidad-card:nth-child(5),
    .especialidad-card:nth-child(6),
    .especialidad-card:nth-child(7) {
        grid-column: span 12;
    }

    .capilar-modal-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
}

/* ===== CONTACTO ===== */
.contact-page {
    background: #ffffff;
    background-image: url('./assets/background-flores.png');
    
    background-size: 100% auto;
    position: relative;
    overflow: hidden;
}

.contact-info-panel {
    background: #79a95d;
    color: #ffffff;
    text-align: center;
    padding: clamp(30px, 6vw, 48px) 20px clamp(30px, 5vw, 44px);
    position: relative;
}

.contact-info-title {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1.65rem, 3.8vw, 2.8rem);
    letter-spacing: 1px;
    line-height: 1.1;
}

.contact-info-grid {
    width: min(760px, 100% - 20px);
    margin: clamp(20px, 3vw, 28px) auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 52px;
}

.contact-info-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 10px;
}

.contact-info-card--wide {
    grid-column: span 2;
    width: min(380px, 100%);
    margin: 2px auto 0;
}

.contact-info-label {
    margin: 0;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.35;
}

.contact-info-link {
    display: inline-block;
    margin-top: 4px;
    color: #f7f9f6;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form-panel {
    width: min(860px, 100% - 44px);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 52px) 0 clamp(44px, 6vw, 62px);
    position: relative;
}

.contact-form-title {
    margin: 0;
    text-align: center;
    color: #6da555;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1.7rem, 4.5vw, 3rem);
    letter-spacing: 1px;
    line-height: 1.05;
}

.contact-form {
    margin-top: clamp(24px, 3vw, 32px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-form-field label {
    color: #6ca256;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1px;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #c8c8c8;
    background: transparent;
    padding: 9px 2px 7px;
    color: #4f4f4f;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-bottom-color: #79a95d;
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 76px;
}

.contact-form-field--full {
    grid-column: span 2;
}

.contact-form-actions {
    grid-column: span 2;
    margin-top: 4px;
}

.contact-submit-btn {
    width: min(230px, 100%);
    border: 0;
    border-radius: 999px;
    background: #8bc55f;
    color: #ffffff;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
    padding: 10px 22px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.contact-deco {
    position: absolute;
    width: clamp(110px, 14vw, 180px);
    opacity: 0.95;
    pointer-events: none;
}

.contact-deco-left {
    left: clamp(-130px, -8vw, -70px);
    top: -58px;
    transform: rotate(30deg);
}

.contact-deco-right {
    right: clamp(-126px, -7vw, -68px);
    bottom: -62px;
    transform: rotate(-148deg);
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-info-card--wide {
        grid-column: auto;
        width: 100%;
    }

    .contact-form-panel {
        width: min(860px, calc(100% - 24px));
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-field--full,
    .contact-form-actions {
        grid-column: auto;
    }

    .contact-submit-btn {
        width: 100%;
        max-width: 260px;
    }

    .contact-deco {
        width: 96px;
    }

    .contact-deco-left {
        left: -48px;
        top: -46px;
    }

    .contact-deco-right {
        right: -40px;
        bottom: -22px;
    }
    
}
/* ===== QUIÉNES SOMOS ===== */
.about-section {
    position: relative;
    padding: clamp(24px, 5vw, 52px) 0 clamp(110px, 12vw, 180px);
    background: url('./assets/back-nosotros.png') center top / cover no-repeat;
    overflow: hidden;
    color: #ffffff;
}

/*.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.09) 0, rgba(255, 255, 255, 0) 42%),
                radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 36%),
                radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0) 32%);
    pointer-events: none;
    z-index: 0;
}*/

/*.about-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 140px;
    pointer-events: none;
    z-index: 0;
}*/

.about-hero {
    position: relative;
    width: min(1200px, 100% - 40px);
    margin:  auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 28px);
    align-items: center;
    z-index: 1;
}

.about-copy {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 540px;
    align-self: center;
    margin-top: -220px;
}

.about-tag {
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    letter-spacing: 2px;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    margin: 0;
}

.about-title {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 45px;
    line-height: 1.2;
    
}

.about-text {
    margin: 4px 0 0;
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #eef4e6;
    max-width: 640px;
    text-align: justify;
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 4vw, 36px);
    flex-wrap: wrap;
    margin-top: 14px;
}

.about-badges {
    width: min(1100px, 100%);
    margin: clamp(-110px, -8vw, -60px) auto 0;
    display: flex;
    justify-content: center;
}

.about-icons--centered {
    width: 100%;
    text-align: center;
}

.about-icon-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon-img {
    width: clamp(220px, 26vw, 320px);
    height: clamp(220px, 26vw, 320px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-icon-label {
    display: none;
}

.about-hero-media {
    grid-column: span 5;
    display: flex;
    justify-content: flex-end;
}

.about-hero-image {
    width: min(560px, 100%);
    display: grid;
    place-items: center;
    position: relative;
    overflow: visible;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateX(clamp(18px, 4vw, 70px));
}

.about-hero-image img {
    width: 875px;
    height: 661px;
    object-fit: contain;
    display: block;
}

.about-pillars {
    width: min(1200px, 100% - 40px);
    margin: clamp(28px, 5vw, 42px) auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    position: relative;
    z-index: 1;
}

.about-pillar-card {
    background: #7AA75C;
    color: #ffffff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(122, 167, 92, 0.3);
    box-shadow: 0 14px 32px rgba(41, 71, 35, 0.14);
}

.about-pillar-card h3 {
    margin: 0 0 8px;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: #ffffff;
}

.about-pillar-card p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.5;
    text-align: justify;
}

/* Encuentranos */
.find-section {
    padding: clamp(28px, 5vw, 52px) 0;
}

.find-container {
    width: min(1200px, 100% - 40px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(20px, 4vw, 36px);
    align-items: center;
}

.find-media img {
    width: 100%;
    max-width: 640px;
    height: auto;
    object-fit: contain;
    display: block;
}

.find-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.find-title {
    margin: 0;
    font-family: 'LEMON MILK', 'Montserrat', sans-serif;
    color: #6aa84f;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.find-text {
    margin: 0;
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: clamp(1rem, 1.1vw, 1.12rem);
    line-height: 1.6;
    color: #6fa74f;
}

@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 16px;
    }

    .about-copy {
        grid-column: span 12;
    }

    .about-hero-media {
        grid-column: span 12;
        justify-content: center;
    }

    .about-hero-image {
        width: min(460px, 90vw);
        margin-top: 6px;
        transform: none;
    }

    .about-pillars {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 14px;
    }

    .about-badges {
        width: min(1200px, 100% - 28px);
        margin-top: 18px;
    }

    .find-container {
        width: min(1100px, 100% - 32px);
        grid-template-columns: 1fr;
        text-align: center;
    }

    .find-copy {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .about-section {
        padding: 26px 0 42px;
        background: url('assets/back-nosotros.png') center top / cover no-repeat;
    }

    .about-hero {
        width: min(1200px, 100% - 24px);
    }
    .about-text {
        font-size: 1rem;
    }
    .about-hero-image {
        height: auto;
        width: min(420px, 100%);
        margin-top: 6px;
        left: auto;
        transform: none;
    }

    .about-icons {
        grid-template-columns: 1fr;
    }

    .about-icons--centered {
        width: 100%;
    }

    .about-pillar-card {
        padding: 16px;
    }

    .find-container {
        width: min(1100px, 100% - 20px);
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .find-copy {
        text-align: center;
        align-items: center;
    }
}
/*tiktok seccion*/
.tiktok-section {
  padding: 40px;
  text-align: center;
}

.tiktok-section h2 {
  font-family: 'LEMON MILK', 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: #6aa84f;
  font-weight: bold;
  margin-bottom: 20px;
}

/* CONTENEDOR */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* SCROLL HORIZONTAL */
.carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

/* OCULTAR SCROLL */
.carousel::-webkit-scrollbar {
  display: none;
}

/* CARD */
.card {
    min-width: 260px;
    max-width: 280px;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #000;
    flex: 0 0 auto;
}
.card iframe,
.card .tiktok-embed {
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.card::before {
  content: "Cargando...";
  color: white;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  z-index: 1;
}

.card.loaded::before {
    display: none;
}
/* FLECHAS */
.arrow {
  background: white;
  border: 2px solid #6aa84f;
  color: #6aa84f;
  font-size: 22px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}

.arrow.left {
  margin-right: 10px;
  font-family: 'LEMON MILK', 'Montserrat', sans-serif;
}   

.arrow.right {
  margin-left: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .card {
    min-width: 160px;
    height: 300px;
  }

  .arrow {
    display: none; /* en móvil solo swipe */
  }
}
