/* ============================================
   CONTACTO.CSS — Estilo Bloom & Bits + GHL Form
   ============================================ */

/* ========== HERO BLOOM ========== */
.contacto-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 1.5rem 40px;
}

.hero-bloom-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-bloom-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

.retro-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(126,215,166,0.15);
    color: var(--verde-oscuro);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(126,215,166,0.3);
}
[data-theme="dark"] .retro-tag { color: var(--verde-pastel); }

.tag-dot {
    width: 8px; height: 8px;
    background: var(--verde-pastel);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--verde-pastel);
    animation: livePulse 1.5s infinite;
}
@keyframes livePulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.retro-title {
    font-family: 'Press Start 2P', 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px;
}

.retro-title-small {
    font-family: 'Press Start 2P', 'Poppins', sans-serif;
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.gradient-word {
    background: linear-gradient(135deg, var(--verde-pastel), var(--verde-oscuro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.italic-em {
    font-style: italic;
    font-family: 'Poppins', serif;
    background: linear-gradient(135deg, var(--verde-pastel), var(--verde-oscuro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.bloom-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
}

/* ========== QUICK CONTACTS ========== */
.quick-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-body);
    border: 1px solid var(--border);
    padding: 1rem 1.3rem;
    border-radius: 18px;
    transition: all .3s;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
}

.quick-item:hover {
    transform: translateX(6px);
    border-color: var(--verde-pastel);
    box-shadow: 0 8px 20px rgba(126,215,166,0.15);
}

.quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: white;
}
.quick-wa .quick-icon { background: linear-gradient(135deg, #25D366, #128C7E); }
.quick-mail .quick-icon { background: linear-gradient(135deg, #FF8C42, #D66A1F); }
.quick-cal .quick-icon { background: linear-gradient(135deg, #A78BFA, #7C3AED); }

.quick-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.quick-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.quick-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: transform .3s;
}
.quick-item:hover .quick-arrow {
    color: var(--verde-pastel);
    transform: translateX(3px);
}

/* ========== ESCENA BLOOM RIGHT ========== */
.bloom-right {
    position: relative;
    min-height: 400px;
}

.bloom-scene {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(180deg, #FFF0F5 0%, #E8F4FF 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(255,182,213,0.15);
}
[data-theme="dark"] .bloom-scene {
    background: linear-gradient(180deg, #1F1432 0%, #0F1B35 100%);
}

/* Nubes */
.sky-cloud {
    position: absolute;
    background: #fff;
    border-radius: 50px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
    animation: floatCloud 6s ease-in-out infinite;
}
.sky-cloud::before, .sky-cloud::after {
    content: ''; position: absolute; background: #fff; border-radius: 50%;
}
.cloud-1 { width: 80px; height: 28px; top: 12%; left: 10%; }
.cloud-1::before { width: 28px; height: 28px; top: -12px; left: 15px; }
.cloud-1::after { width: 22px; height: 22px; top: -10px; right: 18px; }
.cloud-2 { width: 65px; height: 22px; top: 22%; right: 12%; animation-delay: 2s; }
.cloud-2::before { width: 22px; height: 22px; top: -10px; left: 12px; }
.cloud-2::after { width: 18px; height: 18px; top: -8px; right: 14px; }
@keyframes floatCloud {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Colinas */
.hill {
    position: absolute;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    box-shadow: inset -15px -10px 25px rgba(0,0,0,0.1);
}
.hill-back {
    width: 65%;
    height: 48%;
    left: -10%;
    background: linear-gradient(180deg, #FFB6DB 0%, #FF9EC7 100%);
    z-index: 1;
}
.hill-front {
    width: 70%;
    height: 38%;
    right: -15%;
    background: linear-gradient(180deg, #FF9EC7 0%, #E980AE 100%);
    z-index: 2;
}

/* Sobre email volando */
.envelope-scene {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    z-index: 3;
    animation: envelopeFloat 4s ease-in-out infinite;
}
@keyframes envelopeFloat {
    0%,100% { transform: translateX(-50%) translateY(0) rotate(-5deg); }
    50% { transform: translateX(-50%) translateY(-18px) rotate(5deg); }
}

.envelope {
    position: relative;
    width: 110px;
    height: 80px;
    margin: 0 auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25));
}
.envelope-body {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #fff 0%, #f5f5f0 100%);
    border-radius: 8px;
    border: 2px solid var(--verde-oscuro);
}
.envelope-flap {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 50%;
    background: linear-gradient(180deg, var(--verde-pastel), #4FAF7F);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 2;
}
.envelope-heart {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.8rem;
    z-index: 3;
    animation: heartBeat 1s ease-in-out infinite;
}
@keyframes heartBeat {
    0%,100% { transform: translate(-50%,-50%) scale(1); }
    50% { transform: translate(-50%,-50%) scale(1.15); }
}

/* Trail de envío (líneas atrás del sobre) */
.trail {
    position: absolute;
    background: linear-gradient(90deg, transparent, #fff);
    height: 3px;
    border-radius: 2px;
    opacity: 0.7;
    animation: trailMove 2s infinite;
}
.t1 { top: 45%; left: 10%; width: 40px; animation-delay: 0s; }
.t2 { top: 55%; left: 5%; width: 30px; animation-delay: 0.3s; }
.t3 { top: 65%; left: 15%; width: 25px; animation-delay: 0.6s; }
@keyframes trailMove {
    0% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 0.7; }
    100% { opacity: 0; transform: translateX(20px); }
}

/* Burbujas chat */
.chat-bubble {
    position: absolute;
    background: #fff;
    border-radius: 50% 50% 50% 10%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 3;
    animation: bubbleFloat 3s ease-in-out infinite;
}
.bubble-1 { top: 15%; left: 8%; animation-delay: 0s; }
.bubble-2 { bottom: 22%; right: 10%; animation-delay: 1.2s; border-radius: 50% 50% 10% 50%; }
@keyframes bubbleFloat {
    0%,100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Sparkles */
.sparkle {
    position: absolute;
    font-size: 1.3rem;
    z-index: 4;
    animation: sparkleFloat 2.5s infinite;
}
.sp1 { top: 10%; right: 30%; animation-delay: 0s; }
.sp2 { top: 45%; left: 8%; animation-delay: 0.8s; font-size: 1rem; }
@keyframes sparkleFloat {
    0%,100% { opacity: 0.4; transform: scale(0.7) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
}

/* ========== FORMULARIO GHL ========== */
.form-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-head-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.section-head-center p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-container {
    position: relative;
    background: linear-gradient(180deg, #E8F4FF 0%, #E8FFF0 100%);
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 50px rgba(126,215,166,0.15);
    border: 1px solid var(--border);
    overflow: hidden;
}
[data-theme="dark"] .form-container {
    background: linear-gradient(180deg, #0F1B35 0%, #0F2A1A 100%);
}

.form-deco {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.1));
    animation: decoFloat 4s ease-in-out infinite;
    z-index: 1;
}
.deco-1 { top: 20px; left: 20px; animation-delay: 0s; }
.deco-2 { bottom: 20px; right: 20px; animation-delay: 1.5s; }
@keyframes decoFloat {
    0%,100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

.form-wrap {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-height: 760px;
}
[data-theme="dark"] .form-wrap { background: var(--bg-card); }

.form-wrap iframe {
    width: 100%;
    height: 740px;
    border: none;
    border-radius: 12px;
    display: block;
}

/* ========== AGENDA CALENDLY ========== */
.agenda-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.agenda-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow);
}
@media (max-width: 900px) {
    .agenda-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

.agenda-left .mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(126,215,166,0.15);
    color: var(--verde-oscuro);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(126,215,166,0.3);
}
[data-theme="dark"] .agenda-left .mini-tag { color: var(--verde-pastel); }

.dot-live {
    width: 7px; height: 7px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 8px #22C55E;
    animation: livePulse 1.5s infinite;
}

.agenda-left p {
    color: var(--text-muted);
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.agenda-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.agenda-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
}
.agenda-list i {
    color: var(--verde-pastel);
    font-size: 1.1rem;
}

/* Botón retro */
.btn-retro {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all .3s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary-retro {
    background: linear-gradient(135deg, var(--verde-pastel), #4FAF7F);
    color: var(--azul-marino);
}
.btn-primary-retro:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(126,215,166,0.45);
}

/* Mockup Calendly */
.calendar-mockup {
    background: var(--bg-body);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.cal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}
.cal-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.cal-dot:nth-child(1) { background: #FF6B6B; }
.cal-dot:nth-child(2) { background: #FFD93D; }
.cal-dot:nth-child(3) { background: #6BCB77; }
.cal-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: auto;
    color: var(--text-primary);
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.cal-day {
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-muted);
    padding: 0.3rem;
}
.cal-num {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
    transition: .2s;
}
.cal-num.muted { opacity: 0.3; }
.cal-num.available {
    background: rgba(126,215,166,0.2);
    color: var(--verde-oscuro);
    cursor: pointer;
    font-weight: 700;
}
[data-theme="dark"] .cal-num.available { color: var(--verde-pastel); }
.cal-num.available:hover { background: var(--verde-pastel); color: var(--azul-marino); }
.cal-num.selected {
    background: var(--verde-pastel);
    color: var(--azul-marino);
    box-shadow: 0 4px 10px rgba(126,215,166,0.4);
}

.cal-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.cal-slot {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.6rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: .2s;
    cursor: pointer;
}
.cal-slot:hover { border-color: var(--verde-pastel); }
.cal-slot.active {
    background: var(--verde-pastel);
    color: var(--azul-marino);
    border-color: transparent;
}

/* ========== SOCIAL ========== */
.social-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.social-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: .3s;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}
.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.social-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s;
}
.social-card:hover::before { transform: scaleX(1); }

.social-ig::before { background: linear-gradient(90deg, #F58529, #DD2A7B, #8134AF); }
.social-ln::before { background: #0077B5; }
.social-yt::before { background: #FF0000; }
.social-tt::before { background: linear-gradient(90deg, #FF0050, #00F2EA); }

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}
.social-ig .social-icon { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.social-ln .social-icon { background: #0077B5; }
.social-yt .social-icon { background: #FF0000; }
.social-tt .social-icon { background: linear-gradient(135deg, #000, #25F4EE); }

.social-text { flex: 1; }
.social-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}
.social-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.social-followers {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--verde-oscuro);
    background: rgba(126,215,166,0.15);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    white-space: nowrap;
}
[data-theme="dark"] .social-followers { color: var(--verde-pastel); }

/* ========== FAQ ========== */
.faq {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    transition: .3s;
}
.faq-item[open] {
    border-color: var(--verde-pastel);
    box-shadow: 0 10px 30px rgba(126,215,166,0.15);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--verde-pastel);
    transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    margin-top: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== CTA FINAL ========== */
.cta-final {
    max-width: 900px;
    margin: 3rem auto;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-dark);
    color: var(--beige);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    top: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--verde-pastel) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(60px);
}
.cta-final h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.2;
}
.cta-final h2 em {
    font-style: italic;
    color: var(--verde-pastel);
}
.cta-sub {
    opacity: 0.85;
    margin-bottom: 2rem;
    position: relative;
    font-size: 1.05rem;
}