:root {
    --primary: #008fd5;
    --primary-dark: #202121;
    --dark: #1e1e2f;
    --light: #f8f9fa;
    --gray: #6c757d;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-h: 70px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --surface: #ffffff;
    --border: #e6e8ec;
    --text: #14171d;
    --text-muted: #6b7280;
    --accent: #e6e8ec;
    --accent-soft: rgba(0, 0, 0, .03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5 {
    font-size: clamp(18px, 5vw, 22px);
    margin: 0;
    font-weight: 100;
}


p {
    text-align: left;
    font-size: clamp(20px, 5vw, 25px);
}

img {
    aspect-ratio: attr(width) / attr(height);
    width: 100%;
    height: auto;
}

li {
    list-style-type: none;
}

input:focus,
textarea:focus {
    outline: none;
}

input::placeholder {
    opacity: 1;
    transition: opacity 0.8s ease;
}

input:focus::placeholder {
    opacity: 0;
}

textarea::placeholder {
    opacity: 1;
    transition: opacity 0.8s ease;
}

textarea:focus::placeholder {
    opacity: 0;
}

.grecaptcha-badge {
    visibility: hidden;
}

a {
    text-decoration: none;
    color: #475569;
}


html {
    height: 100%;
}

body {
    font-family: 'OpenSans', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
    padding-top: 70px;
}

.content-wrapper {
    margin: 0 auto;
    max-width: 1700px;
    width: 100%;
    padding: 5px 10px;
    min-height: 100vh;
    height: auto;
    display: grid;
}

.header {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    z-index: 100;
    height: var(--header-h);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transform: translateY(0);
    transition: transform .38s var(--ease),
        background-color .38s var(--ease),
        border-color .38s var(--ease),
        backdrop-filter .38s var(--ease);
}

.site-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(5deg, #e6e6e6, #929292, #e6e6e6);
    opacity: 0.7;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(14px);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    max-width: 90px;
    height: auto;
}

.primary-nav {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-level-1 {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: color .2s var(--ease);
    white-space: nowrap;
}

.nav-item.has-children .nav-link .chev {
    width: 9px;
    height: 9px;
    transition: transform .28s var(--ease);
    flex-shrink: 0;
}

.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link,
.nav-link.is-active {
    color: var(--text);
    cursor: pointer;
}

.nav-item:hover .chev,
.nav-item:focus-within .chev {
    transform: rotate(180deg);
}

.nav-indicator {
    position: absolute;
    bottom: 6px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0;
    transition: transform .32s var(--ease), width .32s var(--ease), opacity .2s var(--ease);
    pointer-events: none;
}

.primary-nav:hover .nav-indicator,
.primary-nav:focus-within .nav-indicator {
    opacity: 1;
}

.nav-level-2 {
    position: absolute;
    top: calc(100%);
    text-align: left;
    left: 0;
    min-width: 240px;
    list-style: none;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;

}

.nav-item.has-children:hover .nav-level-2,
.nav-item.has-children:focus-within .nav-level-2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-level-2 li a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background-color .18s var(--ease);
}

.nav-level-2 li a:hover {
    background: var(--accent-soft);
}

.nav-level-2 li a small {
    font-weight: 400;
    font-size: 12.5px;
    color: var(--text-muted);
}

.burger {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.burger span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}

.burger span:nth-child(1) {
    top: 14px;
}

.burger span:nth-child(2) {
    top: 19px;
}

.burger span:nth-child(3) {
    top: 24px;
}

.burger.is-open span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

.mobile-drawer {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    text-align: left;
    width: min(360px, 88vw);
    background: var(--surface);
    border-left: 1px solid var(--border);
    padding: 12px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .36s var(--ease);
    z-index: 99;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 98;
}

.mobile-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.m-item {
    border-bottom: 1px solid var(--border);
}

.m-item:last-child {
    border-bottom: none;
}

.m-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px;
}

.m-row a,
.m-row span {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.m-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.m-toggle svg {
    transition: transform .28s var(--ease);
}

.m-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.m-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
}

.m-submenu ul {
    list-style: none;
    padding: 0 8px 12px 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-submenu a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
}

.m-submenu a:hover {
    background: var(--accent-soft);
    color: var(--text);
}

.footer {
    position: relative;
    padding: 25px 15px 10px;
    margin-top: 10px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(5deg, #e6e6e6, #929292, #e6e6e6);
    opacity: 0.7;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-block {
    flex: 1;
    min-width: 220px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.footer-block:hover .footer-title::after {
    width: 100px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 1.1rem;
}

.footer-list a {
    color: #475569;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    position: relative;
}

.footer-list a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 28px;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-list a:hover {
    color: var(--text);

}

.footer-list a:hover::before {
    width: calc(100% - 28px);
}

.footer-list i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 22px;
    transition: transform 0.3s ease;
}

.footer-list a:hover i {
    color: var(--text);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(67, 97, 238, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.25);
}

.contact-text {
    font-weight: 500;
}

.contact-text small {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 400;
}

.social-grid {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: #4361ee;
    box-shadow: 0 15px 25px -8px rgba(67, 97, 238, 0.4);
}

.social-link:hover::before {
    left: 100%;
}

.copyright-links {
    display: flex;
    gap: 2rem;
    min-width: 250px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright-links a {
    text-decoration: none;
    transition: color 0.3s;
}

.copyright-links a:hover {
    color: var(--text);
}

.made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.made-with i {
    background: linear-gradient(90deg, #ffd700 50%, #0057b8 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heartbeat 1.5s ease infinite;
    position: relative;
    top: 2px;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.bread {
    padding: 10px 0;
    margin-bottom: 5px;
    color: #b9b9b9;
    font-size: 1em;
}

.bread ol {
    position: relative;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.bread li {
    display: inline;
    padding: 0 5px;
}

.bread li:first-child {
    padding-left: 0;
}

.bread li:last-child {
    padding-right: 0;
}

.bread a {
    text-decoration: none;
    color: #9a9a9a;
    transition: color 0.2s ease;
}

.bread a:hover {
    text-decoration: underline;
    color: #555;
}

.bread .separator {
    margin: 0 5px;
    color: #ccc;
}

.bread .current {
    color: #333;
    font-weight: 500;
}

.bread ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bread li {
    display: inline-flex;
    align-items: center;
}

.bread li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #ccc;
}

.bread a {
    text-decoration: none;
    color: #9a9a9a;
}

.bread a:hover {
    text-decoration: underline;
    color: #555;
}

.bread [aria-current="page"] {
    color: #333;
    font-weight: 500;
}

.info-content {
    padding: 0 10px 20px;
    margin: 0 auto;
    max-width: 1300px;
}

.info-content h1 {
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 16px 0;
    padding-left: 16px;
    border-left: 3px solid var(--primary);
}

.info-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1e293b;
    margin: 24px 0 12px 0;
    padding: 0;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
}

.info-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.info-content ul,
.info-content ol {
    margin: 16px 0 24px 0;
    padding: 0;
    list-style: none;
}

.info-content li {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #334155;
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
}

.info-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1rem;
}

.info-content ol {
    counter-reset: item;
}

.info-content ol li {
    counter-increment: item;
    padding-left: 32px;
}

.info-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.info-content strong {
    color: #0f172a;
    font-weight: 500;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s;
}

.info-content a:hover {
    color: #051f61;
    border-bottom-color: #051f61;
}

.home-header {
    min-height: 60vh;
    width: 100%;
    background-image: linear-gradient(to left, #66b1ff 10%, #e7fa94 60%, #e7fa94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.home-header-content {
    max-width: 900px;
    width: 100%;
}

.home-header-content img {
    max-width: 90px;
}

.home-header-title {
    font-size: clamp(2rem, 5vw, 2.7rem);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.home-header-description {
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 35px auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--primary);
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.director {
    border-radius: 5px;
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 2px rgba(22, 50, 79, .04), 0 12px 32px -16px rgba(22, 50, 79, .18);
    border: 1px solid var(--border);
    margin: 28px 0;
    max-width: 630px;
}

.director::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--primary);
}

.director .photo {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.director .info {
    padding: 36px 40px 32px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.role-tag {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

.name {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 18px;

}

.divider {
    width: 44px;
    height: 1px;
    background: var(--primary);
    margin-bottom: 18px;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.contacts a,
.contacts span {
    font-size: 14.5px;
    color: var(--gray);
    text-decoration: none;
}

.contacts a:hover {
    color: var(--primary-dark);
}

.bio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    transition: background .18s ease, color .18s ease;
}

.but a:hover {
    background: var(--primary);
    color: var(--light);
}

.bio-link svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.deputies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.deputy {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 30px 30px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.monogram {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 30px;
}

.deputy .role-tag {
    margin-bottom: 8px;
}

.deputy .name {
    font-size: 19px;
    margin-bottom: 10px;
}

.deputy .contacts {
    margin-bottom: 0;
}

.table-grid {
    display: grid;
    grid-template-columns: 2.3fr 2fr 2fr;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #ffffff;
    margin-top: 15px;
}

.table-header {
    display: contents;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #64748b;
    background: #f8fafc;
}

.table-header .cell {
    background: #f8fafc;
    padding: 16px 18px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.table-row {
    display: contents;
}

.table-row .cell {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    font-size: 17px;
    color: #0f172a;
    line-height: 1.5;
    word-break: break-word;
}

.table-row:last-child .cell {
    border-bottom: none;
}

.table-header .cell:nth-child(1),
.table-row .cell:nth-child(1) {
    text-align: left;
}

.table-header .cell:nth-child(2),
.table-row .cell:nth-child(2) {
    text-align: left;
}

.table-header .cell:nth-child(3),
.table-row .cell:nth-child(3) {
    text-align: left;
}

.table-row .cell {
    vertical-align: middle;
}

.table-row:hover .cell {
    background: #fafcff;
    transition: background 0.15s ease;
}

.table-scroll {
    overflow-x: auto;
    border-radius: 16px;
}

.table-scroll::-webkit-scrollbar {
    height: 6px;
}

.table-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

.services-section {
    width: 100%;
    padding: 50px;

}

.services-section h2 {
    position: relative;
    top: -15px;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.service-card {
    background: #fff;
    border-radius: 5px;
    padding: 32px 22px 30px;
    border: 1px solid rgba(60, 130, 220, 0.18);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(2px);
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: var(--border);
    background: #f9fcff;
}

.service-icon {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 12px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0b2b44;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-btn {
    display: inline-block;
    background: transparent;
    border: 1.5px solid var(--primary);
    color: #1a5fb0;
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 28px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    margin-top: 8px;
    background: white;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.service-btn:hover {
    background: var(--primary);
    color: white;
    border-color: #1a5fb0;
    transform: scale(1);
}

.service-btn:active {
    transform: scale(0.96);
}

.service-line {
    position: relative;
    width: 100%;
    margin: 15px 0;
    display: block;
}

.service-line::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    height: 0.5px;
    background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
    opacity: 0.7;
}

@media (max-width: 768px) {
    .info-content {
        padding: 16px 16px 24px;
    }

    .info-content h2 {
        font-size: 1.6rem;
    }

    .info-content h3 {
        font-size: 1.3rem;
    }

    .info-content p,
    .info-content li {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .bread {
        font-size: 0.75em;
    }

    .bread li:not(:last-child)::after {
        margin: 0 4px;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .social-links {
        gap: 15px;
    }

    .home-header {
        min-height: 45vh;
    }

    .primary-nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-block {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }

    .footer-block:hover .footer-title::after {
        width: 120px;
    }

    .footer-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-list a {
        justify-content: center;
        text-align: center;
    }

    .footer-list a::before {
        left: 50%;
        transform: translateX(-50%);
        bottom: -4px;
        width: 0;
    }

    .footer-list a:hover::before {
        width: 80%;
    }

    .contact-item {
        justify-content: center;
    }

    .contact-item:hover {
        transform: translateY(-3px);
    }

    .social-title {
        text-align: center;
    }

    .social-grid {
        justify-content: center;
    }

    .payment-title {
        text-align: center;
    }

    .payment-wrapper {
        margin: 0 auto;
        justify-content: center;
        width: 100%;
    }

    .marketplace-badge {
        justify-content: center;
    }

    .newsletter-box {
        text-align: center;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-subscribe {
        justify-content: center;
        padding: 1rem;
    }

    .copyright {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        margin-top: 10px;
    }

    .copyright-links {
        justify-content: center;
    }

    .director {
        grid-template-columns: 1fr;
    }

    .director .photo {
        min-height: 220px;
    }

    .director .info {
        padding: 28px 26px;
    }

    .deputies {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 16px 12px 20px;
        border-radius: 20px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .table-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        border: none;
        background: transparent;
        border-radius: 0;
    }

    .table-header {
        display: none;
    }

    .table-row {
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 16px;
        padding: 14px 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        border: 1px solid var(--border);
        transition: box-shadow 0.2s;
    }

    .table-row:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    }

    .table-row .cell {
        padding: 6px 0;
        border-bottom: none;
        background: transparent !important;
        font-size: 14px;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .table-row .cell:not(:last-child) {
        border-bottom: 1px dashed #ecf1f7;
        padding-bottom: 10px;
        margin-bottom: 6px;
    }

    .table-row .cell::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 12px;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        min-width: 80px;
        flex-shrink: 0;
    }

    .table-row:last-child .cell {
        border-bottom: none;
    }

    .table-row .cell {
        text-align: left !important;
    }

    .services-section {
        padding: 30px 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 460px;
        margin: 0 auto;
    }

    .service-card {
        padding: 28px 20px 24px;
        border-radius: 5px;
        width: 100%;
    }

    .service-icon {
        width: 72px;
        height: 72px;
        font-size: 2.4rem;
    }

    .service-title {
        font-size: 1.4rem;
    }

    .service-btn {
        padding: 12px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 260px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .info-content {
        padding: 20px 24px 28px;
    }
}

@media screen and (max-width: 480px) {
    .social-grid {
        gap: 0.5rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .payment-item {
        font-size: 1.8rem;
    }

    .marketplace-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .director {
        margin-bottom: 20px;
        border-radius: 3px;
    }

    .director::before {
        width: 3px;
    }

    .director .photo {
        min-height: 180px;
    }

    .director .info {
        padding: 22px 18px 24px 22px;
    }

    .role-tag {
        font-size: 10px;
        letter-spacing: .13em;
        margin-bottom: 8px;
    }

    .name {
        font-size: 21px;
        margin-bottom: 14px;
    }

    .divider {
        margin-bottom: 14px;
    }

    .contacts {
        gap: 6px;
        margin-bottom: 16px;
    }

    .contacts a,
    .contacts span {
        font-size: 13.5px;
    }

    .bio-link {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 13px;
    }

    .deputies {
        gap: 14px;
    }

    .deputy {
        padding: 22px 20px;
        gap: 14px;
        align-items: center;
    }

    .monogram {
        width: 46px;
        height: 46px;
        font-size: 15px;
    }

    .deputy .name {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .deputy .contacts a {
        font-size: 13.5px;
        word-break: break-word;
    }

    .table-row .cell::before {
        min-width: 70px;
        font-size: 11px;
    }

    .table-row .cell {
        font-size: 13px;
        flex-wrap: wrap;
    }
}

@font-face {
    font-family: "OpenSans";
    src: url("./font/Raleway-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}