
/* ==========================================
   NATURIVA — IVANIA ALTAMIRANO
   PÁGINA BIOGRÁFICA
========================================== */

:root {
    --verde-profundo: #073c26;
    --verde-oscuro: #0b5935;
    --verde: #7fbf4d;
    --verde-lima: #b4da7c;
    --crema: #f8f6eb;
    --marfil: #fffdf6;
    --texto: #33483b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--crema);
    color: var(--texto);
    overflow-x: hidden;
}

a {
    color: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

/* HEADER */

.ivania-header {
    height: 82px;
    padding: 8px max(5%, calc((100% - 1350px)/2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,253,246,.96);
    border-bottom: 1px solid rgba(11,89,53,.09);
    position: relative;
    z-index: 20;
}

.ivania-logo img {
    max-width: 125px;
    max-height: 64px;
    object-fit: contain;
}

.ivania-volver {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: 1px solid rgba(11,89,53,.22);
    border-radius: 40px;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--verde-oscuro);
    transition: .3s ease;
}

.ivania-volver span {
    font-size: 19px;
}

.ivania-volver:hover {
    background: var(--verde-oscuro);
    color: white;
    transform: translateY(-2px);
}

/* HERO */

.ivania-hero {
    position: relative;
    isolation: isolate;
    min-height: min(790px, 95vh);
    display: flex;
    align-items: center;
    padding: 80px 6% 95px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 28%,
            rgba(172,222,112,.35), transparent 35%),
        radial-gradient(circle at 4% 80%,
            rgba(111,182,88,.18), transparent 38%),
        linear-gradient(130deg, #fffdf6 0%,
            #f0f5e6 53%, #dcecc9 100%);
}

.ivania-hero-contenido {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(35px, 6vw, 100px);
    position: relative;
    z-index: 3;
}

.ivania-presentacion {
    position: relative;
    z-index: 4;
}

.ivania-etiqueta,
.seccion-etiqueta {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--verde-oscuro);
}

.etiqueta-punto {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: var(--verde);
    box-shadow: 0 0 0 6px rgba(127,191,77,.13);
}

.ivania-presentacion h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(77px, 9vw, 148px);
    line-height: .79;
    font-weight: 600;
    letter-spacing: -3px;
    margin: 37px 0 32px;
    color: var(--verde-profundo);
}

.ivania-presentacion h1 span {
    display: block;
    color: #74af49;
    font-style: italic;
    font-weight: 500;
    margin-top: 11px;
}

.ivania-ornamento {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 180px;
    color: #8ebd64;
    margin-bottom: 25px;
}

.ivania-ornamento span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, #8ebd64);
}

.ivania-ornamento span:last-child {
    transform: rotate(180deg);
}

.ivania-cargo {
    font-weight: 600;
    font-size: 17px;
    color: var(--verde-oscuro);
    margin-bottom: 18px;
}

.ivania-introduccion {
    max-width: 460px;
    font-size: 15px;
    line-height: 2;
    color: #526659;
    margin-bottom: 35px;
}

.ivania-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 26px;
    background: linear-gradient(120deg,
        var(--verde-oscuro), var(--verde-profundo));
    color: white;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 45px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 13px 30px rgba(7,60,38,.18);
    transition: transform .3s, box-shadow .3s;
}

.ivania-boton span {
    font-size: 19px;
}

.ivania-boton:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(7,60,38,.28);
}

/* RETRATO */

.ivania-retrato {
    position: relative;
    width: min(100%, 490px);
    aspect-ratio: 0.87;
    justify-self: center;
    display: grid;
    place-items: center;
}

.retrato-imagen {
    position: relative;
    z-index: 3;
    width: 80%;
    height: 89%;
    overflow: hidden;
    border-radius: 47% 47% 43% 43% / 35% 35% 20% 20%;
    border: 9px solid rgba(255,255,255,.8);
    box-shadow:
        0 30px 80px rgba(7,60,38,.25),
        0 0 0 1px rgba(7,60,38,.09);
    background: #d7e7c9;
}

.retrato-imagen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 1s ease;
}

.retrato-imagen:hover img {
    transform: scale(1.07);
}

.retrato-aro {
    position: absolute;
    width: 90%;
    height: 98%;
    border: 1px solid rgba(8,99,53,.26);
    border-radius: 48% 52% 50% 50%;
    transform: rotate(-13deg);
}

.retrato-aro-2 {
    width: 100%;
    height: 97%;
    border-color: rgba(127,191,77,.4);
    transform: rotate(14deg);
}

.retrato-sello {
    position: absolute;
    z-index: 5;
    right: -2%;
    bottom: 9%;
    width: 175px;
    height: 175px;
    background: var(--marfil);
    border: 7px solid rgba(255,255,255,.72);
    border-radius: 50%;
    box-shadow: 0 10px 35px rgba(7,60,38,.17);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transform: rotate(11deg);
}

.retrato-sello span,
.retrato-sello small {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: var(--verde-oscuro);
}

.retrato-sello strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 37px;
    color: var(--verde-oscuro);
    font-style: italic;
    font-weight: 700;
}

.retrato-destello {
    position: absolute;
    color: #91c95c;
    font-size: 35px;
    animation: destellar 5s ease-in-out infinite;
}

.destello-a {
    top: 8%;
    right: 3%;
}

.destello-b {
    bottom: 8%;
    left: 2%;
    animation-delay: 1.5s;
}

/* ELEMENTOS NATURALES */

.ivania-ambiente {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
}

.orb-1 {
    width: 270px;
    height: 270px;
    top: -140px;
    left: -100px;
    background: rgba(127,191,77,.2);
}

.orb-2 {
    width: 230px;
    height: 230px;
    right: -120px;
    top: 25%;
    background: rgba(61,142,77,.17);
}

.orb-3 {
    width: 160px;
    height: 160px;
    bottom: -60px;
    left: 37%;
    background: rgba(175,223,116,.25);
}

.hoja-flotante {
    position: absolute;
    width: 38px;
    height: 64px;
    background: linear-gradient(135deg,
        #8ec25a, #0b6b3a);
    border-radius: 0 90% 0 90%;
    opacity: .32;
    animation: flotar 8s ease-in-out infinite;
}

.hoja-a {
    top: 14%;
    left: 4%;
    transform: rotate(24deg);
}

.hoja-b {
    top: 62%;
    left: 45%;
    animation-delay: -2s;
}

.hoja-c {
    top: 18%;
    right: 5%;
    animation-delay: -4s;
}

.hoja-d {
    bottom: 8%;
    right: 17%;
    animation-delay: -6s;
}

.ivania-scroll {
    position: absolute;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    font-size: 9px;
    letter-spacing: 3px;
    color: #477653;
}

.scroll-linea {
    width: 1px;
    height: 32px;
    background: #477653;
}

/* HISTORIA */

.ivania-historia {
    padding: 125px 7%;
    background: var(--marfil);
}

.historia-encabezado {
    text-align: center;
    margin-bottom: 65px;
}

.historia-encabezado h2,
.ivania-valores h2,
.ivania-cierre h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(57px, 7vw, 100px);
    line-height: 1;
    font-weight: 600;
    color: var(--verde-profundo);
    margin-top: 16px;
}

.historia-encabezado h2 em,
.ivania-valores h2 em,
.ivania-cierre h2 em {
    color: #7eb24d;
    font-weight: 500;
}

.separador-hoja {
    margin-top: 23px;
    color: #8abc58;
    font-size: 24px;
}

.historia-contenido {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: 80px;
}

.historia-texto p {
    font-size: 14px;
    line-height: 2.2;
    color: #5b6b60;
    margin-bottom: 24px;
}

.historia-texto .historia-entrada {
    font-family: 'Cormorant Garamond', serif;
    font-size: 31px;
    line-height: 1.45;
    color: var(--verde-oscuro);
}

.historia-tarjeta {
    position: relative;
    background: linear-gradient(150deg,
        #f3f8e8, #e0efcf);
    border: 1px solid rgba(11,89,53,.14);
    border-radius: 180px 180px 25px 25px;
    padding: 95px 32px 52px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(7,60,38,.08);
}

.tarjeta-simbolo {
    display: block;
    font-size: 38px;
    color: #82b952;
    margin-bottom: 20px;
}

.tarjeta-etiqueta {
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: var(--verde-oscuro);
}

.historia-tarjeta blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.3;
    color: var(--verde-profundo);
    margin: 23px 0;
}

.tarjeta-linea {
    width: 65px;
    height: 1px;
    background: #93be6c;
    margin: 22px auto;
}

.tarjeta-firma {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-style: italic;
    color: var(--verde-oscuro);
}

/* VALORES */

.ivania-valores {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 115px 7% 130px;
    background: #e9f3dc;
    text-align: center;
}

.valores-fondo {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 0% 0%,
            rgba(128,196,76,.28), transparent 40%),
        radial-gradient(circle at 100% 100%,
            rgba(19,112,66,.2), transparent 40%);
}

.ivania-valores h2 {
    max-width: 800px;
    margin: 20px auto 65px;
}

.valores-grid {
    max-width: 1190px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.valor-card {
    padding: 52px 30px 55px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(11,89,53,.1);
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(7,60,38,.06);
    transition: transform .35s, box-shadow .35s;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 45px rgba(7,60,38,.13);
}

.valor-icono {
    display: block;
    font-size: 43px;
    color: #78b64b;
    margin-bottom: 23px;
}

.valor-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 35px;
    color: var(--verde-profundo);
    margin-bottom: 15px;
}

.valor-card p {
    font-size: 12px;
    line-height: 2;
    color: #597062;
}

/* CIERRE */

.ivania-cierre {
    padding: 125px 7%;
    background: var(--verde-profundo);
    color: white;
    text-align: center;
}

.ivania-cierre .seccion-etiqueta {
    color: #b8da92;
}

.ivania-cierre h2 {
    color: white;
    max-width: 750px;
    margin: 20px auto 28px;
}

.ivania-cierre p {
    max-width: 610px;
    margin: 0 auto 33px;
    font-size: 14px;
    line-height: 2;
    color: #dce9da;
}

.boton-cierre {
    background: #b4db7b;
    color: var(--verde-profundo);
    border: none;
}

/* FOOTER */

.ivania-footer {
    background: #052d1e;
    color: white;
    text-align: center;
    padding: 55px 20px 35px;
}

.ivania-footer img {
    max-width: 110px;
    max-height: 85px;
    object-fit: contain;
    margin-bottom: 18px;
}

.ivania-footer p {
    font-size: 11px;
    letter-spacing: 1px;
    color: #c8dfc2;
}

.ivania-redes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 23px 0;
}

.ivania-redes a {
    color: #b4db7b;
    text-decoration: none;
    font-size: 12px;
    transition: color .2s;
}

.ivania-redes a:hover {
    color: white;
}

.ivania-footer small {
    display: block;
    font-size: 10px;
    color: #8ba994;
}

/* ANIMACIONES */

@keyframes flotar {
    0%, 100% {
        translate: 0 0;
        rotate: -9deg;
    }
    50% {
        translate: 0 -24px;
        rotate: 12deg;
    }
}

@keyframes destellar {
    0%, 100% {
        opacity: .35;
        scale: .85;
    }
    50% {
        opacity: 1;
        scale: 1.2;
    }
}

/* TABLET */

@media (max-width: 950px) {
    .ivania-hero-contenido {
        gap: 25px;
    }

    .ivania-presentacion h1 {
        font-size: clamp(69px, 9vw, 100px);
    }

    .retrato-sello {
        width: 130px;
        height: 130px;
    }

    .retrato-sello strong {
        font-size: 28px;
    }

    .retrato-sello span,
    .retrato-sello small {
        font-size: 7px;
    }

    .historia-contenido {
        gap: 30px;
    }
}

/* CELULAR */

@media (max-width: 700px) {

    .ivania-header {
        height: 67px;
        padding: 8px 5%;
    }

    .ivania-logo img {
        max-width: 95px;
        max-height: 50px;
    }

    .ivania-volver {
        font-size: 10px;
        padding: 10px 13px;
    }

    .ivania-hero {
        min-height: auto;
        padding: 65px 6% 75px;
    }

    .ivania-hero-contenido {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ivania-presentacion {
        text-align: center;
    }

    .ivania-etiqueta {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .ivania-presentacion h1 {
        font-size: clamp(75px, 16vw, 112px);
        margin: 28px 0;
    }

    .ivania-ornamento {
        margin: 0 auto 20px;
    }

    .ivania-cargo {
        font-size: 15px;
    }

    .ivania-introduccion {
        margin: 0 auto 25px;
        font-size: 12px;
        line-height: 1.9;
    }

    .ivania-retrato {
        width: min(100%, 370px);
    }

    .retrato-imagen {
        border-width: 6px;
    }

    .retrato-sello {
        right: 0;
        bottom: 6%;
        width: 115px;
        height: 115px;
        border-width: 5px;
    }

    .retrato-sello strong {
        font-size: 25px;
    }

    .ivania-scroll {
        display: none;
    }

    .ivania-historia {
        padding: 80px 7%;
    }

    .historia-encabezado {
        margin-bottom: 38px;
    }

    .historia-encabezado h2,
    .ivania-valores h2,
    .ivania-cierre h2 {
        font-size: clamp(52px, 12vw, 76px);
    }

    .historia-contenido {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .historia-texto p {
        font-size: 12px;
        line-height: 2;
    }

    .historia-texto .historia-entrada {
        font-size: 28px;
    }

    .historia-tarjeta {
        max-width: 450px;
        width: 100%;
        margin: 15px auto 0;
        padding: 65px 30px 45px;
    }

    .historia-tarjeta blockquote {
        font-size: 34px;
    }

    .ivania-valores {
        padding: 80px 7%;
    }

    .ivania-valores h2 {
        margin-bottom: 35px;
    }

    .valores-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .valor-card {
        padding: 35px 25px;
    }

    .ivania-cierre {
        padding: 85px 7%;
    }

    .ivania-cierre p {
        font-size: 12px;
    }

    .ivania-redes {
        gap: 17px;
    }
}

@media (max-width: 390px) {
    .ivania-presentacion h1 {
        font-size: 68px;
    }

    .ivania-retrato {
        width: 95%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
