/* ==========================================================
HERO / BANNER
========================================================== */

.banner {
position: relative;

overflow: hidden;

padding: clamp(70px, 9vw, 70px) 0;

background:
    radial-gradient(
        circle at 85% 40%,
        rgba(255, 255, 255, 0.75),
        transparent 30%
    ),
    #ecf3df;


}

.banner::before {
content: "";

position: absolute;

width: 500px;
height: 500px;

right: -220px;
top: -220px;

border-radius: 50%;

background: rgba(255, 255, 255, 0.2);

pointer-events: none;


}

.hero-grid {
position: relative;
z-index: 2;

display: grid;
grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);

align-items: center;

gap: clamp(40px, 7vw, 100px);


}

/* ==========================================================
HERO CONTENT
========================================================== */

.hero-content {
display: flex;
flex-direction: column;

align-items: flex-start;

gap: 22px;


}

.hero-content h1 {
max-width: 650px;

color: #1b4332;

font-size: clamp(3.1rem, 6vw, 5.5rem);

letter-spacing: -0.045em;


}

.hero-content h1 span {
display: block;

color: #2cbf3d;


}

.hero-description {
max-width: 620px;

color: #526158;

font-size: clamp(1rem, 1.5vw, 1.12rem);

line-height: 1.75;


}

.hero-actions {
display: flex;
align-items: center;

flex-wrap: wrap;

gap: 12px;


}

.benefits {
display: flex;
align-items: center;

flex-wrap: wrap;

gap: 12px 20px;

list-style: none;


}

.benefits li {
display: flex;
align-items: center;

gap: 7px;

color: #38463e;

font-size: 0.84rem;
font-weight: 600;


}

/* ==========================================================
HERO VISUAL
========================================================== */

.hero-visual {
position: relative;

min-height: 570px;

display: flex;
align-items: center;
justify-content: center;


}

.circle-bg {
position: absolute;

width: min(90%, 470px);
aspect-ratio: 1;

border-radius: 50%;

background:
    radial-gradient(
        circle,
        #ffffff 0%,
        #f9fff1 65%,
        #edf7dc 100%
    );

box-shadow:
    inset 0 0 60px rgba(255, 255, 255, 0.8);

animation: breathe 6s ease-in-out infinite;


}

.img-container {
position: relative;
z-index: 2;

width: min(330px, 70%);
height: 480px;

overflow: hidden;

border-radius:
    165px
    165px
    25px
    25px;

transform:
    rotate(5deg);

box-shadow:
    0 25px 55px rgba(31, 67, 50, 0.2);

animation:
    heroFloat 5s ease-in-out infinite;


}

.img-container::after {
content: "";

position: absolute;

inset: 0;

background:
    linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.25),
        transparent 30%
    );

pointer-events: none;


}

.img-container img {
width: 100%;
height: 100%;

object-fit: cover;

transition: transform 900ms cubic-bezier(.2, .8, .2, 1);


}

.img-container:hover img {
transform: scale(1.05);
}

.formula-card {
position: absolute;

z-index: 4;

left: 4%;
bottom: 55px;

display: flex;
align-items: center;
gap: 8px;

padding: 12px 16px;

border: 1px solid rgba(0, 0, 0, 0.06);

border-radius: 14px;

background: rgba(255, 255, 255, 0.92);

box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.1);

color: #18221d;

font-size: 0.78rem;
font-weight: 700;

backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);

animation:
    cardFloat 4s ease-in-out infinite;


}

.ritual {
position: absolute;

right: 4%;
bottom: 75px;

z-index: 4;

color: #682121;

font-family: var(--font-dynapuff);

font-size: 1.15rem;
font-style: italic;
font-weight: 700;

line-height: 1;

text-align: center;

transform: rotate(-6deg);

animation:
    ritualFloat 5s ease-in-out infinite;


}

/* ==========================================================
PRODUCTS SECTION
========================================================== */

.choose {
padding: clamp(80px, 9vw, 120px) 0;

background: #fbfff4;


}

.section-heading {
max-width: 720px;

margin: 0 auto;

display: flex;
flex-direction: column;
align-items: center;

gap: 18px;

text-align: center;


}

.section-heading h2 {
color: #1b4332;

font-family: var(--font-outfit);

font-size: clamp(2.1rem, 4vw, 3.6rem);

letter-spacing: -0.035em;


}

.section-heading h2 span {
display: inline-block;

font-family: var(--font-dynapuff);

font-style: italic;

color: #2cbf3d;


}

.section-heading p {
max-width: 610px;

color: #66736b;

line-height: 1.7;


}

.products-grid {
display: grid;

grid-template-columns:
    repeat(3, minmax(0, 1fr));

gap: 24px;

margin-top: 60px;


}

.choose-item {
height: 650px;
max-width: 400px;
display: flex;
flex-direction: column;

overflow: hidden;

border-radius: 28px;

background: #edf7f0;

box-shadow:
    0 10px 30px rgba(27, 67, 50, 0.06);

transition:
    transform var(--transition),
    box-shadow var(--transition);


}

.choose-item:hover {
transform: translateY(-10px);

box-shadow:
    0 25px 55px rgba(27, 67, 50, 0.13);


}

.image-sect {
position: relative;
overflow: hidden;

background: #e8f2df;
height: 50%;

}

.image-sect::after {
content: "";

position: absolute;

inset: 0;

background:
    linear-gradient(
        180deg,
        transparent 60%,
        rgba(0, 0, 0, 0.08)
    );

pointer-events: none;


}

.image-sect img {
width: 100%;
height: 100%;

object-fit: cover;

transition:
    transform 900ms cubic-bezier(.2, .8, .2, 1);


}

.choose-item:hover .image-sect img {
    transform: scale(1.07);
}

.product-badge {
position: absolute;

z-index: 2;

top: 16px;
left: 16px;

padding: 8px 12px;

border-radius: 999px;

color: var(--white);
background: rgba(20, 20, 20, 0.78);

font-size: 0.68rem;
font-weight: 700;

letter-spacing: 0.04em;


}

.product-content {
flex: 1;

display: flex;
flex-direction: column;

padding: 28px;
height: 50%;


}

.product-content-yellow {
background: #fbf2cc;
}

.product-content-cream {
background: #f5eed3;
}

.category {
margin-bottom: 12px;

color: #1c7d28;

font-size: 0.72rem;
font-weight: 800;

letter-spacing: 0.08em;


}

.product-content h3 {
margin-bottom: 16px;

color: #19241e;

font-family: var(--font-outfit);

font-size: 1.55rem;
line-height: 1.1;


}

.product-content h3 span {
display: block;

font-family: var(--font-dynapuff);

font-style: italic;

color: #2cbf3d;

font-size: 1.8rem;


}

.product-content p {
margin-bottom: 25px;

color: #617067;

font-size: 0.92rem;

line-height: 1.7;


}

.product-link {
width: fit-content;

margin-top: auto;

display: inline-flex;
align-items: center;
gap: 8px;

color: #111;

font-size: 0.9rem;
font-weight: 800;

text-decoration: none;

transition:
    color var(--transition-fast),
    gap var(--transition-fast);


}

.product-link:hover {
color: #1c7d28;

gap: 13px;


}

/* ==========================================================
BENEFITS
========================================================== */

.social {
padding: 65px 0;

background: #ecf3df;


}

.benefits-grid {
display: grid;

grid-template-columns:
    repeat(3, minmax(0, 1fr));

gap: 35px;


}

.benefit-item {
display: flex;
align-items: center;

gap: 15px;


}

.benefit-icon {
width: 58px;
height: 58px;

display: flex;
align-items: center;
justify-content: center;

flex-shrink: 0;

border-radius: 50%;

color: #1b4332;

background: var(--white);

box-shadow:
    0 8px 20px rgba(27, 67, 50, 0.08);

transition:
    transform var(--transition),
    background-color var(--transition);


}

.benefit-item:hover .benefit-icon {
transform: translateY(-5px) rotate(-5deg);

background: #dff3e4;


}

.benefit-item h3 {
margin-bottom: 5px;

color: #1a261f;

font-family: var(--font-outfit);

font-size: 1.08rem;


}

.benefit-item p {
color: #66736b;

font-size: 0.82rem;


}

/* ==========================================================
FARMASI SECTION
========================================================== */

.farmasi-section {
padding: 90px 0;

background: #fbfff4;


}

.farmasi-card {
display: flex;
align-items: center;
justify-content: space-between;

gap: 40px;

padding: clamp(30px, 5vw, 55px);

border-radius: 30px;

color: #fff;

background:
    radial-gradient(
        circle at 90% 10%,
        rgba(44, 191, 61, 0.3),
        transparent 35%
    ),
    #1b4332;

box-shadow:
    0 25px 60px rgba(27, 67, 50, 0.15);


}

.farmasi-card .badge {
margin-bottom: 18px;

background: rgba(255, 255, 255, 0.13);
color: #fff;


}

.farmasi-card h2 {
max-width: 650px;

margin-bottom: 15px;

font-family: var(--font-outfit);

font-size: clamp(2rem, 4vw, 3.3rem);


}

.farmasi-card h2 span {
display: block;

color: #6ee77a;

font-family: var(--font-dynapuff);
font-style: italic;


}

.farmasi-card p {
max-width: 620px;

color: rgba(255, 255, 255, 0.72);

line-height: 1.7;


}

.farmasi-card .btn-green {
flex-shrink: 0;

color: #15341f;

background: #6ee77a;

border-color: #6ee77a;


}

.farmasi-card .btn-green:hover {
color: #15341f;

background: #83ee8e;
border-color: #83ee8e;


}

/* ==========================================================
FOOTER
========================================================== */

footer {
background: #ecf3df;
}

.footer-main {
padding: 70px 0;

border-top: 1px solid rgba(0, 0, 0, 0.08);
border-bottom: 1px solid rgba(0, 0, 0, 0.08);


}

.footer-grid {
display: grid;

grid-template-columns:
    2fr 1fr 1fr;

gap: 50px;


}

.footer-brand > p {
margin-top: 20px;

color: #617067;

font-size: 0.9rem;


}

.footer-column h3 {
margin-bottom: 16px;

color: #18221d;

font-family: var(--font-outfit);

font-size: 0.95rem;


}

.footer-column ul {
display: flex;
flex-direction: column;

gap: 10px;

list-style: none;


}

.footer-column li {
display: flex;
align-items: center;

gap: 6px;


}

.footer-column a {
color: rgba(0, 0, 0, 0.68);

font-size: 0.82rem;

text-decoration: none;

transition: color var(--transition-fast);


}

.footer-column a:hover {
color: #1c7d28;
}

.footer-bottom {
padding: 22px 0;
}

.footer-bottom p {
color: #12241d;

font-size: 0.76rem;


}

/* ==========================================================
ANIMACIONES
========================================================== */

@keyframes breathe {
0%,
100% {
transform: scale(1);
}

50% {
    transform: scale(1.04);
}


}

@keyframes heroFloat {
0%,
100% {
transform: rotate(5deg) translateY(0);
}

50% {
    transform: rotate(5deg) translateY(-12px);
}


}

@keyframes cardFloat {
0%,
100% {
transform: translateY(0);
}

50% {
    transform: translateY(-7px);
}


}

@keyframes ritualFloat {
0%,
100% {
transform: rotate(-6deg) translateY(0);
}

50% {
    transform: rotate(-3deg) translateY(-5px);
}


}

/* ==========================================================
TABLET
========================================================== */

@media (max-width: 991.98px) {

.hero-grid {
    grid-template-columns: 1fr;

    gap: 60px;
}

.hero-content {
    align-items: center;

    text-align: center;
}

.hero-description {
    margin: 0 auto;
}

.hero-actions,
.benefits {
    justify-content: center;
}

.hero-visual {
    min-height: 520px;
}

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

.products-grid .choose-item:last-child {
    grid-column: 1 / -1;

    width: min(100%, 450px);

    justify-self: center;
}

.benefits-grid {
    grid-template-columns: 1fr;

    gap: 25px;
}

.benefit-item {
    justify-content: center;
}

.farmasi-card {
    flex-direction: column;

    align-items: flex-start;
}


}

/* ==========================================================
MÓVIL
========================================================== */

@media (max-width: 767.98px) {

.banner {
    padding: 65px 0 75px;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
}

.hero-description {
    font-size: 0.98rem;
}

.hero-actions {
    width: 100%;

    flex-direction: column;
}

.hero-actions .btn-green,
.hero-actions .btn-white {
    width: 100%;
}

.benefits {
    flex-direction: column;
    align-items: flex-start;
}

.hero-visual {
    min-height: 470px;
}

.img-container {
    width: min(280px, 68%);
    height: 400px;

    border-radius:
        140px
        140px
        22px
        22px;
}

.circle-bg {
    width: 360px;
    max-width: 90%;
}

.formula-card {
    left: 0;
    bottom: 30px;

    font-size: 0.7rem;
}

.ritual {
    right: 0;
    bottom: 40px;

    font-size: 0.95rem;
}

.products-grid {
    grid-template-columns: 1fr;

    margin-top: 40px;
}

.products-grid .choose-item:last-child {
    grid-column: auto;

    width: auto;
}

.choose-item {
    min-height: 540px;
}

.farmasi-card {
    padding: 30px 24px;
}

.footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 35px;
}

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


}

@media (max-width: 479.98px) {

.section-heading h2 {
    font-size: 2rem;
}

.hero-visual {
    min-height: 430px;
}

.img-container {
    width: 250px;
    height: 360px;

    border-radius:
        125px
        125px
        20px
        20px;
}

.formula-card {
    max-width: 180px;
}

.ritual {
    font-size: 0.8rem;
}

.benefit-item {
    align-items: flex-start;
}

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

.footer-brand {
    grid-column: auto;
}


}

/* =========================================================
   HEADER FIJO
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    /* Animación y sombra */
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        padding 0.3s ease;
}

/* Evita que Bootstrap/container cree problemas de ancho */
.site-header > .container {
    max-width: 1320px;
}

/* Links del menú */
.site-header .nav-item a {
    position: relative;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

/* Línea animada debajo del enlace */
.site-header .nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #2CBF3D;
    border-radius: 10px;
    transition: width 0.25s ease;
}

.site-header .nav-item a:hover {
    color: #1c7d28;
}

.site-header .nav-item a:hover::after {
    width: 100%;
}

/* =========================================================
   HEADER FIJO DESPUÉS DE UN PUNTO DE SCROLL
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

/* Cuando se alcanza el punto definido por JavaScript */
.site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    padding: 0px 95px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    animation: headerAppear 0.35s ease forwards;
}

/* Evita que el contenido salte cuando el header pasa a fixed */
.header-placeholder {
    height: 0;
}

.header-placeholder.active {
    height: var(--header-height);
}

@keyframes headerAppear {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}