:root {
  --blue: #4057b5;
  --blue-dark: #30469c;
  --ink: #15171d;
  --muted: #626a78;
  --line: #e7eaf0;
  --soft: #f5f7fb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(22, 34, 70, .08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1600px, 94vw); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); border-bottom: 1px solid rgba(231,234,240,.9);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: min(310px, 42vw); }
.brand img { width: 100%; height: auto; }
.nav-wrap { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; align-items: center; gap: 25px; color: #3f4653; font-size: 14px; font-weight: 600; }
.nav a:hover, .lang a:hover { color: var(--blue); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lang a.active { color: var(--blue); }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 9px 12px; font-size: 20px; }
.hero { padding: 82px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(36px, 5vw, 90px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.eyebrow:before { content: ""; width: 25px; height: 2px; background: var(--blue); }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(42px, 5.5vw, 68px); line-height: 1.06; letter-spacing: -.055em; margin: 20px 0 22px; font-weight: 750; }
h1 span { color: var(--blue); }
.lead { max-width: 570px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: .2s ease; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 9px 22px rgba(64,87,181,.2); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-quiet { border: 1px solid var(--line); color: var(--ink); background: white; }
.button-quiet:hover { border-color: var(--blue); color: var(--blue); }
.hero-visual { position: relative; min-height: 390px; border-radius: 30px; background: linear-gradient(145deg,#f4f6fc,#e9eefb); display: grid; place-items: center; overflow: hidden; }
.hero-visual:before, .hero-visual:after { content: ""; position: absolute; border: 1px solid rgba(64,87,181,.15); border-radius: 50%; }
.hero-visual:before { width: 420px; height: 420px; }
.hero-visual:after { width: 300px; height: 300px; }
.hero-mark { position: relative; z-index: 1; width: 72%; filter: drop-shadow(0 14px 22px rgba(30,45,100,.08)); }
.hero-caption { position: absolute; bottom: 22px; right: 25px; color: #69738c; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(30px,4vw,44px); line-height: 1.12; letter-spacing: -.04em; margin: 13px 0 15px; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.about-aside { border-left: 3px solid var(--blue); padding: 5px 0 5px 23px; color: var(--muted); font-size: 14px; }
.about-copy { color: #515967; font-size: 17px; }
.about-copy p:last-child { margin-bottom: 0; }
.channel-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.channel-art { min-height: 330px; background: linear-gradient(135deg,#202b50,#4057b5); display: grid; place-items: center; padding: 38px; }
.channel-art img { width: min(290px,100%); max-height: 210px; object-fit: contain; border-radius: 8px; }
.channel-placeholder { color: white; text-align: center; }
.channel-placeholder strong { display: block; font-size: clamp(27px,4vw,42px); letter-spacing: -.04em; }
.channel-placeholder span { font-size: 11px; letter-spacing: .2em; opacity: .75; }
.channel-copy { padding: 48px; align-self: center; }
.channel-copy h3 { font-size: 29px; letter-spacing: -.035em; margin: 10px 0 15px; }
.channel-copy p { color: var(--muted); }
.country-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 27px; }
.country-list span { padding: 6px 11px; border-radius: 999px; background: #f0f3fb; color: #46599d; font-size: 12px; font-weight: 650; }
.video-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.video-card { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: white; transition: .22s ease; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-trigger { width: 100%; border: 0; padding: 0; display: block; position: relative; aspect-ratio: 16/9; cursor: pointer; background: linear-gradient(135deg,#1d2b55,#5269c4); color: white; overflow: hidden; }
.video-trigger:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%,rgba(255,255,255,.18),transparent 35%), linear-gradient(135deg,transparent,rgba(0,0,0,.28)); }
.video-trigger img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--blue); font-size: 19px; padding-left: 3px; box-shadow: 0 5px 20px rgba(0,0,0,.15); }
.video-number { position: absolute; left: 16px; bottom: 13px; color: rgba(255,255,255,.9); font-size: 11px; letter-spacing: .14em; font-weight: 800; }
.video-info { padding: 15px 17px 17px; }
.video-info strong { display: block; font-size: 14px; }
.video-info span { color: var(--muted); font-size: 12px; }
.video-player {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 28px;
  background: rgba(8, 11, 20, .88); backdrop-filter: blur(8px);
}
.video-player.active { display: flex; }
.video-player-dialog {
  width: min(1100px, 100%); max-height: 92vh; overflow: hidden;
  background: #10131b; border-radius: 18px; box-shadow: 0 25px 90px rgba(0,0,0,.4);
}
.video-player video { width: 100%; max-height: calc(92vh - 58px); display: block; background: #000; }
.video-player-top { color: white; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; font-size: 14px; }
.video-player-top button { color: white; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
body.modal-open { overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.contact-panel { background: var(--blue); color: white; border-radius: var(--radius); padding: 38px; }
.contact-panel h3 { font-size: 28px; margin-bottom: 12px; }
.contact-panel p { color: rgba(255,255,255,.8); }
.contact-link { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 650; }
.company-data { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; align-content: center; }
.data-item small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.data-item strong { font-size: 14px; font-weight: 650; }
.site-footer { padding: 27px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 17px; }
:focus-visible { outline: 3px solid rgba(64,87,181,.35); outline-offset: 3px; }
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 850px) {
  .container { width: calc(100% - 40px); max-width: 1100px; }
  .nav-wrap { gap: 15px; }
  .nav { gap: 14px; }
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 310px; }
  .channel-card { grid-template-columns: 1fr; }
  .channel-art { min-height: 230px; }
  .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .header-inner { min-height: 72px; position: relative; }
  .brand { width: 220px; max-width: calc(100% - 70px); }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 46px; min-height: 46px; cursor: pointer;
    border: 1px solid var(--line); background: #fff; border-radius: 11px;
    color: var(--ink); font-size: 23px; line-height: 1;
  }
  .nav-wrap {
    display: none; position: absolute; top: 71px; left: -1px; right: -1px;
    z-index: 30; background: #fff; padding: 20px 22px 23px;
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px;
    box-shadow: 0 14px 28px rgba(20,30,60,.10);
    align-items: flex-start; flex-direction: column; gap: 18px;
  }
  .nav-wrap.open { display: flex; }
  .nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; }
  .nav a { display: block; padding: 5px 0; font-size: 15px; line-height: 1.4; }
  .lang { font-size: 14px; }
  .lang a { padding: 5px 0; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 15px; }
  .container { width: calc(100% - 28px); }
  .header-inner { min-height: 70px; gap: 12px; }
  .brand { width: 205px; max-width: calc(100% - 62px); }
  .nav-wrap { top: 69px; padding: 20px 22px 24px; box-shadow: 0 14px 22px rgba(20,30,60,.08); }
  .nav a, .lang a { padding: 5px 0; font-size: 15px; }
  .menu-toggle { min-width: 44px; min-height: 44px; }
  .hero { padding: 42px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  h1 { font-size: clamp(37px, 10vw, 49px); margin: 15px 0 16px; }
  .lead { font-size: 16px; line-height: 1.65; }
  .hero-actions { margin-top: 23px; }
  .button { min-height: 46px; padding-inline: 18px; }
  .hero-visual { min-height: 215px; border-radius: 22px; }
  .hero-visual:before { width: 270px; height: 270px; }
  .hero-visual:after { width: 195px; height: 195px; }
  .hero-caption { font-size: 9px; bottom: 13px; right: 15px; }
  .section { padding: 54px 0; }
  .section-heading { margin-bottom: 27px; }
  .section-heading h2 { font-size: clamp(28px, 8vw, 36px); }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-copy { font-size: 15px; }
  .channel-card { grid-template-columns: 1fr; border-radius: 18px; }
  .channel-art { min-height: 190px; padding: 25px; }
  .channel-copy { padding: 25px 22px 28px; }
  .channel-copy h3 { font-size: 26px; }
  .country-list { gap: 7px; }
  .country-list span { font-size: 11px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .video-info { padding: 11px 12px 13px; }
  .video-info strong { font-size: 12px; }
  .video-info span { font-size: 11px; }
  .play { width: 44px; height: 44px; font-size: 16px; }
  .video-number { left: 10px; bottom: 8px; font-size: 9px; }
  .video-player { padding: 14px; }
  .video-player-dialog { border-radius: 13px; }
  .video-player-top { gap: 12px; font-size: 12px; }
  .video-player video { max-height: 72vh; }
  .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .contact-panel { padding: 26px 22px; }
  .company-data { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .data-item strong { font-size: 12px; overflow-wrap: anywhere; }
  .data-item small { font-size: 10px; }
  .site-footer { padding: 22px 0; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 350px) {
  .container { width: calc(100% - 24px); }
  .video-grid { grid-template-columns: 1fr; }
  .company-data { grid-template-columns: 1fr; }
  .brand { width: 185px; }
  h1 { font-size: 36px; }
}

/* Version 4 layout corrections */
@media (min-width: 1101px) {
  .section-heading { max-width: 900px; }
  .about-grid { grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 28px); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* Version 5: explicit responsive navigation and gallery */
@media (max-width: 850px) {
  .menu-toggle { display: inline-flex !important; }
  .nav-wrap { display: none; }
  .nav-wrap.open { display: flex; }
  .nav { flex-direction: column; align-items: flex-start; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 350px) {
  .video-grid { grid-template-columns: 1fr; }
}
