* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

:root {
    --primary-white: #ffffff;
    --primary-black: #000000;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--primary-white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    padding-top: 80px;
    padding-bottom: 5rem;
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    background-color: var(--primary-white);
}

.section-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInUp 0.6s ease-out;
}

.faq-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.faq-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.no-questions-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    border: 2px dashed var(--gray-300);
    animation: fadeIn 0.5s ease-out;
}

.no-questions-message i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.no-questions-message p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.faq-container {
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--primary-white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--primary-black);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--primary-white);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-item.active .faq-question {
    background: var(--gray-50);
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-black);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.faq-contact {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    text-align: center;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.faq-contact p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.faq-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
}

.btn-primary:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--primary-white);
    border: 2px solid var(--whatsapp-green);
}

.btn-whatsapp:hover {
    background: var(--primary-white);
    color: var(--whatsapp-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-black);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gray-800);
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .main-content {
        padding-top: 60px;
        padding-bottom: 3rem;
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }

    .faq-contact {
        padding: 2rem 1.5rem;
    }

    .faq-contact p {
        font-size: 1.1rem;
    }

    .faq-contact-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 424px) {
    .faq-header h1 {
        font-size: 1.6rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question-text {
        font-size: 0.95rem;
    }

    .faq-answer-content {
        font-size: 0.9rem;
        padding: 0 1rem 1rem 1rem;
    }
}