/* =========================
   Montserrat
========================= */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* =========================
   Bona Nova SC
========================= */
@font-face {
  font-family: "Bona Nova SC";
  src: url("../fonts/BonaNovaSC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bona Nova SC";
  src: url("../fonts/BonaNovaSC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bona Nova SC";
  src: url("../fonts/BonaNovaSC-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}




/* Base */
html { scroll-behavior: smooth; }
/*:root { --headerH: 64px; }*/

/* sensible defaults */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }


body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

h1, h2, h3, .title, .heading {
  /*font-family: "Bona Nova SC", "Montserrat", serif;*/
  font-family: "Montserrat", serif;
}


.df-container { width: min(1100px, 92vw); margin: 0 auto; }

/* fixed header */
.df-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  /*height: var(--headerH);*/
  background: #2aaeb1;
  z-index: 1000;
  height: 64px;
}
.df-header__inner{
  /*height: var(--headerH);*/
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.df-nav{
  display:flex;
  gap: 22px;
  font-size: 13px;
  text-transform: uppercase;
}
.df-nav a{ 
  color:#ffffff; 
  text-decoration:none;
  padding: 8px 6px;
  display: inline-block;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 700;
}
.df-nav a:hover{ opacity:1; }

.df-main { padding-top: var(--headerH); }
.df-section { scroll-margin-top: var(--headerH); }




/* Background like макет (поки просто чорний) */
.df-main { background:#000000; color:#eaeaea; }

/* Hero */
.df-hero{
  min-height: 560px;
  display:flex;
  align-items:center;
  text-align:center;
}
.df-hero-bg {
    background-color: #0000008a;
        width: 100%;
}
.df-hero__inner{ padding: 30px 0 80px 0; }
.df-hero__logo{ letter-spacing: 3px; opacity:.9; margin-bottom: 14px; }
.df-hero__title{
  font-size: clamp(28px, 4.2vw, 54px);
  width: min(820px, 92%);
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.05;
}

/*test vector--------------------------------------------------------------*/
.df-hero{
  position: relative;
  overflow: hidden;
}

/* контент поверх */
.df-hero__inner{
  position: relative;
  z-index: 3;
}

/* спільні налаштування для обох променів */
.df-hero::before,
.df-hero::after{
  content:"";
  position:absolute;
  z-index: 1;
  pointer-events:none;

  /* 1) ЯКОРИМО в одну точку */
  left: 50%;
  top: 50%;

  /* 2) РОЗМІР шару (а не cover) */
  width: clamp(900px, 140vw, 1800px);
  height: clamp(520px, 85vw, 1100px);

  /* 3) Малюнок без кропу */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: .55;
  mix-blend-mode: screen; /* якщо дивно — прибери */
}

/* лівий промінь */
.df-hero::before{
  background-image: url("../img/Vector 2.svg"); /* або .svg */
    transform: translate(-72%, -66%) translateX(-6%);
}

/* правий промінь */
.df-hero::after{
  background-image: url("../img/Vector 1.svg"); /* або .svg */
  transform: translate(-31%, -66%) translateX(9%);
}

/* віньєтка (опціонально), щоб акцент був по центру */
.df-hero .df-hero__vignette{
  display:none; /* якщо не треба */
}



/*------------------------------------------------------*/




.df-hero__desc{ 
    max-width: 720px; 
    margin: 0 auto; 
    line-height: 1.5; 
    font-size: 22px;
    font-weight: 400; 
}
.df-hero__desc p{ margin: 0 0 12px 0; }
.df-hero__desc p:last-child{ margin-bottom: 0; }


.df-hero{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.df-hero__logo-img{
  /*width: min(420px, 80vw);*/
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
  padding: 12% 18%;
}

.df-hero__subtitle{
  font-size: clamp(26px, 5.2vw, 68px);
  margin: 20px 0 25px 0;
  font-family: "Bona Nova SC", serif;
  color: #5CE1E6;
  text-transform: uppercase;
  line-height: 1.05;
}

@media (max-width: 768px){
    .df-hero__logo-img {
        padding: 6% 18%;
    }
}


/* Typography */
.df-section__title{ font-size: 26px; margin: 0 0 18px 0; text-align:center; }

.df-h2{ font-size: 26px; margin: 0 0 45px 0; text-align:center; }
.df-h3{ margin: 0 0 6px 0; font-size: 18px; }
.df-p{ line-height: 1.6; }


/* Organizers */
.df-organizers{
  /*padding: 60px 0;*/
  background-image: url(/wp-content/uploads/2026/02/bg_1.jpg);
  background-size: contain;
}
.df-organizers-bg {
    padding: 60px 0;
    background-color: #0000008a;
}

.df-organizers__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.df-organizers__title{
  text-align: left; /* на макеті зліва */
  margin-bottom: 14px;
}

.df-organizers__text{
    font-size: 19px;
    font-weight: 400;
    line-height: 1.7;
}

.df-organizers__text p{
  margin: 0 0 24px 0;
}
.df-organizers__text > p > strong {
    color: #2DB2B7;
}

/*.df-organizers__img{*/
/*  width: 100%;*/
/*  height: auto;*/
/*  display: block;*/
/*  border-radius: 12px;*/
/*  border: 1px solid rgba(255,255,255,.12);*/
/*  background: rgba(255,255,255,.04);*/
/*}*/
.df-organizers__media{
  width: 100%;
  aspect-ratio: 525 / 589;   /* співвідношення як у макеті */
  overflow: hidden;
}

.df-organizers__img{
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: 50% 43%; /* твоя обрізка */
}

/* responsive */
@media (max-width: 1024px){
  .df-organizers__grid{
    grid-template-columns: 1fr;
  }
  .df-organizers__img{
    height: clamp(320px, 50vh, 520px);
    width: 65%;
    margin: 0 auto;
  }
  .df-organizers__media {
    aspect-ratio: auto;
  }
}


/*Wide image*/
.df-wide {
  width: 100%;
}

.df-wide__media{
  width: 100%;
  overflow: hidden;
  min-height: 220px;
  /* якщо в HTML є style="--wide-h: 520px;" — це стане верхньою межею */
  height: clamp(220px, 36vw, var(--wide-h, 700px));
}


.df-wide__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 17%;
}





/* Why */
.df-why{
  /*padding: 80px 0 70px;*/
  background: url(/wp-content/uploads/2026/02/bg_2.jpg);
}
.df-why-bg {
    padding: 80px 0 70px;
    background-color: #0000008a;
}

.df-why .df-container {
    width: min(1600px, 92vw);
}


/* Сітка: робимо 6 колонок, щоб легко центрувати 4-5 */
.df-why__grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 52px 80px; /* як у макеті: вертикальний/горизонтальний */
  margin-top: 24px;
}

/* кожна картка займає 2 колонки => 3 в ряд */
.df-why__item{
  grid-column: span 2;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  max-width: 400px;
}

/* header: номер + title в 1 ряд */
.df-why__head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* діамант (ромб) під номером */
.df-why__badge{
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*.df-why__badge::before{*/
/*  content: "";*/
/*  position: absolute;*/
/*  inset: 0;*/
  /*background: #2aaeb1; */
/*  transform: rotate(45deg);*/
  /*border-radius: 6px; */
/*}*/

.df-why__badge{
  position: relative;
  width: 48px;         /* можеш 44-52 під макет */
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.df-why__badge::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../img/diamind-vector.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;


}

/* цифра поверх SVG */
.df-why__num{
  position: relative;
  z-index: 1;
  color: #060606;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  top: -3px;
}


/* сам номер поверх ромба */
/*.df-why__num{*/
/*  position: relative;*/
/*  z-index: 1;*/
/*  color: #060606;*/
/*  font-weight: 800;*/
/*  font-size: 16px;*/
/*  line-height: 1;*/
/*}*/

/* заголовок у правильному кольорі */
.df-why__title{
  margin: 0;
  color: #2aaeb1;
  font-weight: 700;
}

/* текст */
.df-why__text{
  margin: 0;
  color: #C2C2C2;
  line-height: 1.55;
  margin-left: 66px;
}

/* ----- Розкладка 3 зверху / 2 знизу по центру (тільки якщо 5 елементів) ----- */
.df-why__grid--five .df-why__item:nth-child(4){
  grid-column: 2 / span 2; /* стає в центр зліва */
}
.df-why__grid--five .df-why__item:nth-child(5){
  grid-column: 4 / span 2; /* стає в центр справа */
}

/* Responsive */
@media (max-width: 1100px){
  .df-why__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 40px;
  }
  .df-why__item{
    grid-column: span 1;
  }
  .df-why__grid--five .df-why__item:nth-child(4),
  .df-why__grid--five .df-why__item:nth-child(5){
    grid-column: auto;
  }
}

@media (max-width: 640px){
  .df-why__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
}



/* Cards */
/* Announcements */
.df-announcements{
  padding: 60px 0;
}

.df-ann__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.df-ann-card{
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,.35);
}


.df-ann-card__info{
    border: 2px solid #2DB2B7;
}

.df-ann-card__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-weight: 700;
}

.df-ann-card__city{
  font-size: 18px;
  font-weight: 400;

}

.df-ann-card__date{
  font-size: 18px;
  font-weight: 400;
}

.df-ann-card__img img{
  width: 100%;
  height: auto;
  display: block;
}

.df-ann-card__actions{
  display: grid;
  gap: 10px;
  padding: 12px 0;
  margin-top: auto;
  /*border-top: 1px solid rgba(255,255,255,.10);*/
}


.df-ann-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: #2aaeb1;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 14px;
    text-decoration: none;
}

.df-ann-btn:hover{
  opacity: .92;
}

/* Responsive */
@media (max-width: 1200px){
  .df-ann__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .df-ann__grid{ grid-template-columns: 1fr; }
}


/* Ratings */
.df-scores {
    background: url(/wp-content/uploads/2026/02/bg_4.jpg);
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}
.df-scores-bg {
    padding: 50px 0;
    background-color: #0000008a;
}

.df-scores__list{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.df-score-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#d9d9d9;
  padding: 15px 10px;
  border: 2px solid #fff;
}

.df-score-row__name{
  color:#111;
  font-weight: 600;
  font-size: 22px;
  margin-left: 20px;
}

.df-score-row__btn{
  background:#111;
  color:#fff;
  padding: 16px 18px;
  text-decoration:none;
  font-size:15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.df-score-row__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.df-score-row__btn-icon{
  display: inline-flex;
  line-height: 0;
}

.df-score-row__btn-icon svg{
  display: block;
  width: 15px;
  height: 15px;
}


/* Contacts */
/*.df-contacts{ padding: 40px 0 80px; }*/
/*.df-contacts__grid{*/
/*  display:grid;*/
/*  grid-template-columns: repeat(3, 1fr);*/
/*  gap: 14px;*/
/*}*/
/*.df-contact{*/
/*  display:flex;*/
/*  align-items:center;*/
/*  justify-content:center;*/
/*  height: 110px;*/
/*  border-radius: 16px;*/
/*  background: rgba(255,255,255,.06);*/
/*  border: 1px solid rgba(255,255,255,.12);*/
/*  color:#fff;*/
/*  text-decoration:none;*/
/*  font-weight: 700;*/
/*}*/
/* Social */
.df-social{
  padding: 80px 0 100px 0;
}

.df-social__grid{
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  /* safety: навіть якщо десь df-container “злітає” — блок не стане надто широким */
  /*max-width: 1100px;*/
  margin: 0 auto;
}

.df-social__card{
  width: 100%;
  height: auto;

  /* “правильний” розмір картки на різних екранах */
  aspect-ratio: 16 / 8;                 /* можна підкрутити (напр. 16/6) */
  min-height: 120px;
  max-height: 310px;

  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  overflow: hidden;
}

.df-social__card:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.df-social__icon{
  width: clamp(44px, 4vw, 56px);
  height: clamp(44px, 4vw, 56px);
  object-fit: contain;
}

/* 3 -> 2 колонки: щоб третя картка не висіла зліва */
@media (max-width: 1080px) and (min-width: 869px){
  .df-social__grid{
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
  .df-social__card{
    height: 160px;      /* підбери: 160–220 */
    min-height: 0;
    max-height: none;
    aspect-ratio: auto; /* важливо: прибираємо ratio в цьому режимі */
  }
  .df-social__card:nth-child(3){
    /*grid-column: 1 / -1;      */
  }
}


/* легке підкручування для маленьких екранів */
@media (max-width: 520px){
  .df-social{ padding: 28px 0; }
  .df-social__card{
    aspect-ratio: 16 / 6;
    min-height: 110px;
    border-radius: 10px;
  }
}


/* Instagram gradient */
.df-social__card--ig{
  background: linear-gradient(64deg, #FFEB3B -9%, #ff1100 50%, #704bb3 120%);
}

.df-social__card--tg{
  background: #039BE5;
}

/* TikTok dark with border */
.df-social__card--tt{
    background: #000;
    border: 1px solid rgb(255 255 255 / 69%);

}

/* Phone teal */
.df-social__card--ph{
  background: #2DB2B7;
}

/* responsive */
@media (max-width: 868px){
  .df-social__grid{ grid-template-columns: 1fr; }
  .df-social__card{ height: 140px; }
}


/* Footer */
.df-footer{ padding: 20px 0; background:#111111; color:#929292; }
.df-footer__text {
    text-align: center;
}
.df-footer__text a {
    text-decoration: none;
    color: #929292;
}
.df-footer__text a:hover {
    color: #ffffff;
}
/* Responsive */
@media (max-width: 1024px){
  .df-cards{ grid-template-columns: repeat(2, 1fr); }
  .df-grid-2{ grid-template-columns: 1fr; }
  .df-nav{ gap: 14px; flex-wrap: wrap; justify-content:center; }
}

@media (max-width: 768px){
  .df-container { padding: 0 15px;  width: 100% }
    
  .df-nav{ gap: 4px 14px; }
  .df-header {height: 80px; }
  .df-header__inner { height: 100%; }
  
  .df-hero__desc { font-size: 16px; }
  
  .df-organizers__text { font-size: 16px; }
  
  .df-why { padding: 35px 10px; }
  
  .df-score-row { padding: 8px 12px; }
  .df-score-row__name { font-size: 19px; margin: 0; }
  .df-score-row__btn { font-size: 14px; padding: 12px 12px; }
  
}

@media (max-width: 768px){
  :root{ --headerH: 56px; }
  .df-hero{ min-height: 460px; }
  .df-hero__inner{ padding: 56px 15px; }
}
