@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Playfair+Display:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* ========================== PASTEL GALAXY PRINCESS ========================== */
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
}

:root{
    --font-display:'Cinzel Decorative',serif;
    --font-editorial:'Playfair Display',serif;
    --font-body:'Quicksand',sans-serif;
    --bg-goth-dark:#0d0914;
    --bg-card-goth:#1a1226;
    --pastel-pink:#ff9ecd;
    --pastel-lilac:#c8a2ff;
    --pastel-blue:#9be7ff;
    --text-light:#f3ebff;
    --text-muted:#b8a6cc;
    --pink1:#FFD6F4;
    --pink2:#ffb3d9;
    --pink3:#ff9ecd;
    --pink4:#FF75CA;
    --hot-pink:#ff9ecd;
    --purple1:#E4D2FF;
    --purple2:#c8a2ff;
    --purple3:#B794FF;
    --blue1:#E0F4FF;
    --blue2:#c8f2ff;
    --blue3:#9be7ff;
    --galaxy1:var(--bg-goth-dark);
    --galaxy2:#17102D;
    --galaxy3:#2A1741;
    --glam-pink:#ff9ecd;
    --white:#f3ebff;
}

/* ========================== BODY ========================== */
body{
    font-family:var(--font-body);
    color:var(--text-light);
    overflow-x:hidden;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(255, 158, 205, .28), transparent 24%),
        radial-gradient(ellipse at 88% 12%, rgba(200, 162, 255, .24), transparent 28%),
        radial-gradient(ellipse at 72% 72%, rgba(255, 179, 217, .16), transparent 27%),
        radial-gradient(ellipse at 22% 82%, rgba(155, 231, 255, .16), transparent 25%),
        linear-gradient(135deg, var(--galaxy1), var(--galaxy2), var(--bg-goth-dark));
    min-height:100vh;
    padding-top: 90px;
}

/* ========================== STARS ========================== */
.stars{
    position:fixed;
    inset:0;
    background-image:
        radial-gradient(2px 2px at 8% 12%, white 45%, transparent 70%),
        radial-gradient(2px 2px at 18% 38%, #FFD6F4 45%, transparent 70%),
        radial-gradient(3px 3px at 27% 68%, white 35%, transparent 68%),
        radial-gradient(2px 2px at 36% 22%, #CDB4FF 45%, transparent 70%),
        radial-gradient(3px 3px at 44% 84%, var(--pastel-blue) 35%, transparent 68%),
        radial-gradient(2px 2px at 53% 48%, white 45%, transparent 70%),
        radial-gradient(3px 3px at 62% 16%, #FFBDEB 35%, transparent 68%),
        radial-gradient(2px 2px at 71% 58%, #FFFFFF 45%, transparent 70%),
        radial-gradient(3px 3px at 79% 82%, var(--pastel-lilac) 35%, transparent 68%),
        radial-gradient(2px 2px at 88% 31%, white 45%, transparent 70%),
        radial-gradient(2px 2px at 96% 67%, var(--pastel-pink) 45%, transparent 70%);
    background-size: 280px 280px, 340px 340px, 310px 310px, 390px 390px,
                     260px 260px, 430px 430px, 360px 360px, 300px 300px,
                     420px 420px, 330px 330px, 370px 370px;
    filter: drop-shadow(0 0 4px rgba(255,255,255,.55));
    animation:twinkle 4s ease-in-out infinite alternate;
    z-index:-5;
}

.stars::before,
.stars::after{
    content:"";
    position:absolute;
    inset:0;
    background-repeat:repeat;
}

.stars::before{
    opacity:.7;
    background-image:
        radial-gradient(1px 1px at 12% 26%, white 90%, transparent),
        radial-gradient(1px 1px at 33% 71%, #FFD6F4 90%, transparent),
        radial-gradient(1px 1px at 57% 33%, var(--pastel-blue) 90%, transparent),
        radial-gradient(1px 1px at 76% 49%, white 90%, transparent),
        radial-gradient(1px 1px at 91% 88%, var(--pastel-pink) 90%, transparent);
    background-size:170px 170px;
    animation:twinkle 3s 1s ease-in-out infinite alternate;
}

.stars::after{
    opacity:.6;
    background-image:
        radial-gradient(circle, #fff 0 1px, transparent 2px),
        radial-gradient(circle, var(--pastel-pink) 0 1.5px, transparent 3px),
        radial-gradient(circle, var(--pastel-lilac) 0 1px, transparent 2px);
    background-size: 220px 220px, 290px 290px, 360px 360px;
    background-position: 55px 80px, 140px 20px, 20px 190px;
}

@keyframes twinkle{
    from{opacity:.58;}
    to{opacity:1;}
}

/* ========================== MOON ========================== */
.moon{
    position:fixed;
    right:80px;
    top:70px;
    width:170px;
    height:170px;
    border-radius:50%;
    background: radial-gradient(circle at 35% 28%, #fff 0 8%, #fff7ff 24%, #f6dfff 58%, var(--pastel-lilac) 100%);
    box-shadow:
        0 0 24px white,
        0 0 65px rgba(255,158,205,.92),
        0 0 130px rgba(155,231,255,.48),
        inset -18px -12px 32px rgba(183,148,255,.28);
    animation:moonFloat 7s ease-in-out infinite, moonGlow 4s ease-in-out infinite alternate;
    z-index:-2;
}

.moon::before,
.moon::after{
    content:"";
    position:absolute;
    border-radius:50%;
}

.moon::before{
    width:18px;
    height:18px;
    left:42px;
    top:48px;
    background:rgba(183,148,255,.24);
    box-shadow:
        48px 26px 0 5px rgba(183,148,255,.13),
        18px 74px 0 8px rgba(183,148,255,.10),
        78px 92px 0 3px rgba(183,148,255,.16),
        5px 2px 0 -5px rgba(255,255,255,.9),
        58px 28px 0 -3px rgba(255,255,255,.55);
}

.moon::after{
    content:"✦";
    width:auto;
    height:auto;
    right:-58px;
    bottom:-22px;
    color:#FFD6F4;
    font-size:40px;
    text-shadow:
        28px 22px 0 var(--pastel-lilac),
        -210px -92px 0 var(--pastel-blue),
        -150px 38px 0 #fff,
        -35px -98px 0 #FFAAF0,
        92px -72px 0 #fff;
    filter:drop-shadow(0 0 8px rgba(255,214,244,.95));
    animation:twinkle 2.2s ease-in-out infinite alternate;
}

@keyframes moonFloat{
    0%,100%{transform:translateY(0) rotate(-2deg);}
    50%{transform:translateY(-12px) rotate(3deg);}
}

@keyframes moonGlow{
    from{filter:brightness(.96);box-shadow:0 0 24px white,0 0 55px rgba(255,158,205,.78),0 0 110px rgba(200,162,255,.45),inset -18px -12px 32px rgba(183,148,255,.28);}
    to{filter:brightness(1.08);box-shadow:0 0 34px white,0 0 78px rgba(255,158,205,1),0 0 150px rgba(155,231,255,.7),inset -18px -12px 32px rgba(183,148,255,.28);}
}

/* ========================== PLANETS ========================== */
.planet1{
    position:fixed;
    width:110px;
    height:110px;
    border-radius:50%;
    top:65%;
    left:5%;
    background:linear-gradient(45deg, var(--pastel-pink), #FF75CA);
    box-shadow:0 0 50px var(--pastel-pink);
    z-index:-1;
    animation:moonFloat 8s ease-in-out infinite;
}

.planet2{
    position:fixed;
    width:80px;
    height:80px;
    border-radius:50%;
    top:20%;
    left:20%;
    background:linear-gradient(45deg, var(--pastel-lilac), var(--pastel-blue));
    box-shadow:0 0 40px var(--pastel-lilac);
    z-index:-1;
    animation:moonFloat 11s ease-in-out infinite -3s;
}

/* ========================== SHOOTING STAR ========================== */
.shooting-star{
    position:fixed;
    top:120px;
    left:-250px;
    width:250px;
    height:3px;
    background: linear-gradient(90deg, transparent, white);
    animation:shoot 7s linear infinite;
}

@keyframes shoot{
    0%{
        transform:translate(0,0) rotate(25deg);
        opacity:0;
    }
    10%{
        opacity:1;
    }
    100%{
        transform:translate(1800px,500px) rotate(25deg);
        opacity:0;
    }
}

/* ========================== SPARKLES ========================== */
.sparkles{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-1;
}

.sparkles::before{
    content:"✦  ·  ✧  ·  ✨  ·  ★  ·  ✦  ·  ♡  ·  ✧  ·  ✨  ·  ·  ★  ·  ✦";
    position:absolute;
    width:170%;
    height:100%;
    font-size:24px;
    line-height:5.8;
    letter-spacing:100px;
    color:#FFD6F4;
    opacity:.68;
    text-shadow:
        220px 180px 12px var(--pastel-lilac),
        520px 70px 14px #fff,
        760px 310px 12px #FF9DDB,
        1050px 140px 14px var(--pastel-blue);
    animation:floatSparkles 26s linear infinite;
}

.sparkles::after{
    content:"♡  ✧  ✦  ★  ✨";
    position:absolute;
    left:4%;
    bottom:-8%;
    width:92%;
    font-size:18px;
    letter-spacing:8vw;
    color:#FFBDEB;
    text-shadow:0 0 14px #FFD6F4;
    opacity:.55;
    animation:sparkleDrift 12s ease-in-out infinite alternate;
}

@keyframes floatSparkles{
    from{ transform:translateX(-28%) translateY(0) rotate(-1deg); }
    to{ transform:translateX(8%) translateY(-40px) rotate(1deg); }
}

@keyframes sparkleDrift{
    from{transform:translateY(0) scale(.92);}
    to{transform:translateY(-130px) scale(1.08);}
}

/* ========================== FLOATING PASTEL GOTH SKY ========================== */
.pastel-goth-sky{
    position:fixed;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:0;
}

.floating-item{
    position:absolute;
    bottom:-50px;
    opacity:0;
    font-family:Georgia,serif;
    line-height:1;
    text-shadow:0 0 10px currentColor;
    animation:floatUp linear infinite, skyTwinkle ease-in-out infinite alternate;
}

.floating-item:nth-child(1){left:8%;font-size:18px;color:var(--pastel-pink);animation-duration:14s,2s;animation-delay:0s,0s;}
.floating-item:nth-child(2){left:18%;font-size:24px;color:var(--pastel-lilac);animation-duration:19s,3s;animation-delay:2s,0s;}
.floating-item:nth-child(3){left:30%;font-size:14px;color:var(--pastel-blue);animation-duration:12s,1.8s;animation-delay:4s,0s;}
.floating-item:nth-child(4){left:45%;font-size:22px;color:var(--pastel-pink);animation-duration:21s,2.5s;animation-delay:1s,0s;}
.floating-item:nth-child(5){left:60%;font-size:26px;color:var(--pastel-blue);animation-duration:17s,3.2s;animation-delay:5s,0s;}
.floating-item:nth-child(6){left:72%;font-size:16px;color:var(--pastel-lilac);animation-duration:13s,2.1s;animation-delay:3s,0s;}
.floating-item:nth-child(7){left:84%;font-size:22px;color:var(--pastel-pink);animation-duration:18s,2.8s;animation-delay:6s,0s;}
.floating-item:nth-child(8){left:93%;font-size:15px;color:var(--pastel-blue);animation-duration:15s,2s;animation-delay:1.5s,0s;}

@keyframes floatUp{
    0%{transform:translateY(0) rotate(0deg);opacity:0;}
    15%,85%{opacity:.9;}
    100%{transform:translateY(-110vh) rotate(360deg);opacity:0;}
}

@keyframes skyTwinkle{
    from{filter:drop-shadow(0 0 4px var(--pastel-pink));}
    to{filter:drop-shadow(0 0 12px var(--pastel-blue));}
}

/* ========================== NAVIGATION ========================== */
nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:linear-gradient(90deg, rgba(255,158,205,.09), rgba(255,255,255,.08), rgba(200,162,255,.09));
    backdrop-filter:blur(22px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(200,162,255,.22);
    box-shadow:
        0 8px 35px rgba(255,158,205,.12),
        0 0 24px rgba(155,231,255,.08),
        inset 0 -1px 0 rgba(200,162,255,.10);
}

.logo {
  font-family:var(--font-display);
  background:linear-gradient(90deg, var(--pastel-pink), var(--pastel-lilac), var(--pastel-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

nav ul{
    display:flex;
    gap:25px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:white;
    transition: color 0.3s ease;
}

nav a:hover{
    color:var(--pastel-lilac);
    text-shadow:
        0 0 8px rgba(200,162,255,.92),
        0 0 18px rgba(255,158,205,.48);
}

/* Elementos del Menú Responsive */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================== HERO ========================== */
.hero{
    text-align:center;
    padding:120px 20px;
    position:relative;
    z-index:1;
}

.hero h1{
    font-size:5rem;
    font-family:var(--font-display);
    font-weight:700;
    letter-spacing:.015em;
    background: linear-gradient(90deg, var(--text-light), var(--pastel-pink), var(--pink2), var(--pastel-lilac));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color:transparent;
    filter:
        drop-shadow(0 0 12px rgba(255,158,205,.48))
        drop-shadow(0 0 28px rgba(200,162,255,.28));
    animation:pastelTitleGlow 3.5s ease-in-out infinite alternate;
}

@keyframes pastelTitleGlow{
    from{filter:drop-shadow(0 0 8px rgba(255,158,205,.62)) drop-shadow(0 0 20px rgba(200,162,255,.28));}
    to{filter:drop-shadow(0 0 16px rgba(255,158,205,.92)) drop-shadow(0 0 34px rgba(155,231,255,.5));}
}

.hero h2{
    margin-top:10px;
    font-size:1.5rem;
    font-weight:400;
}

h2,
h3,
.category-heading{
    font-family:var(--font-editorial);
    color:var(--pastel-lilac);
    text-shadow:0 0 10px rgba(200,162,255,.32);
}

.hero p{
    max-width:700px;
    margin:20px auto;
    line-height:1.8;
}

.btn{
    display:inline-block;
    margin-top:25px;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-family:var(--font-body);
    color:var(--bg-goth-dark);
    font-weight:700;
    background: linear-gradient(90deg, var(--pink1), var(--pastel-pink), var(--pastel-lilac), var(--pastel-blue));
    border:1px solid rgba(255,255,255,.72);
    box-shadow:
        0 0 18px rgba(255,158,205,.72),
        0 0 42px rgba(200,162,255,.42),
        inset 0 1px 0 rgba(255,255,255,.85);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    filter:saturate(1.18);
    box-shadow:
        0 0 28px rgba(255,158,205,.9),
        0 0 68px rgba(155,231,255,.58),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(13, 9, 20, 0.78);
    backdrop-filter: blur(8px);
    z-index: 200;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    position: relative;
    width: min(100%, 900px);
    max-height:calc(100vh - 40px);
    overflow-y:auto;
    background: linear-gradient(135deg, var(--bg-card-goth), rgba(37,23,53,.97));
    border: 1px solid rgba(200,162,255,.24);
    border-radius: 28px;
    padding: 28px 24px 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.contact-brand-header {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-lilac), var(--pastel-blue));
    color: var(--bg-goth-dark);
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 214, 244, 0.35);
}

.brand-copy {
    display: grid;
    text-align: left;
}

.brand-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-tag {
    color: var(--text-muted);
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact-modal-content h3 {
    margin-bottom: 12px;
    font-size: 2rem;
    color: var(--pastel-pink);
}

.contact-modal-content p {
    margin-bottom: 22px;
    line-height: 1.6;
    color: var(--text-muted);
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: var(--pastel-pink);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.contact-side-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 14px 14px 12px;
    text-align: left;
}

.contact-side-header {
    margin-bottom: 12px;
}

.side-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255,158,205,0.16);
    color: var(--pastel-pink);
    border: 1px solid rgba(255,158,205,0.2);
}

.contact-side-header h4 {
    margin-top: 12px;
    color: #fff;
    font-size: 1.5rem;
}

.contact-mini-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    font-size: 1rem;
}

.contact-mini-item small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-mini-item p {
    margin: 0;
    color: #fff;
    line-height: 1.5;
    font-size: 0.95rem;
}

.compact-actions {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.contact-actions {
    display: grid;
    gap: 14px;
}

.contact-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-option:hover {
    transform: translateY(-2px);
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 0;
    text-align: left;
}

.microsoft-form-wrap {
    width: 100%;
}

.piscore-form-frame {
    position:relative;
    width: 100%;
    min-height: 520px;
    max-width:100%;
    padding:14px;
    border-radius:20px;
    background:linear-gradient(145deg, rgba(26,18,38,.95), rgba(13,9,20,.98));
    border:1px solid rgba(255,158,205,.45);
    outline:1px dashed rgba(200,162,255,.35);
    outline-offset:-6px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0,0,0,.7),
        0 0 20px rgba(255,158,205,.2),
        inset 0 0 15px rgba(200,162,255,.15);
}

.piscore-form-frame iframe {
    display: block;
    width: 100%;
    height:480px;
    max-height:100vh;
    border:none;
    border-radius:14px;
    background-color:var(--bg-card-goth);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-row.single-row {
    grid-template-columns: 1fr;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid rgba(200,162,255,0.18);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    color: var(--text-light);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: rgba(255, 158, 205, 0.8);
    box-shadow: 0 0 0 4px rgba(200, 162, 255, 0.16);
    background: rgba(255,255,255,0.06);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-light) 50%), linear-gradient(135deg, var(--text-light) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.submit-btn {
    width: 100%;
    margin-top: 6px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.submit-btn.is-sending {
    opacity: 0.9;
}

.submit-btn.is-sending .btn-label::after {
    content: "...";
}

.sparkle-burst {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.sparkle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #ffd6f4 40%, transparent 70%);
    box-shadow: 0 0 12px rgba(255, 214, 244, 0.9);
    opacity: 0;
    animation: sparkleFloat 0.9s ease forwards;
}

.sparkle:nth-child(1) { --dx: -50px; --dy: -18px; animation-delay: 0s; }
.sparkle:nth-child(2) { --dx: -18px; --dy: -60px; animation-delay: 0.05s; }
.sparkle:nth-child(3) { --dx: 30px; --dy: -54px; animation-delay: 0.1s; }
.sparkle:nth-child(4) { --dx: 62px; --dy: -22px; animation-delay: 0.15s; }
.sparkle:nth-child(5) { --dx: 72px; --dy: 20px; animation-delay: 0.2s; }
.sparkle:nth-child(6) { --dx: 48px; --dy: 58px; animation-delay: 0.25s; }
.sparkle:nth-child(7) { --dx: 0px; --dy: 72px; animation-delay: 0.3s; }
.sparkle:nth-child(8) { --dx: -42px; --dy: 56px; animation-delay: 0.35s; }
.sparkle:nth-child(9) { --dx: -72px; --dy: 18px; animation-delay: 0.4s; }
.sparkle:nth-child(10) { --dx: -62px; --dy: -24px; animation-delay: 0.45s; }
.sparkle:nth-child(11) { --dx: -4px; --dy: -72px; animation-delay: 0.5s; }
.sparkle:nth-child(12) { --dx: 25px; --dy: -72px; animation-delay: 0.55s; }

@keyframes sparkleFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.4);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(1.35);
    }
}

.form-success {
    display: none;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #dfffe9;
    font-size: 0.9rem;
    text-align: center;
    animation: fadeInScale 0.35s ease;
}

.form-success.visible {
    display: block;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.email-option {
    background: linear-gradient(135deg, rgba(255, 214, 244, 0.18), rgba(168, 219, 255, 0.18));
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.whatsapp-option {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.45), 0 0 50px rgba(18, 140, 126, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.whatsapp-btn:hover,
.whatsapp-floating:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 28px rgba(37, 211, 102, 0.6), 0 0 60px rgba(18, 140, 126, 0.4);
    filter: brightness(1.05);
}

/* Novedad: Limpieza de Estilos en Línea de los Botones de Tarjetas */
.btn-card {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.whatsapp-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 20px rgba(18, 140, 126, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
    display: block;
}

/* ========================== GLASSMORPHISM CARDS ========================== */
.features{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
    padding:50px 8%;
    position:relative;
    z-index:1;
}

.card{
    background-color:var(--bg-card-goth);
    background-image:linear-gradient(145deg, rgba(255,158,205,.13), rgba(200,162,255,.08) 55%, rgba(155,231,255,.09));
    backdrop-filter:blur(25px);
    border:1px solid rgba(200,162,255,.24);
    border-radius:30px;
    padding:30px;
    text-align:left;
    box-shadow:
        0 18px 45px rgba(5,3,18,.28),
        0 0 20px rgba(255,158,205,.16),
        0 0 48px rgba(200,162,255,.12),
        inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    position:relative;
    isolation:isolate;
    overflow:hidden;
}

.card::before{
    content:"✦";
    position:absolute;
    right:16px;
    top:10px;
    color:rgba(255,158,205,.82);
    font-size:22px;
    pointer-events:none;
    text-shadow:
        -260px 116px 0 rgba(200,162,255,.42),
        -24px 210px 0 rgba(255,255,255,.38),
        -175px 260px 0 rgba(255,158,205,.42),
        -310px 42px 0 rgba(255,255,255,.32);
    animation:cardTwinkle 3.8s ease-in-out infinite alternate;
    transition:transform .35s ease, text-shadow .35s ease;
}

.card::after{
    content:"✧";
    position:absolute;
    left:20px;
    bottom:14px;
    color:rgba(255,158,205,.72);
    font-size:18px;
    pointer-events:none;
    text-shadow:
        86px -190px 0 rgba(255,255,255,.5),
        224px -30px 0 rgba(200,162,255,.6),
        278px -220px 0 rgba(155,231,255,.48);
    animation:cardTwinkle 2.8s 1s ease-in-out infinite alternate;
    transition:transform .35s ease, color .35s ease;
}

@keyframes cardTwinkle{
    from{opacity:.42;filter:drop-shadow(0 0 2px rgba(255,158,205,.25));}
    to{opacity:.95;filter:drop-shadow(0 0 8px rgba(255,158,205,.85));}
}

.card:hover{
    transform:translateY(-8px);
    border-color:rgba(255,158,205,.7);
    box-shadow:
        0 22px 55px rgba(5,3,18,.36),
        0 0 30px rgba(255,158,205,.34),
        0 0 70px rgba(155,231,255,.22),
        inset 0 1px 0 rgba(255,255,255,.28);
}

.card:hover::before{
    transform:rotate(18deg) scale(1.25);
    text-shadow:
        -260px 116px 0 rgba(255,158,205,.58),
        -24px 210px 0 rgba(255,255,255,.62),
        -175px 260px 0 rgba(255,158,205,.7),
        -310px 42px 0 rgba(255,255,255,.7);
}

.card:hover::after{
    color:#fff;
    filter:drop-shadow(0 0 10px rgba(255,158,205,.95));
    transform:scale(1.2) rotate(-12deg);
}

/* Clases añadidas para reemplazar los estilos en línea antiguos */
.card-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.card h3{
    color:var(--pastel-pink);
    margin-bottom:15px;
    text-align:center;
}

.perfume-list {
    margin:15px 0;
    padding-left:20px;
    line-height:1.6;
}

.perfume-list li {
    margin-bottom:8px;
}

/* ========================== DIGITAL LIBRARY ========================== */
.library-panel {
    display: none;
    margin-top: 22px;
    padding-top: 10px;
    text-align: left;
}

.library-panel:target {
    display: block;
}

.library-content {
    display: grid;
    gap: 20px;
}

.category-block {
    margin-bottom: 12px;
}

.category-heading {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--pastel-lilac);
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.card-library {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.library-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.library-actions .btn-download {
    margin-top: 0;
}

.card-content h4 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: #fff;
}

.card-content p {
    line-height: 1.7;
    color: var(--text-muted);
}

.btn-download {
    width: fit-content;
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 0.9rem;
}

/* ========================== FOOTER ========================== */
.site-footer{
    text-align:center;
    padding:32px 20px 40px;
    margin-top:40px;
    background:linear-gradient(90deg, rgba(255,158,205,.08), rgba(26,18,38,.22), rgba(200,162,255,.10));
    border-top:1px solid rgba(200,162,255,.18);
    box-shadow:0 -12px 40px rgba(255,158,205,.08);
    position:relative;
    z-index:1;
}

.footer-content {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}

.site-footer p,
.site-footer a {
    color:var(--text-muted);
}

.footer-links {
    display:flex;
    gap:18px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:8px;
}

.footer-links a {
    color:var(--pastel-pink);
    text-decoration:none;
    font-weight:700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color:var(--text-light);
    transform: translateY(-1px);
}

.footer-contact {
    margin-top: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--pastel-pink);
    text-decoration: none;
    font-weight: bold;
}

/* ========================== RESPONSIVE MEDIA QUERIES ========================== */
@media (max-width: 768px) {
    /* Ajustes generales de elementos galácticos para pantallas pequeñas */
    .moon {
        right: 20px;
        top: 20px;
        width: 100px;
        height: 100px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-row,
    .form-row.single-row {
        grid-template-columns: 1fr;
    }

    /* Activación del menú de navegación móvil */
    .menu-icon {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 18, 38, 0.96);
        backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        
        /* Oculto por defecto */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    /* Mostrar menú al hacer clic en el botón hamburguesa */
    .menu-toggle:checked ~ ul {
        max-height: 300px;
        opacity: 1;
    }

    /* Animación del icono hamburguesa al abrirse */
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 5px);
    }
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .whatsapp-floating {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-item,
    .hero h1,
    .moon,
    .moon::after,
    .planet1,
    .planet2,
    .sparkles::before,
    .sparkles::after,
    .card::before,
    .card::after {
        animation:none;
    }

    .floating-item {
        opacity:.55;
    }
}
 
/* Custom Email Button Styling */
.email-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(205, 180, 255, 0.4); /* Pastel purple border */
    box-shadow: 0 0 15px rgba(205, 180, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.email-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, rgba(255, 214, 244, 0.15), rgba(205, 180, 255, 0.15));
    box-shadow: 0 0 25px rgba(205, 180, 255, 0.4), 0 0 10px rgba(168, 219, 255, 0.2);
}
