
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(180deg, #eaf6ff 0%, #f6fcff 60%, #b6f0ef 100%);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: linear-gradient(180deg, #ffffff 20%, #c3d8ee 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-desktop {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: start;
}

.logo-icon {
    max-width: 75px;
    max-height: 75px;
    width: auto;
    height: auto;
}

.logo-icon-footer {
    height: 100px;
    width: auto;
    max-width: 100%;
    max-height: 100px;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}



.boton-nav {
    padding: 10px 20px;
    border-radius: 30px;
    /* borde redondo tipo píldora */
    background: #03C2BB;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    border: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.boton-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}




/* Mobile Header */
.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1f2937;
    padding: 0.5rem;
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    position: relative;
}

.mobile-logo-area {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-logo-area {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-logo-icon {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    cursor: pointer;
}

.mobile-spacer {
    width: 2.5rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    left: -75%;
    width: 75%;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem;
    align-items: center;
    height: 100%;
}

.mobile-nav-logo-area {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.mobile-nav-logo {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
    width: 100%;

}

.mobile-nav-links .nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.mobile-nav-links .nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 200px;
}



/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero-content {
    margin-bottom: 4rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    color: #3773B8;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title-highlight {
    background: #03C2BB;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #3773B8;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}



/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    justify-items: center;
    align-items: start;
}


.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}


.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;

}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon-blue {
    background: #03C2BB;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #3773B8;
}

.feature-description {
    color: #3773B8;
    line-height: 1.6;
    text-align: center;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto;
}


/* Pricing Section */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing-card-popular {
    border: 2px solid #e5e7eb;
}


.pricing-header {

    text-align: center;
    position: relative;
}

.plan-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-badge-gray {
    background: #f3f4f6;
    color: #374151;
}

.plan-badge-blue {
    background: #dbeafe;
    color: #2563eb;
}

.plan-badge-purple {
    background: #e9d5ff;
    color: #7c3aed;
}

.plan-badge-gold {
    background: #fef3c7;
    color: #d97706;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow:
    1px 1px 1px rgb(6, 0, 0),
    1px 1px 1px rgb(0, 0, 0);
    margin-bottom: 0.5rem;
}


.header-top {
    padding-top: 1rem;
    text-align: center;
    color: white;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3.5rem;
    text-shadow:
    1px 1px 1px rgb(6, 0, 0),
    1px 1px 1px rgb(0, 0, 0);
    font-weight: bold;
    color: #ffffff;
}

.price-period {
    font-size: 1rem;
    color: #ffffff;
    margin-left: 0.25rem;
    text-shadow:
    1px 1px 1px rgb(6, 0, 0),
    1px 1px 1px rgb(0, 0, 0);
    
}

.plan-description {
    color: #3773B8;
    font-size: 1rem;
    margin: 1rem;

}

.pricing-body {
    padding: 0 2rem 2rem;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background-color: #f0f4ff;
    border-radius: 8px;
}

.feature-check {
    color: #106dbe;
    font-size: 1rem;
}

.feature-unavailable {
    opacity: 0.5;
}

.pricing-footer {
    padding: 0 2rem 2rem;
}

.pricing-footer .btn {
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}


/* titles package*/

/* Explorador */
.pricing-card:nth-child(1) .header-top {
    background: #36CFC9;
    padding: rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    color: white;
}

.pricing-card:nth-child(1) {
    border: 5px solid #36CFC9;
}

/* Impulso */
.pricing-card:nth-child(2) .header-top {
    background: #03C2BB;
    padding: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    color: white;

}

.pricing-card:nth-child(2) {
    border: 5px solid #03C2BB;
}

.line-break {
    display: block;
}


/* Dominio */
.pricing-card:nth-child(3) .header-top {
    background: #5F8FC5;
    padding: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    color: white;
}

.pricing-card:nth-child(3) {
    border: 5px solid #5F8FC5;
}


/* Titan */
.pricing-card:nth-child(4) .header-top {
    background: #3773B8;
    padding: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    color: white;
}

.pricing-card:nth-child(4) {
    border: 5px solid #3773B8;
}


.header-top.header-top .plan-title {
    color: white;
}


/* btns package*/
.pricing-card:nth-child(1) .btn-outline {
    background: #36CFC9;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.pricing-card:nth-child(2) .btn-primary {
    background: #03C2BB;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;

}

.pricing-card:nth-child(3) .btn-outline {
    background: #5F8FC5;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.pricing-card:nth-child(4) .btn-outline {
    background: #3773B8;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;

}


/* Style modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.fade-in {
    display: flex;
    opacity: 1;
}

.modal.fade-out {
    opacity: 0;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
}

.modal.fade-out .modal-content {
    transform: scale(0.95);
}

.modal-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
    text-align: center;
}

.close {
    cursor: pointer;
    font-size: 2rem;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    user-select: none;
}


/* Style confirm purchace*/

#confirmModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 41, 55, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
    box-sizing: border-box;
}


#confirmModal .modal-content {
    background: white;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: left;
}


.close-button {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #2563eb;
}


#confirmModal h2 {
    font-size: 2.3rem;
    margin: 0;
    font-weight: 700;
    text-align: center;
    color: #03475D;
}

#confirmModal h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
    text-align: center;
    color: #00ADD5;
}


#confirmModal p {
    font-size: 1.2rem;
    color: #03475D;
    text-align: center;
    margin: 0;
    line-height: 1;
}


.package-summary {
    text-align: left;
    margin-top: 1.5rem;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    background-color: #f9fafb;
}

.package-summary h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #03475D;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
}

.package-summary ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.package-summary ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #374151;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e0e7ff;
}

.package-summary ul li:last-child {
    border-bottom: none;
}

.package-summary ul li i {
    color: #2563eb;
    font-size: 1.5rem;
    min-width: 28px;
    text-align: center;
}


.modal-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-primary,
.btnConfirmSubscription,
.btn-secondary {
    font-size: 1.25rem;
    padding: 0.75rem 2.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    min-width: 160px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #0099ff, #33ccff);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #1e40af;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

.body-no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.custom-alert-button {
    background: linear-gradient(135deg, #0099ff, #33ccff);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 153, 255, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.custom-alert-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #008ae6, #2eb8ff);
}


/* Style form extra services */

#extraServicesTitle {
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
    text-align: center;
    color: #03475D;
}

#extraServicesForm label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    color: #000000;
    line-height: 1.4;
    flex-wrap: wrap;
}

#extraServicesForm label:hover {
    background-color: #e0f2fe;
    box-shadow: 0 0 8px rgba(0, 153, 255, 0.5);
}

#extraServicesForm label:hover i,
#extraServicesForm label:hover span {
    color: #007acc;
    transform: scale(1.1);
    transition: color 0.3s ease, transform 0.3s ease;
}


#extraServicesForm input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #000000;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

#extraServicesForm input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}



#extraServicesForm input[type="checkbox"]:checked {
    background: radial-gradient(circle at center, #0099ff 100%);
    border-color: #000000;
    animation: checkbox-pop 0.25s ease forwards;
}

@keyframes checkbox-pop {
    0% {
        transform: scale(0.7);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#extraServicesForm i {
    font-size: 1rem;
    color: #2563eb;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}


#toggleExtrasBtn {
    background: linear-gradient(135deg, #0099ff, #33ccff);
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    font-size: 1.2rem;
    border-radius: 8px;
    margin: 1rem auto 1rem auto;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

#toggleExtrasBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 153, 255, 0.4);
}

/* Style contact btn */
.contact {
    padding: 4rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3773B8;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.125rem;
    color: #3773B8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-feature {
    display: flex;
    color: #3773B8;
    align-items: center;
    gap: 0.75rem;
}

.contact-feature-icon {
    color: #3773B8;
    font-size: 1.25rem;
}

.contact-action {
    text-align: center;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}


.whatsapp-btn i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover i {
    transform: scale(1.2);
}

.whatsapp-btn i {
    font-size: 2rem;
}

.whatsapp-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whatsapp-title {
    font-weight: 600;
    font-size: 1.125rem;
}

.whatsapp-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
}

.contact-note {
    color: #6b7280;
    font-size: 0.875rem;
}

.contact-email {
    color: #2563eb;
    text-decoration: none;
}


/* Footer */
.footer {
    background: #3773B8;
    color: white;
    padding: 2rem 0 1rem; /* Adjusted padding */
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem; /* Adjusted gap */
}

.footer-brand .logo-text {
    color: white;
}

.footer-description {
    color: white;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Adjusted gap */
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem; /* Adjusted padding-top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.credits-text {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.credits-date {
    color: white;
    font-size: 0.875rem;
}

.footer-copyright {
    color: white;
    font-size: 0.875rem;
    text-align: right;
    margin-left: auto;
}

.footer-copyright ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Créditos y logo */

.logo-teteocan {
  height: 40px;
  width: auto;
  position: relative;
  cursor: pointer;
}


.logo-teteocan::after {
  content: attr(title);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #03C2BB;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.8rem;
  z-index: 10;
}

.logo-teteocan::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #03C2BB transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-teteocan:hover::after,
.logo-teteocan:hover::before {
  opacity: 1;
}


/* Responsive mobiles */
@media (max-width: 480px) {
    #confirmModal .modal-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    #confirmModal h2 {
        font-size: 1.75rem;
    }

    #confirmModal h3 {
        font-size: 1.25rem;
    }

    .package-summary {
        max-height: 200px;
        padding: 1rem;
    }

    .package-summary h4 {
        font-size: 1.25rem;
    }

    .package-summary ul li {
        font-size: 1rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }

    #extraServicesTitle {
        font-size: 1.25rem;
    }
}


/* Responsive Design */

@media (hover: hover) and (pointer: fine) {
    .nav-links a:hover {
        color: #ffffff;
    }

    .mobile-nav-links .nav-link:hover {
        color: #2563eb;
        background: #eff6ff;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    }

    .btn-secondary:hover {
        background: #eff6ff;
    }

    .btn-outline:hover {
        border-color: #2563eb;
        color: #2563eb;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.1);
    }

    .pricing-card:hover {
        transform: scale(1.08) translateY(-10px);
        box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3), 0 10px 25px rgba(0, 0, 0, 0.15);
        border-color: #2563eb;
        z-index: 10;
    }

    .pricing-card:hover .pricing-header {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(79, 70, 229, 0.05));
    }

    .pricing-grid:hover .pricing-card:not(:hover) {
        opacity: 0.7;
        transform: scale(0.98);
        filter: blur(1px);
    }

    .pricing-card:hover .btn {
        transform: translateY(-2px);
        box-shadow: 8px 20px rgba(37, 99, 235, 0.3);
    }

    .pricing-card .btn-outline:hover,
    .pricing-card .btn-primary:hover {
        transform: translateY(-2px);
    }

    .whatsapp-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    }

    .contact-email:hover {
        text-decoration: underline;
    }

    .footer-link:hover {
        color: white;
    }


    .feature-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        cursor: pointer;
    }

    .feature-item:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        background-color: #f0f4ff;
        border-radius: 8px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }

}

@media (hover: none) and (pointer: coarse) {

    .nav-links a:hover,
    .mobile-nav-links .nav-link:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline:hover,
    .feature-card:hover,
    .pricing-card:hover,
    .whatsapp-btn:hover,
    .contact-email:hover,
    .footer-link:hover {

        transform: none;
        box-shadow: none;
        background: inherit;
        color: inherit;
        border-color: inherit;
        opacity: 1;
        filter: none;
        z-index: auto;
    }

    .btn-primary:active {
        transform: translateY(1px);
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
    }

    .btn-secondary:active {
        background: #eff6ff;
        transform: translateY(1px);
    }

    .btn-outline:active {
        border-color: #2563eb;
        color: #2563eb;
        transform: translateY(1px);
    }

    .feature-card:active {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .pricing-card:active {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
        border-color: #2563eb;
    }

    .whatsapp-btn:active {
        transform: scale(0.98);
        box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
    }

    .nav-links a:active {
        color: #2563eb;
    }

    .mobile-nav-links .nav-link:active {
        color: #2563eb;
        background: #eff6ff;
    }

    .footer-link:active {
        color: #2563eb;
    }

    .btn:focus {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }

    .pricing-card:focus-within {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        justify-items: center;
        align-items: stretch;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .nav-mobile {
        width: 50%;
        left: -50%;
    }

    .mobile-nav-logo {
        max-width: 120px;
        max-height: 60px;
    }

    .mobile-nav-links .nav-link {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
        max-width: 180px;
    }

    .nav-mobile-content {
        padding: 1.5rem 1rem;
        gap: 1.2rem;
    }

    .pricing-header {
        padding: 0;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .nav-mobile.active {
        left: 0;
    }

    body.mobile-menu-open .mobile-menu-btn {
        transform: translateX(calc(50vw + 1rem));
    }

    body.mobile-menu-open .mobile-logo-icon {
        opacity: 0;
        visibility: hidden;
    }

    .mobile-logo-icon {
        max-width: 100px;
        max-height: 50px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }

}


/* Tablets in portrait orientation - specific for iPad Air and similar */
@media (max-width: 820px) and (min-width: 768px) and (orientation: portrait) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Portrait-optimized mobile menu */
    .nav-mobile {
        width: 55%;
        left: -55%;
    }

    .mobile-nav-links .nav-link {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
        max-width: 170px;
    }

    .nav-mobile-content {
        padding: 1.4rem 1rem;
        gap: 1.1rem;
    }

    .pricing-header {
        padding: 0;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }

}

/* Medium tablets and large mobile phones */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .nav-mobile.active {
        left: 0;
    }

    body.mobile-menu-open .mobile-menu-btn {
        transform: translateX(calc(75vw + 1rem));
    }

    /* Mobile menu for medium tablets */
    .nav-mobile {
        width: 60%;
        left: -60%;
    }

    .mobile-nav-links .nav-link {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
        max-width: 180px;
    }

    .nav-mobile-content {
        padding: 1.5rem 1rem;
        gap: 1.2rem;
    }

    body.mobile-menu-open .mobile-menu-btn {
        transform: translateX(calc(55vw + 1rem));
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-items: center;
        align-items: stretch;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-title {
        font-size: 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .pricing-header {
        padding: 0;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .feature-card,
    .service-card {
        padding: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
        align-items: stretch;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .whatsapp-btn {
        padding: 1rem 1.5rem;
    }

    .pricing-header {
        padding: 0;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }

}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.service-card,
.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility improvements */
.btn:focus,
.nav-link:focus,
.mobile-menu-btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.btn:focus {
    outline-color: rgba(37, 99, 235, 0.5);
}

/* Print styles */
@media print {

    .header,
    .whatsapp-btn,
    .mobile-menu-btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero,
    .services,
    .pricing,
    .contact {
        break-inside: avoid;
    }
}


/* ComparisonTable */
.comparison-section {
    padding: 4rem 0;
    background-color: #eaf6ff;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    /* border-collapse: collapse; */ /* We need to change this */
    border-collapse: separate; /* This is the key change */
    border-spacing: 12px; /* This creates the space between the "cards" */
    font-size: 1rem;
    min-width: 900px; /* Increased min-width for better layout on smaller screens */
    /* Remove box-shadow from the table and add it to the cells instead */
}

/* Style for all cells, including the header */
.comparison-table th,
.comparison-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    background: white; /* Each cell has its own background */
    border-radius: 12px; /* Rounded corners on each cell */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow on each cell */
    border: 2px solid transparent; /* A transparent border for a clean look */
    transition: all 0.3s ease;
}

.comparison-table th {
    background: #c3d8ee; /* A solid color for the header cells */
    font-weight: 700;
    color: #3773B8;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.comparison-table td {
    color: #4b5563;
    font-weight: 500;
}

/* Style the first column (Características) */
.comparison-table th:first-child,
.comparison-table td:first-child {
    background: #f6fcff; /* Lighter background for the first column */
    font-weight: 600;
    color: #374151;
    text-align: left; /* Align text to the left */
}

/* Specific styles for icons and text in the cells */
.comparison-table td .table-check,
.comparison-table td .table-cross {
    font-size: 1.8rem; /* Make icons larger */
    display: block; /* Center the icons easily */
    width: 100%;
    text-align: center;
}

.comparison-table .table-check {
    color: #03C2BB; /* Teal color for checkmark */
}

.comparison-table .table-cross {
    color: #cbd5e1; /* Light gray for the cross */
}


/* Hover effect for cells */
.comparison-table td:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comparison-table {
        min-width: 700px; /* Adjust min-width for mobile view */
        border-spacing: 8px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.8rem;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
}


/* --- START OF NEW/MODIFIED STYLES FOR TERMS PAGE --- */

/* Adjust main content padding to prevent header overlap */
.terms-page-main {
    padding-top: 8rem; 
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .terms-page-main {
        padding-top: 6rem;
    }
}

/* Style the terms and conditions section */
.terms-section {
    padding: 2rem 0;
    background-color: #eaf6ff; 
}

.terms-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    max-height: 80vh; 
    overflow-y: auto;
    line-height: 1.7;
    border: 1px solid #c3d8ee;
}

.terms-content h2.terms-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3773B8;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #03C2BB;
    padding-bottom: 0.5rem;
    display: inline-block;
    letter-spacing: 0.5px;
}

.terms-content p {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.terms-content ul {
    padding-left: 2rem;
    list-style-type: disc;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.terms-link {
    color: #03C2BB;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #3773B8;
}

@media (max-width: 768px) {
    .terms-content {
        padding: 1.5rem;
        max-height: 70vh;
        border-radius: 1rem;
    }
    .terms-content h2.terms-subtitle {
        font-size: 1.5rem;
    }
}

/* --- END OF NEW/MODIFIED STYLES FOR TERMS PAGE --- */