/* 
  Theme: Celestial, Trustworthy, Spiritual
  Colors: Warm white/cream, Warm Gold, Muted Magenta, Deep Indigo.
*/

:root {
    /* Colors */
    --clr-bg-main: #FAFAF7;
    /* Warm white/cream */
    --clr-bg-secondary: #F3EFE9;
    /* Slightly darker cream */
    --clr-primary: #D0A865;
    /* Warm Gold */
    --clr-primary-hover: #B88E4B;
    /* Darker Gold */
    --clr-secondary: #D4418E;
    /* Mystical Magenta/Pink */
    --clr-text-main: #2F1B41;
    /* Deep Indigo/Purple */
    --clr-text-muted: #5D5366;
    /* Muted Indigo */
    --clr-white: #FFFFFF;

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

    /* Layout */
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-main);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--clr-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

/* Typography Scale */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 168, 101, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text-main);
    border-color: var(--clr-text-main);
}

.btn-secondary:hover {
    background-color: rgba(47, 27, 65, 0.05);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    border-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    color: #FFFFFF;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

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

.logo {
    display: flex;
    align-items: center;
    color: var(--clr-primary);
}

.logo img {
    height: 70px;
    /* Tamaño del logo */
    width: auto;
    object-fit: contain;
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: width var(--transition-speed) ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-muted);
    transition: color var(--transition-speed) ease;
}

.nav-social:hover {
    color: var(--clr-primary);
}

.nav-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--clr-text-main);
    transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    /* Account for fixed header */
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--clr-bg-secondary);
    color: var(--clr-text-muted);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--clr-text-main);
}

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

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

.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Calming Shape */
.calm-shape {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite both alternate;
    opacity: 0.8;
    box-shadow: 0 20px 50px rgba(212, 65, 142, 0.2);
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg);
    }

    100% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: rotate(10deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.05);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(208, 168, 101, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(208, 168, 101, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(208, 168, 101, 0);
    }
}

/* Value Proposition Section */
.value-prop {
    background-color: var(--clr-white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-card {
    padding: 2rem;
    background-color: var(--clr-bg-main);
    border-radius: 20px;
    transition: transform var(--transition-speed) ease;
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--clr-bg-secondary);
    text-align: center;
}

.cta-container {
    max-width: 800px;
}

.cta-container h2 {
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background-color: var(--clr-white);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(47, 27, 65, 0.08);
    margin-top: 0rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand .logo img {
    height: 110px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.footer-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.footer-btn {
    padding: 0.9rem 1.4rem;
}

.footer-whatsapp-link {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--clr-primary);
}

.footer-whatsapp-link:hover {
    color: var(--clr-primary-hover);
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    transition: color var(--transition-speed) ease;
}

.footer-social-link:hover {
    color: var(--clr-primary);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 2.5rem;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.link-column h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--clr-text-main);
}

.link-column a {
    color: var(--clr-text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.link-column a:hover {
    color: var(--clr-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(47, 27, 65, 0.08);
}

.footer-bottom p {
    font-size: 0.92rem;
    margin: 0;
    color: var(--clr-text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer-brand .logo img {
        height: 95px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-cta-group {
        width: 100%;
    }

    .footer-btn {
        width: 100%;
        text-align: center;
    }
}


/* Helpers */
.text-center {
    text-align: center;
}

.lead-text {
    font-size: 1.5rem;
    color: var(--clr-primary);
    margin-bottom: 2rem;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

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

/* Reusable Background Utils */
.section-light {
    background-color: var(--clr-white);
}

.section-cream {
    background-color: var(--clr-bg-main);
}

.section-soft {
    background-color: var(--clr-bg-secondary);
}

/* Reusable Components */
.coming-soon-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--clr-text-muted);
}

.breadcrumb a:hover {
    color: var(--clr-primary);
}

.breadcrumb-sep {
    color: var(--clr-primary);
    font-size: 0.75rem;
}

.page-article {
    max-width: 780px;
    margin: 0 auto;
}

.page-article h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    margin-top: 0;
}

.page-article p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* About Section */
.about-section {
    background-color: var(--clr-white);
}

.about-container {
    max-width: 900px;
}

/* Services Grid (Prácticas) */
.services-section {
    background-color: var(--clr-bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--clr-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-speed) ease;
    border: 1px solid rgba(47, 27, 65, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Steps Section (Cómo funciona) */
.steps-section {
    background-color: var(--clr-bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(208, 168, 101, 0.3);
}

.step-card h3 {
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--clr-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-top: 0.2rem;
}

.benefit-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Audience & Vision Section */
.audience-vision-section {
    background-color: var(--clr-bg-main);
}

.audience-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--clr-text-muted);
}

.vision-block {
    background: var(--clr-white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.vision-statement {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--clr-primary);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
}

/* Specialists CTA (B2B) */
.specialists-cta {
    background: linear-gradient(135deg, rgba(208, 168, 101, 0.1) 0%, rgba(212, 65, 142, 0.05) 100%);
    border-top: 1px solid rgba(208, 168, 101, 0.2);
    border-bottom: 1px solid rgba(208, 168, 101, 0.2);
}

.specialist-container {
    max-width: 800px;
}

.specialist-container h2 {
    color: var(--clr-primary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

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

    .audience-vision-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vision-block {
        padding: 2.5rem;
    }
}

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

    .logo img {
        height: 56px;
    }

    .navbar.scrolled {
        padding: 0.5rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--clr-bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
        box-shadow: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 4rem 0;
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }

    .lead-text {
        font-size: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .vision-block {
        padding: 1.5rem;
    }

    .vision-statement {
        font-size: 1.25rem;
    }

    /* Steps grid tighter spacing */
    .steps-grid {
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.has-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 14px;
    padding: 0.75rem 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s ease;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--clr-text, #222);
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
}


/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

/* Mobile-first variables */
:root {
    --wa-green: #25D366;
    --wa-green-hover: #1EBE5D;
}

/* Hide entirely on desktop if you strictly want mobile-only */
@media (min-width: 768px) {
    .wa-container {
        display: none !important;
    }
}

.wa-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-button {
    width: 56px;
    height: 56px;
    background-color: var(--wa-green);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    animation: wa-pulse 2.5s infinite;
}

.wa-button:hover {
    background-color: var(--wa-green-hover);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    animation: none;
}

.wa-button:active {
    transform: scale(0.95) translateY(0);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-icon {
    width: 32px;
    height: 32px;
}

.wa-tooltip {
    background-color: #ffffff;
    color: #333333;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    white-space: nowrap;
}

.wa-tooltip.hidden {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}