: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;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.hero-ctas.hero-ctas-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, var(--hero-copy-width, 600px));
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.hero .cta-button,
.hero .secondary-button {
    width: min(100%, 250px);
    max-width: 250px;
}

.hero-ctas .cta-button,
.hero-ctas .secondary-button {
    width: min(100%, 250px);
}

.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: 250px;
    }

    /* 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;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(14px, 2.2vh, 24px);
    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;
}

/* Hero fluid scaling for larger screens (keeps current desktop feel, expands progressively) */
@media (min-width: 1400px) {
    .hero {
        min-height: clamp(100vh, 108vh, 122vh);
        padding-top: clamp(110px, 8vh, 170px);
        padding-bottom: clamp(90px, 7vh, 150px);
    }

    .hero .hero-content {
        max-width: clamp(920px, 78vw, 1320px);
    }

    .hero h1 {
        font-size: clamp(3.5rem, 3.2vw, 4.8rem);
        line-height: 1.15;
    }

    .hero p {
        font-size: clamp(1.25rem, 1.2vw, 1.6rem);
        max-width: clamp(620px, 58vw, 900px);
    }

    .hero .cta-button,
    .hero .secondary-button {
        font-size: clamp(1.05rem, 1vw, 1.25rem);
        padding: clamp(15px, 1.1vh, 20px) clamp(30px, 2.2vw, 44px);
    }
}

.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;
}

.cta-button--auto-width {
    width: auto !important;
    max-width: 100%;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cta-button--auto-width {
        white-space: normal;
    }
}

.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-bio+.about-bio {
    margin-top: 22px;
}

.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: 15px;
    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-bio .about-image {
        order: -1;
    }

    .about-bio .about-text {
        order: 0;
    }

    .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: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(20px, 2vw, 40px);
    margin-top: 40px;
}

#plans .content-container>.text-content,
#planes .content-container>.text-content,
#plans .content-container>.plans-grid,
#planes .content-container>.plans-grid {
    flex: 0 0 100%;
    width: 100%;
}

.subscription-container #plan-selection-container .plans-preview {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(16px, 1.8vw, 28px) !important;
}

.container > .subscription-container {
    max-width: 1200px;
}

.subscription-container #planBasic,
.subscription-container #planPro,
.subscription-container #planPremium {
    max-width: 800px;
    margin: 0 auto;
}

.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-top: auto;
    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:has(.form-group) .cta-button {
    margin-top: 0;
}

.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;
}

.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: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(20px, 2vw, 40px);
    align-items: stretch;
}

.selection-options-2x2 .option-card {
    max-width: none;
}

#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;
    width: 100%;
    max-width: none;
}

.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: 768px) {

    .selection-section h2 {
        font-size: 2rem;
    }

    .option-card {
        padding: 30px;
    }
}

/* 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: 80px 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;
}

.founder-links {
    margin: -8px 0 16px;
    font-weight: 600;
}

.technology-page {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 34%);
}

.technology-main {
    padding: 150px 0 90px;
}

.technology-hero {
    max-width: 920px;
    text-align: center;
    margin-bottom: 42px;
}

.technology-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 194, 184, 0.12);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.technology-hero h1 {
    color: var(--secondary);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.12;
    margin-bottom: 18px;
}

.technology-hero p,
.technology-note p {
    color: #243446;
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    line-height: 1.8;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(18px, 2vw, 28px);
    align-items: stretch;
}

.technology-card,
.technology-note {
    background: #fff;
    border: 1px solid rgba(0, 194, 184, 0.16);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(1, 24, 46, 0.08);
}

.technology-card {
    padding: clamp(24px, 3vw, 34px);
}

.technology-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(0, 194, 184, 0.1);
    font-size: 1.8rem;
}

.technology-card h2,
.technology-note h2 {
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 14px;
}

.technology-card p,
.technology-card li {
    color: #243446;
    line-height: 1.7;
}

.technology-card ul {
    margin-top: 16px;
    padding-left: 20px;
}

.technology-card li {
    margin-bottom: 10px;
}

.technology-note {
    max-width: 920px;
    margin-top: 34px;
    padding: clamp(24px, 3vw, 36px);
    text-align: center;
}

@media (max-width: 768px) {
    .technology-main {
        padding-top: 125px;
        padding-bottom: 70px;
    }

    .technology-hero {
        text-align: left;
    }

    .technology-note {
        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;
}

/* Home video teaser + modal (used on pages with body.has-hero-video) */
.has-hero-video .video-teaser {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 194, 184, 0.45);
}

.has-hero-video .hero-teaser {
    max-height: 90%;
    max-width: 280px;
    margin: 25px auto 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.has-hero-video .hero-teaser:hover {
    transform: scale(1.02);
}

.has-hero-video .video-teaser img {
    width: 100%;
    display: block;
}

.has-hero-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
    border-radius: 50%;
    font-size: 36px;
    color: #fff;
    background: rgba(0, 194, 184, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.has-hero-video .teaser-top-copy {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    padding: 26px 14px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

@keyframes svPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 194, 184, 0.45), 0 12px 28px rgba(0, 194, 184, 0.35);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(0, 194, 184, 0), 0 12px 28px rgba(0, 194, 184, 0.35);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 194, 184, 0), 0 12px 28px rgba(0, 194, 184, 0.35);
    }
}

.has-hero-video .sv-video-modal {
    display: none;
    position: fixed;
    z-index: 11000;
    inset: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.has-hero-video .sv-video-modal.modal-ended {
    background: rgba(0, 0, 0, 0.6);
}

.has-hero-video .sv-video-modal-content {
    position: relative;
    width: min(100%, 420px);
}

.has-hero-video #closeVideoModal {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.has-hero-video .video-wrapper {
    aspect-ratio: 9 / 16;
    max-width: 420px;
    margin: auto;
    position: relative;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}

.has-hero-video.marvan-video-fullscreen .sv-video-modal {
    padding: 0;
}

.has-hero-video.marvan-video-fullscreen .sv-video-modal-content {
    width: auto;
    height: 100vh;
    max-width: 100vw;
}

.has-hero-video.marvan-video-fullscreen #closeVideoModal {
    top: 12px;
    right: 12px;
    z-index: 3;
}

.has-hero-video.marvan-video-fullscreen .video-wrapper {
    width: auto;
    height: 100%;
    max-width: 100vw;
    border-radius: 0;
}

.has-hero-video #videoIframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.has-hero-video .cta-overlay {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 16px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.has-hero-video .cta-overlay.cta-preview {
    justify-content: flex-end;
    padding-bottom: 30%;
    background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.55));
}

.has-hero-video .cta-overlay.cta-ended {
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
}

.has-hero-video .cta-box {
    width: min(100%, 320px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}

.has-hero-video .cta-box button {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.has-hero-video #ctaButton,
.has-hero-video #ctaPreviewButton {
    background: #00C2B8;
    color: #fff;
}

.has-hero-video #ctaPreviewBusinessButton,
.has-hero-video #ctaBusinessButton {
    background: var(--secondary);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: block;
    visibility: visible;
    opacity: 1;
}

.has-hero-video #backToSiteButton {
    display: none;
    background: transparent;
    color: #fff;
    opacity: 0.95;
}

.has-hero-video .hero .hero-content {
    max-width: min(92vw, 1200px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 40%);
    column-gap: clamp(24px, 3.5vw, 56px);
    row-gap: clamp(14px, 2vh, 22px);
    align-items: center;
}

.has-hero-video .hero .hero-content h1 {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    max-width: 560px;
    font-size: clamp(2.3rem, 3.2vw, 3.8rem) !important;
}

.has-hero-video .hero .hero-content>p {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: 560px;
    font-size: clamp(1.15rem, 1.35vw, 1.45rem) !important;
}

.has-hero-video .hero .hero-content .hero-ctas {
    grid-column: 1;
    grid-row: 3;
    flex-direction: column;
    align-items: center;
    margin-top: 14px;
    max-width: 560px;
    gap: 12px;
}

.has-hero-video .hero .hero-content .hero-ctas .cta-button,
.has-hero-video .hero .hero-content .hero-ctas .secondary-button {
    width: min(100%, 250px);
    min-height: clamp(56px, 6vh, 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.has-hero-video .hero .hero-content .hero-teaser {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin: 0 auto;
    width: 100%;
    max-width: clamp(320px, 30vw, 460px);
}

@media (max-width: 900px) {
    .has-hero-video .hero .hero-content {
        grid-template-columns: 1fr;
        row-gap: clamp(16px, 2.2vh, 24px);
    }

    .has-hero-video .hero .hero-content h1,
    .has-hero-video .hero .hero-content>p,
    .has-hero-video .hero .hero-content .hero-ctas,
    .has-hero-video .hero .hero-content .hero-teaser {
        grid-column: 1;
        grid-row: auto;
    }
}

.has-hero-video .main-content .feature {
    align-items: flex-start;
    gap: 15px;
}

.has-hero-video .main-content .feature-icon {
    margin-right: 0;
    margin-top: 4px;
}

.has-hero-video .main-content .feature>div:not(.feature-icon),
.has-hero-video .main-content .feature h3,
.has-hero-video .main-content .feature p,
.has-hero-video .main-content .text-content>p {
    text-align: left;
}
