@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* ============================================
   HERBOSALUD — nosotros.css
   Mobile-first | Breakpoints: 480, 768, 1024, 1280
   ============================================ */

:root {
    --primary: #0ead63;
    --primary-dark: #0b8a4d;
    --secondary: #474646;
    --accent: #ffffff;
    --text: #333;
    --light-text: #999;
    --bg-light: #f8f9fa;
    --radius: 12px;
    --transition: 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, .1);
    --section-pad: 2rem 1rem;
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ── CONTENT WRAPPER ── */
.content-wrapper {
    width: 100%;
    padding-top: 70px;
    /* navbar height mobile */
}

/* ────────────────────────────────────────────
   SECTION-INNER (flex base)
──────────────────────────────────────────── */
.section-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: var(--section-pad);
}

.section-inner.reverse {
    flex-direction: column;
}

/* imagen en sección-inner */
.image-container {
    width: 100%;
}

.section-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--primary);
}

/* texto en sección-inner */
.text-content {
    width: 100%;
    padding: 0;
}

/* ── SECCIÓN 13 ── */
.section-13 {
    background: #fff;
}

.section-preheading {
    font-size: clamp(1.4rem, 5vw, 2.5rem);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    color: var(--secondary);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.highlight-paragraph {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* atelier highlights */
.atelier-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(to right, #fff 60%, rgba(14, 173, 99, .08) 100%);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
}

.highlight-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    min-width: 70px;
    line-height: 1;
}

.highlight-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

/* botones */
.deliflor-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    background: var(--primary);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all var(--transition);
    margin-top: 1rem;
}

.deliflor-btn:hover {
    background: var(--secondary);
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
}

/* vertical gallery */
.vertical-gallery {
    position: relative;
    height: 280px;
    width: 100%;
}

.gallery-item {
    height: 82%;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
}

.gallery-deco {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 55%;
    height: 38%;
    background: var(--primary);
    border-radius: 20px;
    transform: rotate(5deg);
    animation: float 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

/* ────────────────────────────────────────────
   SECCIÓN MISIÓN/VISIÓN/HISTORIA (tabs)
──────────────────────────────────────────── */
.herbosalud-mision-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
}

.herbosalud-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.herbosalud-section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    color: var(--secondary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 12px;
}

.herbosalud-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* tabs */
.herbosalud-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.herbosalud-tab {
    padding: .7rem 1.1rem;
    background: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .07);
    display: flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
}

.herbosalud-tab i {
    color: var(--primary);
    font-size: 1rem;
}

.herbosalud-tab.active,
.herbosalud-tab:hover {
    background: var(--primary);
    color: #fff;
}

.herbosalud-tab.active i,
.herbosalud-tab:hover i {
    color: #fff;
}

/* contenido tabs */
.herbosalud-tab-content {
    display: none;
    animation: fadeIn .4s ease;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.herbosalud-tab-content.active {
    display: block;
}

/* grid misión */
.herbosalud-mision-grid {
    display: flex;
    flex-direction: column;
}

.herbosalud-mision-info {
    padding: 1.5rem;
}

.herbosalud-mision-info h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.herbosalud-mision-info h2 i {
    color: var(--primary);
}

.herbosalud-descripcion p,
.herbosalud-mision-descripcion p,
.herbosalud-vision-descripcion p,
.herbosalud-historia-descripcion p {
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: .8rem;
    color: var(--secondary);
}

/* imagen tabs */
.herbosalud-mision-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    order: -1;
    /* imagen arriba en móvil */
}

.herbosalud-mision-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 173, 99, .08);
    z-index: 1;
}

.herbosalud-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(71, 70, 70, .8);
    color: #fff;
    padding: 1rem 1.2rem;
    text-align: center;
}

.herbosalud-image-content h3 {
    font-size: 1.1rem;
    margin-bottom: .3rem;
    color: #fff;
}

.herbosalud-image-content p {
    font-size: .85rem;
    opacity: .9;
    margin: 0;
    color: #fff;
}

/* valores */
.herbosalud-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
    margin-top: 1rem;
}

.herbosalud-value-item {
    background: rgba(14, 173, 99, .1);
    padding: .8rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    text-align: center;
}

.herbosalud-value-item h4 {
    font-size: .95rem;
    color: var(--primary);
    margin-bottom: .3rem;
}

.herbosalud-value-item p {
    font-size: .8rem;
    color: var(--secondary);
    margin: 0;
}

/* lista detalles */
.herbosalud-mision-details {
    padding: 0;
}

.herbosalud-mision-details li {
    margin-bottom: .8rem;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .95rem;
    color: var(--secondary);
    line-height: 1.5;
}

.herbosalud-mision-details li i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

/* metas */
.herbosalud-metas {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    margin: 1rem 0;
}

.herbosalud-meta-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--primary);
}

.herbosalud-meta-item i {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: .4rem;
}

.herbosalud-meta-item h4 {
    font-size: .95rem;
    color: var(--secondary);
    margin-bottom: .3rem;
}

.herbosalud-meta-item p {
    font-size: .85rem;
    color: var(--secondary);
    margin: 0;
}

/* hitos historia */
.herbosalud-hito {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.herbosalud-hito:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hito-fecha {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: .35rem .9rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: .8rem;
}

.hito-contenido h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: .4rem;
    font-weight: 700;
}

/* compromiso */
.herbosalud-compromiso {
    background: #f0f9f4;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-top: 1rem;
}

.herbosalud-compromiso p {
    font-style: italic;
    color: var(--secondary);
    margin: 0;
    font-size: .95rem;
}

/* ────────────────────────────────────────────
   SECCIÓN 12 — Filosofía
──────────────────────────────────────────── */
.section-12 {
    background: linear-gradient(to bottom, var(--primary) 40%, #fff 40%);
    padding: 0;
}

.section-12 .section-inner {
    padding: 2rem 1rem;
}

.section-preheading-12 {
    color: #fff;
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight-paragraph-2 {
    color: #fff;
    font-size: clamp(.95rem, 3vw, 1.2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.artisanal-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.floral-border {
    position: absolute;
    inset: 0;
    opacity: .1;
    z-index: 1;
    pointer-events: none;
}

.section-image {
    border: none;
}

.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.philosophy-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid #474646;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.philosophy-item:hover {
    transform: translateY(-6px);
}

.section-heading-12-2 {
    font-size: clamp(.95rem, 3vw, 1.2rem);
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: .5rem;
}

.origin-list {
    margin-top: .8rem;
}

.origin-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--secondary);
    margin-bottom: .3rem;
    list-style: none;
}

.origin-list li span {
    color: var(--primary);
    font-weight: 700;
}

.design-types {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .8rem;
}

.design-types span {
    padding: .3rem .8rem;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: .82rem;
    white-space: nowrap;
}

/* ────────────────────────────────────────────
   SECCIÓN 16 — Beneficios cards
──────────────────────────────────────────── */
.section-16 {
    padding: 2.5rem 1rem;
    background: #fff;
    text-align: center;
}

.section-16_title {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-16_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.section-16 .card {
    background: var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
    padding: .8rem;
    transition: transform var(--transition);
}

.section-16 .card:hover {
    transform: translateY(-6px);
}

.section-16 .card-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.section-16 .info-header {
    margin-top: .7rem;
}

.section-16 .card-title {
    font-size: clamp(.85rem, 2.5vw, 1.1rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: .3rem;
    line-height: 1.2;
}

.section-16 .projects-info {
    font-size: .8rem;
    color: white;
    font-weight: 600;
    margin: 0;
}

.section-16 .card-desc {
    font-size: .82rem;
    color: #fff;
    margin-top: .5rem;
    line-height: 1.4;
}

/* animaciones base */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all .7s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all .7s ease;
}

.animate-left.active,
.animate-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   BREAKPOINT: 480px
============================================ */
@media (min-width: 480px) {
    .section-16_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .atelier-highlights {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .highlight-card {
        flex: 1 1 calc(50% - .5rem);
    }

    .herbosalud-metas {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   BREAKPOINT: 768px
============================================ */
@media (min-width: 768px) {
    .content-wrapper {
        padding-top: 80px;
    }

    :root {
        --section-pad: 3.5rem 2rem;
    }

    .section-inner {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .section-inner.reverse {
        flex-direction: row-reverse;
    }

    .image-container {
        flex: 1 1 42%;
        min-width: 280px;
    }

    .text-content {
        flex: 1 1 48%;
        padding: 1rem;
    }

    .section-image {
        height: 380px;
    }

    .vertical-gallery {
        height: 420px;
    }

    .herbosalud-mision-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .herbosalud-mision-image {
        height: 100%;
        min-height: 380px;
        order: 0;
    }

    .herbosalud-mision-info {
        padding: 2rem;
    }

    .section-16_grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .philosophy-grid {
        flex-direction: row;
        gap: 1.5rem;
    }

    .philosophy-item {
        flex: 1 1 0;
    }
}

/* ============================================
   BREAKPOINT: 1024px
============================================ */
@media (min-width: 1024px) {
    .content-wrapper {
        padding-top: 90px;
        max-width: 1440px;
        margin: 0 auto;
    }

    :root {
        --section-pad: 4rem 2rem;
    }

    .section-image {
        height: 480px;
    }

    .vertical-gallery {
        height: 560px;
    }

    .gallery-deco {
        right: -30px;
    }

    .highlight-number {
        font-size: 3rem;
        min-width: 100px;
    }

    .atelier-highlights {
        gap: 1.5rem;
    }

    .herbosalud-mision-image {
        min-height: 450px;
    }

    .herbosalud-mision-info {
        padding: 2.5rem;
    }

    .herbosalud-tabs {
        gap: .8rem;
    }

    .herbosalud-tab {
        padding: .85rem 1.6rem;
        font-size: 1rem;
    }
}

/* ============================================
   BREAKPOINT: 1280px
============================================ */
@media (min-width: 1280px) {
    .section-preheading {
        font-size: 2.5rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .section-16_title {
        font-size: 2.5rem;
    }

    .section-12 {
        background: linear-gradient(to right, var(--primary) 40%, #fff 40%);
    }

    .section-12 .section-inner .text-content {
        padding: 2rem;
    }
}

/* ── A11Y ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}