@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

@font-face {
    font-family: "Apple Garamond";
    src: url("../fonts/AppleGaramond-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Apple Garamond";
    src: url("../fonts/AppleGaramond.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Apple Garamond";
    src: url("../fonts/AppleGaramond-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

:root {
    --bg-base: #f7e0c1;
    --bg-overlay: rgba(247, 241, 233, 0.74);
    --brand: #9d816d;
    --brand-dark: #836856;
    --button-fill: rgb(165 138 112 / 0.7);
    --button-border: rgba(235, 222, 206, 0.92);
    --text-body: #7d6555;
    --text-soft: #8f7662;
    --shadow-soft: 0 16px 30px rgba(126, 105, 84, 0.12);
    --panel-bg: rgba(252, 247, 241, 0.96);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    background: var(--bg-base);
    color: var(--text-body);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    --bg-base: #2d241f;
    --bg-overlay: rgba(58, 45, 39, 0.78);
    --button-fill: rgba(125, 98, 78, 0.92);
    --button-border: rgba(231, 213, 194, 0.42);
    --shadow-soft: 0 16px 30px rgba(0, 0, 0, 0.24);
    --panel-bg: rgba(64, 48, 40, 0.96);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.22));
    pointer-events: none;
}

.beauty-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 28px 18px 40px;
}

.beauty-card {
    width: 100%;
    max-width: 390px;
    background:url("../img/Imagen-Ivanna.webp") center top / cover no-repeat;
    border-radius: 28px;
    padding: 30px 24px 36px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(1.5px);
}

.hero-brand {
    text-align: center;
}

.logo-mark {
    width: 130px;
    max-width: 76%;
    display: block;
    margin: 0 auto 20px;
}

.brand-title {
    margin: 0;
    font-family: "Apple Garamond", "Times New Roman", serif;
    font-size: clamp(3rem, 8vw, 3.5rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    font-weight: 300;
    color: var(--brand);
}

.brand-subtitle {
    margin: 6px 0 0;
    font-family: "Poppins", "Times New Roman", serif;
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    color: var(--brand);
}

.intro-copy {
    margin: 26px auto 28px;
    max-width: 320px;
    text-align: center;
}

.intro-copy p {
    margin: 0 0 8px;
    font-size: 0.80rem;
    line-height: 1.22;
    font-weight: 500;
    color: var(--text-body);
}

.embed-section {
            margin: 20px auto;
            width: 100%;
            max-width: 400px;
            text-align: center;
            display: flex;
            justify-content: center;
            animation: fadeInScale 1s ease-out forwards;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .embed-section iframe {
            border-radius: 10px;
            width: 100%;
            max-width: 100%;
            height: 200px;
            display: block;
            margin: 0 auto;
            transition: height 0.3s ease, transform 0.3s ease;
        }
        .embed-section iframe:hover {
            transform: scale(1.02);
        }

.cta-list {
    display: grid;
    gap: 30px;
    width: min(100%, 320px);
    margin: 0 auto;
}

.cta-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    background: var(--button-fill);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(120, 95, 73, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 2px solid var(--button-border);
    pointer-events: none;
}

.cta-button span {
    position: relative;
    z-index: 1;
    font-family: "Poppins", Helvetica, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    letter-spacing: 0.22em;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: rgba(150, 123, 97, 0.95);
    box-shadow: 0 12px 24px rgba(120, 95, 73, 0.16);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button.is-disabled {
    cursor: pointer;
}

.beauty-footer {
    margin-top: 28px;
    text-align: center;
}

.beauty-footer p {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.55;
    color: var(--text-soft);
}

.beauty-footer a {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 700;
}

.beauty-footer a:hover {
    text-decoration: underline;
}

.floating-stack {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(157, 129, 109, 0.96);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(120, 95, 73, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
    transform: translateY(-2px);
    background: var(--brand-dark);
}

.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(40, 29, 24, 0.44);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 24;
}

.share-overlay.active {
    opacity: 1;
    visibility: visible;
}

.share-panel {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%) translateY(24px);
    width: min(100% - 24px, 360px);
    background: var(--panel-bg);
    border-radius: 24px;
    padding: 18px 18px 16px;
    box-shadow: 0 18px 40px rgba(73, 53, 42, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 25;
    backdrop-filter: blur(8px);
}

.share-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.share-handle {
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(157, 129, 109, 0.35);
    margin: 0 auto 12px;
}

.share-panel h3 {
    margin: 0;
    text-align: center;
    font-family: "Poppins", "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--brand);
}

.share-panel p {
    margin: 4px 0 16px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.share-option {
    border: 0;
    background: transparent;
    text-decoration: none;
    color: var(--text-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.share-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(90, 67, 52, 0.16);
}

.share-icon.whatsapp { background: #25d366; }
.share-icon.facebook { background: #1877f2; }
.share-icon.copy { background: #8a6d58; }
.share-icon.instagram { background: linear-gradient(135deg, #c13584, #fd1d1d, #fcb045); }
.share-icon.tiktok { background: #111111; }
.share-icon.location { background: #a07658; }

.share-close {
    display: block;
    width: 100%;
    margin-top: 16px;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(157, 129, 109, 0.12);
    color: var(--brand-dark);
    font-weight: 700;
    cursor: pointer;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(14px);
    background: rgba(122, 98, 78, 0.94);
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.84rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 10;
    text-align: center;
    max-width: calc(100vw - 32px);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 420px) {
    .beauty-page {
        padding: 20px 14px 30px;
    }

    .beauty-card {
        padding: 26px 18px 30px;
        border-radius: 24px;
    }

    .logo-mark {
        width: 154px;
        margin-bottom: 16px;
    }

    .intro-copy p {
        font-size: 0.9rem;
    }

    .cta-list {
        gap: 16px;
    }

    .share-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
