body {
    box-sizing: inherit;
    -webkit-tap-highlight-color: transparent;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    height: 100%;
    background: #111111;
    text-decoration: none;
    font-family: "metropolis-regular", sans-serif;
    font-style: normal;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.facility-detail-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-bottom: 50px;
}

.facility-detail-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.facility-hero {
    margin-top: 40px;
    background: linear-gradient(135deg, #002f5e 0%, #004080 100%);
    color: #fff;
    padding: 48px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    padding-top: 200px;
}

.facility-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 128, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.facility-hero__content {
    position: relative;
    z-index: 1;
}

.facility-hero h1 {
    color: inherit;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.facility-hero__subtitle {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 20px;
}

.facility-badge {
    display: inline-block;
    background: #FF8000;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.facility-badge--link {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.facility-badge--link:hover,
.facility-badge--link:focus-visible {
    background: #ff9a2f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.facility-detail-content {
    padding-top: 30px;
}

.facility-section {
    background: #fff;
    margin: 30px 0;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(7, 30, 61, 0.08);
    scroll-margin-top: 110px;
}

.facility-section h2 {
    color: #002f5e;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-left: 4px solid #ff8000;
    padding-left: 15px;
}

.facility-section h3 {
    color: #ff8000;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.facility-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.info-grid,
.stats-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-card {
    background: linear-gradient(135deg, #002f5e 0%, #004080 100%);
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
    color: #fff;
    margin-top: 0;
}

.highlight-box {
    background: linear-gradient(135deg, #ff8000 0%, #ffa500 100%);
    color: #fff;
    padding: 25px;
    border-radius: 14px;
    margin-top: 24px;
    box-shadow: 0 8px 24px rgba(255, 128, 0, 0.18);
}

.highlight-box h3 {
    color: inherit;
    margin-top: 0;
}

.highlight-box p {
    font-size: 1.15rem;
    margin-top: 8px;
}

.pdf-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #002f5e;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pdf-download-link:hover,
.pdf-download-link:focus-visible {
    background: #004d98;
    transform: translateY(-2px);
}

.pdf-frame-wrapper {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 47, 94, 0.1);
    box-shadow: 0 10px 24px rgba(7, 30, 61, 0.08);
}

.pdf-frame {
    width: 100%;
    min-height: 850px;
    border: 0;
    background: #fff;
}

.pdf-empty-state {
    border: 2px dashed rgba(0, 47, 94, 0.18);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
    color: #4e6072;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #ff8000;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.stat-card:hover {
    background: #ff8000;
    color: #fff;
    transform: scale(1.03);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #002f5e;
}

.stat-card:hover .stat-number {
    color: inherit;
}

.requirements-list,
.detail-list {
    padding-left: 0;
    margin: 0;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.requirements-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
}

.detail-list {
    list-style: disc;
    padding-left: 24px;
    line-height: 1.8;
}

.profile-intro {
    margin-bottom: 16px;
}

.testimonial {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #ff8000;
    font-style: italic;
}

.testimonial .autor {
    margin-top: 20px;
}

.cta-section {
    background: linear-gradient(135deg, #002f5e 0%, #004080 100%);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0 0;
    scroll-margin-top: 110px;
}

.cta-section h2 {
    color: inherit;
    border: 0;
    padding-left: 0;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.15rem;
    margin: 0 auto 24px;
    max-width: 720px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff8000;
    color: #fff;
    padding: 15px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.cta-button:hover,
.cta-button:focus-visible {
    background: #ffa500;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.facility-section--richtext :first-child {
    margin-top: 0;
}

@media (max-width: 768px) {
    .facility-hero {
        padding-top: 130px;
        padding-bottom: 36px;
    }

    .facility-section {
        padding: 24px;
    }

    .facility-section__header {
        flex-direction: column;
        align-items: stretch;
    }

    .pdf-download-link,
    .cta-button {
        width: 100%;
    }

    .pdf-frame {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .facility-hero {
        padding-top: 110px;
    }

    .pdf-frame {
        min-height: 400px;
    }
}
