:root {
    --primary-teal: #0099a3;
    --base-text-color: #002020;
    --second-text-color: #889898;
    --border: #e2e8f0;
    --white: #ffffff;
    --bg-light: #f5f5f5;
    --teal-light: #cda724;
    --gold: #cda724;
    --text-mid: #002020;
    --text-light: #889898;
}
.hero {
    background: url('/local/templates/mbb_template2/assets/images/title-banner-back.png') center center / cover no-repeat;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}
.hero::before {
    content: '';
    width: 500px;
    height: 100%;
    background: radial-gradient(circle closest-corner at bottom, rgb(1, 161, 162) 0%, rgba(1, 161, 162, 0) 100%);
    position: absolute;
    right: 4%;
    top: 0;
    z-index: 0;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.hero-content { flex: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    font-family: 'El Messiri', sans-serif;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero h1 {
    font-family: 'El Messiri', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    border-bottom: none;
}
.hero-sub {
    color: var(--white);
    font-size: 18px;
    line-height: 1.65;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--white);
    color: var(--primary-teal);
    font-family: 'El Messiri', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 233px;
    white-space: nowrap;
}
.btn-hero-primary:hover {
    color: #d0b04c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.hero-card-wrap {
    flex-shrink: 0;
}
.features-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    border-right: 1px solid var(--border);
    font-family: 'El Messiri', sans-serif;
}
.feature-item:last-child { border-right: none; }
.feature-icon {
    width: 50px; height: 50px;
    background: var(--primary-teal);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}
.feature-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--base-text-color);
    margin-bottom: 2px;
}
.feature-text p {
    font-size: 14px;
    color: var(--second-text-color);
    line-height: 1.4;
}
@media (max-width: 768px) {
    .feature-item {
        align-items: flex-start;
    }
    .feature-text h4 {
        margin: 0;
    }
}
.main-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    font-family: 'El Messiri', sans-serif;
}
.tabs-nav {
    display: flex;
    gap: 2px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--second-text-color);
}
.tab-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--base-text-color);
    padding: 11px 20px;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    border-radius: 0;
    white-space: nowrap;
}
.tab-btn:hover { color: var(--primary-teal); }
.tab-btn.active { color: var(--primary-teal); border-bottom-color: var(--primary-teal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--base-text-color);
    margin-bottom: 8px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary-teal);
    display: inline-block;
}
.section-desc {
    color: var(--second-text-color);
    font-size: 15px;
    margin-bottom: 28px;
    margin-top: 10px;
}
.contract-excerpt {
    max-width: 1200px;
    margin: 20px auto;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid var(--border);
}
.contract-excerpt h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.excerpt-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.excerpt-row:last-child { border-bottom: none; }
.excerpt-num {
    background: var(--primary-teal);
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.excerpt-text { color: var(--text-mid); line-height: 1.6; }
.excerpt-label {
    font-weight: 600;
    color: var(--text-dark);
}
.tariff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.tariff-table thead th {
    background: var(--primary-teal);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 14px 16px;
    text-align: center;
}
.tariff-table th.text-left, .tariff-table td.text-left {
    text-align: left;
}
.tariff-table tbody tr:nth-child(even) { background: var(--bg-light); }
.tariff-table tbody tr:hover { border: 2px solid var(--teal-light); }
.tariff-table td {
    padding: 12px 16px;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: center;
}
.tariff-table td:last-child {
    font-weight: 700;
    color: var(--primary-teal);
}
.tariff-note {
    font-size: 13px;
    color: var(--second-text-color);
    border-left: 4px solid var(--gold);
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    margin-top: 4px;
    margin-bottom: 20px;
}

/* FAQ */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item:hover { border-color: var(--teal-light); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
    transition: background .2s;
}
.faq-question:hover { border: 2px solid var(--teal-light); }
.faq-question.open { border: 2px solid var(--teal-light); color: var(--primary-teal); }
.faq-chevron {
    font-size: 16px;
    color: var(--primary-teal);
    transition: transform .25s;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 20px 18px;
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--primary-teal); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

/* SIDEBAR */
.sidebar { position: sticky; top: 155px; }
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.sidebar-card-header {
    background: var(--primary-teal);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-card-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}
.sidebar-card-header .icon {
    font-size: 20px;
    color: rgba(255,255,255,.8);
}
.sidebar-card-body { padding: 18px; }
.sidebar-card-body p {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 14px;
}
.btn-sidebar-primary {
    display: block;
    background: var(--primary-teal);
    color: var(--white);
    font-size: 13.5px;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background .2s;
    margin-bottom: 8px;
}
.btn-sidebar-primary:hover { background: var(--primary-teal); }
.btn-sidebar-secondary {
    display: block;
    background: var(--white);
    color: var(--primary-teal);
    border: 1.5px solid var(--primary-teal);
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all .2s;
}
.btn-sidebar-secondary:hover { background: var(--primary-teal); color: var(--white); }

.ps-logo-block {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    margin-bottom: 16px;
}
.ps-logo-block .ps-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.ps-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 6px;
}
.ps-url {
    font-size: 13px;
    color: var(--teal);
    text-decoration: none;
}
.ps-url:hover { text-decoration: underline; }

.contact-card {
    border: 1px solid var(--teal-light);
    border-radius: 10px;
    padding: 18px;
}
.contact-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 12px;
}
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13.5px;
}
.contact-row .icon { color: var(--primary-teal); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.contact-row a { color: var(--primary-teal); text-decoration: none; font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }
.contact-row p { color: var(--text-mid); }

/* UTILS */
.info-box {
    background: var(--teal-light);
    border-left: 4px solid var(--primary-teal);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 14px;
    color: var(--primary-teal);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.info-box .icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 900px) {
    .main-wrap { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 26px; }
    .hero-card-wrap { display: none; }
    .sidebar { position: static; }
}
.phys-detail-doc {
    font-family: 'Montserrat', sans-serif;
}
.phys-detail-doc-image {
    min-width: 50px;
    min-height: 50px;
}
.tariffs-detail.second-list {
    overflow: hidden;
    margin-bottom: 30px;
}
.common-source {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/local/templates/mbb_template2/assets/images/shape2.png');
    background-color: #00a4ad;
    font-family: 'El Messiri', sans-serif;
}
.common-source__position {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
@media (max-width: 768px) {
    .common-source__position {
        flex-direction: column;
        gap: 10px;
    }
}
.card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    font-family: 'El Messiri', sans-serif;
}

.card-label { text-align: center; }
.card-label .num {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: #C9A84C;
    display: block;
    margin-bottom: 6px;
}
.card-label h2 {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #fff;
}
.card-label .tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 3px 10px;
}
.flip-wrap {
    width: 356px;
    height: 225px;
    perspective: 1000px;
    cursor: pointer;
}
.flip-inner {
    width: 100%; height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}
.flip-wrap:hover .flip-inner,
.flip-wrap.flipped .flip-inner {
    transform: rotateY(180deg);
}
.card-face, .card-back {
    position: absolute; inset: 0;
    border-radius: 16px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.7), 0 5px 20px rgba(0,0,0,0.5);
}
.card-back { transform: rotateY(180deg); }
.card-0438 .card-face {
    background: linear-gradient(140deg, #1b3a40 0%, #163035 60%, #0f2228 100%);
}
.card-0438 .card-face::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
            repeating-linear-gradient(45deg,  rgba(43,160,160,0.22) 0, rgba(43,160,160,0.22) 1px, transparent 1px, transparent 15px),
            repeating-linear-gradient(-45deg, rgba(43,160,160,0.15) 0, rgba(43,160,160,0.15) 1px, transparent 1px, transparent 15px);
    border-radius: 16px;
}
.card-0438 .card-face::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(110deg,
    transparent 20%,
    rgba(200,230,235,0.08) 35%,
    rgba(255,255,255,0.16) 50%,
    rgba(200,230,235,0.08) 65%,
    transparent 80%
    );
    animation: goldShimmer 4s ease-in-out infinite;
    border-radius: 16px;
}
.card-0436 .card-face {
    background: linear-gradient(135deg, #111a1a 0%, #1a2828 60%, #0d1515 100%);
}
.card-0436 .card-face::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,0.6) 1.2px, transparent 1.2px);
    background-size: 18px 18px;
    border-radius: 16px;
}
.card-0436 .card-face::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(115deg,
    transparent 15%,
    rgba(201,168,76,0.12) 35%,
    rgba(232,201,106,0.28) 52%,
    rgba(201,168,76,0.12) 68%,
    transparent 85%
    );
    animation: goldShimmer 3s ease-in-out infinite;
    border-radius: 16px;
}
.card-0440 .card-face {
    background: linear-gradient(135deg, #111a1a 0%, #1a2828 60%, #0d1515 100%);
}
.card-0440 .card-face::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("/upload/ver3-1.png");
    background-repeat: no-repeat;
    border-radius: 16px;
    background-size: contain;
}
.card-0440 .card-face::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(110deg,
    transparent 20%,
    rgba(255,255,255,0.16) 35%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.16) 65%,
    transparent 80%
    );
    animation: shimmer 4s ease-in-out infinite;
    border-radius: 16px;
}
.card-0440 .card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("/upload/ver3-2.png");
    background-repeat: no-repeat;
    border-radius: 16px;
    background-size: contain;
}
@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: translateX(-8px); }
    50%       { opacity: 1;   transform: translateX(8px); }
}
@keyframes goldShimmer {
    0%, 100% { opacity: 0.4; transform: translateX(-12px); }
    50%       { opacity: 1;   transform: translateX(12px); }
}
.card-content {
    position: absolute; inset: 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}
.card-item .row { display: flex; justify-content: space-between; align-items: flex-start; }
.mir .big { font-size: 22px; font-weight: 700; letter-spacing: 0.1em; line-height: 1; }
.mir .small { font-size: 8px; letter-spacing: 0.15em; font-weight: 400; opacity: 0.75; text-transform: uppercase; margin-top: 2px; }
.dark-text .big, .dark-text .small { color: #0d2a30; }
.light-text .big, .light-text .small { color: #d8eff2; }
.gold-text .big, .gold-text .small { color: #E8C96A; }
.nfc {
    width: 24px; height: 24px; opacity: 0.65;
}
.nfc-dark { stroke: #0d2a30; }
.nfc-light { stroke: #b0d8e0; }
.nfc-gold  { stroke: #C9A84C; }
.card-num {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    opacity: 0.55;
}
.card-num-dark { color: #0d2a30; }
.card-num-light { color: #c0dde0; }
.card-num-gold  { color: #C9A84C; }
.badge {
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
}
.badge-silver { background: rgba(180,200,210,0.12); border: 1px solid rgba(180,200,210,0.35); color: #c8dde2; }
.badge-teal   { background: rgba(30,110,110,0.18);  border: 1px solid rgba(43,160,160,0.4);  color: #7dd4d4; }
.badge-gold   { background: rgba(201,168,76,0.15);  border: 1px solid rgba(201,168,76,0.5);  color: #E8C96A; }
.card-back-body {
    background: linear-gradient(160deg, #111e22 0%, #0c1618 100%);
    position: absolute; inset: 0;
    border-radius: 16px;
}
.magstripe {
    position: absolute; top: 36px; left: 0; right: 0; height: 46px;
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}
.sigpanel {
    position: absolute; top: 108px; left: 24px; right: 24px; height: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 3px;
    display: flex; align-items: center; padding: 0 10px;
    background: repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 7px,
            rgba(255,255,255,0.02) 7px, rgba(255,255,255,0.02) 14px
    );
}
.sigpanel span {
    font-size: 7px; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); text-transform: uppercase;
}
.back-foot {
    position: absolute; bottom: 18px; left: 24px; right: 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.back-service {
    font-size: 7px; letter-spacing: 0.08em; color: rgba(255,255,255,0.3);
}
.back-mir {
    font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,0.4);
}
.back-privilege {
    background: linear-gradient(160deg, #0e1818 0%, #091010 100%);
}
.back-privilege .sigpanel {
    background: repeating-linear-gradient(90deg,rgba(201,168,76,0.07) 0,rgba(201,168,76,0.07) 7px,rgba(201,168,76,0.02) 7px,rgba(201,168,76,0.02) 14px);
    border-color: rgba(201,168,76,0.18);
}
.back-privilege .sigpanel span { color: rgba(201,168,76,0.3); }
.back-privilege .back-service { color: rgba(201,168,76,0.35); }
.back-privilege .back-mir { color: rgba(201,168,76,0.5); }
.privilege-label {
    position: absolute; bottom: 44px; left: 24px;
    font-size: 20px; font-style: italic; font-weight: 300;
    color: rgba(201,168,76,0.4); letter-spacing: 0.06em;
}
.hint {
    font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.25); text-align: center;
}