:root {
    --primary: #00c2b8;
    --secondary: #01182E;
    --light: #ffffff;
    --gray: #f5f5f7;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', es -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Para empujar el contenido debajo del header */
main.container {
    flex: 1;
    padding: 160px 20px 40px;
    /* Ajusta el top para compensar el header fijo */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Estilos específicos para la página de privacidad */
#privacy-policy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 160px 30px 60px;
    line-height: 1.8;
}

#privacy-policy-page h1 {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

#privacy-policy-page h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

#privacy-policy-page p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

#privacy-policy-page ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

#privacy-policy-page ul li {
    margin-bottom: 10px;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

#privacy-policy-page a {
    font-weight: 500;
}


a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: var(--secondary);
    padding: 3px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0;
    background-color: rgba(1, 24, 46, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .header-container {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
    transition: all 0.3s ease;
}

header.scrolled .logo img {
    height: 50px;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Language Selector Styles */
.lang-selector-header {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-selector-header a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 2px 4px;
    transition: all 0.2s ease;
}

.lang-selector-header a:hover,
.lang-selector-header a.active {
    color: var(--primary);
    font-weight: bold;
}

.lang-selector-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    align-items: center;
}

.lang-selector-footer a {
    color: #bbb;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-selector-footer a:hover,
.lang-selector-footer a.active {
    color: var(--primary);
}

.lang-selector-footer .separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Header CTA Button */
.header-cta {
    margin-left: 20px;
}

.header-cta .cta-button {
    padding: 8px 20px;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .header-cta {
        margin: 15px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .header-cta .cta-button {
        display: block;
        width: 100%;
    }
}

.lang-selector-header a::after {
    display: none;
    /* Remove underline effect */
}

.lang-selector-header .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    margin: 0 4px;
}

/* Ajuste para listas dentro de la política de privacidad */
#privacy-policy-page ul {
    padding-left: 0;
    /* Quitamos el padding por defecto */
    margin-left: 0;
    /* Quitamos margen */
    list-style-position: inside;
    /* Mantiene el punto de la lista alineado al inicio */
}

#privacy-policy-page li {
    padding-left: 1em;
    /* Opcional: agregar un pequeño espacio para que no quede pegado el punto al texto */
    text-indent: -1em;
    /* Hace que la primera línea se alinee bien con el resto */
}

.mobile-menu-btn {
    display: none;
    position: relative;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--light);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 8px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 16px;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.privacy-list {
    margin-left: 30px;
}

/* Hero section styles */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0d2440 100%);
    color: var(--light);
    padding: 100px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* Ensure it takes full viewport height */
    display: flex;
    /* Use flexbox for vertical centering */
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    /* Center content horizontally */
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.secondary-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Specific style for subscription form validation buttons */
.subscription-container .validate-button {
    background-color: var(--primary);
    color: var(--light);
    padding: 0 20px;
    height: 44px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 194, 184, 0.3);
    white-space: nowrap;
}

.subscription-container .validate-button:hover {
    background-image: linear-gradient(to right, #00a8a0, #00c2b8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 184, 0.4);
}

.subscription-container .validate-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #cccccc;
    box-shadow: none;
    transform: none;
}

/* Pricing Preview Section */
.pricing-preview {
    padding: 80px 0;
    background-color: var(--light);
}

.pricing-content {
    text-align: center;
}

.pricing-content h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 50px;
}

.plans-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1000px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0;
        /* Adjust padding for mobile to allow content to breathe */
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .cta-button,
    .hero-ctas .secondary-button {
        width: 100%;
        max-width: 300px;
    }

    /* Mobile Menu Styles Update */
    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        /* Wider menu for better visibility */
        max-width: 400px;
        height: 100vh;
        background-color: var(--secondary);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    header nav.show {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    header nav ul li {
        margin: 20px 0;
        margin-left: 0;
        opacity: 0;
        transform: translateX(20px);
        transition: 0.3s ease forwards;
    }

    header nav.show ul li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    header nav.show ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    header nav.show ul li:nth-child(2) {
        transition-delay: 0.2s;
    }

    header nav.show ul li:nth-child(3) {
        transition-delay: 0.3s;
    }

    header nav.show ul li:nth-child(4) {
        transition-delay: 0.4s;
    }

    header nav.show ul li:nth-child(5) {
        transition-delay: 0.5s;
    }

    header nav.show ul li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .lang-selector-header {
        margin-top: 20px;
        background: rgba(255, 255, 255, 0.05);
        padding: 10px 20px;
    }

    .lang-selector-header a {
        font-size: 1rem;
        padding: 5px 10px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button,
.nav-cta-pro {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 194, 184, 0.3);
    text-align: center;
}

.nav-cta-pro {
    padding: 8px 20px !important;
    font-size: 0.9rem;
    border-radius: 5px;
    margin-left: 15px;
}

.cta-button:hover,
.nav-cta-pro:hover {
    background-image: linear-gradient(to right, #00a8a0, #00c2b8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 194, 184, 0.5);
}

/* Main content styles */
.main-content {
    padding: 100px 0;
    background-color: var(--light);
}

.content-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.text-content {
    flex: 1;
    padding-right: 50px;
    min-width: 300px;
    text-align: center;
    /* Centrar el contenido del div */
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.text-content p,
.plan-description,
.plan-note,
.plan-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
    /* Centrar los párrafos dentro de text-content */
}

.features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    /* Changed to center for vertical alignment */
    margin-bottom: 20px;
}

.feature>div:not(.feature-icon) {
    /* Selects the div containing h3 and p */
    text-align: center;
    /* Centrar el texto dentro del div de la característica */
}

.feature-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 194, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
    overflow: hidden;
    position: relative;
}

.chatbot-preview {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.chatbot-preview:hover {
    transform: translateY(-10px);
}

/* About pages readability improvements */
.about-page {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 30%);
}

.about-main {
    padding-top: 140px;
    padding-bottom: 90px;
}

.about-content {
    align-items: flex-start;
    gap: 56px;
}

.about-image {
    flex: 0 0 360px;
    max-width: 380px;
}

.about-photo {
    width: 100%;
    max-width: 380px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(1, 24, 46, 0.18);
}

.about-text {
    flex: 1;
    min-width: 320px;
    max-width: 760px;
    text-align: left;
    padding-right: 0;
}

.about-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 22px;
}

.about-text h2.about-intro-title {
    font-size: clamp(1.1rem, 1.8vw, 1.28rem);
    line-height: 1.25;
    color: var(--secondary);
    margin: 4px 0 18px;
    font-weight: 700;
}

.about-text p {
    text-align: left;
    margin-bottom: 16px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #243446;
}

.about-vision-title {
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--secondary);
}

.about-vision-list {
    margin: 10px 0 18px 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.about-vision-list li {
    position: relative;
    padding: 12px 14px 12px 42px;
    border-radius: 12px;
    background: #f3f9ff;
    color: #1f2f40;
    line-height: 1.6;
}

.about-vision-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    background: var(--primary);
}

.about-closing {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #dfe8f1;
    font-weight: 500;
}

.about-vision-section {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #e6eef6;
    max-width: 980px;
}

.about-vision-section .about-vision-title {
    text-align: center;
    margin-top: 0;
}

.about-vision-section p {
    text-align: justify;
    text-justify: inter-word;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.about-vision-section .about-vision-list {
    max-width: 920px;
    margin: 14px auto 20px;
}

.about-vision-section .about-vision-list li {
    text-align: justify;
    text-justify: inter-word;
}

.about-vision-section .about-closing {
    text-align: justify;
}

@media (max-width: 992px) {
    .about-main {
        padding-top: 125px;
    }

    .about-content {
        gap: 28px;
    }

    .about-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about-photo {
        max-width: 320px;
    }

    .about-text {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .about-main {
        padding-top: 112px;
        padding-bottom: 70px;
    }

    .about-text p,
    .about-vision-list li {
        font-size: 1rem;
    }

    .about-text h2.about-intro-title {
        font-size: 1.02rem;
    }

    .about-vision-list li {
        padding: 11px 12px 11px 40px;
    }
}

/* Form section styles */
.form-section {
    background-color: var(--gray);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.form-container {
    background-color: var(--light);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-heading {
    text-align: center;
    margin-bottom: 40px;
}

.form-heading h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 194, 184, 0.1);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #00a8a0;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #cccccc;
    /* A neutral grey */
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

.payment-info-note {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
    line-height: 1.4;
}

/* Footer styles */
footer {
    background-color: var(--secondary);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.footer-column {
    flex: 1;
    margin-bottom: 0;
    padding: 0 15px;
    text-align: left;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column ul,
.plan-features,
.plan-conditions,
.plan-info ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 30px;
        padding: 0;
        text-align: center;
    }

    .footer-column h4::after {
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    .social-links {
        justify-content: center;
    }

    .language-switcher {
        align-items: center;
    }
}


/* Plans Page Specific Styles */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.plan-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #e1e1e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.plan-card .form-group {
    margin-bottom: 15px !important;
}

.plan-card .form-input {
    padding: 10px !important;
    font-size: 0.95rem !important;
}

.plan-card .cta-button {
    margin-top: auto;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.featured-plan {
    border-color: var(--primary);
    background: linear-gradient(to bottom right, #fff, #f8ffff);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 194, 184, 0.2);
}

.pro-badge {
    background: #6b21a8;
}

.plan-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.plan-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 35px;
}

.plan-features {
    margin: 15px 0;
}

.plan-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95rem;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.plan-price-block {
    background: rgba(0, 194, 184, 0.05);
    padding: 10px;
    border-radius: 15px;
    margin: 15px 0 20px;
    text-align: center;
}

.plan-price {
    padding: 15px;
}

.price-label {
    display: block;
    color: #666;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin: 5px 0;
}

.price-note {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.plan-conditions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    font-size: 0.95rem;
}

.plan-conditions li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.plan-conditions li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--primary);
}

.plan-info {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.plan-info h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.plan-info.general-conditions {
    border-left: 4px solid var(--primary);
}

.condition-icon {
    margin-right: 10px;
    color: var(--primary);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.trust-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.trust-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.trust-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plan-info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .plan-info-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-info-section:has(> .plan-info:only-child) {
        grid-template-columns: 1fr;
    }
}

/* Adjustments for text-content on plans page */
.main-content .text-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 0;
}

/* Contact Section Styles */
.contact-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-section h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-section p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: rgba(0, 194, 184, 0.05);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    background: rgba(0, 194, 184, 0.1);
}

.contact-link img {
    margin-right: 10px;
}

.contact-link span {
    color: var(--secondary);
    font-weight: 500;
}

@media (max-width: 576px) {
    .contact-links {
        .faq-social-container {
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .social-links {
            justify-content: center;
        }
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }
}

/* FAQ Collapsible Styles */
.faq-item {
    margin-bottom: 5px;
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    background: white;
    padding: 20px 50px 20px 25px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #e1e1e1;
    border-radius: 15px;
}

.faq-question:hover {
    background-color: rgba(0, 194, 184, 0.05);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    border-radius: 0 0 15px 15px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 20px 25px;
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-answer ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* FAQ Page Styles */
.faq-section {
    padding: 180px 20px 80px;
    /* Adjusted top padding to lower the title */
    background-color: var(--light);
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.faq-header h1 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin: 20px 10px;
}

.faq-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Profesionales Pages Common Styles */
.content-section {
    padding: 30px 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    margin: 0 30px 0 30px;
}

.content-section:nth-child(odd) {
    background-color: #fff;
}

.content-section h2 {
    color: var(--secondary);
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
}

.content-section h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.content-section ul li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-section {
    text-align: center;
    padding: 50px 0;
    background-color: var(--primary);
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section .cta-button {
    background-color: white;
    color: var(--primary);
    border: 2px solid white;
    padding: 15px 35px;
    border-radius: 50px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-section .cta-button:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.feature-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.feature-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    flex: 1 1 calc(33% - 40px);
    /* Three items per row, with gap */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.feature-item h3 {
    margin-top: 0;
    color: var(--secondary);
}

.feature-item p {
    font-size: 0.95em;
    line-height: 1.6;
}

.feature-item strong {
    color: var(--primary);
}

.feature-item-image-container {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item-image {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .feature-item {
        flex: 1 1 calc(50% - 20px);
        /* Two items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .feature-item {
        flex: 1 1 100%;
        /* One item per row on very small screens */
    }
}

/* Contact Section Styles */
.contact-selection {
    padding: 80px 0;
    background-color: var(--gray);
}

.pro-cards-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.pro-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pro-card:hover {
    transform: translateY(-5px);
}

.pro-card.highlighted {
    border: 2px solid var(--primary);
    position: relative;
}

.pro-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.pro-card h4 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.pro-card p {
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Profesionales Page - Selection Section */
.selection-section {
    padding: 80px 0;
    background-color: var(--gray);
    text-align: center;
}

.selection-section h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 50px;
}

.selection-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.selection-options-2x2 .option-card {
    flex: 1 1 calc(50% - 15px);
    /* Two items per row, considering gap */
    max-width: calc(50% - 15px);
    /* Ensure max width for consistency */
}

@media (min-width: 993px) {

    /* For larger screens, maintain 2 columns */
    .selection-options-2x2 .option-card {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 992px) {

    /* For medium screens, maintain 2 columns */
    .selection-options-2x2 .option-card {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {

    /* For small screens, revert to 1 column */
    .selection-options-2x2 .option-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

#para-ti h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.option-card {
    background-color: var(--light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 calc(33.333% - 20px);
    /* 3 columns for large screens, considering gap */
    max-width: calc(33.333% - 20px);
    /* Ensure max width for consistency */
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    text-align: left;
    flex-grow: 1;
}

.option-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.option-card ul li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.option-card h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.option-card p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    flex-grow: 1;
}

.option-card .cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    margin-top: auto;
    /* Pushes button to the bottom */
}

@media (max-width: 992px) {

    /* Adjust breakpoint for 1 column on medium screens */
    .option-card {
        flex: 1 1 100%;
        /* 1 column for medium screens */
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    /* Adjust breakpoint for 1 column */
    .selection-section h2 {
        font-size: 2rem;
    }

    .option-card {
        padding: 30px;
        flex: 1 1 100%;
        /* 1 column for small screens */
        max-width: 100%;
    }
}

/* Inline styles from index.html */
.footer-column .faq-link {
    color: #bbb;
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Use Cases Section */
.use-cases-section {
    padding: 80px 0;
    background-color: #fff;
}

.use-cases-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 50px;
}

.use-case-card {
    display: flex;
    gap: 30px;
    align-items: center;
    background-color: var(--light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.use-case-card:nth-child(even) {
    flex-direction: row-reverse;
}

.use-case-icon {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.use-case-content h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 15px;
}

.use-case-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Image and Text Section */
.image-text-section {
    padding: 80px 0;
    background-color: var(--light);
}

.image-text-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.image-text-container .image-content {
    flex: 0.8;
}

.image-text-container .text-content {
    flex: 1;
}

.image-text-container .image-content img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    color: #333;
}

#password-box {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

#password-input {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

#password-submit {
    padding: 10px 20px;
    border: none;
    background-color: #00c2b8;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}

.loader {
    border: 8px solid rgba(255, 255, 255, 0.2);
    /* Gris claro semitransparente */
    border-top: 8px solid #ffffff;
    /* Blanco */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    margin-top: 25px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
    }
}

/* Cookie Consent Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    color: var(--light);
    padding: 12px 0;
    z-index: 1001;
    display: none;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-banner-actions .cta-button,
.cookie-banner-actions .secondary-button,
.cookie-banner-actions .tertiary-button {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.tertiary-button {
    background: none;
    border: none;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

#cookie-preferences-modal .modal-content {
    text-align: left;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* Switch toggle styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:disabled+.slider {
    background-color: #ddd;
    cursor: not-allowed;
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.mt-3 {
    margin-top: 1rem;
}

.text-info {
    color: var(--primary);
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

/* Custom File Upload Button */
.form-input-hidden {
    display: none;
}

.file-upload-label {
    display: inline-block;
    cursor: pointer;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    /* Change to stretch */
    transition: border-color 0.3s ease;
    line-height: 1;
    /* Ensure consistent line height */
}

.file-upload-label:hover {
    border-color: var(--primary);
}

.file-upload-button {
    background-color: var(--gray);
    padding: 15px;
    border-right: 1px solid #e1e1e1;
    font-weight: 500;
    color: var(--secondary);
    border-radius: 8px 0 0 8px;
    white-space: nowrap;
    display: flex;
    /* Add flex properties */
    align-items: center;
    /* Center text vertically */
}

.file-name-display {
    padding: 15px;
    font-size: 1rem;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    display: flex;
    /* Add flex properties */
    align-items: center;
    /* Center text vertically */
}

/* Modal styles from inicio.html */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-title {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.modal-message {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

/* Styles for terms-container in terminos.html */
.terms-container {
    padding: 160px 20px 40px;
    /* Top padding to clear fixed header, and side padding */
}

.subscription-container {
    padding: 160px 20px 40px;
    /* Top padding to clear fixed header, and side padding */
    max-width: 800px;
    margin: 0 auto;
}

/* Specific styles for terminos.html */
.terms-container {
    max-width: 800px;
    margin: 160px auto 2rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.disclaimer-box {
    background: #fff8e6;
    border-left: 4px solid #ffd700;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.terms-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gray);
    border-radius: 8px;
}

.terms-section h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.terms-section h3 {
    color: var(--secondary);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.terms-section p,
.terms-section li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terms-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.terms-section li {
    position: relative;
    padding-left: 1.5rem;
}

.terms-section li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Language Selection Modal Styles */
#language-modal .modal-content {
    max-width: 350px;
    padding: 30px;
}

#language-modal .modal-title {
    font-size: 1.5em;
    margin-bottom: 25px;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lang-button {
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.lang-button:hover {
    background-color: #00a8a0;
    transform: translateY(-2px);
}

/* Blog Post Layout Styles */
.blog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 80px;
    display: flex;
    gap: 50px;
    position: relative;
}

.blog-sidebar {
    display: none;
}

.blog-article {
    width: 100%;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .blog-sidebar {
        display: block;
        width: 25%;
        flex-shrink: 0;
    }

    .blog-toc-container {
        position: sticky;
        top: 120px;
        background: white;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        border: 1px solid rgba(0, 194, 184, 0.1);
    }

    .blog-toc-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--secondary);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .blog-toc-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .blog-toc-item {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .blog-toc-item a {
        color: var(--dark-gray);
        text-decoration: none;
        transition: all 0.2s ease;
        display: block;
        padding-left: 12px;
        border-left: 2px solid transparent;
        line-height: 1.4;
    }

    .blog-toc-item a:hover,
    .blog-toc-item a.active {
        color: var(--primary);
        border-left-color: var(--primary);
    }

    .blog-toc-subitem {
        margin-left: 15px;
        margin-top: 5px;
    }

    .blog-article {
        width: 75%;
    }
}

.whatsapp-badge {
    background: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Final about page overrides (keep after generic .main-content rules) */
.about-page .about-text {
    text-align: left;
    max-width: 760px;
}

.about-page .about-text p {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-page .about-text h1,
.about-page .about-text .about-vision-title {
    text-align: left;
}

/* Category Badges for Blog */
.category-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 15px;
    margin-bottom: 15px;
}

.category-profesionales {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.category-setup {
    background: linear-gradient(135deg, #FF9A9E, #FECFEF);
    color: #333;
}

.category-camper {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #333;
}