/* =================================================================== */
/* ESTILOS GLOBALES Y BASE (MOBILE-FIRST)                              */
/* =================================================================== */

:root {
    --primary-purple: #7c3aed;
    --primary-purple-dark: #6d28d9;
    --text-dark: #333;
    --text-light: #555;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

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

.button-primary {
    display: inline-block;
    background-color: var(--primary-purple);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    border: none;
    cursor: pointer;
    text-align: center;
}

.button-primary:hover {
    background-color: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}


/* =================================================================== */
/* HEADER Y NAVEGACIÓN (MOBILE-FIRST)                                  */
/* =================================================================== */

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    position: relative;
}

.logo-img {
    height: 5rem;
}

.button-primary.desktop-only {
    display: block;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 2rem;
    height: 0.25rem;
    background: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    transform-origin: 1px;
}

.hamburger-menu.is-active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger-menu.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger-menu.is-active span:nth-child(3) {
    transform: rotate(-45deg);
}

.main-nav {
    display: block;
    position: absolute;
    top: 80px;
    right: 20px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    width: 250px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.main-nav.is-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.main-nav ul {
    list-style: none;
    padding: 15px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-nav ul a {
    color: var(--primary-purple);
    text-decoration: underline;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 15px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}


/* =================================================================== */
/* SECCIÓN HÉROE (MOBILE-FIRST)                                        */
/* =================================================================== */

.hero-section {
    position: relative;
    height: auto;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, rgba(25, 12, 50, 0.6), rgba(0, 0, 0, 0));
    z-index: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 25%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-align: center;
}

.card-logo {
    height: 8rem;
    margin-bottom: 15px;
}

.glass-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.glass-card .button-secondary {
    background: rgba(124, 58, 237, 0.4);
    border-radius: 50px;
    padding: 12px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.glass-card .button-secondary:hover {
    background: rgba(255, 255, 255, 0.6);
}


/* =================================================================== */
/* PRODUCTS SECTION (MOBILE-FIRST)                                     */
/* =================================================================== */

.products-section {
    padding: 60px 20px;
    background-image: url('../assets/img/Background-blue.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #e0f2fe;
    text-align: center;
}

.products-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.product-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    height: 80px;
    width: 100%;
    margin-bottom: 20px;
}

.modern-icon {
    filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.2));
    height: 100%;
    width: 100%;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.product-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}

.product-card li {
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-card li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

.product-card .button-secondary {
    background-color: #eef2ff;
    color: var(--primary-purple);
    text-decoration: none;
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.product-card .button-secondary:hover {
    background-color: #e0e7ff;
}


/* =================================================================== */
/* SERVICE SECTION (MOBILE-FIRST)                                      */
/* =================================================================== */

.service-section {
    padding: 60px 20px;
    background-image: url('../assets/img/Background-gray.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.service-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.service-text {
    text-align: center;
}

.service-text p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-video {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.service-video video {
    width: 100%;
    border-radius: 20px;
    display: block;
}


/* =================================================================== */
/* PARTNERS LOGO CAROUSEL SECTION                                      */
/* =================================================================== */

.partners-section {
    padding: 40px 0;
    background-color: #e2e8f0;
    overflow: hidden;
    position: relative;
}

.partners-section::before,
.partners-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-section::before {
    left: 0;
    background: linear-gradient(to left, rgba(226, 232, 240, 0), #e2e8f0);
}

.partners-section::after {
    right: 0;
    background: linear-gradient(to right, rgba(226, 232, 240, 0), #e2e8f0);
}

.logos-container {
    width: 100%;
    display: flex;
    align-items: center;
}

.logos-slide {
    display: flex;
    align-items: center;
    animation: 35s slide infinite linear;
}

.logos-slide img {
    width: 8rem;
    height: auto;
    margin: 0 40px;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* =================================================================== */
/* COVERAGE SECTION (MOBILE-FIRST)                                     */
/* =================================================================== */

.coverage-section {
    padding: 60px 20px;
    background-image: url('../assets/img/Background-gray.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f8fafc;
}

.coverage-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.coverage-text {
    text-align: center;
}

.coverage-text p {
    color: var(--text-light);
    line-height: 1.7;
}

.quote-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-card {
    background-color: #eef2ff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    border: 2px solid transparent;
}

.quote-card.best-choice {
    border-color: #f59e0b;
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #f59e0b;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}

.quote-card-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quote-card-main img {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    object-fit: contain;
    background-color: white;
    padding: 5px;
}

.quote-details {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.quote-details span {
    font-weight: 600;
    margin-right: 5px;
}

.payment-plan {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
}

.plan-details strong {
    font-size: 1rem;
}

.plan-details p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 5px 0 15px;
}

.price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-dark);
}

.payment-plan .button-primary {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 1rem;
}


/* =================================================================== */
/* TESTIMONIAL SECTION (MOBILE-FIRST)                                  */
/* =================================================================== */

.testimonial-section {
    padding: 60px 20px;
    background-image: url('../assets/img/Background-white.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f8fafc;
    text-align: center;
    position: relative;
}

.testimonial-main blockquote {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    border: none;
    padding: 0;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profiles-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.profiles-container::-webkit-scrollbar {
    display: none;
}

.profile-card {
    flex: 0 0 200px;
}

.profile-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile-card .stars {
    color: #f59e0b;
    margin-bottom: 10px;
}

.profile-card h3 {
    margin: 0 0 5px 0;
    color: var(--text-dark);
}

.profile-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.arrow-button {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 10px;
}

.arrow-button:hover {
    background-color: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}


/* =================================================================== */
/* FAQ SECTION (MOBILE-FIRST)                                          */
/* =================================================================== */

.faq-section {
    padding: 60px 20px;
    background-image: url('../assets/img/Background-white-hex.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.faq-image {
    width: 100%;
    max-width: 300px;
}

.faq-image img {
    width: 100%;
    height: auto;
}

.faq-content {
    width: 100%;
}

.faq-intro {
    text-align: center;
    margin-bottom: 40px;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.accordion-question::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.accordion-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-light);
    line-height: 1.6;
}

.accordion-answer p {
    padding: 0 0 20px 0;
}

.answer-intro {
    font-weight: 600;
    color: #059669;
    margin-bottom: 10px;
}

.coverage-list {
    list-style: none;
    padding-left: 0;
    margin-left: 5px;
}

.coverage-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.coverage-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-size: 0.8rem;
    top: 5px;
}


/* =================================================================== */
/* FOOTER SECTION (MOBILE-FIRST)                                       */
/* =================================================================== */

.site-footer {
    background-color: #f8fafc;
    padding: 60px 20px 20px;
    border-top: 1px solid #e2e8f0;
}

.footer-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul a:hover {
    color: var(--primary-purple);
}

.footer-logo-column .footer-logo img {
    height: 4rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}


/* =================================================================== */
/* SEPARADOR DE SECCIONES                                              */
/* =================================================================== */

.separator-section {
    padding: 40px 20px;
    background-color: #f1f5f9;
}

.separator-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.separator-content img {
    height: 100px;
    opacity: 0.8;
}


/* =================================================================== */
/* BLOG & BLOG PREVIEW STYLES (MOBILE-FIRST)                           */
/* =================================================================== */

.blog-header {
    text-align: center;
    padding: 60px 20px;
    background-color: #f1f5f9;
}

.blog-header h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid,
.blog-preview-section {
    padding: 60px 0;
}

.blog-preview-section {
    background-color: white;
}

.blog-preview-section .blog-grid {
    padding: 0;
}

.blog-grid .container,
.blog-preview-section .container .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.post-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-card .post-image-link img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.post-category {
    font-weight: 600;
    color: var(--primary-purple);
}

.post-content h2 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.post-content h2 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.post-content h2 a:hover {
    color: var(--primary-purple);
}

.post-content p {
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    padding: 0 20px;
}

.page-numbers {
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.page-numbers.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-header .section-title {
    margin-bottom: 20px;
}


/* =================================================================== */
/* SINGLE POST PAGE STYLES                                             */
/* =================================================================== */

.post-full {
    padding: 60px 0;
}

.post-full .container {
    max-width: 800px;
}

.back-to-blog-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.back-to-blog-link:hover {
    transform: translateX(-5px);
}

.post-full-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-full-category {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin: 0;
}

.post-full-title {
    font-size: 3rem;
    margin: 10px 0;
    line-height: 1.2;
}

.post-full-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-full-image {
    margin: 0 0 40px 0;
}

.post-full-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.post-full-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-full-content h2,
.post-full-content h3 {
    margin-top: 2.5em;
    margin-bottom: 1em;
}

.post-full-content blockquote {
    border-left: 4px solid var(--primary-purple);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-light);
}

.post-full-content ul {
    padding-left: 25px;
}


/* =================================================================== */
/* CONTACT PAGE STYLES                                                 */
/* =================================================================== */

.contact-page-main {
    padding: 60px 20px;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    width: 100%;
    max-width: 700px;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
}

.contact-header p {
    font-size: 1rem;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

textarea {
    resize: vertical;
}

.submit-button {
    background-color: #7c3aed;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #6d28d9;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
    .contact-container {
        padding: 25px;
    }
    .contact-header h1 {
        font-size: 2rem;
    }
}


/* =================================================================== */
/* BOTÓN DE ACCIÓN FLOTANTE (FAB)                                      */
/* =================================================================== */

.floating-action-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: none; 
    flex-direction: column-reverse;
    align-items: flex-end; 
}

.fab-main {
    background-color: var(--primary-purple);
    height: 60px;
    border-radius: 50px; 
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px; 
    gap: 10px; 
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.fab-main:hover {
    transform: scale(1.05);
}

.fab-main img {
    width: 60px; 
    height: 60px;
}

.fab-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: all 0.3s ease;
}


.floating-action-button.active .fab-options {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.fab-option {
    text-decoration: none;
    background-color: white;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s eas
}

.fab-option:hover {
    background-color: #f0f2f5;
}

@media (min-width: 768px) {
    .floating-action-button {
        display: flex; 
    }
}


/* =================================================================== */
/* ESTILOS PARA PÁGINAS DE TEXTO (Términos, Privacidad, etc.)          */
/* =================================================================== */

.legal-page {
    padding: 60px 20px;
    background-color: #f0f2f5;
}

.text-container {
    max-width: 800px;
    background-color: white;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
}

.text-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.text-container h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.text-container p,
.text-container li {
    line-height: 1.8;
    color: #444;
}

.text-container ul {
    padding-left: 20px;
}

/* =================================================================== */
/* BANNER DE SEGURO DE INQUILINOS                                      */
/* =================================================================== */

.renters-banner {
    background-image: url('../assets/img/Banner-insurance-renters.png');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 70vh;
}

.banner-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #333; 
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);

}

.glass-card-renters {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);

}

.glass-card-renters .card-logo {
    height: 30%;
    margin-bottom: 20px;
}

.glass-card-renters p {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 30px;
}


@media (max-width: 768px) {
    .banner-title {
        font-size: 2rem;
    }
    .glass-card-renters {
        padding: 30px;
    }
}

/* =================================================================== */
/* SECCIÓN DE CARACTERÍSTICAS                                          */
/* =================================================================== */

.features-section {
    background-image: url('../assets/img/Background-blue.png');
    background-color: #e0f2fe; 
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
}

.features-section .section-title {
    text-align: center;
    color: #1e3a8a; 
}

.feature-row {
    margin-bottom: 60px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 15px;
}

.benefit-chip {
    background-color: #dbeafe; 
    color: #1e3a8a; 
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
}

.benefit-chip img {
    height: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
}

.feature-card {
    background-color: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.feature-card img {
    height: 32px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}


/* =================================================================== */
/* AJUSTES RESPONSIVOS PARA LA SECCIÓN DE CARACTERÍSTICAS              */
/* =================================================================== */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =================================================================== */
/* BANNER DE SEGURO DE HOMEOWNERS                                      */
/* =================================================================== */

.homeowners-banner {
    background-image: url('../assets/img/Banner-insurance-home.png');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 70vh;
}

.banner-title-home {
    font-size: 2.8rem;
    font-weight: 600;
    color: white; 
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);

}

/* =================================================================== */
/* PÁGINA ALEXSIGN - BANNER                                            */
/* =================================================================== */

.alexsign-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 40px 20px;
    box-sizing: border-box;    
    background-image: url('../assets/img/Background-alex-sign.jpg');
    background-size: cover;
    background-position: center;
}

.alexsign-content {
    max-width: 650px;
}

.alexsign-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.glass-card-sign {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);  
    text-align: center; 
    margin: 0 auto;     
    max-width: 550px;   
}

.glass-card-sign .logo {
    height: 100px;
    margin-bottom: 25px;
}

.glass-card-sign p {
    font-size: 1.1rem;
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 30px;
    
}

.glass-card-sign .button-primary {
    width: auto;
    padding: 15px 40px;
}

/* =================================================================== */
/* PÁGINA ALEXSIGN - SECCIÓN DE FUNCIONALIDADES Y PRECIOS              */
/* =================================================================== */

.details-pricing-section {
    padding: 60px 20px;
    background-color: #f8fafc;
    background-image: url(../assets/img/Background-white.png);
}

.functionalities-wrapper {
    margin-bottom: 80px;
}

.functionalities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.func-chip {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.func-icon {
    height: 28px;
    margin-bottom: 10px;
}

.func-chip h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.func-chip p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.pricing-card .price {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.pricing-card .price span {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1; 
}

.pricing-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.pricing-card li::before {
    content: '✓';
    color: var(--primary-purple);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.button-outline {
    display: block;
    background-color: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button-outline:hover {
    background-color: var(--primary-purple);
    color: white;
}

.pricing-card.highlighted {
    background-color: #f5f3ff; /* Lila muy claro */
    border-color: var(--primary-purple);
    transform: scale(1.05); 
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-purple);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* =================================================================== */
/* VISTA PREVIA DE PRODUCTO (ALEXSIGN)                                 */
/* =================================================================== */

.product-preview-section {
    padding: 60px 20px;
    background-color: white;
}

.preview-content {
    display: flex;
    flex-direction: column; 
    gap: 40px;
    align-items: center;
}

.preview-text {
    text-align: center;
}

.preview-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.preview-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =================================================================== */
/* TOP BAR (HEADER SUPERIOR)                                           */
/* =================================================================== */

.top-bar {
    background-color: rgba(124, 58, 237); 
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: center; 
    align-items: center;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-details a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-details a:hover {
    opacity: 0.8;
}

.desktop-only-item {
    display: none;
}

.top-bar-social a {
    color: white;
    margin-left: 15px;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.top-bar-social a:hover {
    opacity: 0.8;
}

/* =================================================================== */
/* =================================================================== */
/* MEDIA QUERY PARA TABLET Y ESCRITORIO (> 992px)                      */
/* =================================================================== */
/* =================================================================== */

@media (min-width: 992px) {

    .section-title {
        font-size: 2.5rem;
    }

    .main-header {
        padding: 10px 30px;
        border-radius: 15px;
        margin: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .hamburger-menu {
        display: none;
    }

    .button-primary.desktop-only {
        display: block;
        background-color: var(--primary-purple);
        color: white;
        text-decoration: none;
        padding: 15px 30px;
        border-radius: 50px;
        font-weight: 600;
        transition: background-color 0.3s ease;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    }

    .button-primary.desktop-only:hover {
        background-color: var(--primary-purple-dark);
    }

    .main-nav {
        display: block;
        position: static;
        width: auto;
        background-color: transparent;
        box-shadow: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: row;
        background-color: #ffffff;
        border-radius: 50px;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .main-nav ul a {
        text-decoration: none;
        color: var(--text-light);
        font-size: 1rem;
        font-weight: 500;
        padding: 10px 20px;
        border-radius: 30px;
        transition: all 0.3s ease;
    }

    .main-nav ul a:hover {
        background-color: #f3f3f3;
        color: var(--text-dark);
    }

    .main-nav ul a.active {
        border: 2px dotted #c4b5fd;
        color: #333;
    }

    .hero-section {
        height: 80vh;
        padding: 0 40px;
    }

    .hero-content {
        flex-direction: row;
        justify-content: space-around;
        text-align: left;
        max-width: 1200px;
    }

    .hero-left h1 {
        font-size: 3.5rem;
    }

    .products-section {
        padding: 80px 40px;
    }

    .products-container {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }

    .service-section {
        padding: 100px 40px;
    }

    .service-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        max-width: 1100px;
        margin: 0 auto;
        gap: 60px;
    }

    .service-text {
        text-align: left;
        flex-basis: 50%;
    }

    .service-video {
        flex-basis: 50%;
    }

    .coverage-section {
        padding: 100px 40px;
    }

    .coverage-container {
        display: flex;
        align-items: center; 
        max-width: 60%;
        margin: 0 auto;
        flex-direction: row;           
    }

    .coverage-text {
        flex-basis: 480px; 
        flex-shrink: 0; 
        text-align: left;
    }

    .quote-card{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .quote-cards-container {
        flex-grow: 1;
        margin-left: auto;
    }

    .quote-card-main{
        flex-direction: row;
    }

    .quote-details{
        flex-grow: 1; 

    }

    .payment-plan {
        flex-shrink: 0; 
        width: 260px;  
    }

    .testimonial-section {
        padding: 100px 40px;
    }

    .profiles-container {
        max-width: 900px;
    }

    .faq-container {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .faq-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .faq-content {
        flex: 1;
    }

    .faq-intro {
        text-align: left;
    }
    
    .footer-main-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-social-column {
        align-self: flex-start;
    }
    
    .social-icons {
        justify-content: flex-start;
    }

    .blog-preview-section .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-preview-section .post-card .post-image-link {
        height: 200px; 
    }

    .blog-preview-section .post-card .post-image-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .blog-grid .container {
        grid-template-columns: 1fr;
    }

    .blog-grid .post-card {
        flex-direction: row;
        align-items: stretch;
    }

    .blog-grid .post-card .post-image-link {
        flex-basis: 40%;
        flex-shrink: 0;
    }

    .blog-grid .post-card .post-image-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blog-grid .post-card .post-content {
        flex-basis: 60%;
    }
    
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .section-header .section-title {
        margin-bottom: 0;
    }

    .post-full-title {
        font-size: 2.2rem;
    }

    .alexsign-title {
        font-size: 3.5rem;
    }

    .functionalities-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .preview-content {
        flex-direction: row; 
        gap: 60px;
    }

    .preview-text,
    .preview-image {
        flex: 1; 
    }

    .preview-text {
        text-align: left;
    }

    .top-bar .container {
        justify-content: space-between; 
    }

    .desktop-only-item {
        display: flex; 
    }
}