@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --primary-dark: #003366;
    /* Deep Blue */
    --primary: #0056b3;
    /* Blue */
    --accent: #00bcd4;
    /* Turquoise */
    --celeste: #87ceeb;
    /* Celeste */
    --light-bg: #f8fbff;
    /* Very Light Blue Tint */
    --white: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #576574;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Spacing & Borders */
    --section-padding: 100px 20px;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    font-size: 80%; /* cross-browser replacement for zoom:80% */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 10px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover h2::after {
    width: 100px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: linear-gradient(to right, var(--primary-dark) 0%, var(--celeste) 100%);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid var(--accent);
    transition: var(--transition);
}

nav.scrolled {
    padding: 8px 0;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 0;
}

nav.scrolled .logo {
    filter: none;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    transition: var(--transition);
}

.logo img:not(.nav-logo) {
    filter: brightness(0) invert(1);
    /* Keep titulo white on the blue gradient */
    flex-shrink: 1;
    min-width: 0;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-title {
    opacity: 0;
    width: 0;
    height: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

nav.scrolled .nav-title {
    opacity: 1;
    width: auto;
    height: 60px;
    margin-left: 10px;
    pointer-events: auto;
}

@media (max-width: 1100px) {
    nav.scrolled .nav-title {
        height: 48px;
    }
}

@media (max-width: 950px) {
    nav.scrolled .nav-title {
        height: 40px;
    }
}

@media (max-width: 1100px) {
    .logo img {
        height: 48px;
    }
    .nav-links {
        gap: 15px;
    }
    .logo {
        gap: 10px;
    }
}

@media (max-width: 950px) {
    .logo img {
        height: 40px;
    }
    .nav-links {
        gap: 10px;
    }
    .logo {
        gap: 5px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
}

nav.scrolled .logo img:not(.nav-logo) {
    filter: brightness(0) invert(1);
    /* Maintain white on scroll */
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--white);
    font-size: 1rem;
}

nav.scrolled .nav-links a {
    color: var(--white);
    /* Keep white on scroll since background is now permanent gradient */
}

.nav-links a:hover,
.nav-links a.active {
    color: #000000 !important;
}

.mobile-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 96px; /* Space for fixed header */
    display: flex;
    align-items: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
    color: var(--text-main);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/instit.png') no-repeat bottom center;
    background-size: cover;
    opacity: 0.4;
    z-index: -1;
}

/* Background glow removed for cleaner gradient look */

.hero-content {
    max-width: 900px;
    /* Increased width to accommodate larger elements */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 188, 212, 0.3);
}

/* Institucional Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    text-align: justify;
}


.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Servicios Section */
#servicios {
    position: relative;
    z-index: 1;
}

#servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/serv.png') no-repeat center center;
    background-size: cover;
    opacity: 0.4;
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card ul {
    margin-top: 15px;
}

.service-card li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Contacto Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    position: relative;
    padding: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    color: #000000;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/back_contact.png') no-repeat center center;
    background-size: cover;
    opacity: 0.4;
    /* Semi-transparent */
    z-index: -1;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #000000;
}

.contact-info p,
.contact-info strong {
    color: #000000;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}


.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: #001a33;
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-phrase {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        /* Space for rounded corners */
        right: 15px;
        /* Margin from the edge */
        left: auto;
        width: 220px;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        flex-direction: column;
        gap: 0;
        display: none;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        /* Ensure children don't overflow rounded corners */
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    .mobile-toggle {
        display: block;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
    }

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

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

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

    .hero-logo img {
        max-width: 250px !important;
    }

    .logo img {
        height: 28px !important;
    }

    .logo {
        gap: 8px;
        max-width: 80%;
    }
}

.btn-autotest-special {
    background: rgba(0, 188, 212, 0.15) !important;
    border: 3px solid var(--accent) !important;
    color: var(--accent) !important;
    padding: 15px 45px !important;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeGlow 2s infinite ease-in-out;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.btn-autotest-special:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
    box-shadow: 0 0 30px var(--accent), 0 0 60px var(--accent);
    transform: translateY(-5px) scale(1.05);
    animation: none; /* Stop intermittent glow on hover for solid look */
}

@keyframes fadeGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 188, 212, 0.2);
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 188, 212, 0.8), 0 0 10px rgba(0, 188, 212, 0.4);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calendar Modal Specifics */
#modal-calendar .modal-content {
    max-width: 1000px;
    width: 95%;
    margin: 1.5% auto;
    padding: 30px;
}

#modal-calendar .calendar-container {
    height: 85vh;
    min-height: 600px;
}

#modal-calendar iframe {
    height: 100%;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

/* Test Wizard */
.test-step {
    display: none;
    text-align: center;
}

.test-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.test-step h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.test-step p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.option-btn {
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.option-btn:hover {
    border-color: var(--accent);
    background: rgba(0, 188, 212, 0.05);
    transform: translateX(5px);
}

.test-progress {
    margin-top: 40px;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    width: 0%;
    transition: width 0.4s ease;
}

/* Result Screen */
#test-result .result-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

#result-text {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: left;
    border-left: 5px solid var(--accent);
}

#result-text h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

#result-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Loader & Success Modal */
.loader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#modal-success h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

#modal-success .btn-primary {
    background: #4CAF50;
    border-color: #4CAF50;
}

#modal-success .btn-primary:hover {
    background: #45a049;
}

/* ── SCREEN READER ONLY ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── BTN OUTLINE ── */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    padding: 13px 33px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.2);
}

/* ── STATS / COUNTER SECTION ── */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #004a99 60%, var(--primary) 100%);
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    color: var(--white);
    padding: 35px 20px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    border-color: rgba(0, 188, 212, 0.5);
}

.stat-card-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 14px;
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 10px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ── TESTIMONIOS SECTION ── */
#testimonios {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border-top: 4px solid transparent;
    border-image: linear-gradient(to right, var(--primary), var(--accent)) 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.testimonial-quote {
    font-size: 3rem;
    line-height: 0.5;
    color: var(--accent);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.testimonial-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* ── FAQ SECTION ── */
#faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid rgba(0, 86, 179, 0.12);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.faq-item:hover {
    border-color: rgba(0, 188, 212, 0.35);
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.07);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 25px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 188, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
    transition: all 0.4s ease;
}

.faq-item.open .faq-question .faq-icon {
    background: var(--accent);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 25px;
}

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    cursor: pointer;
    animation: waBounce 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.55);
    animation: none;
    color: var(--white);
}

.whatsapp-tooltip {
    background: var(--white);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.whatsapp-fab:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

/* Notification dot */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 11px;
    height: 11px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid var(--white);
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}