:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #10b981;
    --bg-light: #f8fafc;
    --card-light: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --accent-orange: #f59e0b;
    --radius: 16px;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header & Hero (Luminoso, Confiable y Atractivo) */
.hero-header {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    padding: 45px 0 35px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 25px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

/* Tabs Navigation (Pestañas Compactas y Symmetrical) */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 25px 0 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--card-light);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.3s;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Section Cards */
.section-panel {
    display: none;
    animation: fadeIn 0.35s ease;
}

.section-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.info-card {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.info-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    margin-top: 12px;
}

.info-card ul li {
    font-size: 12.5px;
    color: var(--text-dark);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card ul li i {
    color: var(--secondary);
}

/* Author Profile Card */
.author-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 35px;
    box-shadow: var(--shadow);
}

.author-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
}

.author-info .title {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Comments Section */
.comments-container {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.comments-header h2 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
}

.comment-form {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-dark);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

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

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-item {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 6px;
}

.comment-name {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-dark);
}

.comment-business {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
}

.comment-date {
    font-size: 11px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 12.5px;
    color: var(--text-dark);
    margin-top: 4px;
    line-height: 1.5;
    word-break: break-word;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 12px;
}

/* Responsividad Móvil Optimizado (< 768px): Íconos compactos y Limpieza de Pestañas */
@media (max-width: 768px) {
    .container { padding: 0 12px; }
    .hero-header { padding: 30px 0 22px; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 12.5px; margin-bottom: 18px; }
    .form-grid { grid-template-columns: 1fr; gap: 10px; }
    .author-card { flex-direction: column; text-align: center; padding: 18px; }
    .author-photo { width: 75px; height: 75px; }
    .info-card { padding: 16px; }
    .info-card h3 { font-size: 15px; }
    .info-card p, .info-card ul li { font-size: 12px; }

    /* Pestañas compactas e higiénicas para móvil */
    .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .nav-tabs::-webkit-scrollbar { display: none; }

    .tab-btn {
        flex-shrink: 0;
        font-size: 11px;
        padding: 8px 14px;
        border-radius: 20px;
    }
    .tab-btn i {
        font-size: 15px;
    }

    .comments-container { padding: 16px; }
    .comment-item { padding: 12px; }
    .comment-avatar { width: 36px; height: 36px; }
    .comment-name { font-size: 12.5px; }
    .comment-text { font-size: 12px; }
}
