:root {
    --bg-light: #F9FAFB; /* Un blanco ligeramente más cálido */
    --text-dark: #111827; /* Un negro más suave */
    --text-secondary-dark: #6B7280;
    --border-light: #E5E7EB;
    --card-bg-light: #FFFFFF;
    --accent: #2563EB;
    --accent-darker: #1D4ED8;
    --accent-light: #EFF6FF;

    /* Nuevas fuentes */
    --font-heading: 'Satoshi', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { 
    font-family: var(--font-body); 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.mobile-menu-open {
    overflow: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- Estilos de Navbar --- */
.navbar { 
    position: fixed; 
    top: 1rem; 
    left: 50%;
    transform: translateX(-50%);
    width: 95%; 
    max-width: 1280px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0.75rem 1.5rem; 
    z-index: 1000; 
    transition: all 0.4s ease; 
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
}
.nav-logo img { 
    height: 28px; 
    display: block; 
    z-index: 1002;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links { 
    display: flex; 
    gap: 1.5rem; 
}
.nav-links a { 
    font-weight: 500; 
    font-size: 0.9rem; 
    color: var(--text-secondary-dark); 
    text-decoration: none;
    transition: color 0.3s ease; 
}
.nav-links a:hover { color: var(--text-dark); }
.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
}
.nav-login-button, .nav-cta-button { 
    font-family: var(--font-body); 
    font-size: 0.9rem; 
    font-weight: 500; 
    border-radius: 999px; 
    padding: 0.6rem 1.25rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: 1px solid transparent;
    text-decoration: none;
}
.nav-login-button { color: var(--text-dark); background-color: transparent; }
.nav-login-button:hover { background-color: var(--border-light); }
.nav-cta-button { color: #fff; background-color: var(--accent); }
.nav-cta-button:hover { background-color: var(--accent-darker); }

/* --- Navegación Móvil --- */
.nav-toggle-button {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    background: transparent;
    border: none;
}
.nav-toggle-button .line {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.4s ease;
}
.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
}
.mobile-close-button {
    margin-top: 3rem; font-size: 1rem; font-weight: 700; color: var(--text-secondary-dark); background-color: transparent;
    border: 1px solid var(--border-light); border-radius: 12px; padding: 0.8rem 2rem; cursor: pointer; transition: all 0.3s ease;
}
.mobile-close-button:hover { background-color: var(--border-light); color: var(--text-dark); }

@media (max-width: 1023px) {
    .navbar { padding: 0.75rem 1.5rem; }
    .nav-right { display: none; }
    .nav-toggle-button { display: flex; }
    .mobile-nav-menu { display: flex; }
    .mobile-nav-menu .nav-links, .mobile-nav-menu .nav-actions { flex-direction: column; align-items: center; gap: 2rem; }
    .mobile-nav-menu .nav-links { margin-bottom: 3rem; }
    .mobile-nav-menu .nav-links a { font-size: 1.5rem; font-weight: 700; }
    .mobile-nav-menu .nav-login-button, .mobile-nav-menu .nav-cta-button { font-size: 1rem; padding: 0.8rem 2rem; width: 250px; text-align: center; justify-content: center; }
}

/* --- Hero Section --- */
.hero-section {
    padding: 10rem 2rem 6rem;
    overflow: hidden;
}
.hero-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 4rem;
}
@media (min-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 0.8fr 1fr;
    }
}
.hero-content { text-align: center; }
@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-secondary-dark);
    line-height: 1.6;
}
@media (min-width: 1024px) {
    .hero-subtitle { margin-left: 0; }
}
.hero-cta-button {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--accent);
    border: none;
    border-radius: 999px;
    padding: 1rem 2rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.hero-cta-button:hover {
    transform: scale(1.05);
    background-color: var(--accent-darker);
}

.hero-visual-placeholder {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden; 
}
.hero-visual-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
}
.hero-grid-bg {
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(transparent 20%, transparent 40%, var(--bg-light) 80%), 
                linear-gradient(var(--border-light) 1px, transparent 1px), 
                linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 100% 100%, 43px 43px, 43px 43px;
    z-index: 1;
}


/* Social Proof Section */
.social-proof-section {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.social-proof-section p {
    text-transform: uppercase;
    color: var(--text-secondary-dark);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}
.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}
.logo-item {
    height: 64px;
    display: flex;
    align-items: center;
}
.logo-item img {
    height: 100%;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}
.logo-item span { 
    font-weight: 700; 
    filter: grayscale(1);
    opacity: 0.6;
}

/* --- Secciones Generales --- */
.portal-feature-section, .usp-section, .how-it-works-section, .about-manifesto-section, .reviews-section, .guarantee-section, .pricing-section, .faq-section, .final-cta-section, .legal-content-section, .portfolio-section {
    padding: 8rem 2rem;
}
@media (max-width: 767px) {
    .portal-feature-section, .usp-section, .how-it-works-section, .about-manifesto-section, .reviews-section, .guarantee-section, .pricing-section, .faq-section, .final-cta-section, .legal-content-section, .portfolio-section {
        padding: 5rem 1.5rem;
    }
}
.portal-feature-header, .usp-header, .how-it-works-header, .reviews-header, .pricing-header, .faq-header, .about-manifesto-header, .portfolio-header {
    text-align: center; max-width: 750px; margin: 0 auto 5rem auto;
}
.portal-feature-header h2, .usp-header h2, .how-it-works-header h2, .reviews-header h2, .pricing-header h2, .faq-header h2, .about-manifesto-header h2, .portfolio-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.2; margin-bottom: 1rem;
}
.portal-feature-header p, .usp-header p, .how-it-works-header p, .reviews-header p, .pricing-header p, .faq-header p, .about-manifesto-header p, .portfolio-header p {
    font-size: clamp(1rem, 2.5vw, 1.125rem); color: var(--text-secondary-dark); line-height: 1.6; max-width: 600px; margin: 0 auto;
}


/* AJUSTE 1: ESTILOS PARA LA NUEVA SECCIÓN PROTAGONISTA */
.portal-feature-container {
    max-width: 1200px;
    margin: 0 auto;
}
.portal-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}
.portal-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.portal-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.portal-benefits-list iconify-icon {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}
.portal-benefits-list h3 {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}
.portal-benefits-list p {
    color: var(--text-secondary-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}
@media (max-width: 1023px) {
    .portal-feature-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .portal-visual {
        order: -1; /* Muestra la imagen primero en móvil */
    }
}


/* USP Section & How It Works (Reutilizando estilos) */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.usp-card { background-color: transparent; border: 1px solid var(--border-light); border-radius: 20px; padding: 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.usp-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.08); background-color: white; }
.usp-card .icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; display: inline-block; }
.usp-card h3 { font-size: 1.25rem; font-family: 'Satoshi', sans-serif; margin-bottom: 0.75rem; }
.usp-card p { color: var(--text-secondary-dark); line-height: 1.6; font-size: 0.95rem; }


/* --- "About Us" (Manifiesto) con diseño Temático --- */
.about-manifesto-container {
    max-width: 900px;
    margin: 0 auto;
}
.about-manifesto-header { 
    margin-bottom: 4rem !important; 
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
}
.manifesto-column {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
}
.manifesto-column .manifesto-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.manifesto-column h3 { 
    font-size: 1.5rem; 
    margin-bottom: 0.75rem; 
}
.manifesto-column p { 
    font-size: 1.05rem; 
    line-height: 1.7; 
    max-width: 320px; 
    margin: 0 auto;
}

.problem-side {
    background-color: #F3F4F6;
    border: 1px solid var(--border-light);
}
.problem-side .manifesto-icon { color: #9CA3AF; }
.problem-side h3 { color: var(--text-dark); }
.problem-side p { color: var(--text-secondary-dark); }

.solution-side {
    background-color: var(--accent-light);
    border: 1px solid #93C5FD;
}
.solution-side .manifesto-icon { color: var(--accent); }
.solution-side h3 { color: var(--accent-darker); }
.solution-side p { color: #1E40AF; }

@media (max-width: 767px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


/* Reviews Section */
.reviews-section { padding: 4rem 0 8rem; }
.reviews-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); }
.reviews-marquee-row { display: flex; gap: 2rem; flex-shrink: 0; }
.review-card { width: 380px; flex-shrink: 0; background-color: var(--card-bg-light); border: 1px solid var(--border-light); border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.review-quote { font-size: 1rem; line-height: 1.6; color: var(--text-secondary-dark); margin-bottom: 1.5rem; }
.review-author { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--text-dark); }
.google-logo { width: 24px; height: 24px; }
@media (max-width: 767px) { .review-card { width: 300px; padding: 1.5rem; } .reviews-marquee-row { gap: 1.5rem; } }


/* --- (NUEVO) Portfolio "Case Study" Section --- */
.portfolio-section {
    padding-top: 0;
    background-color: var(--bg-light); /* <-- CAMBIO: Fondo de la página */
}

.portfolio-container {
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.portfolio-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem; /* <-- CAMBIO: Un poco más grande para que solo el texto se vea bien */
    font-weight: 700;
    color: var(--text-secondary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.portfolio-tab-btn img {
    /* Esta regla ya no aplica, pero la dejamos por si se añaden de nuevo */
    height: 20px;
    filter: grayscale(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.portfolio-tab-btn:hover {
    background-color: #fff;
    border-color: #ccc;
    opacity: 1;
}

.portfolio-tab-btn.active {
    background-color: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent-darker);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.portfolio-tab-btn.active img {
    filter: grayscale(0);
    opacity: 1;
}

.portfolio-content-wrapper {
    position: relative;
    background-color: var(--card-bg-light);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.portfolio-content-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    display: none; /* Oculto por defecto */
}

.portfolio-content-item.active {
    display: grid; /* Mostrado cuando está activo */
}

.portfolio-item-image img {
    width: 100%;
    height: auto;
    /* aspect-ratio: 4 / 3; */  /* <-- CORRECCIÓN: ELIMINADO */
    /* object-fit: cover; */    /* <-- CORRECCIÓN: ELIMINADO */
    border-radius: 12px;
    border: 1px solid var(--border-light);
    display: block; /* Buena práctica para imágenes */
}

.portfolio-item-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.portfolio-item-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary-dark);
    margin-bottom: 1.5rem;
}

.portfolio-item-text .hero-cta-button {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .portfolio-content-item {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    .portfolio-item-image {
        order: -1; /* Muestra la imagen primero en móvil */
    }
}

@media (max-width: 600px) {
    .portfolio-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    .portfolio-tab-btn {
        justify-content: center;
    }
}
/* --- Fin de estilos de Portafolio --- */


/* Guarantee Section */
.guarantee-section {
    background-color: #F3F4F6;
}
.guarantee-container { max-width: 800px; margin: 0 auto; padding: 0; text-align: center; }
.guarantee-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.guarantee-text { font-size: clamp(1rem, 2.5vw, 1.125rem); color: var(--text-secondary-dark); line-height: 1.6; max-width: 600px; margin: 0 auto; }

/* Pricing Section */
.pricing-card { max-width: 550px; margin: 0 auto; background-color: var(--card-bg-light); border: 1px solid var(--border-light); border-radius: 24px; padding: 3rem; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.08); }
.price-display { text-align: center; margin-bottom: 2rem; }
.price-amount { font-size: clamp(3rem, 8vw, 4rem); line-height: 1; color: var(--text-dark); }
.price-amount span { font-size: 1.25rem; color: var(--text-secondary-dark); font-family: var(--font-body); font-weight: 500; }
.price-setup-fee { color: var(--text-secondary-dark); margin-top: 0.5rem; }
.pricing-addons, .features-list { margin-bottom: 2.5rem; }
.addon-item, .features-list li { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--border-light); }
.addon-item:first-child, .features-list ul { border-top: 1px solid var(--border-light); }
.features-list li { justify-content: flex-start; gap: 0.75rem; padding: 0.75rem 0; border: none; }
.addon-label-wrapper { display: flex; align-items: center; gap: 0.5rem; }
.addon-label { font-weight: 500; }
.info-icon { font-size: 1.2rem; color: var(--text-secondary-dark); cursor: help; }
.lp-counter { display: flex; align-items: center; gap: 1rem; }
.counter-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-light); background-color: transparent; font-size: 1.5rem; font-weight: 500; color: var(--text-dark); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease; }
.counter-btn:hover { background-color: var(--border-light); }
#lp-count { font-size: 1rem; font-weight: 700; min-width: 20px; text-align: center; }
.features-list h3 { margin-bottom: 1rem; font-size: 1.2rem; font-family: var(--font-body); }
.features-list ul { list-style: none; }
.features-list li iconify-icon { color: var(--accent); font-size: 1.2rem; }
@media (max-width: 767px) { .pricing-card { padding: 2rem; } }

/* FAQ Section */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; cursor: pointer; }
.faq-question h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; }
.faq-icon { font-size: 1.5rem; color: var(--accent); transition: transform 0.4s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-secondary-dark); line-height: 1.6; }

/* Final CTA Section */
.final-cta-section { background-color: var(--text-dark); color: var(--bg-light); text-align: center; }
.final-cta-content h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; color: var(--bg-light); }
.final-cta-content p { max-width: 550px; margin: 0 auto 3rem auto; color: rgba(250, 250, 250, 0.7); }
.magnetic-button { position: relative; width: 180px; height: 180px; border-radius: 50%; background-color: var(--accent); color: white; display: inline-flex; align-items: center; justify-content: center; font-size: 4rem; text-decoration: none; transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.magnetic-button:hover { transform: scale(1.1); }

/* Footer */
.site-footer { background-color: var(--text-dark); color: var(--bg-light); padding: 6rem 2rem 2rem; }
.footer-main { max-width: 1200px; margin: 0 auto 4rem auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; }
.footer-column .footer-logo { height: 32px; margin-bottom: 1rem; }
.footer-column p { color: rgba(250, 250, 250, 0.7); line-height: 1.6; max-width: 300px; }
.footer-column h3 { margin-bottom: 1.5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(250, 250, 250, 0.5); font-family: var(--font-body); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: rgba(250, 250, 250, 0.9); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; display: flex; justify-content: center; align-items: center; gap: 0.5rem; color: rgba(250, 250, 250, 0.5); font-size: 0.9rem; }
.footer-bottom img { height: 20px; }

/* --- Mejoras de Tipografía con Text Wrap --- */
.hero-title,
.usp-header h2, 
.how-it-works-header h2, 
.reviews-header h2, 
.pricing-header h2, 
.faq-header h2,
.about-manifesto-header h2,
.portal-feature-header h2,
.guarantee-title,
.final-cta-content h2,
.portfolio-header h2,
.portfolio-item-text h3 {
    text-wrap: balance;
}

.hero-subtitle,
.usp-header p,
.how-it-works-header p,
.usp-card p,
.manifesto-content p,
.portal-feature-header p,
.portal-benefits-list p,
.review-quote,
.guarantee-text,
.faq-answer p,
.final-cta-content p,
.footer-column p,
.portfolio-header p,
.portfolio-item-text p {
    text-wrap: pretty;
}

/* --- Estilos para Tooltip en Precios --- */
.info-tooltip-wrapper {
    position: relative; /* Contenedor para el tooltip */
    display: flex;
    align-items: center;
}

.tooltip-box {
    position: absolute;
    bottom: calc(100% + 10px); /* Se posiciona 10px arriba del icono */
    left: 50%;
    transform: translateX(-50%);
    
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    
    width: 260px;
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    
    /* Oculto por defecto con una transición suave */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Evita que el tooltip interfiera con el cursor */
}

/* Flecha/puntero del tooltip */
.tooltip-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}

/* Muestra el tooltip al hacer hover en el contenedor */
.info-tooltip-wrapper:hover .tooltip-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- Estilos para Página Legal --- */
.legal-content-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    text-align: center;
}

.legal-container h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-container p {
    line-height: 1.8;
    color: var(--text-secondary-dark);
}