/* ============================
   VARIABLES DE MARCA
   ============================ */
:root {
    --brand-pink: #e91e8c;
    --brand-pink-dark: #c2137a;
    --brand-purple: #6f2ecf;
    --brand-gradient: linear-gradient(135deg, #f857a6 0%, #8a2be2 100%);
    --brand-soft: #fdf2f8;
    --brand-dark: #241a2e;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #362a3f;
}

h1, h2, h3, .section-title, .hero-title {
    font-family: var(--font-display);
}

.text-brand { color: var(--brand-pink) !important; }
.bg-soft { background-color: var(--brand-soft); }

/* ============================
   BOTONES DE MARCA
   ============================ */
.btn-brand {
    background: var(--brand-gradient);
    border: none;
    color: #fff;
}

.btn-brand:hover {
    color: #fff;
    filter: brightness(1.08);
}

.btn-outline-brand {
    border: 2px solid var(--brand-pink);
    color: var(--brand-pink-dark);
    background: transparent;
}

.btn-outline-brand:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
}

.btn {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(233, 30, 140, 0.2);
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.navbar.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    color: var(--brand-dark);
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
    color: #5a4d63;
}

.nav-link:hover {
    color: var(--brand-pink);
}

/* ============================
   HERO
   ============================ */
.hero {
    background: linear-gradient(180deg, #fdf2f8 0%, #f3e8ff 100%);
    padding-top: 2rem;
}

.badge-eyebrow {
    display: inline-block;
    background: #fce4f3;
    color: var(--brand-pink-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--brand-dark);
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 1.5rem 3rem rgba(111, 46, 207, 0.2);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 200px;
}

.hero-badge-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.hero-badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5a4d63;
    line-height: 1.2;
}

/* ============================
   FEATURES
   ============================ */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* ============================
   SECTION HEADINGS
   ============================ */
.section-eyebrow {
    color: var(--brand-pink);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.section-title {
    font-weight: 700;
    color: var(--brand-dark);
}

/* ============================
   ABOUT IMAGES
   ============================ */
.about-img-wrap {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 220px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-img-wrap:hover .about-img {
    transform: scale(1.08);
}

.about-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.6rem 0.5rem 0.4rem;
    text-align: center;
}

/* ============================
   PRICING CARDS
   ============================ */
.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid #f0e0ec;
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 2.5rem rgba(111, 46, 207, 0.15);
}

.pricing-card-featured {
    border: 2px solid var(--brand-pink);
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.pricing-currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
}

.pricing-list {
    text-align: left;
    font-size: 0.9rem;
    color: #5a4d63;
}

.pricing-list li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.pricing-list i {
    color: var(--brand-pink);
    margin-top: 0.15rem;
}

/* ============================
   GALERÍA
   ============================ */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item:hover .position-absolute {
    opacity: 0.9 !important;
    background: rgba(111, 46, 207, 0.55) !important;
}

/* ============================
   TESTIMONIOS
   ============================ */
.testimonial-card {
    background: var(--brand-soft);
    border-radius: 1.25rem;
    padding: 1.75rem;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================
   CONTACTO
   ============================ */
.contacto-section {
    background: var(--brand-dark);
    background-image: linear-gradient(135deg, #241a2e 0%, #3a1f4d 100%);
}

.bg-dark-card {
    background-color: rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.bg-dark-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* ============================
   FOOTER
   ============================ */
.footer-section {
    background: #1a1220;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--brand-pink);
}

.footer-social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.footer-social:hover {
    background: var(--brand-gradient);
    color: #fff;
}

/* ============================
   MODAL / POP-UP
   ============================ */
.popup-content {
    border-radius: 1.75rem;
    overflow: hidden;
}

.popup-header {
    position: relative;
    background: var(--brand-gradient);
    padding: 2.25rem 1.5rem 2rem;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.popup-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.popup-eyebrow {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.popup-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.popup-body {
    background: var(--brand-soft);
}

.popup-input {
    border-radius: 50px;
    border: 1px solid #f0d0e6;
    padding-left: 1.25rem;
}

.popup-input:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 140, 0.15);
}

.popup-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #a893b0;
    font-size: 0.85rem;
    margin: 1.25rem 0;
}

.popup-divider::before,
.popup-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ecd8e6;
}

.popup-divider span {
    padding: 0 0.75rem;
}

/* ============================
   MENÚ INFERIOR (mobile, estilo app)
   ============================ */
.bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1040;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 0.5rem 1.75rem rgba(36, 26, 46, 0.18);
    display: flex;
    justify-content: space-between;
    padding: 6px;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 2px;
    border-radius: 1rem;
    color: #9d8fa8;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.bottom-nav-item i {
    font-size: 1.15rem;
    line-height: 1;
}

.bottom-nav-item.active {
    background: var(--brand-soft);
    color: var(--brand-pink-dark);
}

/* ============================
   BOTONES FLOTANTES (WhatsApp + Instagram)
   ============================ */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1050;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.floating-wa {
    background-color: #25d366;
}

.floating-ig {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@media (max-width: 576px) {
    .floating-buttons {
        right: 14px;
        bottom: 14px;
    }
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .hero-image {
        height: 280px;
    }
    .pricing-card-featured {
        transform: none;
    }
    .pricing-card-featured:hover {
        transform: translateY(-8px);
    }
    .section-title {
        font-size: 1.75rem;
    }
}

/* Deja espacio para el menú inferior fijo y sube los botones flotantes por encima de él */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 76px;
    }
    .floating-buttons {
        bottom: 88px;
    }
}
