:root {
  --navy: #082f57;
  --navy-2: #0d3b69;
  --navy-3: #061f3c;
  --green: #16864d;
  --green-2: #25a464;
  --mint: #dff3e7;
  --ink: #10253f;
  --muted: #5f6f82;
  --line: #d8e2e9;
  --paper: #ffffff;
  --paper-soft: #f6f9fa;
  --shadow: 0 20px 60px rgba(8, 47, 87, 0.12);
  --radius: 22px;
  --container: 1180px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Montserrat", "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}



/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8,47,87,.08);
}

.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  height: 80px;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-block;
}

.brand-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 29px;
  height: 16px;
  border: 4px solid var(--navy);
  border-radius: 50%;
  transform-origin: center;
}

.ring-a { transform: translate(-50%, -50%) rotate(45deg); }
.ring-b { transform: translate(-50%, -50%) rotate(135deg); }
.ring-c { transform: translate(-50%, -50%) rotate(0deg); border-color: var(--green); }
.ring-d { transform: translate(-50%, -50%) rotate(90deg); border-color: var(--green); }


.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}


.logo{
  height: 80%;
}

.main-nav > a {
  position: relative;
  padding: 8px 0;
}

.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width .25s ease;
}

.main-nav > a:hover::after {
  width: 100%;
}


.language-dropdown {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
}

.language-btn {
  width: 80px;
  height: 37px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;

  border: 2px solid #d7e0e9;
  border-radius: 13px;

  background: #0c3765;
  color: #fff;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
  gap: 10px;
}

.language-arrow {
  transition: transform 0.25s ease;
}

.language-dropdown.active .language-arrow {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  width: 90px;

  background: #fff;
  border: 2px solid #d7e0e9;
  border-radius: 16px;

  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  transition: 0.2s ease;

  z-index: 100;
}

.language-dropdown.active .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu button {
  width: 100%;
  height: 48px;

  border: none;
  background: #fff;

  color: #56657a;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}

.language-menu button:hover {
  background: #f1f5f9;
  color: #0c3765;
}




.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: .25s ease;
}

/* Buttons */
.btn {
  border: 0;
  border-radius: 8px;
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #0e713f);
  color: white;
  box-shadow: 0 10px 24px rgba(22,134,77,.23);
}

.btn-outline {
  border: 1px solid var(--green);
  color: var(--green);
  background: white;
}

.btn-green {
  color: white;
  background: var(--green);
}

.btn-lg {
  min-height: 54px;
  padding-inline: 26px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}





/* section 1 */


/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;

  
    min-height: 650px;

    background-image: url("../images/mountains.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 65% auto;
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -130px;
  top: -120px;
  border: 1px solid rgba(8,47,87,.06);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 34px rgba(8,47,87,.018),
    inset 0 0 0 70px rgba(22,134,77,.018),
    inset 0 0 0 110px rgba(8,47,87,.018);
}

.hero-grid {
  position: relative;
  z-index: 3;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  padding: 72px 0 110px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.eyebrow.light {
  color: #9fe3b8;
}

.hero h1 {
  margin: 0;
  font: 800 clamp(46px, 6vw, 76px)/1.01 var(--font-display);
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--navy);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.title-rule {
  width: 330px;
  height: 1px;
  margin: 24px 0 18px;
  background: linear-gradient(90deg, var(--green) 0 46%, transparent 46% 54%, var(--green) 54%);
  position: relative;
}

.title-rule span {
  position: absolute;
  width: 9px;
  height: 9px;
  left: 50%;
  top: 50%;
  background: white;
  border: 2px solid var(--green);
  transform: translate(-50%, -50%) rotate(45deg);
}

.title-rule.compact {
  width: 150px;
  margin: 14px 0 24px;
}

.centered .title-rule {
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  margin: 0 0 14px;
  color: var(--green);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}



.forum-info {
  position: relative;
  width: 100%;

  /* было 160px */
  min-height: 120px;

  display: flex;
  align-items: center;
  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      #0c477a 0%,
      #063761 45%,
      #032a4e 100%
    );
}

.forum-info__container {
  position: relative;
  z-index: 2;

  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.forum-info__item {
  display: flex;
  align-items: center;

  /* было 22px */
  gap: 10px;

  color: #fff;
}

/* Уменьшаем иконки */

.forum-info__icon svg {
  width: 34px;
  height: 3%;
}

/* Основной текст */

.forum-info__title {
  margin-bottom: 5px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;

  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Второстепенный текст */

.forum-info__subtitle {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;

  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Разделители */

.forum-info__divider {
  width: 1px;

  /* было 72px */
  height: 52px;

  margin: 0 22px;

  flex-shrink: 0;

  background: rgba(255, 255, 255, 0.35);
}

/* Орнамент */

.forum-info__ornament {
  position: absolute;
  z-index: 1;

  top: 50%;

  width: 110px;
  height: auto;

  opacity: 0.3;

  pointer-events: none;
  user-select: none;
}

.forum-info__ornament--left {
  left: 0;
  transform: translateY(-50%);
}

.forum-info__ornament--right {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}

/* Адаптив */

@media (max-width: 1200px) {
  .forum-info__container {
    width: calc(100% - 50px);
  }

  .forum-info__item {
    gap: 14px;
  }

  .forum-info__title {
    font-size: 17px;
  }

  .forum-info__subtitle {
    font-size: 13px;
  }

  .forum-info__icon svg {
    width: 50px;
    height: 50px;
  }

  .forum-info__divider {
    margin: 0 15px;
  }
}

@media (max-width: 900px) {
  .forum-info {
    padding: 35px 20px;
  }

  .forum-info__container {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .forum-info__divider {
    display: none;
  }

  .forum-info__item {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .forum-info__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .forum-info__title {
    font-size: 16px;
  }

  .forum-info__subtitle {
    font-size: 13px;
  }

  .forum-info__ornament {
    width: 120px;
    opacity: 0.22;
  }
}







.organized {
    width: 100%;
    padding: 38px 20px 70px;
    background: #fafafa;
}

.organized .container {
    max-width: 1280px;
    margin: 0 auto;
}

.organized__title {
    text-align: center;
    margin-bottom: 42px;
}

.organized__title h2 {
    margin: 0 0 10px;
    color: #08264b;
    font-size: 24px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

.organized__title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.organized__title-line span {
    width: 90px;
    height: 2px;
    background: #b7ddd2;
}

.organized__title-line i {
    width: 9px;
    height: 9px;
    border: 3px solid #23956e;
    transform: rotate(45deg);
}

.organized__items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 65px;
}

.organized__item {
    width: 330px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.organized__item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.organized__divider {
    width: 1px;
    height: 120px;
    background: #d2d2d2;
    flex-shrink: 0;
}

/* Планшеты */
@media (max-width: 1000px) {
    .organized__items {
        gap: 30px;
    }

    .organized__item {
        width: 260px;
        height: 100px;
    }

    .organized__divider {
        height: 100px;
    }
}

/* Телефоны */
@media (max-width: 700px) {
    .organized {
        padding: 35px 20px 45px;
    }

    .organized__items {
        flex-direction: column;
        gap: 25px;
    }

    .organized__divider {
        width: 70%;
        height: 1px;
    }

    .organized__item {
        width: 100%;
        max-width: 320px;
        height: 100px;
    }

    .organized__title {
        margin-bottom: 30px;
    }

    .organized__title h2 {
        font-size: 20px;
    }
}





/* Agenda */
.agenda {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.96)),
    url("../images/cadtf-poster.png") center/cover no-repeat;
}

.agenda-layout {
  display: grid;
  grid-template-columns: 230px 1fr 330px;
  gap: 22px;
  align-items: stretch;
  margin-top: 42px;
}

.agenda-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-tab {
  padding: 22px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--navy);
  transition: .2s ease;
}

.agenda-tab span {
  display: block;
  font: 800 24px/1 var(--font-display);
  color: var(--green);
  margin-bottom: 7px;
}

.agenda-tab small {
  color: var(--muted);
}

.agenda-tab.is-active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateX(6px);
}

.agenda-tab.is-active small {
  color: rgba(255,255,255,.7);
}

.agenda-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.agenda-content {
  display: none;
}

.agenda-content.is-active {
  display: block;
}

.agenda-content article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.agenda-content article:last-child {
  border-bottom: 0;
}

.agenda-content time {
  color: var(--green);
  font-weight: 800;
}

.agenda-content h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 17px;
}

.agenda-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.register-card {
  padding: 34px;
  color: white;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(37,164,100,.26), transparent 35%),
    linear-gradient(145deg, #07305a, #0a437a);
  box-shadow: var(--shadow);
}

.register-card h3 {
  margin: 0 0 16px;
  font: 800 28px/1.18 var(--font-display);
}

.register-card p:not(.eyebrow) {
  color: rgba(255,255,255,.74);
  font-size: 14px;
  margin-bottom: 24px;
}





































































/* Responsive */
@media (max-width: 1080px) {
  .main-nav {
    gap: 15px;
    font-size: 12px;
  }

  .nav-register {
    display: none;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .about {
    background: linear-gradient(180deg, white 0 41%, #0a3765 41% 100%);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-copy {
    padding-right: 0;
  }

  .agenda-layout {
    grid-template-columns: 190px 1fr;
  }

  .register-card {
    grid-column: 1 / -1;
  }

  .partner-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-wrap {
    height: 74px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 52;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 74px;
    padding: 26px 24px 32px;
    display: grid;
    gap: 6px;
    background: white;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .28s ease;
    box-shadow: 0 20px 40px rgba(8,47,87,.12);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav > a {
    padding: 11px 2px;
  }

  .nav-register {
    display: inline-flex;
    margin-top: 10px;
  }

  .lang-switch {
    width: max-content;
    margin-top: 8px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

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

  .hero-copy {
    padding: 78px 0 30px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 66px);
    letter-spacing: -2px;
  }

  .hero-emblem-wrap {
    padding: 0 0 150px;
    height: 260px;
  }

  .hero-emblem {
    width: 220px;
    height: 220px;
    transform: scale(.78);
  }

  .mountains {
    left: 0;
    height: 220px;
  }

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

  .organizer-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .organizer-card:last-child {
    border-bottom: 0;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar {
    min-height: 240px;
  }

  .pillar:nth-child(2) {
    border-right: 0;
  }

  .pillar:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .agenda-tabs {
    flex-direction: row;
  }

  .agenda-tab {
    flex: 1;
  }

  .agenda-tab.is-active {
    transform: translateY(-4px);
  }

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

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

  .partner-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    min-height: 330px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .brand-word small {
    display: none;
  }

  .brand-word strong {
    font-size: 25px;
  }

  .brand-mark {
    transform: scale(.9);
    transform-origin: left center;
  }

  .hero-copy {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .title-rule {
    width: 220px;
  }

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

  .fact {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .fact:last-child {
    border-bottom: 0;
  }

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

  .pillar {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
  }

  .pillar:last-child {
    border-bottom: 0 !important;
  }

  .agenda-tabs {
    flex-direction: column;
  }

  .agenda-content article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .speaker-card {
    grid-template-columns: 70px 1fr;
  }

  .speaker-avatar {
    width: 70px;
    height: 84px;
  }

  .partner-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }

  .register-form {
    padding: 34px 20px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


@media (max-width: 768px) {
    .hero {
        background-size: auto 45%;
        background-position: center bottom;
        padding-bottom: 280px;
    }

    .hero-content {
        width: 100%;
    }
}