/* Inner-page styles. Loaded after styles.css, which holds the tokens and home-page sections. */

.promo small { opacity: .8; font-size: 11.5px; }
.nav a.current, .nav-group.current > button { color: var(--blue); }
.btn-line { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lead { font-size: 18px; margin-bottom: 18px; }
.note { text-align: center; margin-top: 26px; font-size: 15px; color: var(--muted); }
.note a, .prose a, .card a, .empty a, .faq-empty a, .faq-body a { color: var(--blue); font-weight: 600; }
.note a:hover, .prose a:hover, .card a:hover, .empty a:hover, .faq-body a:hover { text-decoration: underline; }

/* ---------- extra icons ---------- */
.ic-globe { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.ic-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ic-clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic-users { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.5 3-6 6.5-6s6.5 2.5 6.5 6M16 4.800a3.500 3.500 0 0 1 0 6.400M18 14.300c2 .8 3.500 2.800 3.500 5.700'/%3E%3C/svg%3E"); }
.ic-mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.ic-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.5 7-11.500a7 7 0 0 0-14 0C5 14.500 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ic-box { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 4.5v9L12 21l-9-4.500v-9z'/%3E%3Cpath d='m3 7.500 9 4.500 9-4.500M12 12v9'/%3E%3C/svg%3E"); }
.ic-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V4M4 20h16M8 16l4-5 3 3 5-7'/%3E%3C/svg%3E"); }
.ic-star { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.900 6 6.600.9-4.800 4.600 1.200 6.500L12 17.400l-5.900 3.100 1.200-6.500L2.500 9.400l6.600-.9z'/%3E%3C/svg%3E"); }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: linear-gradient(180deg, #eef2ff 0%, #fff 100%); text-align: center; }
.page-hero .blob-a { opacity: .35; top: -260px; right: -120px; }
.page-hero-inner { position: relative; max-width: 860px; animation: heroIn .9s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; margin: 16px 0 14px; }
.page-hero p { font-size: 18px; max-width: 680px; margin-inline: auto; }
.crumbs { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 6px; opacity: .5; }
.crumbs em { font-style: normal; color: var(--blue); }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split-top { align-items: start; }
.split h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin: 16px 0 14px; }
.split .btn { margin-top: 26px; }
.check-list { margin-top: 18px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(32, 66, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232042ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- cards ---------- */
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(32, 66, 255, .3); }
.card > .ic { display: block; width: 52px; height: 52px; margin-bottom: 18px; background: var(--grad); transition: transform .5s var(--ease); }
.card:hover > .ic { transform: scale(1.12) rotate(-6deg); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; }
.card-center { text-align: center; }
.card-center > .ic { margin-inline: auto; }
.contact-cards .card p { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 22px 22px 22px 78px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.steps li:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 15px; }
.steps b { display: block; color: var(--ink); font-size: 17px; }
.steps span { font-size: 15px; }

/* ---------- forms ---------- */
.form-card { padding: 34px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(32, 66, 255, .45); display: grid; gap: 18px; }
.form-card h2 { font-size: 28px; margin: 0; }
.form-lead { font-size: 15px; margin-top: -8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea, .job-filter input, .job-filter select, .faq-search input {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcff; color: var(--ink);
  font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus, .job-filter input:focus, .job-filter select:focus, .faq-search input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(32, 66, 255, .12); }
.field .invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.form-card .btn { justify-self: start; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.form-note .ic { width: 16px; height: 16px; background: #1fc77a; }
.map-card { margin-top: 28px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-card iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- support levels ---------- */
.level { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.level::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.level:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.level:hover::before { transform: scaleX(1); }
.level-no { align-self: flex-start; padding: 5px 13px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.level h3 { font-size: 22px; }
.level > p { font-size: 15px; }
.level .level-time { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 14px; }
.level-time .ic { width: 16px; height: 16px; }
.level-person { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.level-person small { display: block; color: var(--muted); font-size: 12.5px; }
.level-person b { display: block; color: var(--ink); line-height: 1.3; }
.level-person a:not(.btn) { color: var(--blue); font-size: 14px; font-weight: 600; }

/* ---------- logo grid ---------- */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-grid span { padding: 16px 30px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 800; font-size: 17px; color: #8a8fa8; transition: color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.logo-grid span:hover { color: var(--blue); border-color: rgba(32, 66, 255, .4); transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- empty state, chips ---------- */
.empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 28px; border-radius: 24px; border: 1.5px dashed #cfd5ee; background: var(--tint); }
.empty > .ic { display: block; width: 54px; height: 54px; background: var(--grad); margin: 0 auto 16px; }
.empty h3, .empty h1 { font-size: 22px; margin-bottom: 8px; }
.empty .btn, .empty .cta-actions { margin-top: 22px; }
.empty .cta-actions .btn { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.chip-tab { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--text); }
.chip-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.job-filter { display: grid; grid-template-columns: 1fr 220px auto; gap: 12px; max-width: 760px; margin: 0 auto 36px; }
.not-found .nf-code { display: block; font-size: 96px; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.not-found .empty h1 { font-size: 28px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-search { margin-bottom: 36px; }
.faq-search input { padding: 16px 22px; border-radius: 999px; font-size: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.faq-group { margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group h2 { font-size: 24px; margin-bottom: 16px; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow); border-color: rgba(32, 66, 255, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; color: var(--ink); font-size: 16.5px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 0 22px 20px; animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }
.faq-body p + p, .faq-body ul, .faq-body ul + p { margin-top: 10px; }
.faq-body ul, .prose ul { display: grid; gap: 8px; }
.faq-body li, .prose li { position: relative; padding-left: 22px; }
.faq-body li::before, .prose li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.faq-empty { text-align: center; font-weight: 600; }

/* ---------- prose (legal + articles) ---------- */
.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.legal-layout > *, .article-layout > * { min-width: 0; }
.legal-nav, .sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.side-card { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.side-card h3 { font-size: 16px; margin-bottom: 12px; }
.side-card a { display: block; padding: 7px 0 7px 12px; font-size: 14px; font-weight: 600; color: var(--text); border-left: 2px solid var(--line); transition: color .2s, border-color .2s, padding-left .2s; }
.side-card a:hover, .side-card a.current, .side-card a.active { color: var(--blue); border-color: var(--blue); padding-left: 16px; }
.side-card a small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.prose { font-size: 16.5px; }
.prose section { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2 { font-size: 24px; margin: 38px 0 12px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose b { color: var(--ink); }
.article-art { height: 280px; border-radius: 22px; margin-bottom: 30px; }
.article-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.story-full { margin-bottom: 20px; }
.story a:hover { color: var(--blue); }
.link-list { display: grid; gap: 12px; }
.link-list-wide { max-width: 760px; margin-inline: auto; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, color .2s; }
.link-list a:hover { transform: translateX(8px); box-shadow: var(--shadow); color: var(--blue); text-decoration: none; }
.link-list small { font-weight: 600; color: var(--muted); white-space: nowrap; }

/* ---------- footer additions ---------- */
.footer-contact { margin-top: 12px; line-height: 1.8; }
.footer-contact a:hover { color: #fff; }
.footer-news { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-news .newsletter h4 { margin-bottom: 4px; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; font-weight: 600; color: #fff; }
.footer-trust li { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { justify-content: center; }

@media (max-width: 1080px) {
  .legal-layout, .article-layout { grid-template-columns: 1fr; }
  .legal-nav, .sidebar { position: static; max-height: none; }
  .legal-nav .side-card:first-child { display: none; }
  .footer-trust { margin-left: 0; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 44px 0 52px; }
}
@media (max-width: 640px) {
  .tile-grid, .field-row, .job-filter { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-card .btn { justify-self: stretch; }
  .link-list a { flex-direction: column; align-items: flex-start; gap: 4px; }
}
