/* assets/about.css — Modern Corporate Medical */

:root {
    --navy: #0e2b54;
    --navy-light: #184378;
    --ink: #0b1220;
    --muted: #4f5f78;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --max: 1040px;
}

/* Reset de bază pentru consistență */
.tm-doc-container {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 100px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
}

/* ===== HEADER BAND (Full Width Hack) ===== */
.tm-doc-header {
    position: relative;
    /* Truc pentru a face headerul full-width deși e într-un container */
    margin: 0 calc((100vw - min(var(--max), calc(100% - 48px))) / -2);
    padding: 100px calc((100vw - min(var(--max), calc(100% - 48px))) / 2) 70px;

    background: var(--navy);
    background: linear-gradient(135deg, var(--navy) 0%, #051935 100%);
    color: #fff;
    overflow: hidden;
    margin-bottom: 60px;
}

/* Elemente decorative subtile în fundal */
.tm-doc-header::before {
    content: "";
    position: absolute;
    top: -50%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tm-doc-title {
    position: relative;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
}

/* ===== TEXT & SECȚIUNI ===== */
.tm-doc-section {
    margin-bottom: 60px;
}

/* Textul principal */
.tm-doc-section p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted); /* Gri închis pentru lizibilitate */
    max-width: 75ch; /* Lungime optimă pentru citit */
}

/* Paragraful de introducere (Lead) */
.tm-doc-lead {
    font-size: 21px !important;
    line-height: 1.6 !important;
    color: var(--navy) !important;
    font-weight: 500;
}

/* Subtitluri */
.tm-doc-subtitle {
    margin: 0 0 24px;
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Linie decorativă lângă subtitlu */
.tm-doc-subtitle::after {
    content: "";
    display: block;
    height: 2px;
    flex: 1;
    max-width: 100px;
    background: var(--line);
}

/* ===== HIGHLIGHT (Citat) ===== */
.tm-doc-highlight {
    margin: 60px 0;
    padding: 40px;
    background: var(--soft);
    border-left: 4px solid var(--navy);
    border-radius: 0 12px 12px 0;
}

.tm-doc-highlight p {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 600;
    font-style: italic;
    color: var(--navy);
    max-width: 90%;
}

/* ===== GRID OPERAȚIONAL ===== */
.tm-doc-grid {
    margin-top: 40px;
    display: grid;
    /* Responsive: coloane automate, minim 280px lățime */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.tm-doc-item {
    /* Fără borduri laterale, doar o linie fină sus */
    padding-top: 24px;
    border-top: 2px solid var(--line);
    transition: border-color 0.3s ease;
}

.tm-doc-item:hover {
    border-top-color: var(--navy); /* Efect vizual la hover */
}

.tm-doc-item h3 {
    margin: 0 0 16px;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 800;
}

.tm-doc-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

/* ===== DIVIDER ===== */
.tm-doc-divider {
    border: 0;
    height: 1px;
    background: var(--line);
    margin: 80px 0;
}

/* ===== RESPONSIVE (Mobil) ===== */
@media (max-width: 768px) {
    .tm-doc-container {
        padding-bottom: 60px;
    }

    .tm-doc-header {
        padding-top: 60px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .tm-doc-highlight {
        padding: 24px;
    }

    .tm-doc-highlight p {
        font-size: 18px;
    }

    .tm-doc-subtitle {
        font-size: 26px;
    }
}