

:root{
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, .72);
  --muted-2: rgba(15, 23, 42, .55);
  --border: rgba(15, 23, 42, .12);

  --primary: #2f6fa7;
  --primary-2: #1f4f7b;

  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --shadow-soft: 0 10px 30px rgba(15,23,42,.08);

  --radius: 18px;
  --radius-lg: 26px;

  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

a{ color:inherit; }

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

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:var(--text);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  z-index:999;
}
.skip-link:focus{ left:14px; }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: #193b71;
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.01em;
}
.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 25px rgba(47,111,167,.28);
}



.brand-text{
  font-size:24px;
  color:#fff;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  
}
.link{
  font-size:14px;
  color:var(--muted);
  text-decoration:none;
}
.link:hover{ color:var(--text); text-decoration:underline; }

/* Hero */
.hero{
  position:relative;
  padding:72px 0 54px;
  overflow:hidden;
}
.hero-inner{
  position:relative;
  padding:48px 0 32px;
  text-align:center;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.6);
  color:var(--muted);
  font-size:13px;
  margin:0 auto 16px;
}
.hero-badge .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 0 4px rgba(47,111,167,.16);
}
.hero h1{
  margin:0 auto;
  max-width: 920px;
  font-size: clamp(28px, 4vw, 46px);
  line-height:1.08;
  letter-spacing:-.02em;
}
.hero-lede{
  margin:16px auto 0;
  max-width: 920px;
  font-size: clamp(15px, 1.6vw, 18px);
  color:var(--muted);
}
.hero-cta{
  margin-top:26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.hero-hint{
  font-size:13px;
  color:var(--muted-2);
}
.hero-note{
  margin:22px auto 0;
  max-width: 980px;
  font-size:14px;
  color:var(--muted);
}
.hero-bg{
  position:absolute;
  inset:-120px -120px auto -120px;
  height:360px;
  background:
    radial-gradient(closest-side at 20% 50%, rgba(47,111,167,.22), rgba(47,111,167,0)),
    radial-gradient(closest-side at 70% 35%, rgba(31,79,123,.18), rgba(31,79,123,0)),
    radial-gradient(closest-side at 50% 70%, rgba(15,23,42,.10), rgba(15,23,42,0));
  filter: blur(2px);
  pointer-events:none;
  z-index:-1;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  border:2px solid transparent;
  padding:12px 20px;
  font-weight:700;
  font-size:15px;
  letter-spacing:.02em;
  text-decoration:none;
  transition: transform .15s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select:none;
}
.btn:focus-visible{
  outline: 3px solid rgba(47,111,167,.35);
  outline-offset: 3px;
}
.btn-ic{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn--primary{
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 40px rgba(47,111,167,.28);
}
.btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(47,111,167,.32);
}
.btn--primary:active{
  transform: translateY(0);
  box-shadow: 0 14px 32px rgba(47,111,167,.26);
}
.btn--ghost{
  color:var(--text);
  background: transparent;
  border-color: rgba(15,23,42,.18);
}
.btn--ghost:hover{
  background: rgba(15,23,42,.04);
  transform: translateY(-1px);
}
.btn--xl{
  font-size:16px;
  padding:16px 28px;
  min-width: 220px;
}

/* Sections */
.section{
  padding:56px 0;
}
.section--alt{
 
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.grid-2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:start;
}
.section-title{
  margin:0 0 12px;
  font-size:24px;
  letter-spacing:-.01em;
}
.text{
  margin:0 0 12px;
  color:var(--muted);
  font-size:15px;
}
.text--sm{ font-size:14px; }

/* Cards */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding:22px;
}
.card--soft{
  background: linear-gradient(180deg, rgba(47,111,167,.06), rgba(255,255,255,1));
}
.card-title{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:-.01em;
}
.list{
  margin:10px 0 18px 18px;
  padding:0;
  color:var(--muted);
  font-size:14px;
}
.list li{ margin:8px 0; }
.fineprint{
  margin-top:14px;
  font-size:12px;
  color:var(--muted-2);
}
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


.callout{
  display:flex;
  gap:24px;
  align-items:stretch;
  justify-content:space-between;
  border:1px solid rgba(15,23,42,.10);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  padding:26px;
}
.callout-title{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:-.01em;
}
.contact{
  margin:14px 0 0;
}
.contact-link{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.14);
  text-decoration:none;
  font-weight:700;
}
.contact-link:hover{
  border-color: rgba(47,111,167,.45);
  box-shadow: 0 10px 26px rgba(47,111,167,.16);
}
.callout-side{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  min-width: 210px;
}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(47,111,167,.10);
  color: rgba(31,79,123,1);
  border: 1px solid rgba(47,111,167,.20);
  font-weight:700;
  font-size:13px;
}

/* Footer */
.site-footer{
  padding:22px 0;
  background:#193b71;
  color: rgba(255,255,255,.86);
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-brand{
  font-weight:700;
  letter-spacing:.01em;
}
.footer-meta{
  font-size:13px;
  color: rgba(255,255,255,.65);
  margin-top:2px;
}
.footer-right{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.site-footer .link{
  color: rgba(255,255,255,.78);
}
.site-footer .link:hover{
  color:#fff;
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(15,23,42,.92);
  color: rgba(255,255,255,.95);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  box-shadow: 0 18px 45px rgba(15,23,42,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  max-width: min(720px, calc(100% - 28px));
  text-align: center;
}
.toast.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}


@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
  .callout{ flex-direction:column; }
  .callout-side{ min-width: 0; flex-direction:row; flex-wrap:wrap; }
}
@media (max-width: 520px){
  .container{ width: calc(100% - 32px); }
  .header-actions .link{ display:none; }
  .btn--xl{ width:100%; }
  .callout{ padding:20px; }
}

.brand-logo{
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
@media (max-width: 520px){
  .header-actions .link{ display:inline-flex; }
}
.site-header .link--header{
  color: #fff;
}

.site-header .link--header:hover{
  color: rgba(255,255,255,.9);
}
.link{
  font-size:24px;
}

@font-face{
  font-family: "Muller";
  src:
    url("assets/fonts/Muller-Bold.woff2") format("woff2"),
    url("assets/fonts/Muller-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Gilroy";
  src:
    url("assets/fonts/Gilroy-Bold.woff2") format("woff2"),
    url("assets/fonts/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.tfc-hero-header{
  background: #193b71;
  padding: 34px 0 0px;
  overflow: hidden;
}

.tfc-hero-header__inner{
  
  margin: 0 auto;
}

.tfc-hero-header__logoWrap{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.tfc-hero-header__logo{
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: #ffffff;
  padding: 18px;
  object-fit: contain;
  display: block;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.tfc-hero-header__row{
  display: flex;
  align-items: flex-end; 
  justify-content: center;
  gap: 40px;
}

.tfc-hero-header__side{
  flex: 0 1 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tfc-hero-header__img{
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
   margin: 0; 
}

.tfc-hero-header__copy{
  flex: 0 1 760px;
  text-align: center;
  padding-bottom:30px;
}

.tfc-hero-header__title{
  margin: 0;
  color: #F4D368;
  font-family: "Muller", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.tfc-hero-header__subtitle{
  margin-top: 18px;
  color: #ffffff;
  font-family: "Gilroy", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
}


@media (max-width: 1200px){
  .tfc-hero-header__row{ gap: 28px; }
  .tfc-hero-header__title{ font-size: 64px; }
  .tfc-hero-header__subtitle{ font-size: 34px; }
  .tfc-hero-header__side{ flex-basis: 340px; }
}
@media (max-width: 980px){
  .tfc-hero-header{ padding: 28px 0 28px; }
  .tfc-hero-header__row{ gap: 22px; }
  .tfc-hero-header__title{ font-size: 52px; }
  .tfc-hero-header__subtitle{ font-size: 28px; }
  .tfc-hero-header__side{ flex-basis: 260px; }
}
@media (max-width: 760px){
  .tfc-hero-header__row{
    flex-direction: column;
    gap: 16px;
  }
  .tfc-hero-header__side{
    flex-basis: auto;
    width: 100%;
  }
  .tfc-hero-header__img{
    max-width: 520px;
  }
  .tfc-hero-header__title{ font-size: 44px; }
  .tfc-hero-header__subtitle{ font-size: 24px; }
}
@media (max-width: 420px){
  .tfc-hero-header__inner{ width: calc(100% - 32px); }
  .tfc-hero-header__logo{ width: 96px; height: 96px; padding: 14px; }
  .tfc-hero-header__title{ font-size: 38px; }
  .tfc-hero-header__subtitle{ font-size: 22px; }
}



body{
  background: #FEF4EA;
}


main#main{
  font-family: "Gilroy-Medium", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
}


main#main .hero h1,
main#main h1{
  font-family: "MullerBold", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600; 
  font-size: 60px;
  line-height: 1.08;
}


main#main h2,
main#main h3,
main#main .section-title,
main#main .card-title,
main#main .callout-title{
  font-family: "Gilroy-SemiBold", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.18;
}


main#main p,
main#main li,
main#main .text,
main#main .hero-lede,
main#main .hero-note,
main#main .list{
  font-family: "Gilroy-Medium", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
}

/* Keep fineprint readable but not oversized */
main#main .fineprint,
main#main .hero-hint{
  font-family: "Gilroy-Medium", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
}

/* Responsive scaling */
@media (max-width: 980px){
  main#main .hero h1,
  main#main h1{ font-size: 48px; }

  main#main h2,
  main#main h3,
  main#main .section-title,
  main#main .card-title,
  main#main .callout-title{ font-size: 26px; }

  main#main p,
  main#main li,
  main#main .text,
  main#main .hero-lede,
  main#main .hero-note,
  main#main .list{ font-size: 18px; }
}

@media (max-width: 520px){
  main#main .hero h1,
  main#main h1{ font-size: 40px; }

  main#main h2,
  main#main h3,
  main#main .section-title,
  main#main .card-title,
  main#main .callout-title{ font-size: 22px; }

  main#main p,
  main#main li,
  main#main .text,
  main#main .hero-lede,
  main#main .hero-note,
  main#main .list{ font-size: 16px; }
}

/* Header typography using onlinewebfonts families */
.site-header .brand-text{
  font-family: "Gilroy-Bold", "Gilroy Bold", "Gilroy-SemiBold", "Gilroy SemiBold", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  color: #fff;
}

.site-header .link--header{
  font-family: "Gilroy-SemiBold", "Gilroy SemiBold", "Gilroy-Bold", "Gilroy Bold", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.site-header .link--header:hover{
  color: rgba(255,255,255,.9);
  text-decoration: underline;
}



.tfc-footer{
  background: #293036;
  padding: 64px 0;
  color: rgba(255,255,255,.92);
}

.tfc-footer__inner{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: start;
}

.tfc-footer__col--left{
  text-align: left;
}

.tfc-footer__brand{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}

.tfc-footer__logo{
  height: 54px;
  width: auto;
  display: block;
}

.tfc-footer__label{
  margin-top: 18px;
  font-family: "Gilroy-SemiBold", "Gilroy SemiBold", "Gilroy-Bold", "Gilroy Bold", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255,255,255,.86);
}

.tfc-footer__members{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
}

.tfc-footer__memberLogo{
  height: 70px;
  width: auto;
  display: block;
}

.tfc-footer__email{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,.92);
  font-family: "Gilroy-Medium", "Gilroy Medium", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
}

.tfc-footer__email:hover{
  color: rgba(255,255,255,1);
  text-decoration: underline;
}

.tfc-footer__social{
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tfc-footer__socialLink{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  text-decoration: none;
  transition: transform .15s ease, background-color .18s ease, border-color .18s ease;
}

.tfc-footer__socialLink:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
}

.tfc-footer__col--right{
  text-align: left;
}

.tfc-footer__text{
  margin: 0 0 14px;
  font-family: "Gilroy-Medium", "Gilroy Medium", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.90);
}

.tfc-footer__copy{
  margin-top: 16px;
  font-family: "Gilroy-SemiBold", "Gilroy SemiBold", "Gilroy-Bold", "Gilroy Bold", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}

.tfc-ic{
  display: block;
}


@media (max-width: 980px){
  .tfc-footer__inner{
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .tfc-footer__email{ font-size: 16px; }
  .tfc-footer__text{ font-size: 16px; }
}
@media (max-width: 520px){
  .tfc-footer{
    padding: 48px 0;
  }
  .tfc-footer__memberLogo{ height: 30px; }
}




.tfc-footer__inner{
  align-items: stretch; 
}


.tfc-footer__col--right{
  display: flex;
  flex-direction: column;
  height: 100%;
}


.tfc-footer__copy{
  margin-top: auto;  
  padding-top: 16px; 
}


.tfc-footer__inner{
  width: calc(100% - 96px);     /* по 48px слева/справа */
  max-width: 1600px;              /* убираем ограничение 1200px */
  margin: 0 auto;

  display: grid;
  grid-template-columns: 60% 40%;
  gap: 56px;

  align-items: stretch;         /* чтобы колонки были одной высоты */
}


@media (max-width: 980px){
  .tfc-footer__inner{
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
}

@media (max-width: 760px){
  /* Stack header content and center everything */
  .tfc-hero-header__row{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Hide ONLY the right image on mobile */
  .tfc-hero-header__side--right{
    display: none;
  }

  /* Make the copy take full width so it doesn't shift right */
  .tfc-hero-header__copy{
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-bottom: 18px;
    flex: 0 1 260px; 
  }

  /* Left image stays, centered */
  .tfc-hero-header__side{
    width: 100%;
    justify-content: center;
  }
}

/* Gallery grid */
.tfc-gallery{
  padding: 40px 0;
}
.tfc-gallery__inner{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tfc-gallery__item{
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
  text-decoration: none;
}
.tfc-gallery__img{
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile: stack */
@media (max-width: 900px){
  .tfc-gallery__inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Lightbox */
.tfc-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.tfc-lightbox.is-open{
  display: block;
}
.tfc-lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.tfc-lightbox__dialog{
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(1100px, calc(100% - 28px));
  height: min(84vh, 820px);
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  gap: 10px;
  background: rgba(20,20,20,.15);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  padding: 18px;
}
.tfc-lightbox__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}
.tfc-lightbox__close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.tfc-lightbox__nav{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tfc-lightbox__nav:hover,
.tfc-lightbox__close:hover{
  background: rgba(255,255,255,.14);
}

/* On small screens keep popup usable, but JS will not open it on mobile anyway */
@media (max-width: 760px){
  .tfc-lightbox__dialog{
    grid-template-columns: 44px 1fr 44px;
    padding: 12px;
  }
  .tfc-lightbox__nav{
    width: 44px;
    height: 44px;
    font-size: 30px;
  }
}
