.farmasi-landing {
    --farmasi-ink: #351027;
    --farmasi-muted: #766b76;
    --farmasi-pink: #ca3278;
    --farmasi-deep: #451032;
    --farmasi-lilac: #ead9f2;
    --farmasi-blush: #fff5f9;
    --farmasi-gold: #f7c744;
    color: var(--farmasi-ink);
    font-family: 'Outfit', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow: hidden;
}

.farmasi-landing *,
.farmasi-landing *::before,
.farmasi-landing *::after {
    box-sizing: border-box;
}

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

.farmasi-landing h1,
.farmasi-landing h2,
.farmasi-landing h3,
.farmasi-landing h4 {
    margin: 0;
    color: var(--farmasi-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.12;
}

.farmasi-landing p {
    margin: 0;
}

.farmasi-landing .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    clip-path: inset(50%);
}

.farmasi-container {
    width: min(100% - 48px, 1320px);
    margin-inline: auto;
}

.farmasi-header {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    background: #fbf7fc;
    box-shadow: 0 4px 18px rgb(53 16 39 / 7%);
}

/* Evita que la barra de administración de WordPress tape el header fijo. */
.admin-bar .farmasi-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .farmasi-header {
        top: 46px;
    }
}

.farmasi-header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* El logo usa .brand / .circle-logo / .business-name de styles.global.css. */
.farmasi-landing .farmasi-brand {
    color: var(--farmasi-ink);
    white-space: nowrap;
}

.farmasi-landing .farmasi-brand:hover {
    color: var(--farmasi-ink);
}

.farmasi-navigation {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 58px);
}

.farmasi-navigation > a:not(.farmasi-button) {
    color: #594d59;
    font-size: 14px;
    text-decoration: none;
}

.farmasi-navigation > a:not(.farmasi-button):hover {
    color: var(--farmasi-pink);
}

.farmasi-menu-toggle {
    display: none;
}

.farmasi-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.farmasi-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(53 16 39 / 15%);
}

.farmasi-button-green {
    min-height: 42px;
    padding: 10px 24px;
    background: #19ce6b;
    color: #102719;
    font-size: 13px;
}

.farmasi-button-whatsapp {
    animation: farmasi-contact-bounce 3.2s ease-in-out infinite;
}

.farmasi-landing .farmasi-floating-whatsapp {
    position: fixed;
    z-index: 30;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    display: grid;
    width: 62px;
    height: 62px;
    min-height: 0;
    padding: 15px;
    border: 0;
    border-radius: 50%;
    background: #20c76a;
    color: #fff;
    box-shadow: 0 8px 24px rgb(22 106 61 / 32%);
    transition: background-color 180ms ease, box-shadow 180ms ease, scale 180ms ease;
}

.farmasi-landing .farmasi-floating-whatsapp:hover {
    background: #16ad59;
    color: #fff;
    scale: 1.08;
    box-shadow: 0 11px 30px rgb(22 106 61 / 42%);
}

.farmasi-floating-whatsapp svg {
    width: 100%;
    height: 100%;
}

@keyframes farmasi-contact-bounce {
    0%, 74%, 100% {
        translate: 0 0;
    }

    82% {
        translate: 0 -7px;
    }

    90% {
        translate: 0 0;
    }

    96% {
        translate: 0 -3px;
    }
}

.farmasi-button-pink {
    background: var(--farmasi-pink);
    color: #fff;
}

.farmasi-button-pink:hover,
.farmasi-button-green:hover {
    color: #fff;
}

.farmasi-button-outline {
    border-color: var(--farmasi-pink);
    color: var(--farmasi-pink);
}

.farmasi-button-gold {
    background: var(--farmasi-gold);
    color: #321622;
}

.farmasi-hero {
    position: relative;
    padding: 150px 0 58px;
    background: linear-gradient(110deg, #fcf8fc 0%, #f5eafa 100%);
}

.farmasi-landing [id] {
    scroll-margin-top: 100px;
}

.farmasi-hero-grid {
    position: relative;
    display: grid;
    min-height: 590px;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(35px, 7vw, 105px);
}

.farmasi-hero-copy {
    position: relative;
    z-index: 1;
}

.farmasi-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    border-radius: 99px;
    background: #f8deeb;
    color: #9c2860;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.2;
}

.farmasi-eyebrow-gold {
    background: #fff0c1;
    color: #725312;
}

.farmasi-hero h1 {
    max-width: 580px;
    margin-top: 20px;
    font-size: clamp(46px, 5.2vw, 76px);
    letter-spacing: -.045em;
}

.farmasi-hero h1 span,
.farmasi-section-heading h2 span {
    color: var(--farmasi-pink);
}

.farmasi-hero-copy > p {
    max-width: 490px;
    margin-top: 22px;
    color: var(--farmasi-muted);
    font-size: 17px;
    line-height: 1.65;
}

.farmasi-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.farmasi-hero-points {
    display: grid;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    color: #5c4958;
    font-size: 13px;
    list-style: none;
}

.farmasi-hero-points li::before {
    content: '•';
    margin-right: 10px;
    color: var(--farmasi-pink);
    font-size: 20px;
    line-height: 0;
    vertical-align: -2px;
}

.farmasi-hero-visual {
    position: relative;
    display: grid;
    min-height: 445px;
    align-items: center;
}

.farmasi-hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100%, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #e4d1ee;
    transform: translate(-50%, -50%);
}

.farmasi-hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 445px;
    border-radius: 28px;
    object-fit: contain;
    box-shadow: 0 20px 50px rgb(60 22 58 / 12%);
}

.farmasi-hero-label {
    position: absolute;
    z-index: 2;
    bottom: 14px;
    left: 7%;
    min-width: 230px;
    padding: 10px 20px;
    border-radius: 99px;
    background: var(--farmasi-gold);
    color: #41290c;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.farmasi-hero-note {
    position: absolute;
    bottom: 26px;
    left: 50%;
    color: #a4306c;
    font-size: 12px;
    text-decoration: none;
    transform: translateX(-50%);
}

.farmasi-hero-note span {
    margin-left: 6px;
}

.farmasi-section {
    padding: 88px 0;
}

.farmasi-section-heading {
    max-width: 800px;
    margin: 0 auto 38px;
    text-align: center;
}

.farmasi-section-heading h2 {
    margin-top: 18px;
    font-size: clamp(34px, 4.2vw, 56px);
    letter-spacing: -.035em;
}

.farmasi-section-heading > p {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--farmasi-muted);
    font-size: 15px;
}

.farmasi-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.farmasi-benefit-card {
    overflow: hidden;
    min-height: 270px;
    border: 1px solid #f1d8e6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 0 #f3d9e7;
}

.farmasi-benefit-art {
    position: relative;
    display: grid;
    min-height: 150px;
    place-items: center;
    background: linear-gradient(135deg, #eadcf3, #f7d8e9);
}

.farmasi-card-number {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--farmasi-gold);
    color: #503b14;
    font-size: 10px;
    font-weight: 800;
}

.farmasi-icon {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--farmasi-pink);
    font-family: Arial, sans-serif;
    font-size: 35px;
    line-height: 1;
}

.farmasi-icon-grid {
    font-size: 45px;
}

.farmasi-icon-check {
    color: #7c419b;
    font-size: 42px;
}

.farmasi-card-copy {
    padding: 23px 26px 26px;
}

.farmasi-card-copy h3,
.farmasi-category-grid h4 {
    font-size: 17px;
    font-weight: 750;
}

.farmasi-card-copy h3 {
    font-family: 'Outfit', Arial, sans-serif;
}

.farmasi-card-copy h3::after,
.farmasi-category-grid article > span {
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 10px;
    background: var(--farmasi-pink);
    content: '';
}

.farmasi-card-copy p,
.farmasi-category-grid p {
    margin-top: 10px;
    color: var(--farmasi-muted);
    font-size: 13px;
    line-height: 1.55;
}

.farmasi-section-cta {
    margin-top: 40px;
    text-align: center;
}

.farmasi-section-cta p {
    margin-bottom: 18px;
    color: var(--farmasi-muted);
    font-size: 13px;
}

.farmasi-wellness {
    background: #fff6f9;
}

.farmasi-wellness .farmasi-section-heading {
    margin-bottom: 48px;
}

.farmasi-wellness-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(38px, 6vw, 90px);
}

.farmasi-wellness-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 10px 16px 0 #dfc5e8;
}

.farmasi-wellness-copy h2,
.farmasi-advisor-copy h2 {
    margin-top: 18px;
    font-size: clamp(30px, 3.3vw, 44px);
    letter-spacing: -.03em;
}

.farmasi-wellness-copy > p {
    margin-top: 16px;
    color: var(--farmasi-muted);
    font-size: 15px;
}

.farmasi-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.farmasi-product-tags li {
    padding: 6px 12px;
    border: 1px solid #e6d3ee;
    border-radius: 99px;
    background: #f7effa;
    color: #594162;
    font-size: 11px;
}

.farmasi-wellness-copy small {
    display: block;
    margin-top: 12px;
    color: #877c87;
    font-size: 10px;
}

.farmasi-category-title {
    margin: 65px 0 28px !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    text-align: center;
}

.farmasi-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.farmasi-category-grid article {
    padding: 22px 24px;
    border: 1px solid #f0d7e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 0 #f3d9e7;
}

.farmasi-category-grid article > span {
    margin: 0 0 16px;
}

.farmasi-category-grid a {
    display: inline-block;
    margin-top: 14px;
    color: #a82868;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.farmasi-opportunity {
    background: linear-gradient(110deg, #47102f, #8d1d60);
    color: #fff;
}

.farmasi-section-heading .farmasi-eyebrow-light {
    background: #ffe4ef;
    color: #9c2860;
}

.farmasi-opportunity .farmasi-section-heading h2 {
    margin-top: 20px;
    color: #fff;
}

.farmasi-opportunity .farmasi-section-heading > p {
    color: #f0dce8;
}

.farmasi-opportunity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.farmasi-opportunity-grid article {
    padding: 32px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 0 rgb(47 8 36 / 40%);
}

.farmasi-opportunity-grid article > span {
    color: var(--farmasi-gold);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 700;
}

.farmasi-opportunity-grid h3 {
    margin-top: 15px;
    font-size: 22px;
}

.farmasi-opportunity-grid p {
    margin-top: 15px;
    color: var(--farmasi-muted);
    font-size: 14px;
}

.farmasi-disclaimer {
    margin-top: 28px !important;
    color: #eed9e6;
    font-size: 11px;
    text-align: center;
}

.farmasi-steps {
    padding-block: 74px;
}

.farmasi-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    text-align: center;
}

.farmasi-steps-grid article > span {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #d13c82, #8c1c60);
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
}

.farmasi-steps-grid h3 {
    font-family: 'Outfit', Arial, sans-serif;
    font-size: 18px;
    font-weight: 750;
}

.farmasi-steps-grid p {
    max-width: 340px;
    margin: 12px auto 0;
    color: var(--farmasi-muted);
    font-size: 13px;
}

.farmasi-join {
    padding: 78px 0;
    background: linear-gradient(110deg, #941e61, #cf347c);
    color: #fff;
    text-align: center;
}

.farmasi-join h2 {
    color: #fff;
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: -.03em;
}

.farmasi-join p {
    margin: 18px auto 26px;
    color: #f9e8f0;
    font-size: 16px;
}

.farmasi-join .farmasi-button {
    min-width: 290px;
}

.farmasi-advisor {
    padding-block: 94px;
    background: #fff6f9;
}

.farmasi-advisor-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(50px, 8vw, 125px);
}

.farmasi-advisor-photo {
    position: relative;
    max-width: 480px;
    padding: 0 25px 22px 0;
}

.farmasi-advisor-photo::after {
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    width: 78%;
    height: 78%;
    border-radius: 45% 45% 48% 18%;
    background: #e5d2f0;
    content: '';
}

.farmasi-advisor-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 500px;
    border-radius: 48% 48% 20px 20px;
    object-fit: cover;
    object-position: center 32%;
}

.farmasi-advisor-copy h2 {
    margin-bottom: 18px;
}

.farmasi-advisor-copy blockquote {
    margin: 0;
    color: #a52c69;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.55;
}

.farmasi-advisor-copy ul {
    display: grid;
    gap: 9px;
    margin: 22px 0 26px;
    padding: 0;
    font-size: 13px;
    list-style: none;
}

.farmasi-advisor-copy li::before {
    margin-right: 10px;
    color: var(--farmasi-pink);
    content: '•';
}

.farmasi-footer {
    padding: 28px 0;
    background: #351027;
    color: #f8eaf2;
}

.farmasi-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.farmasi-landing .farmasi-footer .farmasi-brand,
.farmasi-landing .farmasi-footer .farmasi-brand:hover {
    margin-bottom: 6px;
    color: #fff;
}

.farmasi-footer p,
.farmasi-footer small {
    display: block;
    margin-top: 7px;
    color: #cbb9c5;
    font-size: 11px;
}

.farmasi-footer small {
    font-size: 10px;
}

.farmasi-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(.2, .8, .2, 1), transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.farmasi-animate.farmasi-is-visible {
    opacity: 1;
    transform: translateY(0);
}

.farmasi-benefit-grid .farmasi-animate:nth-child(3n + 2),
.farmasi-category-grid .farmasi-animate:nth-child(4n + 2),
.farmasi-opportunity-grid .farmasi-animate:nth-child(3n + 2),
.farmasi-steps-grid .farmasi-animate:nth-child(3n + 2) {
    transition-delay: 90ms;
}

.farmasi-benefit-grid .farmasi-animate:nth-child(3n + 3),
.farmasi-category-grid .farmasi-animate:nth-child(4n + 3),
.farmasi-opportunity-grid .farmasi-animate:nth-child(3n + 3),
.farmasi-steps-grid .farmasi-animate:nth-child(3n + 3) {
    transition-delay: 180ms;
}

@media (max-width: 960px) {
    .farmasi-hero-grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 35px;
    }

    .farmasi-navigation {
        gap: 18px;
    }

    .farmasi-navigation > a:not(.farmasi-button) {
        font-size: 12px;
    }

    .farmasi-benefit-grid {
        gap: 16px;
    }

    .farmasi-benefit-card {
        min-height: 280px;
    }

    .farmasi-card-copy {
        padding-inline: 18px;
    }

    .farmasi-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* La nota deja de ser absoluta para no montarse sobre el contenido del hero. */
    .farmasi-hero-note {
        position: static;
        grid-column: 1 / -1;
        justify-self: center;
        transform: none;
    }
}

/* Menú hamburguesa desde 820px: por debajo los enlaces no caben en una línea. */
@media (max-width: 820px) {
    .farmasi-header-inner {
        min-height: 68px;
    }

    .farmasi-landing .circle-logo {
        width: 40px;
        height: 40px;
    }

    .farmasi-landing .circle-logo svg {
        width: 26px;
        height: 26px;
    }

    .farmasi-menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0;
        border-radius: 50%;
        background: #f4e8f3;
    }

    .farmasi-menu-toggle > span:not(.screen-reader-text) {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--farmasi-ink);
    }

    .farmasi-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        padding: 16px 22px 22px;
        background: #fbf7fc;
        box-shadow: 0 12px 18px rgb(53 16 39 / 10%);
    }

    .farmasi-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .farmasi-navigation > a:not(.farmasi-button) {
        padding: 8px 0;
        font-size: 15px;
    }

    .farmasi-navigation .farmasi-button {
        align-self: flex-start;
    }
}

@media (max-width: 700px) {
    .farmasi-container {
        width: min(100% - 36px, 540px);
    }

    .farmasi-hero {
        padding: 116px 0 58px;
    }

    .farmasi-hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .farmasi-hero h1 {
        margin-top: 16px;
        font-size: clamp(42px, 11vw, 58px);
    }

    .farmasi-hero-copy > p {
        margin-top: 16px;
        font-size: 15px;
    }

    .farmasi-hero-visual {
        min-height: 300px;
        margin: 8px 0 18px;
    }

    .farmasi-hero-visual img {
        max-height: 320px;
        border-radius: 20px;
    }

    .farmasi-hero-orbit {
        width: 82%;
    }

    .farmasi-hero-label {
        bottom: -7px;
        left: 5%;
        min-width: 180px;
        font-size: 12px;
    }

    .farmasi-hero-note {
        max-width: 100%;
        font-size: 12px;
        text-align: center;
    }

    .farmasi-section {
        padding: 65px 0;
    }

    .farmasi-section-heading {
        margin-bottom: 30px;
    }

    .farmasi-section-heading h2 {
        font-size: clamp(32px, 8vw, 42px);
    }

    .farmasi-section-heading > p {
        font-size: 14px;
    }

    .farmasi-benefit-grid,
    .farmasi-opportunity-grid,
    .farmasi-steps-grid,
    .farmasi-wellness-feature,
    .farmasi-advisor-grid {
        grid-template-columns: 1fr;
    }

    .farmasi-benefit-card {
        min-height: 0;
    }

    .farmasi-benefit-art {
        min-height: 125px;
    }

    .farmasi-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .farmasi-card-copy {
        padding: 20px 22px 24px;
    }

    .farmasi-wellness-feature {
        gap: 35px;
    }

    .farmasi-wellness-photo {
        aspect-ratio: 1.2;
    }

    .farmasi-wellness-copy h2,
    .farmasi-advisor-copy h2 {
        font-size: 34px;
    }

    .farmasi-category-title {
        margin-top: 48px !important;
    }

    .farmasi-category-grid {
        grid-template-columns: 1fr;
    }

    .farmasi-opportunity-grid {
        gap: 18px;
    }

    .farmasi-opportunity-grid article {
        padding: 26px;
    }

    .farmasi-steps-grid {
        gap: 32px;
    }

    .farmasi-join {
        padding: 62px 0;
    }

    .farmasi-join h2 {
        font-size: 38px;
    }

    .farmasi-join p br {
        display: none;
    }

    .farmasi-join .farmasi-button {
        width: 100%;
        min-width: 0;
        max-width: 340px;
    }

    .farmasi-advisor-grid {
        gap: 36px;
    }

    .farmasi-advisor-photo {
        width: min(100%, 380px);
        margin-inline: auto;
    }

    .farmasi-advisor-photo img {
        height: 390px;
    }

    .farmasi-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    /* Espacio para que el botón flotante no tape el texto del footer. */
    .farmasi-footer {
        padding-bottom: 96px;
    }

    .farmasi-landing .farmasi-floating-whatsapp {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .farmasi-landing *,
    .farmasi-landing *::before,
    .farmasi-landing *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .farmasi-landing .farmasi-animate {
        opacity: 1;
        transform: none;
    }
}
