:root {
  --navy: #123b72;
  --navy-deep: #0b2e59;
  --ink: #17355d;
  --text: #40526c;
  --line: #dce4ee;
  --paper: #ffffff;
  --soft: #f5f8fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(100% - 48px, 1380px); margin: 0 auto; }
.top-container { width: min(100% - 96px, 1720px); margin: 0 auto; }

.top-info-bar { background: linear-gradient(105deg, var(--navy-deep), #1b4d89); color: #fff; }
.top-info-bar .top-container { min-height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.top-info-left, .top-info-right { display: flex; align-items: center; gap: 32px; }
.top-info-left { justify-self: start; }
.top-info-right { justify-self: end; }
.top-info-right a { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 9px; border: 1px solid transparent; border-radius: 7px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.top-info-right a:hover { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.12); opacity: 1; text-decoration: none; transform: translateY(-1px); }
.top-info-bar span, .top-info-bar a { color: #fff; font-size: 15px; text-decoration: none; white-space: nowrap; opacity: .94; }
.location { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.location span { font-size: 13px; line-height: 1.32; }
.location:hover { text-decoration: underline; }
.location svg { flex: 0 0 auto; width: 21px; height: 21px; fill: currentColor; stroke: none; }
.location svg circle { fill: var(--navy); }
.top-info-bar a:hover { opacity: 1; }
.top-social { display: flex; align-items: center; justify-content: center; gap: 9px; }
.top-social-label { margin-right: 2px; font-weight: 500; }
.top-social a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 8px; transition: .2s ease; }
.top-social a:hover { border-color: #fff; background: rgba(255,255,255,.13); transform: translateY(-1px); }
.top-social svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.top-social svg text { fill: currentColor; stroke: none; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 700; }
.top-social svg .social-dot { fill: currentColor; stroke: none; }

.header-transparent { position: absolute; inset: 56px 0 auto; z-index: 3; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.99) 56%, rgba(255,255,255,.74) 100%); }
.header-transparent .top-container { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.logo-main { display: flex; align-items: center; gap: 15px; min-width: 330px; color: var(--ink); text-decoration: none; }
.logo-main:hover { text-decoration: none; }
.logo-wordmark { font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.logo-mark-shell { display: grid; flex: 0 0 auto; width: 72px; height: 72px; place-items: center; padding: 0; border: 1px solid rgba(226,187,77,.72); border-radius: 18px; background: #092b55; box-shadow: 0 9px 22px rgba(18,45,80,.2), inset 0 1px 0 rgba(255,255,255,.12); overflow: hidden; }
.logo-mark { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.03); mix-blend-mode: screen; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.7vw, 45px); }
.main-nav a { color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--navy); }
.cta-button { flex: 0 0 auto; padding: 16px 25px; border-radius: 10px; background: var(--navy); box-shadow: 0 10px 22px rgba(18,59,114,.2); color: #fff; font-weight: 600; text-decoration: none; transition: .2s ease; }
.cta-button:hover { background: var(--navy-deep); transform: translateY(-2px); }

.hero-section { position: relative; min-height: 930px; padding: 262px 0 76px; background: #fff; }
.hero-section::before { position: absolute; z-index: 0; inset: 0; background: url('hero-office-rgr.png') center/cover no-repeat; filter: brightness(1.07) contrast(1.04); content: ''; }
.hero-section::after { position: absolute; z-index: 1; inset: 0; background: radial-gradient(ellipse 48% 48% at 65% 45%, rgba(255,255,255,.11), transparent 72%); content: ''; pointer-events: none; }
.hero-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, #fff 0, rgba(255,255,255,.98) 104px, rgba(255,255,255,.72) 190px, rgba(255,255,255,.18) 288px, rgba(255,255,255,0) 390px), linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.78) 26%, rgba(255,255,255,.18) 58%, rgba(255,255,255,.02) 100%); pointer-events: none; }
.hero-section .top-container { position: relative; z-index: 2; }
.hero-content-left { max-width: 790px; }
.hero-main-title { margin: 0 0 24px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(43px, 3.75vw, 60px); font-weight: 500; line-height: 1.13; letter-spacing: -.03em; }
.hero-desc { max-width: 650px; margin: 0 0 30px; color: #25496f; font-size: 17px; line-height: 1.65; }
.hero-founded { margin: 0; padding-left: 17px; border-left: 2px solid #4272a6; color: #25496f; font-size: 15px; }

.hero-service-card { position: absolute; top: clamp(456px, calc(328px + 10vw), 494px); left: 50%; width: 100%; display: grid; grid-template-columns: minmax(285px, 1.25fr) minmax(250px, 1fr) minmax(275px, 1.1fr) 70px; align-items: center; gap: 0; padding: 38px 40px 36px 48px; border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 18px 40px rgba(18,45,80,.18); transform: translateX(-50%); }
.service-card-intro { min-width: 0; padding-right: 34px; }
.service-title { margin: 0 0 12px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 31px; line-height: 1.2; }
.service-title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.service-title a:hover { color: #2f70b7; }
.service-subtitle { max-width: 430px; margin: 0; font-size: 16px; }
.service-option { display: grid; min-width: 0; grid-template-columns: 62px 1fr; align-items: center; gap: 20px; padding: 8px 30px; color: var(--ink); text-decoration: none; transition: color .2s ease, transform .2s ease; }
.service-option + .service-option { border-left: 1px solid var(--line); }
.service-option:hover { color: #2f70b7; transform: translateY(-2px); }
.service-icon { display: grid; width: 62px; height: 62px; place-items: center; color: var(--navy); }
.service-icon svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.service-option-copy { display: block; min-width: 0; }
.service-option-copy strong { display: block; margin-bottom: 9px; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.service-option-copy > span { display: block; color: var(--text); font-size: 14px; line-height: 1.5; }
.service-card-right { display: flex; justify-content: flex-end; }
.service-arrow-btn { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 13px; background: var(--navy); color: #fff; font-size: 33px; line-height: 1; text-decoration: none; transition: .2s ease; }
.service-arrow-btn:hover { transform: translateX(4px); background: var(--navy-deep); }

.content_main, .main_news, .partners, .sostav { width: min(100% - 48px, 1240px); margin-right: auto; margin-left: auto; }
.content_main { display: grid; grid-template-columns: 310px 1fr; gap: 56px; padding: 100px 0 48px; }
.caption { grid-column: 1 / -1; margin-bottom: -22px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 39px; font-weight: 700; line-height: 1.2; }
.content_left img { width: 100%; border-radius: 12px; box-shadow: 0 15px 34px rgba(18,45,80,.12); }
.president-signature { margin-top: 17px; color: #566a85; line-height: 1.4; }
.president-signature strong { display: block; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 600; }
.president-signature em { display: block; margin-top: 4px; font-size: 14px; }
.content_right { color: #4a5b72; font-size: 16px; }
.content_right h1 { margin: 0 0 20px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 28px; line-height: 1.25; text-align: left !important; }
.content_right p { margin: 0 0 16px; }
.content_right .audience-heading { display: inline-block; margin: 12px 0 18px; padding-bottom: 4px; border-bottom: 2px solid #8da5c3; color: var(--ink); }
.content_right .audience-heading strong { font-size: 17px; }
.content_right .president-closing { margin: 30px 0 0; }
.content_main .caption { position: relative; padding-bottom: 16px; }
.content_main .caption::after { position: absolute; bottom: 0; left: 0; width: 74px; height: 2px; background: var(--navy); content: ''; }
.content_right ul { padding-left: 21px; }
.content_right li { margin: 0 0 9px; }

.main_news { position: relative; padding: 84px 0 88px; border-top: 1px solid var(--line); }
.main_news .caption, .partners .caption, .sostav .caption { margin: 0 0 36px; }
.news_items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news_item { min-width: 0; padding-bottom: 20px; border-radius: 12px; background: var(--soft); overflow: hidden; }
.news_item > a img { width: 100%; height: 195px; object-fit: cover; }
.news_date, .news_name, .news_anons { margin: 0 20px; }
.news_date { padding-top: 15px; color: #75869b; font-size: 13px; }
.news_name { margin-top: 7px; font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 700; line-height: 1.28; }
.news_name a { color: #123b72; text-decoration: none; transition: color .2s ease; }
.news_name a:hover { color: #2a6bb0; }
.news_anons { margin-top: 9px; font-size: 14px; line-height: 1.5; }
.read_all { grid-column: 1 / -1; color: var(--navy); font-weight: 600; text-decoration: none; }
.news_ban { display: none; }

.partners { position: relative; padding: 84px 0 88px; border-top: 1px solid var(--line); }
.partners_items { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 28px; }
.partners_item { display: grid; min-height: 100px; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.partners_item img { max-height: 70px; object-fit: contain; }

.sostav { position: relative; padding: 84px 0 96px; border-top: 1px solid var(--line); }
.sostav_items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sostav_item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sostav_item_top { display: grid; height: 170px; place-items: center; padding: 18px; background: var(--soft); }
.sostav_item_top img { max-height: 134px; object-fit: contain; }
.sostav_item_bottom { min-height: 90px; padding: 16px; color: var(--ink); font-size: 15px; }
.sostav_item_option span { display: block; margin-bottom: 4px; color: #7890ac; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.sostav_all { display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 0; background: var(--navy); color: #fff; }
.see_all_caption { margin-bottom: 18px; font-family: "Playfair Display", Georgia, serif; font-size: 25px; line-height: 1.25; }
.see_all_button { display: inline-block; width: fit-content; padding: 10px 16px; border: 1px solid rgba(255,255,255,.6); border-radius: 7px; color: #fff; font-size: 14px; text-decoration: none; }

.map-section { width: min(100% - 48px, 1380px); padding: 6px 0 88px; margin: 0 auto; }
.map-section .caption { margin: 0 0 34px; text-align: left; }
.map-card { display: grid; grid-template-columns: minmax(280px, .48fr) minmax(0, 1.52fr); min-height: 330px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 14px 36px rgba(18,45,80,.12); }
.map-contact { display: flex; flex-direction: column; padding: 42px; }
.map-address { display: flex; align-items: flex-start; gap: 13px; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.35; }
.map-address small { display: block; margin-top: 4px; color: #6f8198; font-family: Inter, Arial, sans-serif; font-size: 15px; font-weight: 500; }
.map-address svg, .map-contact-details svg { flex: 0 0 auto; width: 27px; height: 27px; margin-top: 1px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-address svg circle { fill: var(--navy); stroke: none; }
.route-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; width: fit-content; margin: 32px 0; padding: 14px 25px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; transition: .2s ease; }
.route-button:hover { background: var(--navy-deep); transform: translateY(-1px); }
.route-button svg { width: 19px; height: 19px; fill: currentColor; }
.map-contact-details { display: grid; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.map-contact-details a, .map-hours { display: inline-flex; align-items: center; gap: 13px; color: #344d71; font-size: 16px; font-weight: 500; text-decoration: none; }
.map-contact-details a:hover { color: var(--navy); }
.map-contact-details svg { width: 23px; height: 23px; }
#map { height: 330px; background: var(--soft); }
#map iframe { display: block; width: 100% !important; height: 100%; border: 0; }

.footer { padding: 30px 0; background: var(--navy-deep); color: #dfe9f7; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr auto; align-items: center; gap: 28px; font-size: 14px; }
.footer-brand { display: grid; gap: 6px; color: #fff; font-weight: 600; }
.footer-legal { max-width: 340px; color: #b9cbe0; font-size: 11px; font-weight: 400; line-height: 1.45; }
.footer-address { display: inline-flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.footer-address svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; fill: currentColor; stroke: none; }
.footer-address svg circle { fill: var(--navy-deep); }
.footer-contacts { display: grid; gap: 4px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-social { display: flex; justify-content: flex-end; gap: 9px; }
.footer-social a { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 8px; text-decoration: none; transition: .2s ease; }
.footer-social a:hover { background: rgba(255,255,255,.13); text-decoration: none; transform: translateY(-1px); }
.footer-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-social svg text, .footer-social svg .social-dot { fill: currentColor; stroke: none; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 700; }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 15px; }
  .logo-main { min-width: auto; }
  .logo-wordmark { font-size: 19px; }
  .logo-mark-shell { width: 60px; height: 60px; border-radius: 15px; }
  .hero-section .top-container { width: min(100% - 48px, 1320px); }
  .hero-service-card { position: relative; top: auto; left: auto; width: 100%; grid-template-columns: 1fr 1fr; margin-top: 48px; transform: none; }
  .service-card-intro { grid-column: 1 / -1; margin-bottom: 24px; padding-right: 0; }
  .service-option { padding: 12px 26px 12px 0; }
  .service-option + .service-option { padding-left: 26px; }
  .service-card-right { grid-column: 1 / -1; margin-top: 22px; }
  .hero-section { min-height: auto; padding-bottom: 42px; }
  .content_main { grid-template-columns: 240px 1fr; gap: 34px; }
  .sostav_items { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .container, .top-container, .content_main, .main_news, .partners, .sostav { width: min(100% - 32px, 1380px); }
  .top-info-bar .top-container { min-height: 46px; }
  .top-info-left .founded, .top-info-right a:last-child, .main-nav { display: none; }
  .top-info-left, .top-info-right { gap: 12px; }
  .top-info-bar .top-container { grid-template-columns: auto 1fr auto; gap: 10px; }
  .top-info-bar span, .top-info-bar a { font-size: 12px; }
  .top-social { justify-self: center; gap: 6px; }
  .top-social-label { display: none; }
  .top-social a { width: 26px; height: 26px; border-radius: 7px; }
  .top-social svg { width: 20px; height: 20px; }
  .header-transparent { inset: 46px 0 auto; }
  .header-transparent .top-container { min-height: 86px; }
  .logo-main { min-width: 0; }
  .logo-wordmark { font-size: 16px; }
  .logo-mark-shell { width: 48px; height: 48px; padding: 0; border-radius: 12px; }
  .cta-button { padding: 11px 14px; font-size: 13px; }
  .hero-section { padding-top: 150px; }
  .hero-section::before, .hero-overlay { top: 0; }
  .hero-section::before { background-position: 57% center; }
  .hero-overlay { background: rgba(255,255,255,.83); }
  .hero-main-title { font-size: 42px; }
  .hero-desc { font-size: 16px; }
  .hero-service-card { display: block; padding: 26px; }
  .service-title { font-size: 26px; }
  .service-card-intro { margin-bottom: 12px; }
  .service-option, .service-option + .service-option { grid-template-columns: 50px 1fr; gap: 16px; padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .service-icon { width: 50px; height: 50px; }
  .service-icon svg { width: 46px; height: 46px; }
  .service-card-right { margin-top: 22px; }
  .content_main { display: block; padding: 65px 0; }
  .caption { margin-bottom: 25px; font-size: 32px; }
  .content_left { max-width: 250px; margin-bottom: 28px; }
  .news_items, .partners_items, .sostav_items { grid-template-columns: 1fr; }
  .map-section { width: min(100% - 32px, 1380px); padding-bottom: 52px; }
  .map-card { grid-template-columns: 1fr; }
  .map-contact { padding: 28px; }
  .map-address { font-size: 18px; }
  .route-button { margin: 24px 0; }
  #map { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-social { justify-content: flex-start; }
}

/* Dynamic preview pages: presentation only, content is read from the existing admin data. */
.preview-header { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid rgba(18,59,114,.09); }
.preview-header .top-container { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.preview-header .main-nav a.active { border-bottom-color: var(--navy); }
.preview-hero { min-height: 850px; padding-top: 130px; }
.preview-page { min-height: 62vh; padding: 76px 0 96px; background: linear-gradient(180deg, #f6f9fd, #fff 250px); }
.preview-page .caption { margin-bottom: 38px; }
.preview-page-text { max-width: 920px; color: #4a5b72; font-size: 17px; line-height: 1.72; }
.preview-page-text h1, .preview-page-text h2, .preview-page-text h3 { color: var(--ink); font-family: "Playfair Display", Georgia, serif; line-height: 1.25; }
.preview-page-text img { max-width: 100%; height: auto; }
.preview-page-text p { margin: 0 0 18px; }
.membership-page { max-width: 1120px; }
.membership-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 48px; align-items: stretch; margin-bottom: 72px; }
.membership-lead { margin: 0 0 20px !important; color: #173d74; font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 3.1vw, 42px); font-weight: 500; line-height: 1.18; }
.membership-intro > div:first-child > p:not(.membership-lead) { max-width: 690px; color: #536c88; font-size: 18px; line-height: 1.7; }
.membership-intro-note { display: flex; flex-direction: column; justify-content: center; min-height: 236px; padding: 31px; border-radius: 18px; background: linear-gradient(135deg, #0a3368, #1b5c9e); box-shadow: 0 16px 36px rgba(15, 56, 110, .18); color: #fff; }
.membership-intro-note span, .membership-status span, .membership-contact span { margin-bottom: 12px; color: #d9b747; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.membership-intro-note strong { max-width: 210px; font-family: "Playfair Display", Georgia, serif; font-size: 29px; font-weight: 500; line-height: 1.18; }
.membership-intro-note a { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.membership-intro-note a:hover { text-decoration: underline; }
.membership-section { margin: 68px 0; }
.membership-section-heading { max-width: 790px; margin-bottom: 27px; }
.membership-section-heading h2, .membership-status h2, .membership-contact h2 { margin: 0; color: #173d74; font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 3.1vw, 41px); font-weight: 500; line-height: 1.15; }
.membership-section-heading p { margin: 13px 0 0; color: #60748d; font-size: 17px; line-height: 1.62; }
.membership-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.membership-principles article { min-height: 202px; padding: 25px; border: 1px solid #dce7f2; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20, 61, 111, .05); }
.membership-principles span { color: #d1ad3d; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.membership-principles h3 { margin: 18px 0 9px; color: #173d74; font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 600; line-height: 1.2; }
.membership-principles p { margin: 0; color: #61748c; font-size: 14px; line-height: 1.58; }
.membership-downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.membership-downloads a { display: grid; gap: 9px; min-height: 145px; padding: 22px; border: 1px solid #d5e3ef; border-radius: 13px; background: #f9fbfe; color: #173d74; text-decoration: none; transition: .2s ease; }
.membership-downloads a:hover { border-color: #174f8d; background: #f1f7fd; transform: translateY(-2px); }
.membership-downloads span { color: #2c639e; font-size: 12px; font-weight: 800; }
.membership-downloads strong { font-size: 19px; }
.membership-downloads b { align-self: end; color: #53718f; font-size: 13px; }
.membership-status { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 38px; align-items: center; margin: 74px 0; padding: clamp(28px, 4vw, 48px); border-radius: 18px; background: #f6f9fd; border-left: 4px solid #d9b747; }
.membership-status span, .membership-contact span { display: block; color: #2b639e; }
.membership-status p { margin: 0; color: #4c6683; font-size: 17px; line-height: 1.66; }
.membership-links { display: grid; gap: 10px; }
.membership-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 55px; padding: 13px 17px; border: 1px solid #d9e4ef; border-radius: 9px; background: #fff; color: #234f80; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: .2s ease; }
.membership-links a:hover { border-color: #1e5c9d; background: #f4f8fd; }
.membership-links a span { flex: 0 0 auto; font-size: 19px; }
.membership-fees { padding-top: 54px; border-top: 1px solid #dce6f0; }
.membership-fees > p { max-width: 930px; color: #506a86; font-size: 17px; line-height: 1.68; }
.membership-links-small { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.membership-links-small a { font-size: 14px; }
.membership-contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: 42px; align-items: center; margin-top: 78px; padding: clamp(31px, 4vw, 52px); border-radius: 20px; background: linear-gradient(135deg, #0b2e59, #184f8a); color: #fff; box-shadow: 0 17px 42px rgba(14, 48, 92, .18); }
.membership-contact h2 { color: #fff; }
.membership-contact p { max-width: 650px; margin: 15px 0 0; color: #dce9f6; font-size: 16px; line-height: 1.62; }
.membership-contact-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 17px; border-radius: 9px; background: #fff; color: #123b72; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.membership-contact-button:hover { background: #f0f6fc; }
.membership-contact-button span { margin: 0; color: #123b72; font-size: 22px; }
.membership-contact-phone { display: block; margin-top: 16px; color: #fff; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; }
.association-page { max-width: 1020px; }
.association-page p { max-width: 980px; }
.association-page > p:first-child { max-width: 760px; margin-bottom: 25px; color: #173d74; font-size: 20px; line-height: 1.55; }
.association-page ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 34px; padding: 0; list-style: none; }
.association-page li { position: relative; display: flex; align-items: center; min-height: 132px; padding: 24px 23px 24px 27px; border: 1px solid #d7e2ee; border-left: 4px solid #173d74; border-radius: 10px; background: linear-gradient(135deg, #fff, #f8fbfe); box-shadow: 0 7px 20px rgba(20, 61, 111, .045); color: #294d75; text-align: left !important; }
.association-page li::before { flex: 0 0 auto; width: 7px; height: 7px; margin: 2px 14px 0 0; border-radius: 50%; background: #d9b747; content: ""; }
.association-page li > span { display: block; color: #294d75; font-family: Inter, Arial, sans-serif; font-size: 16px !important; font-weight: 500; line-height: 1.52; letter-spacing: 0; text-align: left !important; word-spacing: normal; }
.association-page strong { color: #173d74; }
.association-page a { color: #164d89; font-weight: 700; text-decoration-color: #d9b747; text-underline-offset: 4px; }
.association-page a:hover { color: #092d5c; }
.association-page .association-insurance-note, .association-page .association-certification-note { display: block; max-width: 950px; margin: 27px 0; padding: 15px 19px; border-left: 3px solid #d9b747; border-radius: 0 9px 9px 0; background: #f8fafc; color: #244b76; font-size: inherit; font-weight: 600; line-height: 1.6; }
.association-page .association-certification-note { border-left-color: #2d639e; background: #f4f8fd; }
.association-page .association-certification-note a { color: #174f8d; font-weight: 700; }
.association-page .association-certification-button { display: inline-flex; align-items: center; gap: 16px; min-height: 49px; margin: 4px 0 12px; padding: 12px 18px; border-radius: 8px; background: #123b72; color: #fff; font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: .2s ease; }
.association-page .association-certification-button:hover { background: #092d5c; color: #fff; transform: translateY(-1px); }
.association-page .association-certification-button span { font-size: 21px; line-height: 1; }
.association-council { margin: 56px 0 54px; padding-top: 50px; border-top: 1px solid #dce6f1; }
.association-council-heading { max-width: 720px; margin-bottom: 31px; }
.association-council-heading h2 { margin: 0; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(32px, 3.3vw, 45px); font-weight: 500; line-height: 1.14; }
.association-council-heading p { margin: 15px 0 0; color: #5b6e86; font-size: 17px; line-height: 1.62; }
.association-council-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.association-council-member { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 15px; align-items: start; min-width: 0; padding: 17px; border: 1px solid #dce7f2; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(20, 61, 111, .06); }
.association-council-member img { display: block; width: 84px; height: 112px; border-radius: 9px; background: #edf3f8; object-fit: cover; object-position: center top; }
.association-council-member h3 { margin: 2px 0 7px; color: #173d74; font-family: "Playfair Display", Georgia, serif; font-size: 19px; font-weight: 600; line-height: 1.16; }
.association-council-member p { margin: 0; color: #61718a; font-size: 13px; line-height: 1.5; }
.association-council-member > div > span { display: inline-block; margin-bottom: 4px; color: #2c639e; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.association-council-president { grid-column: span 2; grid-template-columns: 138px minmax(0, 1fr); padding: 21px; border-color: #cbddec; background: linear-gradient(135deg, #f8fbfe, #fff); }
.association-council-president img { width: 138px; height: 174px; }
.association-council-president h3 { font-size: 28px; }
.association-council-president p { max-width: 500px; font-size: 15px; }
.preview-news-date { margin: -25px 0 22px; color: #6e84a1; font-size: 14px; font-weight: 600; }
.preview-news-cover { display: block; width: min(100%, 920px); max-height: 540px; margin: 0 0 30px; border-radius: 14px; object-fit: cover; box-shadow: 0 12px 30px rgba(18, 59, 114, .1); }
.certification-page { counter-reset: certification-step; }
.certification-page .cert-audience-title { display: inline-flex; align-items: center; min-height: 33px; margin-top: 12px; padding: 6px 13px; border-left: 3px solid #d9b747; border-radius: 0 7px 7px 0; background: #f6f9fd; color: #123b72; font-size: 16px; font-weight: 700; }
.certification-page .cert-process-title { display: block; margin: 38px 0 19px; color: #123b72; font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.2; }
.certification-page .cert-process-step { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; max-width: 960px; margin: 0; padding: 16px 18px; border: 1px solid #dce7f2; border-bottom: 0; background: #fff; color: #405b79; font-size: 16px; line-height: 1.58; }
.certification-page .cert-process-step:first-of-type { border-radius: 12px 12px 0 0; }
.certification-page .cert-process-step:last-of-type { border-bottom: 1px solid #dce7f2; border-radius: 0 0 12px 12px; }
.certification-page .cert-process-step::before { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #123b72; color: #fff; content: counter(certification-step, decimal-leading-zero); counter-increment: certification-step; font-size: 11px; font-weight: 700; }
.certification-page .cert-process-step a { color: #174f8d; font-weight: 700; }
.certification-page .cert-process-step .cert-step-result { display: block; }
.certification-page .cert-process-step .cert-registry-link { display: flex; grid-column: 2; align-items: center; justify-content: space-between; gap: 18px; width: min(100%, 342px); min-height: 48px; margin-top: 13px; padding: 11px 15px; border: 1px solid #123b72; border-radius: 8px; background: #123b72; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.certification-page .cert-process-step .cert-registry-link span { flex: 0 0 auto; font-size: 22px; line-height: 1; }
.certification-page .cert-process-step .cert-registry-link:hover { border-color: #092d5c; background: #092d5c; }
@media (max-width: 560px) { .certification-page .cert-process-step .cert-registry-link { width: 100%; } }
.certification-page .cert-recommendation { display: block; max-width: 960px; margin: 24px 0 0; padding: 18px 20px; border-left: 3px solid #d9b747; border-radius: 0 10px 10px 0; background: #f9f7ef; color: #183e70; font-size: 16px; line-height: 1.55; }
.certification-downloads { display: grid; grid-template-columns: minmax(210px, .52fr) minmax(0, 1.48fr); gap: 26px; align-items: start; margin-top: 44px; padding: 26px 28px; border: 1px solid #dce7f2; border-radius: 14px; background: #f8fbfe; }
.certification-downloads > div:first-child > span { display: block; margin-bottom: 8px; color: #2c639e; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.certification-downloads h2 { margin: 0; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 27px; font-weight: 600; line-height: 1.18; }
.certification-download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.certification-download-grid a { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 9px 11px; border: 1px solid #d5e2ef; border-radius: 8px; background: #fff; color: #1e4d83; font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: .2s ease; }
.certification-download-grid a:hover { border-color: #285e9c; box-shadow: 0 5px 14px rgba(25,77,133,.09); transform: translateY(-1px); }
.certification-download-grid a span { flex: 0 0 auto; padding: 4px 5px; border-radius: 4px; background: #eaf2fa; color: #285e9c; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
@media (max-width: 850px) { .certification-downloads { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .certification-downloads { margin-top: 34px; padding: 21px 17px; } .certification-download-grid { grid-template-columns: 1fr; } }
.tos56-section { margin-top: 78px; padding-top: 56px; border-top: 1px solid #dce6f1; }
.tos56-heading { max-width: 790px; margin-bottom: 32px; }
.tos56-heading > span { display: block; margin-bottom: 10px; color: #2c639e; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tos56-heading h2 { margin: 0; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(32px, 3.3vw, 45px); font-weight: 500; line-height: 1.14; }
.tos56-heading p { margin: 15px 0 0; color: #5b6e86; font-size: 17px; line-height: 1.62; }
.tos56-details { overflow-x: auto; padding: clamp(25px, 4vw, 46px); border: 1px solid #dce7f1; border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(17, 59, 113, .07); color: #435a75; }
.tos56-details * { box-sizing: border-box; max-width: 100%; }
.tos56-details div, .tos56-details p, .tos56-details span, .tos56-details td { color: #435a75 !important; font-family: Inter, Arial, sans-serif !important; line-height: 1.62 !important; }
.tos56-details p { margin: 0 0 14px !important; }
.tos56-details img { display: block; width: 100% !important; height: auto !important; margin: 25px 0; border-radius: 12px; object-fit: contain; }
.tos56-details table { min-width: 700px; width: 100% !important; margin: 28px 0; border-collapse: collapse !important; }
.tos56-details td, .tos56-details th { padding: 13px 14px !important; border: 1px solid #d5e0ec !important; vertical-align: top; text-align: left !important; }
.tos56-details tr:first-child td { background: #edf4fb; color: #173d74 !important; font-weight: 700; }
.tos56-details a { display: inline-flex; align-items: center; min-height: 44px; margin: 5px 0; padding: 10px 14px; border: 1px solid #cbddec; border-radius: 8px; background: #f7faff; color: #174f8d !important; font-weight: 600; text-decoration: none; transition: .2s ease; }
.tos56-details a:hover { border-color: #174f8d; background: #edf4fb; }
.ethics-feedback { display: grid; grid-template-columns: minmax(240px, .76fr) minmax(0, 1.24fr); gap: clamp(36px, 6vw, 86px); margin-top: 76px; padding: clamp(30px, 4vw, 58px); border-radius: 22px; background: linear-gradient(125deg, #092d5d, #174f8d); box-shadow: 0 18px 42px rgba(12, 46, 91, .18); color: #fff; }
.ethics-feedback-intro { padding-top: 8px; }
.ethics-feedback-kicker { display: block; margin-bottom: 13px; color: #d5e5f8; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ethics-feedback h2 { margin: 0 0 17px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 3.1vw, 43px); font-weight: 500; line-height: 1.12; }
.ethics-feedback-intro p { max-width: 350px; margin: 0; color: #dce8f5; font-size: 16px; line-height: 1.6; }
.ethics-feedback-form-wrap { padding: clamp(22px, 3vw, 36px); border-radius: 16px; background: rgba(255,255,255,.98); color: var(--ink); }
.feedback-success { margin: 0 0 18px; padding: 12px 15px; border-radius: 8px; background: #e8f5ed; color: #236a45; font-weight: 600; }
.ethics-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 18px; }
.ethics-form label { display: grid; gap: 8px; color: #294a70; font-size: 13px; font-weight: 700; }
.ethics-form input:not([type="checkbox"]), .ethics-form textarea { width: 100%; border: 1px solid #d6e1ee; border-radius: 8px; padding: 12px 13px; color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; outline: none; resize: vertical; transition: border-color .2s ease, box-shadow .2s ease; }
.ethics-form input:focus, .ethics-form textarea:focus { border-color: #285d9d; box-shadow: 0 0 0 3px rgba(40,93,157,.13); }
.ethics-form-wide { grid-column: 1 / -1; }
.ethics-consent { grid-column: 1 / -1; grid-template-columns: 18px 1fr; align-items: start; gap: 10px !important; color: #5b7190 !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.5; }
.ethics-consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #123b72; }
.ethics-consent a { color: #123b72; text-decoration: underline; }
.ethics-submit { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; border: 0; border-radius: 9px; background: #123b72; color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.ethics-submit span { font-size: 22px; line-height: 1; }
.ethics-submit:hover { background: #0a2b56; transform: translateY(-1px); }
.news-items-full { display: grid; gap: 24px; max-width: 980px; }
.news-full-item { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.news-full-item img { width: 240px; height: 155px; object-fit: cover; border-radius: 8px; }
.news-full-item h2 { margin: 4px 0 12px; font-family: "Playfair Display", Georgia, serif; font-size: 24px; line-height: 1.25; }
.news-full-item h2 a { color: var(--ink); text-decoration: none; }
.sostav-items-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sostav-full-item { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.sostav-full-item > div { display: grid; height: 150px; place-items: center; margin-bottom: 18px; background: var(--soft); border-radius: 8px; }
.sostav-full-item img { max-height: 115px; object-fit: contain; }
.sostav-full-item h2 { margin: 0 0 8px; color: var(--ink); font-size: 20px; line-height: 1.3; }
.sostav-full-item a { color: var(--navy); font-weight: 600; }
@media (max-width: 1050px) { .preview-header .top-container { min-height: 88px; } .preview-hero { min-height: auto; padding-top: 90px; } .sostav-items-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .association-page ul { grid-template-columns: 1fr; } .association-page li { min-height: auto; } .association-council-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .association-council-president { grid-column: span 2; } }
@media (max-width: 900px) { .membership-intro, .membership-status, .membership-contact { grid-template-columns: 1fr; gap: 28px; } .membership-principles, .membership-downloads { grid-template-columns: 1fr; } .membership-links-small { grid-template-columns: 1fr; } .membership-principles article { min-height: auto; } }
@media (max-width: 760px) { .preview-header .top-container { min-height: 72px; } .preview-header .main-nav { display: none; } .preview-page { padding: 55px 0 70px; } .news-full-item { grid-template-columns: 1fr; } .news-full-item img { width: 100%; height: 190px; } .sostav-items-full { grid-template-columns: 1fr; } .ethics-feedback { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; padding: 25px 18px; border-radius: 16px; } .ethics-form { grid-template-columns: 1fr; } .ethics-form label { grid-column: 1 / -1; } }
@media (max-width: 560px) { .membership-intro { margin-bottom: 52px; } .membership-intro-note, .membership-contact { padding: 26px 21px; border-radius: 15px; } .membership-section { margin: 52px 0; } .membership-status { margin: 56px 0; padding: 25px 21px; } .membership-intro > div:first-child > p:not(.membership-lead), .membership-status p, .membership-fees > p { font-size: 16px; } .membership-links a { align-items: flex-start; font-size: 14px; } }
@media (max-width: 560px) { .association-page > p:first-child { font-size: 18px; } .association-council { margin-top: 52px; padding-top: 42px; } .association-council-grid { grid-template-columns: 1fr; gap: 13px; } .association-council-member, .association-council-president { grid-column: auto; grid-template-columns: 73px minmax(0, 1fr); gap: 13px; padding: 14px; } .association-council-member img, .association-council-president img { width: 73px; height: 98px; } .association-council-member h3, .association-council-president h3 { margin-top: 1px; font-size: 18px; } .association-council-member p, .association-council-president p { font-size: 12px; } }
