
@font-face { font-family: "Poppins"; src: url("assets/poppins-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/poppins-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/poppins-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/poppins-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --red: #e00129;
  --navy: #010e2a;
  --blue: #102e5d;
  --pale-blue: #ccdbed;
  --muted-blue: #b6c8db;
  --text: #4f586b;
  --light: #f7f7f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: "Poppins", Arial, sans-serif; font-size: 16px; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
button, input, textarea { font: inherit; }
.site-shell { min-height: 100vh; overflow: hidden; }
.wide-container, .content-container { width: min(100% - 30px, 1260px); margin-inline: auto; }
.content-container { max-width: 1170px; }

.contact-strip { height: 60px; background: var(--pale-blue); }
.strip-inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.strip-item { display: flex; align-items: center; gap: 14px; color: #102e5d; font-size: 13px; font-weight: 600; white-space: nowrap; }
.strip-item:hover > span:last-child, .languages a:hover { text-decoration: underline; }
.round-icon { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--muted-blue); }
.round-icon img { max-width: 20px; max-height: 20px; }
.languages { gap: 10px; }
.languages .round-icon { margin-right: 4px; }
.languages a[aria-current="page"] { color: var(--red); }

.menu-wrap { height: 80px; background: linear-gradient(90deg, #fff 50%, var(--red) 50%); }
.main-nav { position: relative; height: 80px; display: flex; align-items: stretch; background: var(--red); }
.brand { position: relative; z-index: 1; width: 31%; min-width: 245px; display: flex; align-items: center; justify-content: center; padding-right: 70px; background: #fff; }
.brand::after { content: ""; position: absolute; top: 0; right: -40px; width: 80px; height: 100%; background: #fff; transform: skewX(45deg); z-index: -1; }
.brand img { width: 170px; height: auto; }
.desktop-links { margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 0 4px 0 55px; }
.desktop-links a { position: relative; color: #fff; padding: 13px 8px; font-size: 14px; font-weight: 500; text-transform: uppercase; }
.desktop-links a:not(.shop-link)::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 3px; background: #fff; transform: scaleX(0); transition: transform .2s ease; }
.desktop-links a:hover::after, .desktop-links a.active::after { transform: scaleX(1); }
.desktop-links .shop-link { margin-left: 4px; padding-inline: 20px; border: 2px solid #fff; border-radius: 5px; }
.desktop-links .shop-link:hover { background: #fff; color: var(--red); }
.mobile-menu { display: none; }

.subpage-hero { position: relative; height: clamp(240px, 18.3vw, 351px); background: var(--blue); }
.subpage-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; }
.hero-text h1 { margin: 0 0 12px; font-size: clamp(38px, 4vw, 48px); line-height: 1.2; font-weight: 700; }
.breadcrumbs { display: flex; gap: 14px; align-items: center; font-size: 14px; color: rgba(255,255,255,.88); }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

.contacts-section { padding: 76px 0 82px; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 62px; }
.contact-info h2, .message-box h2 { margin: 0 0 25px; color: var(--navy); font-size: 24px; line-height: 1.6; font-weight: 700; }
.info-pair { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.info-pair .round-icon { width: 50px; height: 50px; flex-basis: 50px; background: var(--red); }
.info-pair.no-icon .round-icon { background: transparent; }
.info-pair > div, .info-pair address { min-width: 0; display: flex; flex-direction: column; color: var(--navy); font-style: normal; font-size: 17px; font-weight: 500; line-height: 30px; }
.info-pair .info-label { color: #676e7c; font-size: 16px; font-weight: 400; line-height: 28px; }
.info-pair a { overflow-wrap: anywhere; }
.info-pair a:hover { color: var(--red); text-decoration: underline; }

.message-box form label { display: block; }
.message-box form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
input, textarea { width: 100%; margin: 8px 0; padding: 0 23px; border: 1px solid #dfdfdf; border-radius: 5px; outline: none; color: #505765; background: var(--light); font-size: 15px; }
input { height: 58px; }
textarea { min-height: 158px; padding-top: 17px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(224,1,41,.1); }
.send-row { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.send-row button { min-width: 160px; height: 54px; border: 2px solid var(--red); border-radius: 5px; color: #fff; background: var(--red); font-weight: 600; text-transform: uppercase; cursor: pointer; }
.send-row button:hover { color: var(--red); background: #fff; }
.send-row small { color: #7a8290; line-height: 1.5; }
.registry-note { max-width: 800px; margin: 48px 0 0; color: var(--navy); font-size: 15px; line-height: 30px; }

.team-section, .representatives { margin-top: 52px; }
.section-heading { margin: 0 0 25px; color: var(--red); font-size: 24px; font-weight: 700; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.compact-team, .leadership-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.person-card { min-height: 300px; display: flex; flex-direction: column; padding: 24px; color: var(--navy); background: var(--light); border-top: 3px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.person-card:hover { transform: translateY(-3px); border-top-color: var(--red); box-shadow: 0 12px 32px rgba(1,14,42,.1); }
.person-card.compact-card { min-height: 150px; }
.leadership-card { min-height: 210px; }
.person-card .region { min-height: 46px; margin-bottom: 9px; color: var(--red); font-size: 14px; line-height: 1.55; font-weight: 700; text-transform: uppercase; }
.person-card strong { margin-bottom: 4px; font-size: 16px; }
.person-card em { display: block; color: #606979; font-size: 14px; line-height: 1.6; }
.person-card a, .company-card a { color: var(--red); font-size: 14px; overflow-wrap: anywhere; text-decoration: underline; }
.person-links { display: flex; flex-direction: column; margin-top: 20px; }
.person-card .phone { color: var(--navy); font-weight: 700; text-decoration: none; }
.person-card a:hover, .company-card a:hover { text-decoration: none; }
.districts { margin: auto 0 0; padding-top: 18px; color: #687183; font-size: 12px; line-height: 1.65; }
.districts b { color: var(--navy); }
.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.company-card { padding: 28px; color: var(--navy); background: var(--light); }
.company-card h3 { margin: 0 0 20px; color: var(--red); font-size: 18px; line-height: 1.45; }
.company-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.8; }

.map-section { height: 500px; background: #e6e9ef; }
.map-section iframe { width: 100%; height: 100%; display: block; border: 0; }

footer { padding: 70px 0 38px; color: #f9f9f9; background: #02102e url("assets/footer-bg.jpg") center / cover no-repeat; line-height: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1fr 1.15fr .7fr; gap: 44px; }
.footer-logo img { width: 190px; height: auto; }
.footer-block { display: flex; flex-direction: column; margin-bottom: 24px; }
.footer-block strong, .footer-menu strong { margin-bottom: 7px; color: var(--red); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.footer-block span, .footer-block a, .footer-menu a { font-size: 14px; }
.footer-block a:hover, .footer-menu a:hover { color: #fff; text-decoration: underline; }
.footer-menu { display: flex; flex-direction: column; }
.footer-menu a { text-transform: uppercase; }
.copyright { margin-top: 32px; padding-top: 32px; border-top: 1px solid #1f2d48; color: #8e9199; font-size: 14px; }

@media (max-width: 1120px) {
  .strip-inner { gap: 14px; }
  .strip-item { gap: 8px; font-size: 12px; }
  .round-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .brand { min-width: 220px; padding-right: 45px; }
  .desktop-links { gap: 2px; padding-left: 38px; }
  .desktop-links a { font-size: 13px; padding-inline: 6px; }
}

@media (max-width: 991px) {
  .contact-strip { display: none; }
  .menu-wrap, .main-nav { height: 64px; }
  .menu-wrap { position: relative; z-index: 20; }
  .main-nav { width: 100%; }
  .brand { min-width: 210px; padding: 6px 35px 6px 16px; justify-content: flex-start; }
  .brand img { width: 145px; }
  .brand::after { right: -31px; width: 64px; }
  .desktop-links { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { width: 72px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 28px; height: 2px; background: #fff; }
  .mobile-links { position: absolute; top: 64px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; padding: 22px 16px 26px; background: var(--red); box-shadow: 0 10px 24px rgba(1,14,42,.18); }
  .mobile-links a { width: 100%; max-width: 300px; padding: 10px; color: #fff; text-align: center; text-transform: uppercase; }
  .subpage-hero { height: 260px; }
  .contacts-section { padding: 48px 0 58px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-info { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; }
  .contact-info h2 { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .subpage-hero { height: 220px; }
  .hero-text h1 { font-size: 34px; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-info h2, .message-box h2 { font-size: 22px; }
  .form-row, .team-grid, .compact-team, .leadership-grid, .company-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .send-row { flex-direction: column; align-items: stretch; }
  .send-row button { width: 100%; }
  .registry-note { text-align: center; }
  .section-heading { font-size: 21px; line-height: 1.45; }
  .person-card, .leadership-card { min-height: auto; }
  .person-card .region { min-height: 0; }
  .districts { margin-top: 18px; }
  .map-section { height: 400px; }
  footer { padding: 46px 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
