/* -------------------------------------
 *  CSS VARIABLES & BASE STYLES
 * ------------------------------------- */
:root {
    /* Color Palette */
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --dark: #111827;
    --dark-gray: #374151;
    --gray: #6B7280;

    /* Brand Colors */
    --fuchsia: #FF2A7A;
    /* Vibrant Fuchsia for Action */
    --fuchsia-dark: #E61E63;
    --pink-soft: #FDF2F5;
    /* Very Soft Pink for backgrounds */
    --pink-medium: #FBCFE8;
    --rosa: #FF8BA7;
    --dorado: #D4AF37;
    --rosa-dorado: #E5A8A4;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-fuchsia: 0 10px 25px -5px rgba(255, 42, 122, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll at root */
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden; /* Double safety */
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* -------------------------------------
 *  UTILITIES
 * ------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    overflow: hidden; /* Contain any absolute decorations or animations */
}

.bg-white {
    background-color: var(--white);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-pink {
    background-color: var(--pink-soft);
}

.bg-dark {
    background-color: var(--dark);
}

.text-dark {
    color: var(--dark);
}

.text-white {
    color: var(--white);
}

.text-light-gray {
    color: #E5E7EB;
}

.text-fuchsia {
    color: var(--fuchsia);
}

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

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

.pb-0 {
    padding-bottom: 0;
}

.p-4 {
    padding: 2rem;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box-shadow {
    box-shadow: var(--shadow-md);
}

.border-radius {
    border-radius: var(--radius-lg);
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.align-center {
    align-items: center;
}

/* -------------------------------------
 *  BUTTONS
 * ------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--fuchsia), var(--fuchsia-dark));
    color: var(--white);
    box-shadow: var(--shadow-fuchsia);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 42, 122, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--dark);
}

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

.btn-outline-fuchsia:hover {
    background-color: var(--fuchsia);
    color: var(--white);
}

/* -------------------------------------
 *  NAVBAR
 * ------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Using 100vw here to be absolute */
    max-width: 100%; /* Safety to avoid scrollbar conflict */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: visible; /* Needed for dropdowns at desktop, but container hides the rest */
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    /* Ajustable según necesidad */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--fuchsia);
}

.btn-donate {
    background-color: var(--fuchsia);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 10px rgba(255, 42, 122, 0.3);
}

.btn-donate:hover {
    background-color: var(--fuchsia-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--dark);
    font-size: 1.85rem;
    padding: 0.25rem;
    cursor: pointer;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent;
}

/* -------------------------------------
 *  HERO SECTION
 * ------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* navbar height */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Poner el overlay sobre la imagen! */
}

.dark-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 650px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 1rem;
    padding: 0.25rem 1rem;
    background-color: var(--fuchsia);
    border-radius: 50px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* -------------------------------------
 *  SLIDER COMPONENTS
 * ------------------------------------- */
.slider-container {
    position: relative;
    width: 100%;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide .hero-text {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
    transition-delay: 0.3s;
}

.slide.active .hero-text {
    transform: translateY(0);
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--fuchsia);
    border-color: var(--fuchsia);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--fuchsia);
    width: 30px;
    border-radius: 10px;
}

/* -------------------------------------
 *  SECTION HEADERS
 * ------------------------------------- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--fuchsia);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* -------------------------------------
 *  ESENCIA
 * ------------------------------------- */
.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--pink-soft);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--fuchsia);
}

.badge-icon {
    font-size: 1.5rem;
    color: var(--fuchsia);
    padding-top: 0.25rem;
}

.badge-text strong {
    display: block;
    color: var(--dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.badge-text p {
    margin: 0;
    font-size: 0.95rem;
}

.image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.image-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.card-decoration {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 60%;
    height: 100%;
    background-color: var(--pink-soft);
    border-radius: var(--radius-xl);
    z-index: 1;
}

/* -------------------------------------
 *  PROGRAMAS
 * ------------------------------------- */
.program-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--fuchsia);
}

.program-icon {
    width: 70px;
    height: 70px;
    background-color: var(--pink-soft);
    color: var(--fuchsia);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background-color: var(--fuchsia);
    color: var(--white);
    transform: scale(1.1);
}

.program-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.program-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* -------------------------------------
 *  IMPACTO
 * ------------------------------------- */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--fuchsia);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
}

.testimonial-box {
    background-color: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fuchsia), var(--fuchsia-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--dark);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--fuchsia);
    font-size: 1.125rem;
}

/* -------------------------------------
 *  PLANES (AYUDAR)
 * ------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--fuchsia);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card.featured {
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--fuchsia);
    transform: scale(1.05);
    z-index: 2;
}

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

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-color-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Colors for plans */
.card-rosa .plan-color-label {
    background-color: var(--pink-soft);
    color: var(--rosa);
}

.card-rosado .plan-color-label {
    background-color: var(--pink-medium);
    color: var(--fuchsia-dark);
}

.card-fucsia .plan-color-label {
    background-color: rgba(255, 42, 122, 0.1);
    color: var(--fuchsia);
}

.card-dorado .plan-color-label {
    background-color: #FDF8ED;
    color: var(--dorado);
}

.plan-desc {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    min-height: 45px;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-footer {
    margin-top: auto;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.plan-features i {
    color: var(--fuchsia);
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

/* -------------------------------------
 *  VALOR AÑADIDO
 * ------------------------------------- */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--fuchsia);
}

.blog-icon {
    width: 50px;
    height: 50px;
    background-color: var(--pink-soft);
    color: var(--fuchsia);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.blog-text h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.blog-text span {
    font-size: 0.875rem;
    color: var(--fuchsia);
    font-weight: 500;
}

.icon-large {
    font-size: 3rem;
}

.alliances-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.7;
}

.logo-placeholder {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.logo-placeholder:hover {
    opacity: 1;
    color: var(--fuchsia);
}

/* -------------------------------------
 *  FOOTER
 * ------------------------------------- */
.footer {
    padding: 5rem 0 2rem;
}

.footer-promise h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    font-style: italic;
}

.footer-divider {
    height: 1px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--fuchsia);
    color: var(--white);
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* -------------------------------------
 *  ANIMATIONS (Micro-animations)
 * ------------------------------------- */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-15px); /* Half the distance for mobile safety */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(15px); /* Half the distance for mobile safety */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* -------------------------------------
 *  RESPONSIVE DESIGN
 * ------------------------------------- */
@media (max-width: 1024px) {
    .grid-4-cols,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .navbar {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        /* Removed overflow-x: hidden to prevent clipping fixed menu inside */
    }

    .nav-content {
        height: 60px !important;
        width: 100%;
        max-width: 100%;
        /* Removed overflow: hidden to prevent clipping */
    }

    .logo-img {
        height: 40px !important; /* Forces it to be smaller */
        width: auto !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(110%); /* Extra 10% safety margin */
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start; /* Start from top */
        align-items: center; /* Force horizontal centering */
        padding: 5rem 2rem;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
        transition: transform 0.4s ease-in-out;
        z-index: 2005; /* Must be on top of everything including navbar */
        display: flex;
        gap: 1.25rem;
        visibility: hidden; /* Hide when not active */
    }

    .nav-links.active {
        transform: translateX(0) !important;
        visibility: visible;
        box-shadow: -10px 0 100px rgba(0, 0, 0, 0.5);
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        display: block; /* Ensure it respects width */
        text-align: center;
        padding: 0.5rem;
    }

    .dropdown {
        width: 100%;
        display: block;
        text-align: center; /* Center "Nosotros" content explicitly */
    }

    .dropdown-content {
        position: static !important;
        display: none !important; /* Hidden by default on mobile accordion */
        width: 100% !important;
        background-color: var(--pink-soft) !important;
        box-shadow: none !important;
        border: none !important;
        margin-top: 0.8rem !important;
        border-radius: var(--radius-md) !important;
        padding: 0.5rem 0 !important;
    }

    .dropdown-content.open {
        display: block !important;
    }

    .dropdown-content a {
        font-size: 0.95rem !important;
        padding: 0.75rem 1rem !important;
        color: var(--dark-gray) !important;
    }

    .dropdown-content a:hover {
        padding-left: 1rem !important; /* Reset desktop animation */
        color: var(--fuchsia) !important;
    }

    .dropbtn {
        color: var(--fuchsia) !important;
        font-weight: 600 !important;
    }

    /* Hero/Slider Mobile */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 150px; /* Safe distance from navbar */
        padding-bottom: 100px;
        display: flex;
        align-items: flex-start; /* Start from top to avoid centering shift */
    }

    .hero h1 {
        font-size: 1.85rem; /* Even smaller for perfect fit */
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero .subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        max-width: 100%;
        line-height: 1.4;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.8rem 1.25rem;
        font-size: 0.95rem;
    }

    .dark-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.2);
    }

    .slider-arrow.prev {
        left: 0.25rem;
    }

    .slider-arrow.next {
        right: 0.25rem;
    }

    .slider-dots {
        bottom: 4rem; /* Lifted significantly to avoid overlap with OS nav */
    }

    /* Other Sections */
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .testimonial-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .grid-4-cols,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
/* -------------------------------------
 *  INNER PAGES
 * ------------------------------------- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    padding-top: 120px;
    padding-bottom: 60px;
    background-color: var(--pink-soft);
    text-align: center;
    border-bottom: 2px solid var(--pink-medium);
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

.content-box {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 5px solid var(--fuchsia);
}

.quote-block {
    background: linear-gradient(135deg, var(--fuchsia), var(--fuchsia-dark));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    margin: 3rem 0;
}
.quote-block h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
}

/* -------------------------------------
 *  DROPDOWN MENU
 * ------------------------------------- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-links .dropdown-content a {
    color: var(--dark-gray);
    padding: 0.85rem 1.5rem;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-links .dropdown-content a:hover {
    background-color: var(--pink-soft);
    color: var(--fuchsia);
    padding-left: 2rem;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------
 *  TOTAL CONTACT PAGE FIX
 * ------------------------------------- */
.page-header-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px; /* Aumentamos altura notablemente */
    padding-top: 120px;
    padding-bottom: 60px;
    background-color: var(--dark); /* Fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 10;
}

.header-overlay-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Punto de equilibrio 60% */
    z-index: 1;
}

.page-header-contact .container {
    padding: 0 1rem;
    position: relative;
    z-index: 2; /* Texto arriba del overlay */
}

.page-header-contact h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,1); /* Sombra absoluta */
}

.text-white-70 {
    font-size: 1.2rem;
    color: rgba(255,255,255,1); /* Texto totalmente opaco */
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 0;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info .lead-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--pink-soft);
    color: var(--fuchsia);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-form-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.contact-form-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.input-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.input-wrapper i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fuchsia);
    z-index: 2;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100% !important;
    padding: 0.875rem 1rem 0.875rem 3rem !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafafa;
    transition: all 0.3s;
    box-sizing: border-box; /* Crucial */
}

.input-wrapper textarea {
    padding-top: 1rem !important;
}

.textarea-wrapper i {
    top: 1.5rem;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--fuchsia) !important;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,42,122,0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-info {
        padding-right: 0;
    }
}
