/* 
   Mobil Medical Lab - Bitrix Template Styles
*/

:root {
    /* Colors */
    --color-orange: #FF7A00;
    --color-orange-hover: #e06c00;
    --color-blue: #3BB2FF; 
    --color-logo-blue: #448CCB; 
    --color-white: #FFFFFF;
    
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Gradients */
    --gradient-topbar: linear-gradient(90deg, #00A3FF 0%, #FF7A00 100%);
    --gradient-btn: linear-gradient(180deg, #FF8A00 0%, #FF7A00 100%);

    /* Layout */
    --container-width: 1400px;
    --header-height: 100px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-gray-900);
    background-color: var(--color-white);
    margin: 0;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.section { padding: 80px 0; }
.section-title { font-size: 2.5rem; font-weight: 500; margin-bottom: 2rem; text-transform: uppercase; color: var(--color-gray-900); }
.text-blue { color: var(--color-blue); }
.text-gradient { background: linear-gradient(90deg, #3BB2FF, #FF7A00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ================= HEADER ================= */
.header-wrapper {
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0; 
    z-index: 1000;
}
.top-bar {
    height: 40px;
    background: var(--gradient-topbar);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
}
.top-bar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-contacts { display: flex; gap: 25px; }
.contact-item { display: flex; align-items: center; gap: 8px; opacity: 0.95; }
.contact-item:hover { opacity: 1; }
.top-schedule { opacity: 0.95; text-align: right; }
@media (max-width: 991px) { .top-schedule { display: none; } }

.main-header { height: var(--header-height); display: flex; align-items: center; background: var(--color-white); }
.main-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 50px; width: auto; }

/* Fixed Logo Text Alignment */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.logo-title {
    display: block;
    color: var(--color-logo-blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2px;
}
.logo-subtitle {
    display: block;
    color: var(--color-gray-500);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
}

.nav-desktop { display: flex; align-items: center; gap: 40px; }
@media (max-width: 1200px) { .nav-desktop { gap: 20px; } }
@media (max-width: 1024px) { .nav-desktop { display: none; } }
.nav-link { font-size: 15px; font-weight: 500; color: var(--color-gray-600); padding: 10px 0; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--color-logo-blue); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--color-orange); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }

.header-btn {
    background: var(--gradient-btn); color: white; font-weight: 600; font-size: 14px;
    padding: 12px 24px; border-radius: 8px; box-shadow: 0 4px 10px rgba(255, 122, 0, 0.25);
    border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.header-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 15px rgba(255, 122, 0, 0.35); }
@media (max-width: 768px) { .header-btn { display: none; } }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--color-gray-700); }
@media (max-width: 1024px) { .mobile-toggle { display: block; } }

.mobile-menu {
    position: fixed; top: 140px; left: 0; width: 100%; background: white; padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); transform: translateY(-150%); transition: transform 0.3s ease; z-index: 90;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid #f0f0f0; }

/* ================= BREADCRUMBS ================= */
.breadcrumbs-wrapper {
    padding: 16px 0;
    background-color: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
}
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--color-gray-500);
}
.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.breadcrumbs a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-500);
    transition: color 0.2s ease;
}
.breadcrumbs a:hover {
    color: var(--color-blue);
}
.breadcrumbs li.active {
    color: var(--color-gray-800);
}
.breadcrumb-arrow {
    width: 14px;
    height: 14px;
    color: var(--color-gray-300);
    stroke-width: 2.5px;
}
.breadcrumb-home {
    width: 16px;
    height: 16px;
    position: relative;
    top: -1px;
    stroke-width: 2px;
}

/* ================= HERO ================= */
.hero { position: relative; min-height: 700px; display: flex; align-items: center; background: #111827; color: white; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-overlay { position: absolute; inset: 0; background: rgba(17,24,39,0.7); z-index: 1; }
.hero-content { position: relative; z-index: 10; padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 { font-size: 2rem; font-weight: 600; text-transform: uppercase; margin-bottom: 1.5rem; line-height: 1.1; }
@media (min-width: 1200px) { .hero h1 { font-size: 4rem; } }
.hero-subtitle-block { font-size: 1.125rem; max-width: 600px; margin-bottom: 2.5rem; line-height: 1.6; opacity: 0.9; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; border-radius: 50px; background: var(--color-orange); color: white; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* ================= PARTNER SECTION ================= */
.partner-section-title { font-size: 2.25rem; line-height: 1.2; margin-bottom: 3rem; text-transform: uppercase; text-align: center; font-weight: 500; }
.partner-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width: 1024px) { 
    .partner-grid { grid-template-columns: 3.8fr 6.2fr; } 
    /* Ensures left and right columns can match height */
}

/* Left Card */
.partner-card-dark {
    background: #1F2937;
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%; 
    justify-content: space-between;
}
.partner-logo-bg {
    width: 60px; height: 60px; background: rgba(255,122,0,0.15); 
    border: 1px solid rgba(255,122,0,0.3); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; color: #FF7A00; margin-bottom: 24px;
}

/* Right Side */
.partner-right-col {
    display: flex; flex-direction: column; gap: 24px; height: 100%;
}
.partner-video-container {
    flex: 1; /* Takes available height */
    min-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background: #e5e7eb;
}
.partner-video-iframe { width: 100%; height: 100%; border: none; }

.partner-features-row {
    display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media(min-width: 640px) { .partner-features-row { grid-template-columns: repeat(3, 1fr); } }

.partner-feature-card {
    background: white; border: 1px solid #F3F4F6; border-radius: 16px; padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); display: flex; flex-direction: column;
}

/* ================= BUSINESS SUPPORT (Restored) ================= */
.business-support-grid { display: grid; gap: 24px; }
@media(min-width: 768px) { .business-support-grid { grid-template-columns: 1fr 1fr; } }

.business-support-bg { background: linear-gradient(135deg, #f0f9ff 0%, #fff7ed 100%); padding: 60px; border-radius: 30px; }
.support-item { display: flex; gap: 15px; margin-bottom: 20px; }
.support-item-icon { width: 40px; height: 40px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.support-item-icon.orange { background: var(--color-orange); }
.support-item-icon.blue { background: var(--color-blue); }

/* ================= ADVANTAGES (INTERACTIVE) ================= */
.advantages-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media(min-width: 768px) { .advantages-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px) { .advantages-grid { grid-template-columns: 1fr 1fr 1fr; } }

.advantage-card {
    display: block; /* Make <a> tag block */
    position: relative;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    transition: box-shadow 0.3s;
}
.advantage-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.advantage-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}
.advantage-card:hover .advantage-bg { transform: scale(1.1); }

.advantage-overlay {
    position: absolute; inset: 0; z-index: 1; opacity: 0.92; transition: opacity 0.3s;
}
/* Specific gradients matching screenshots */
.advantage-overlay.orange { background: linear-gradient(145deg, rgba(255,122,0,0.95), rgba(249, 115, 22, 0.9)); }
.advantage-overlay.blue { background: linear-gradient(145deg, rgba(59,178,255,0.95), rgba(37,99,235,0.9)); }
.advantage-overlay.dark { background: linear-gradient(145deg, rgba(31,41,55,0.95), rgba(17,24,39,0.92)); }

.advantage-content {
    position: relative; z-index: 10; padding: 32px; height: 100%;
    display: flex; flex-direction: column;
}

.advantage-icon-box {
    width: 56px; height: 56px; 
    background: rgba(255,255,255,0.2); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; backdrop-filter: blur(4px);
}
.advantage-arrow {
    position: absolute; top: 32px; right: 32px;
    opacity: 0; transform: translateX(-10px);
    transition: all 0.3s ease;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.advantage-card:hover .advantage-arrow { opacity: 1; transform: translateX(0); }

.advantage-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; line-height: 1.1; }
.advantage-desc { font-size: 1rem; line-height: 1.5; opacity: 0.95; margin-bottom: 24px; }
.advantage-divider { width: 50px; height: 1px; background: rgba(255,255,255,0.5); margin-bottom: 20px; }

.advantage-details {
    margin-top: auto;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: all 0.5s ease;
}
.advantage-card:hover .advantage-details {
    max-height: 200px; opacity: 1;
}

.advantage-list li {
    position: relative; padding-left: 12px; margin-bottom: 6px; font-size: 0.85rem; line-height: 1.4; opacity: 0.9;
}
.advantage-list li::before { content: '•'; position: absolute; left: 0; }

/* ================= NEWS ================= */
.news-grid {
    display: grid; grid-template-columns: 1fr; gap: 30px;
}
@media(min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%; display: flex; flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.news-img-container {
    height: 220px; overflow: hidden; position: relative;
}
.news-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-img { transform: scale(1.05); }
.news-content {
    padding: 24px; display: flex; flex-direction: column; flex-grow: 1;
}
.news-date {
    font-size: 0.85rem; color: #6B7280; margin-bottom: 12px;
    display: flex; align-items: center; gap: 6px;
}
.news-title {
    font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3;
    color: #111827;
}
.news-excerpt {
    font-size: 0.95rem; color: #4B5563; line-height: 1.5; margin-bottom: 20px;
    flex-grow: 1;
}
.news-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--color-blue);
    transition: gap 0.2s;
}
.news-card:hover .news-link { gap: 10px; color: var(--color-orange); }

/* ================= CONTACTS NEW ================= */
.contacts-grid {
    display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px;
}
@media(min-width: 1024px) { .contacts-grid { grid-template-columns: 1fr 1fr; } }

.contacts-left-col { display: flex; flex-direction: column; gap: 24px; }

.contact-card-v2 {
    border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: center;
    height: 100%;
}
.contact-card-v2.orange-light { background: #FFF7ED; border: 1px solid #FFEDD5; }
.contact-card-v2.blue-light { background: #F0F9FF; border: 1px solid #E0F2FE; }
.contact-card-v2.gray-light { background: #F9FAFB; border: 1px solid #E5E7EB; }

.contact-icon-v2 {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; color: white;
}
.contact-icon-v2.orange { background: var(--color-orange); }
.contact-icon-v2.blue { background: var(--color-blue); }
.contact-icon-v2.dark { background: #1F2937; }

.contact-label-v2 { font-size: 1rem; color: #111827; font-weight: 600; margin-bottom: 4px; }
.contact-text-v2 { font-size: 0.95rem; color: #6B7280; }
.contact-link-v2 { font-size: 1.1rem; font-weight: 600; }
.contact-link-v2.orange { color: #FF7A00; }
.contact-link-v2.blue { color: #3BB2FF; }

.contact-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media(max-width: 500px) { .contact-row-split { grid-template-columns: 1fr; } }

.schedule-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #E5E7EB; font-size: 0.95rem; }
.schedule-row:last-child { border-bottom: none; }
.schedule-time.red { color: #EF4444; }

/* Form */
.contact-form-dark {
    background: #1F2937; border-radius: 24px; padding: 40px; color: white;
    display: flex; flex-direction: column; justify-content: center;
}
.dark-input {
    width: 100%; background: #374151; border: 1px solid #4B5563; color: white;
    padding: 14px 16px; border-radius: 8px; margin-bottom: 20px;
}
.dark-input:focus { outline: none; border-color: var(--color-blue); }
.btn-orange-full {
    width: 100%; background: var(--color-orange); color: white; font-weight: 600;
    padding: 16px; border-radius: 8px; border: none; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    transition: background 0.2s; font-size: 1rem;
}
.btn-orange-full:hover { background: #e06c00; }

/* ================= FOOTER ================= */
.footer {
    background-color: #111827; color: white; padding: 60px 0 30px; margin-top: auto;
}
.footer-grid {
    display: grid; gap: 40px; grid-template-columns: 1fr;
}
@media(min-width: 1024px) { .footer-grid { grid-template-columns: 3fr 1.5fr 2fr 3.5fr; } }

.footer h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; color: white; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #9CA3AF; font-size: 0.9rem; transition: color 0.2s; }
.footer a:hover { color: white; }

.footer-contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #D1D5DB; }
.footer-icon-box {
    width: 32px; height: 32px; background: #374151; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: #9CA3AF;
}

.footer-cta-orange {
    background: #FF7A00;
    border-radius: 20px;
    padding: 24px; /* Reduced from 30px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto; /* Allow auto height to be compact */
    min-height: 200px; /* Min height for balance */
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.15);
}
.footer-cta-btn {
    background: white;
    color: #FF7A00;
    width: 100%;
    padding: 12px; /* Slightly smaller padding */
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    transition: transform 0.2s;
}
.footer-cta-btn:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151; margin-top: 60px; padding-top: 30px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
    color: #6B7280; font-size: 0.85rem;
}
/* ================= NEWS NEW PAGE ================= */
.news-page-hero {
  padding: 60px 0 80px;
  background: linear-gradient(
    180deg,
    #f0f8ff 0%,
    #f7fbff 60%,
    #ffffff 100%
  );
  border-bottom: 1px solid #eef2f7;
}
.news-page-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 14px;
}

.news-page-subtitle {
  font-size: 1rem;
  color: #6b7280;
  max-width: 620px;
}

.news-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card-new {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden;
    transition: all 0.3s ease; display: flex; flex-direction: column; height: 100%;
    text-decoration: none !important; position: relative;
}
.news-card-new:hover {
    border-color: var(--color-blue);
    box-shadow: 0 10px 30px rgba(59, 178, 255, 0.15); transform: translateY(-4px);
}
.news-card-img-thumb { height: 220px; width: 100%; object-fit: cover; background: #F3F4F6; border-bottom: 1px solid #f0f0f0; }
.news-card-placeholder {
    height: 220px; width: 100%; background: #F3F4F6;
    display: flex; align-items: center; justify-content: center; color: #9CA3AF;
}
.news-card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6B7280; margin-bottom: 12px; font-weight: 500; }
.news-title {
    font-size: 1.125rem; font-weight: 700; color: #111827; margin-bottom: 12px;
    line-height: 1.4; transition: color 0.2s;
}
.news-card-new:hover .news-title { color: var(--color-blue); }
.news-preview-text {
    font-size: 0.875rem; color: #4B5563; line-height: 1.6; margin-bottom: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.load-more-btn-container { text-align: center; margin-top: 20px; margin-bottom: 60px; }
.btn-load-more {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid #D1D5DB; color: #374151;
    padding: 12px 32px; border-radius: 8px; font-weight: 600;
    transition: all 0.2s ease; cursor: pointer; font-size: 1rem;
}
.btn-load-more:hover { border-color: var(--color-blue); color: var(--color-blue); background: #F0F9FF; }

/* ================= BLANKS PAGE ================= */

.blanks-hero {
    background-color: #F0F9FF;
    padding: 60px 0 50px;
    border-bottom: 1px solid #E0F2FE;
}

.blanks-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
}

.blanks-subtitle {
    font-size: 1.125rem;
    color: #64748B;
    max-width: 700px;
}

.blanks-table-container {
    margin-top: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    margin-bottom: 80px;

}

.blanks-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.blanks-table th {
    background-color: #F8FAFC;
    color: #64748B;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
}

.blanks-table td {
    padding: 20px 30px;
    border-bottom: 1px solid #E2E8F0;
    color: #334155;
    vertical-align: middle;
    transition: background-color 0.15s ease;
}

.blanks-table tr:last-child td {
    border-bottom: none;
}

.blanks-table tr:hover td {
    background-color: #F8FAFC;
}

.blank-code {
    font-weight: 600;
    color: var(--color-blue);
    font-size: 0.95rem;
}

.blank-name {
    font-weight: 500;
    font-size: 1rem;
    color: #1E293B;
}

.blank-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-blue);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.blank-download-btn:hover {
    color: var(--color-orange);
    background: rgba(30,136,255,0.08);
    text-decoration: underline;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* ================= LICENSES PAGE ================= */

.licenses-hero{
    background:#F0F9FF;
    padding:70px 0 60px;
    border-bottom:1px solid #E0F2FE;
}

.licenses-title{
    font-size:2.5rem;
    font-weight:700;
    color:#0F172A;
    margin-bottom:14px;
}

.licenses-subtitle{
    color:#64748B;
    max-width:640px;
    font-size:1.05rem;
}

.licenses-section{
    padding:70px 0 110px;
}


/* GRID */

.licenses-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:32px;
}


/* CARD */

.license-card{
    background:#fff;
    border:1px solid #E2E8F0;
    border-radius:18px;
    overflow:hidden;
    transition:.25s ease;
}

.license-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    border-color:#D1EAFE;
}


/* PREVIEW */

.license-preview{
    position:relative;
    height:360px;
    background:#F8FAFC;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
}

.license-preview img{
    width:auto;
    height:100%;
    max-height:100%;
    object-fit:contain;
    transition:.3s ease;
}

.license-card:hover img{
    transform:scale(1.03);
}


/* DOWNLOAD OVERLAY */

.license-overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:.25s ease;
}

.license-card:hover .license-overlay{
    opacity:1;
}

.license-download-btn{
    background:#fff;
    color:#0F172A;
    padding:12px 28px;
    border-radius:999px;
    font-weight:600;
    font-size:.9rem;
    text-decoration:none;
    transition:.2s ease;
}

.license-download-btn:hover{
    background:var(--color-blue);
    color:#fff;
}


/* INFO */

.license-info{
    padding:18px 20px 22px;
}

.license-title{
    font-weight:600;
    font-size:.95rem;
    color:#0F172A;
    line-height:1.4;
    margin-bottom:6px;
}

.license-size{
    font-size:.85rem;
    color:#64748B;
}
.license-preview{
    position:relative;
}

/* ================= CERTIFICATES ================= */

.certificates-hero{
    background:#F0F9FF;
    padding:70px 0 60px;
    border-bottom:1px solid #E0F2FE;
}

.certificates-title{
    font-size:2.5rem;
    font-weight:700;
    color:#0F172A;
    margin-bottom:14px;
}

.certificates-subtitle{
    color:#64748B;
    max-width:640px;
    font-size:1.05rem;
}

.certificates-section{
    padding:70px 0 110px;
}


/* FILTERS */

.certificates-filters{
    display:flex;
    gap:12px;
    margin-bottom:40px;
    flex-wrap:wrap;
}

.filter-btn{
    border:none;
    background:#F1F5F9;
    padding:10px 22px;
    border-radius:999px;
    cursor:pointer;
    font-weight:600;
    color:#334155;
}

.filter-btn.active{
    background:#3BB2FF;
    color:#fff;
}


/* GRID */

.certificates-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:28px;
}


/* CARD */

.certificate-card{
    background:#fff;
    border:1px solid #E2E8F0;
    border-radius:18px;
    overflow:hidden;
    transition:.25s ease;
}

.certificate-card:hover{
    border-color:#3BB2FF;
    box-shadow:0 12px 28px rgba(59,178,255,.18);
    transform:translateY(-5px);
}


/* PREVIEW */

.certificate-preview{
    position:relative;
    height:320px;
    background:#F8FAFC;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:14px;
}

.certificate-preview img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition:.25s ease;
}


/* OVERLAY */

.certificate-overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    pointer-events:none;
    transition:.25s ease;
}

.certificate-card:hover .certificate-overlay{
    opacity:1;
    pointer-events:auto;
}

.certificate-download-btn{
    background:#fff;
    color:#0F172A;
    padding:12px 28px;
    border-radius:999px;
    font-weight:600;
    text-decoration:none;
}

.certificate-download-btn:hover{
    background:#3BB2FF;
    color:#fff;
}


/* INFO */

.certificate-info{
    padding:18px 20px 22px;
}

.certificate-title{
    font-weight:600;
    font-size:.95rem;
    color:#0F172A;
    margin-bottom:6px;
}

.certificate-size{
    font-size:.85rem;
    color:#64748B;
}
/* ================= CATALOG ================= */

/* ================= WRAPPER ================= */

.catalog-page{
    max-width:1200px;
    margin:0 auto;
    padding:40px 20px 80px;
    box-sizing:border-box;
}


/* ================= TITLES ================= */

.catalog-title{
    font-size:38px;
    font-weight:600;
    text-align:center;
    margin-bottom:10px;
}

.catalog-subtitle{
    text-align:center;
    color:#6b7280;
    font-size:16px;
    margin-bottom:35px;
}


/* ================= SEARCH ================= */

.catalog-search{
    display:flex;
    justify-content:center;
    margin-bottom:50px;
}

.catalog-search input{
    width:100%;
    max-width:600px;
    padding:14px 20px;
    border-radius:30px;
    border:1px solid #e5e7eb;
    font-size:15px;
    outline:none;
    transition:.2s;
}

.catalog-search input:focus{
    border-color:#3b82f6;
}


/* ================= GROUP ================= */

.catalog-group{
    margin-bottom:50px;
    border-radius:16px;
    overflow:hidden;
    background:#f3f9ff;
}


/* ================= HEADER ================= */

.catalog-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 24px;
    background:#e9f4ff;
    font-weight:600;
    font-size:18px;
}

.catalog-count{
    font-size:14px;
    color:#6b7280;
}


/* ================= TABLE ================= */

.catalog-content{
    background:#fff;
}

.catalog-table{
    width:100%;
    border-collapse:collapse;
}

.catalog-table thead{
    background:#f9fafb;
}

.catalog-table th{
    text-align:left;
    padding:14px 18px;
    font-size:13px;
    color:#6b7280;
    font-weight:600;
}

.catalog-table td{
    padding:14px 18px;
    font-size:14px;
    border-top:1px solid #f1f1f1;
}

.catalog-item{
    transition:.15s;
}

.catalog-item:hover{
    background:#e9f4ff;
}


/* ================= LINKS ================= */

.catalog-code{
    color:#3b82f6;
    font-weight:600;
    text-decoration:none;
}

.catalog-code:hover{
    text-decoration:underline;
}

.catalog-name-link{
    color:#111827;
    text-decoration:none;
}

.catalog-name-link:hover{
    color:#3b82f6;
}


/* ================= MOBILE CARDS ================= */

.catalog-cards{
    display:none;
    padding:20px;
    gap:16px;
}

.catalog-card{
    background:#f9fafb;
    padding:16px;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.catalog-card-title{
    font-weight:600;
    font-size:15px;
}

.catalog-card-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-size:13px;
    color:#6b7280;
}

.catalog-card-meta span{
    background:#eef2ff;
    padding:4px 8px;
    border-radius:6px;
}


/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    .catalog-table{
        display:none;
    }

    .catalog-cards{
        display:flex;
        flex-direction:column;
    }

    .catalog-header{
        font-size:16px;
    }

    .catalog-title{
        font-size:30px;
    }
}

@media(max-width:480px){

    .catalog-page{
        padding:30px 14px 60px;
    }

    .catalog-title{
        font-size:26px;
    }

    .catalog-subtitle{
        font-size:14px;
    }

}

/* ================= CATALOG PAGE ================= */

/* ===============================
   GLOBAL CONTAINER
=============================== */

.detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    box-sizing: border-box;
}


/* ===============================
   HEADER BLOCK
=============================== */

.detail-header {
    background: #F1F8FE;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.detail-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3B82F6, #06B6D4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon img {
    width: 34px;
}

.detail-header-content {
    display: flex;
    flex-direction: column;
}

.detail-code {
    display: inline-block;
    font-size: 13px;
    color: #6B7280;
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 10px;
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.2;
}

.detail-subtitle {
    font-size: 15px;
    color: #6B7280;
}


/* ===============================
   MAIN GRID
=============================== */

.detail-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}


/* ===============================
   LEFT CONTENT
=============================== */

.detail-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.detail-section strong {
    display: block;
    font-size: 16px;
    color: #111827;
    margin-bottom: 10px;
}

.detail-section p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}


/* ===============================
   SIDEBAR
=============================== */

.detail-sidebar {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-info-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: #6B7280;
}

.detail-info-row span:last-child {
    font-weight: 600;
    color: #111827;
    text-align: right;
    word-break: break-word;
}


/* ===============================
   BUTTON
=============================== */

.detail-btn {
    margin-top: 10px;
    background: #FF8A00;
    color: #FFFFFF;
    border: none;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

.detail-btn:hover {
    background: #FF7A00;
    transform: translateY(-1px);
}

.detail-btn-note {
    font-size: 13px;
    color: #6B7280;
    text-align: center;
}


/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 1000px){

    .detail-header {
        padding: 28px;
    }

    .detail-title {
        font-size: 26px;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        order: -1;
    }
}


@media (max-width: 600px){

    .detail-page {
        padding: 20px 14px 60px;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .detail-title {
        font-size: 22px;
    }

    .detail-section {
        padding: 22px;
    }

    .detail-sidebar {
        padding: 22px;
    }
}