:root {
    --primary-color: #00AFC1;
    /* Sultin Teal/Cyan */
    --hover-color: #008f9e;
    --text-dark: #031121;
    /* Dark Navy / Near-Black */
    --text-light: #6b7280;
    --bg-light: #F5F5F5;
    /* Light Grey background */
    --border-color: #e5e7eb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dot {
    color: var(--primary-color);
}

.subtitle {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background-color: var(--text-dark);
    /* Azul institucional */
    padding: 16px 0;
    box-shadow: 0 5px 25px rgba(3, 17, 33, 0.15);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.4s ease;
}

.navbar.scrolled .logo {
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.4s ease;
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
    color: var(--white);
}

.nav-links a:not(.btn-primary):hover,
.navbar.scrolled .nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.navbar.scrolled .hamburger-line {
    background-color: var(--white);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-large {
    padding: 18px 40px;
}

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

/* Hero Section */
.hero {
    background-color: var(--text-dark);
    min-height: calc(100vh - 81px);
    /* Accounts for navbar to naturally center content */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-dark);
    opacity: 0.85;
    /* Transparency so images peek through */
    z-index: 2;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 950px;
    width: 100%;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero Animations & Highlighting */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.highlight-text {
    position: relative;
    color: var(--primary-color);
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 175, 193, 0.4);
    z-index: -1;
    transform-origin: left;
    transform: scaleX(0);
    animation: drawUnderline 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawUnderline {
    to {
        transform: scaleX(1);
    }
}

.highlight-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-color);
    opacity: 0.5;
    /* Keeps text readable */
    z-index: -1;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-section.in-view .highlight-underline.delay-1::after {
    transition-delay: 0.1s;
    transform: scaleX(1);
}

.banner-section.in-view .highlight-underline.delay-2::after {
    transition-delay: 0.6s;
    transform: scaleX(1);
}

.banner-section.in-view .highlight-underline.delay-3::after {
    transition-delay: 1.1s;
    transform: scaleX(1);
}

.hero h1 {
    width: 100%;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.hero p.hero-subtitle {
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.hero p.hero-note {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

/* Banner Section */
.banner-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.banner-section .subtitle {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.banner-text {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
}

.banner-sub {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 20px auto 40px auto;
    max-width: 900px;
    line-height: 1.6;
}

.banner-bullets {
    display: grid;
    /* Forcing 2 columns for the bullets as requested, and centering the grid */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px; /* Slightly narrower to keep the 2 columns close */
    margin: 0 auto;
    text-align: left; /* Keep bullets text left aligned inside the cells */
}

.banner-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.banner-bullet svg {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.banner-bullet span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Section Common */
.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.planes-section,
.faq-section {
    padding: 120px 0;
    background-color: var(--white);
}

.reviews-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Service Card */
.card {
    background-color: var(--bg-light);
    border: none;
    border-radius: 0;
    padding: 50px 40px;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background-color: var(--text-dark);
    box-shadow: 0 15px 40px rgba(3, 17, 33, 0.2);
    transform: translateY(-5px);
}

.card:hover h3,
.card:hover .price-layer span {
    color: var(--white);
}

.card:hover .features li {
    color: rgba(255, 255, 255, 0.7);
}

.price-layer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-layer span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.4s ease;
}

.money-icon {
    flex-shrink: 0;
}

.icon-wrapper {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: color 0.4s ease;
}

.features {
    list-style: none;
    margin-top: 15px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features li {
    margin-bottom: 16px;
    color: var(--text-light);
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
}

.features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    /* Dots round per theme aesthetics */
}

/* Review Card */
.review-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 0;
    position: relative;
}

.quote-icon {
    font-size: 5rem;
    font-family: serif;
    color: rgba(0, 175, 193, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.testimonial {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 0;
    object-fit: cover;
}

.author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.125rem;
}

.author-title {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Accordion */
.accordion {
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 30px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content p {
    padding-bottom: 30px;
    color: var(--text-light);
    font-size: 1.125rem;
}

.icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

/* Footer / Contact Section */
.footer-section {
    background-color: var(--text-dark);
    padding: 120px 0 0;
    color: var(--white);
}

.footer-section .subtitle {
    color: var(--primary-color);
}

.footer-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    padding-bottom: 80px;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 15px;
    font-size: 1.125rem;
}

.detail-label {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    width: 90px;
}

.contact-form {
    background-color: var(--white);
    padding: 50px;
    border-radius: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group.row {
    display: flex;
    gap: 20px;
}

.form-group.row input {
    flex: 1;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Jost', sans-serif;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

.footer-bottom {
    background-color: #020b16;
    /* Darker navy */
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #1ebe57;
    color: #FFF;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    /* banner-text scale removed to inherit 3rem default up to 768px */
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 9;
    }
    .nav-links.active { right: 0; }
    .navbar.scrolled .nav-links {
        background-color: var(--text-dark);
    }
    .nav-links a:not(.btn-primary) {
        display: block;
        margin-bottom: 24px;
        font-size: 1.25rem;
    }
    .nav-links .btn-primary {
        display: inline-block;
        margin-top: 10px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 15px;
    }

    .banner-section {
        padding: 60px 0;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .banner-bullets {
        grid-template-columns: 1fr;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .banner-text,
    .section-title,
    .footer-section h2 {
        font-size: 2rem;
    }

    .section-title,
    .footer-section h2 {
        margin-bottom: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .planes-section,
    .faq-section,
    .reviews-section {
        padding: 80px 0;
    }

    .footer-section {
        padding-top: 80px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .form-group.row {
        flex-direction: column;
        gap: 24px;
    }

    .card,
    .review-card,
    .contact-form {
        padding: 30px 20px;
    }

    .accordion-header {
        font-size: 1.1rem;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .banner-text,
    .section-title,
    .footer-section h2 {
        font-size: 1.75rem;
    }

    .hero p,
    .detail-item {
        font-size: 1rem;
    }

    .quote-icon {
        font-size: 4rem;
        top: 10px;
        right: 20px;
    }
}