/**
 * Canal de Etica - Mega Model
 * Design System: Minimalista, Clean, Profissional
 */

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

:root {
    --mm-black: #0d0d0d;
    --mm-dark: #1d1d1d;
    --mm-gray-900: #0d0d0d;
    --mm-gray-800: #1d1d1d;
    --mm-gray-700: #303133;
    --mm-gray-600: #606266;
    --mm-gray-500: #909399;
    --mm-gray-400: #c0c4cc;
    --mm-gray-300: #dcdfe6;
    --mm-gray-200: #ebeef5;
    --mm-gray-100: #f5f7fa;
    --mm-gray-50: #fafafa;
    --mm-white: #ffffff;
    --mm-blue: #409eff;
    --mm-blue-dark: #3a8ee6;
    --mm-blue-light: #66b1ff;
    --mm-blue-bg: #ecf5ff;
    --mm-green: #67c23a;
    --mm-green-bg: #f0f9eb;
    --mm-orange: #e6a23c;
    --mm-orange-bg: #fdf6ec;
    --mm-red: #f56c6c;
    --mm-red-bg: #fef0f0;
    --mm-radius: 8px;
    --mm-radius-lg: 12px;
    --mm-radius-xl: 16px;
    --mm-shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --mm-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --mm-shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --mm-transition: all 0.25s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--mm-white);
    color: var(--mm-gray-700);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    line-height: 1.6;
}

main { flex: 1; }

a { color: var(--mm-blue); text-decoration: none; transition: var(--mm-transition); }
a:hover { color: var(--mm-blue-dark); }

h1, h2, h3, h4, h5, h6 {
    color: var(--mm-gray-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: 2.25rem; font-weight: 900; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--mm-blue) 0%, var(--mm-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--mm-white) !important;
    border-bottom: 1px solid var(--mm-gray-200);
    padding: 0.75rem 0;
    transition: var(--mm-transition);
}
.navbar.scrolled {
    box-shadow: var(--mm-shadow);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1rem;
    color: var(--mm-gray-900) !important;
    text-decoration: none;
}
.navbar-brand img {
    height: 28px;
}
.navbar-brand:hover { opacity: 0.85; color: var(--mm-gray-900) !important; }

.navbar .nav-link {
    color: var(--mm-gray-600) !important;
    font-weight: 500;
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--mm-radius);
    transition: var(--mm-transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.navbar .nav-link:hover {
    color: var(--mm-gray-900) !important;
    background: var(--mm-gray-100);
}
.navbar .nav-link.active {
    color: var(--mm-gray-900) !important;
    font-weight: 700;
}

.navbar-toggler {
    border: 1px solid var(--mm-gray-300);
    padding: 0.4rem 0.6rem;
    border-radius: var(--mm-radius);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d0d0d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .dropdown-menu {
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: dropdownFade 0.2s ease;
}
.navbar .dropdown-item {
    border-radius: var(--mm-radius);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--mm-gray-600);
    transition: var(--mm-transition);
}
.navbar .dropdown-item:hover {
    background: var(--mm-blue-bg);
    color: var(--mm-blue);
}
.navbar .dropdown-item i {
    width: 1.25rem;
    margin-right: 0.5rem;
    color: var(--mm-gray-400);
}
.navbar .dropdown-item:hover i { color: var(--mm-blue); }

.navbar .badge.rounded-pill {
    font-size: 0.6rem;
    padding: 0.2em 0.45em;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--mm-black);
    border-radius: var(--mm-radius-xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    color: var(--mm-white);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(64,158,255,0.06) 100%);
    pointer-events: none;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    position: relative; z-index: 1;
    color: var(--mm-white);
}
.hero-subtitle {
    font-size: 1rem;
    opacity: 0.65;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 520px;
    position: relative; z-index: 1;
    font-weight: 400;
    color: var(--mm-white);
}
.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative; z-index: 1;
}
.hero-illustration {
    position: relative; z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-illustration img {
    max-height: 280px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* ===== BUTTONS ===== */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: var(--mm-radius);
    transition: var(--mm-transition);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    border: none;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-primary {
    background: var(--mm-black) !important;
    border-color: var(--mm-black) !important;
    color: var(--mm-white) !important;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--mm-dark) !important;
    border-color: var(--mm-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--mm-shadow);
}

.btn-outline-primary {
    border: 2px solid var(--mm-black) !important;
    color: var(--mm-black) !important;
    background: transparent !important;
}
.btn-outline-primary:hover {
    background: var(--mm-black) !important;
    color: var(--mm-white) !important;
    transform: translateY(-1px);
}

.btn-hero-primary {
    background: var(--mm-blue) !important;
    color: var(--mm-white) !important;
    border: none !important;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--mm-radius);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.btn-hero-primary:hover {
    background: var(--mm-blue-dark) !important;
    color: var(--mm-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64,158,255,0.3);
}

.btn-hero-outline {
    background: transparent !important;
    color: var(--mm-white) !important;
    border: 2px solid rgba(255,255,255,0.25) !important;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--mm-radius);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.45) !important;
    color: var(--mm-white) !important;
    transform: translateY(-2px);
}

.btn-sm {
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
}
.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
}

/* ===== CARDS ===== */
.card {
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    box-shadow: none;
    transition: var(--mm-transition);
    overflow: hidden;
    background: var(--mm-white);
}
.card:hover {
    box-shadow: var(--mm-shadow);
}
.card-title {
    color: var(--mm-gray-900);
    font-weight: 700;
    font-size: 1rem;
}
.card-header {
    background: var(--mm-gray-50);
    border-bottom: 1px solid var(--mm-gray-200);
    font-weight: 600;
    color: var(--mm-gray-800);
}

/* Category Card */
.category-card {
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: var(--mm-white);
    transition: var(--mm-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--mm-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mm-shadow-lg);
    border-color: var(--mm-gray-300);
}
.category-card:hover::before {
    transform: scaleX(1);
}
.category-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--mm-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    transition: var(--mm-transition);
}
.category-card:hover .category-icon {
    transform: scale(1.05);
}
.category-card .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--mm-gray-900);
}
.category-card .card-text {
    font-size: 0.82rem;
    color: var(--mm-gray-500);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===== STEPS SECTION ===== */
.steps-section {
    background: var(--mm-gray-50);
    border-radius: var(--mm-radius-xl);
    padding: 3rem 2.5rem;
    border: 1px solid var(--mm-gray-200);
}
.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--mm-gray-900);
}
.section-subtitle {
    text-align: center;
    color: var(--mm-gray-500);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}
.step-card {
    text-align: center;
    padding: 1.25rem 0.75rem;
    position: relative;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: var(--mm-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: var(--mm-white);
    transition: var(--mm-transition);
}
.step-card:hover .step-number {
    transform: scale(1.08);
}
.step-1 .step-number { background: var(--mm-black); }
.step-2 .step-number { background: var(--mm-gray-700); }
.step-3 .step-number { background: var(--mm-blue); }
.step-4 .step-number { background: var(--mm-blue-dark); }

.step-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--mm-gray-800);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.step-card p {
    font-size: 0.82rem;
    color: var(--mm-gray-500);
    line-height: 1.6;
}
.step-connector { display: none; }
@media (min-width: 768px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 30px; right: -50%;
        width: 100%; height: 2px;
        background: var(--mm-gray-300);
        z-index: 0;
    }
}

/* ===== SECTION BADGES ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--mm-radius);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}
.section-badge-primary {
    background: var(--mm-black);
    color: var(--mm-white);
}
.section-badge-emerald {
    background: var(--mm-blue-bg);
    color: var(--mm-blue);
}

/* ===== TRUST BADGES ===== */
.trust-section { padding: 1.5rem 0; }
.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    transition: var(--mm-transition);
}
.trust-badge:hover {
    box-shadow: var(--mm-shadow);
    border-color: var(--mm-gray-300);
}
.trust-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--mm-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.trust-badge h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--mm-gray-800);
}
.trust-badge p {
    font-size: 0.78rem;
    color: var(--mm-gray-500);
    margin: 0;
    line-height: 1.4;
}

/* ===== STATS ===== */
.stats-card {
    border-radius: var(--mm-radius-lg);
    border: 1px solid var(--mm-gray-200);
    overflow: hidden;
}
.stats-card .card-header {
    background: var(--mm-gray-50);
    border-bottom: 1px solid var(--mm-gray-200);
    padding: 0.85rem 1.15rem;
}
.stats-card .card-header h3 {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    color: var(--mm-gray-800);
}
.stats-card .card-footer {
    background: var(--mm-white);
    border-top: 1px solid var(--mm-gray-200);
    padding: 0.85rem 1.15rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--mm-black);
    color: var(--mm-gray-400);
    margin-top: auto;
}
.footer-main {
    padding: 2rem 0 1.25rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
}
.footer-brand-name {
    color: var(--mm-white);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-tagline {
    font-size: 0.78rem;
    color: var(--mm-gray-500);
    margin: 0;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 1.25rem;
}
.footer-nav a {
    color: var(--mm-gray-400);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.2rem 0;
    transition: var(--mm-transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer-nav a:hover { color: var(--mm-white); text-decoration: none; }
.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.footer-contact-mini a {
    color: var(--mm-gray-500);
    font-size: 0.78rem;
    transition: var(--mm-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-contact-mini a:hover { color: var(--mm-gray-300); text-decoration: none; }
.footer-contact-mini i { font-size: 0.68rem; color: var(--mm-blue); opacity: 0.7; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 0;
}
.footer-bottom p { font-size: 0.72rem; color: var(--mm-gray-600); margin: 0; }
.footer-bottom a { color: var(--mm-gray-500); font-weight: 500; }
.footer-bottom a:hover { color: var(--mm-blue); text-decoration: none; }

/* ===== FORMS ===== */
.form-control, .form-select {
    border: 1px solid var(--mm-gray-300);
    border-radius: var(--mm-radius);
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    color: var(--mm-gray-700);
    transition: var(--mm-transition);
    background: var(--mm-white);
    font-family: 'Inter', sans-serif;
}
.form-control:focus, .form-select:focus {
    border-color: var(--mm-blue);
    box-shadow: 0 0 0 3px rgba(64,158,255,0.12);
    outline: none;
}
.form-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--mm-gray-700);
    margin-bottom: 0.4rem;
}
.form-text { font-size: 0.78rem; color: var(--mm-gray-500); }
.invalid-feedback { font-weight: 500; font-size: 0.78rem; }
.form-check-input:checked {
    background-color: var(--mm-blue);
    border-color: var(--mm-blue);
}

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: var(--mm-radius);
    font-size: 0.88rem;
    padding: 0.85rem 1.15rem;
}
.alert-info { background: var(--mm-blue-bg); color: var(--mm-blue-dark); border-left: 3px solid var(--mm-blue); }
.alert-success { background: var(--mm-green-bg); color: #529b2e; border-left: 3px solid var(--mm-green); }
.alert-warning { background: var(--mm-orange-bg); color: #b88230; border-left: 3px solid var(--mm-orange); }
.alert-danger { background: var(--mm-red-bg); color: #c45656; border-left: 3px solid var(--mm-red); }

/* ===== BADGES ===== */
.badge {
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
    border-radius: var(--mm-radius);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: var(--mm-gray-50);
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius);
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
}
.breadcrumb-item a { color: var(--mm-blue); }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 28px; }
.timeline:before {
    content: '';
    position: absolute;
    top: 0; left: 14px;
    height: 100%; width: 2px;
    background: linear-gradient(to bottom, var(--mm-gray-900), var(--mm-gray-300));
}
.timeline-item { position: relative; margin-bottom: 1.25rem; }
.timeline-marker {
    position: absolute;
    top: 0; left: -28px;
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 3px solid var(--mm-white);
    box-shadow: 0 0 0 2px var(--mm-gray-300);
    background: var(--mm-gray-900);
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-content { padding-bottom: 0.5rem; }
.timeline-item:last-child { margin-bottom: 0; }

/* ===== TABLES ===== */
.table { font-size: 0.85rem; }
.table th {
    font-weight: 700;
    color: var(--mm-gray-600);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* ===== ATTACHMENTS ===== */
.attachment-preview { width: 100%; height: 150px; object-fit: cover; border-radius: var(--mm-radius); }
.attachment-icon { font-size: 2rem; color: var(--mm-gray-400); }

/* ===== HONEYPOT ===== */
.ohnohoney { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; overflow: hidden; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dropdownFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.animate-fadeIn { animation: fadeIn 0.5s ease-out; }
.animate-slideUp { animation: slideUp 0.5s ease-out; }

[data-animate] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ===== ICON BOX ===== */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    border-radius: var(--mm-radius-lg);
    background: var(--mm-blue-bg);
}

/* ===== SOCIAL ICONS ===== */
.social-icons { display: flex; gap: 0.6rem; }
.social-icons a {
    width: 34px; height: 34px;
    border-radius: var(--mm-radius);
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: var(--mm-gray-500);
    transition: var(--mm-transition);
}
.social-icons a:hover { background: rgba(255,255,255,0.12); color: var(--mm-white); }

/* ===== OVERRIDES - Bootstrap compat ===== */
.bg-primary { background-color: var(--mm-black) !important; }
.bg-success { background-color: var(--mm-green) !important; }
.bg-danger { background-color: var(--mm-red) !important; }
.bg-warning { background-color: var(--mm-orange) !important; color: #fff !important; }
.bg-info { background-color: var(--mm-blue) !important; color: #fff !important; }
.bg-secondary { background-color: var(--mm-gray-500) !important; }
.text-primary { color: var(--mm-blue) !important; }

html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--mm-blue); outline-offset: 2px; }
::selection { background: var(--mm-blue); color: var(--mm-white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        background: var(--mm-gray-50);
        border: 1px solid var(--mm-gray-200);
        border-radius: var(--mm-radius-lg);
        padding: 0.85rem;
        margin-top: 0.6rem;
    }
    .navbar .nav-link { padding: 0.6rem 0.85rem !important; }
    .hero-illustration { display: none; }
}
@media (max-width: 768px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .hero-section { padding: 2rem 1.25rem; border-radius: var(--mm-radius-lg); }
    .hero-title { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .steps-section { padding: 1.75rem 1.25rem; }
    .category-card { padding: 1.25rem 1rem; }
    .category-icon { width: 52px; height: 52px; font-size: 1.25rem; }
    .card-body { padding: 1rem; }
    .card-body.p-4 { padding: 1.15rem !important; }
    .card-body.p-5 { padding: 1.25rem !important; }
    .trust-badge { padding: 0.85rem; }
    .site-footer { text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-contact-mini { align-items: center; }
    .social-icons { justify-content: center; }
    .navbar-brand { font-size: 0.82rem; max-width: 70%; }
    .navbar-brand img { height: 22px !important; }
    .form-group.row .col-form-label { text-align: left; margin-bottom: 0.2rem; }
}
@media (max-width: 480px) {
    .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .card-body { padding: 0.75rem; }
    .btn-lg { font-size: 0.88rem; padding: 0.7rem 1.15rem; }
    .step-number { width: 48px; height: 48px; font-size: 1rem; }
    .badge { font-size: 0.65rem; }
}

/* Mobile tables */
@media (max-width: 575.98px) {
    .table-mobile-cards thead { display: none; }
    .table-mobile-cards tbody tr {
        display: block; margin-bottom: 0.85rem;
        border: 1px solid var(--mm-gray-200);
        border-radius: var(--mm-radius-lg);
        padding: 0.65rem; background: var(--mm-white);
        box-shadow: var(--mm-shadow-sm);
    }
    .table-mobile-cards tbody td {
        display: flex; justify-content: space-between; align-items: center;
        padding: 0.4rem 0; border: none;
        border-bottom: 1px solid var(--mm-gray-200);
    }
    .table-mobile-cards tbody td:last-child { border-bottom: none; }
    .table-mobile-cards tbody td::before {
        content: attr(data-label);
        font-weight: 600; color: var(--mm-gray-500);
        margin-right: 0.85rem; flex-shrink: 0;
    }
}

/* Print */
@media print {
    .navbar, .site-footer, .btn, .breadcrumb, .form-check { display: none !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
    body { background: #fff; }
}
