@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

:root {
    --primary: #83E4D1;
    --primary-dark: #5ac2af;
    --accent: #ff9f1c;
    --accent-hover: #e38a15;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-main: #f4f6f9;
    --card-bg: #ffffff;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Nunito', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    letter-spacing: .5px;
}

main {
    flex: 1;
}

/* Shared base styles are defined globally */

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-section {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 8px solid var(--accent);
    margin-bottom: 40px;
}

.hero-title {
    font-size: 38px;
    color: #111;
    margin: 0 0 15px 0;
}

.hero-title:hover {
    cursor: pointer;
    color: orange;
    font-weight: bold;
    font-family: url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}


.support-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.section-header h2 {
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 5px;
}

.section-header p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 16px;
}


.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--primary);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: #f8fafc;
}


.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 900;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 20px 20px 20px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    margin-top: 5px;
    padding-top: 15px;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.support-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-dark);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(131, 228, 209, 0.3);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-block {
    width: 100%;
    display: block;
    font-size: 18px;
    padding: 15px;
}

.direct-contact-section h2 {
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.contact-info-card {
    background-color: #2d3436;
    color: white;
    padding: 25px;
    border-radius: 15px;
    font-size: 15px;
}

.contact-info-card p {
    margin-bottom: 5px;
}

.mt-15 {
    margin-top: 15px;
}

/* Centralized scroll animations used */

/* =============================================
   MODO OSCURO
   ============================================= */
body.dark-mode .faq-item summary:hover {
    background-color: #2a2a40 !important;
    color: #ffffff !important;
}

/* =============================================
   DISEÑO RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .support-layout {
        grid-template-columns: 1fr;
    }
}

/* Duplicate header styles removed */