/* =========================
   ABOUT
========================= */

.about2-page{
  background: #FFFFFF;
  color: #0B0B0B;
}

/* --------------------------------
   Shared helpers
-------------------------------- */

.about2-eyebrow,
.about2-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(11,11,11,0.05);
  border: 1px solid rgba(11,11,11,0.06);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.about2-eyebrow::before,
.about2-badge::before{
  content:"";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62BD54;
}

.about2-page .about2-breadcrumbs *{
  color: inherit !important;
  text-decoration: none;
}

.about2-title{
  margin: 0 0 35px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  color: #0B0B0B;
}

.about2-sub{
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 70ch;
}

/* --------------------------------
   HERO
-------------------------------- */

.about2-hero{
  padding: 76px 0 86px;
  background:
    radial-gradient(900px 520px at 8% 10%, rgba(98,189,84,0.12), transparent 60%),
    radial-gradient(1100px 620px at 92% 84%, rgba(98,189,84,0.08), transparent 65%),
    linear-gradient(135deg, #FFFFFF 0%, #F6FFF7 35%, #FFFFFF 100%);
}

.about2-hero__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: start;
}

/* Title */
.about2-hero__title{
  margin: 0 0 35px;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0B0B0B;
}

/* Name + surname blocks */
.about2-hero__name,
.about2-hero__surname{
  display: inline-block;
}

.about2-hero__name::first-letter,
.about2-hero__surname::first-letter{
  color: #62BD54;
}

/* Surname subtle underline accent */
.about2-hero__surname{
  position: relative;
  margin-left: .12em;
}

.about2-hero__surname::after{
  content:"";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 54%;
  height: 4px;
  border-radius: 999px;
  background: rgba(98,189,84,0.35);
}

/* Tagline */
.about2-hero__tagline{
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.5;
  color: #111827;
  max-width: 42ch;
}

/* Lead */
.about2-hero__lead{
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #374151;
}

/* Actions */
.about2-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}

.about2-hero__btn{
  min-width: 220px;
}

/* =========================
   BUTTONS
========================= */

.about2-page .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: var(--fw-extrabold, 800);
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .2s ease,
    filter .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

.about2-page .btn--primary{
  background: #62BD54;
  color: #FFFFFF;
}

.about2-page .btn--outline{
  background: transparent;
  color: #0B0B0B;
  border: 1.5px solid rgba(11,11,11,0.18);
}

/* primary hover */
.about2-page .btn--primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.10),
    0 10px 22px rgba(98,189,84,0.12);
}

.about2-page .btn--outline:hover{
  transform: translateY(-1px);
  border-color: rgba(98,189,84,0.45);
  background: rgba(98,189,84,0.06);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.06),
    0 8px 18px rgba(98,189,84,0.10);
}

/* active */
.about2-page .btn:active{
  transform: translateY(0);
  filter: brightness(0.98);
}


/* --------------------------------
   HERO — profile card
-------------------------------- */

.about2-hero__profile{
  display: grid;
  justify-items: end;
}

.about2-profile-card{
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  overflow: hidden;

  background:
    radial-gradient(820px 320px at 50% 0%, rgba(98,189,84,0.06), transparent 60%),
    #FFFFFF;

  border: 1px solid rgba(98,189,84,0.18);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.05),
    0 14px 30px rgba(98,189,84,0.08);
}

.about2-profile-card__photo{
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(98,189,84,0.08), transparent 60%),
    #FFFFFF;
}

.about2-profile-card__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about2-profile-card__photo-placeholder{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  color: #6b7280;
}

.about2-profile-card__meta{
  padding: 16px 18px 18px;
  display: grid;
  gap: 4px;
}

.about2-profile-card__role{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0B0B0B;
  font-weight: var(--fw-bold);
}

.about2-profile-card__location{
  font-size: 14px;
  color: #6b7280;
}

/* metrics (left version) */

.about2-metrics--left{
  margin-top: 18px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about2-metrics--left .about2-metric{
  border-radius: 16px;
  padding: 12px 12px;
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(98,189,84,0.08), transparent 60%),
    #F7FFF8;
  border: 1px solid rgba(11,11,11,0.06);
  display: grid;
  gap: 2px;
}


.about2-metrics--left .about2-metric__value{
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  color: #0B0B0B;
}

.about2-metrics--left .about2-metric__label{
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7280;
}


/* --------------------------------
   INTRO
-------------------------------- */

.about2-intro{
  padding: 78px 0;
  background: #FFFFFF;
}

.about2-intro__inner{
  max-width: 980px;
  margin: 0 auto;
}

.about2-intro__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.about2-intro__col{
  font-size: 16.5px;
  line-height: 1.75;
  color: #374151;
}

/* --------------------------------
   EXPERIENCE / timeline
-------------------------------- */

.about2-experience{
  padding: 78px 0 86px;
  background:
    radial-gradient(1000px 360px at 100% 0%, rgba(98,189,84,0.07), transparent 60%),
    #FFFFFF;
}

.about2-head{
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.about2-timeline{
  display: grid;
  gap: 14px;
}

.about2-timeline__item{
  border-radius: 16px;
  padding: 22px 24px;

  background:
    radial-gradient(900px 260px at 0% 0%, rgba(98,189,84,0.08), transparent 60%),
    #F8FAFC;

  border: 1px solid rgba(11,11,11,0.06);

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 18px;

  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.about2-timeline__item:hover{
  transform: translateY(-2px);
  border-color: rgba(98,189,84,0.28);
  background-color: #FFFFFF;
  box-shadow:
    0 10px 26px rgba(0,0,0,0.05),
    0 14px 30px rgba(98,189,84,0.10);
}

.about2-timeline__left{
  display: grid;
  gap: 8px;
  align-content: start;
}

.about2-pill{
  display: inline-flex;
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(98,189,84,0.10);
  border: 1px solid rgba(98,189,84,0.25);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: #14532d;
}

.about2-muted{
  font-size: 12.5px;
  color: #6b7280;
}

.about2-timeline__right h3{
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: var(--fw-bold);
  color: #0B0B0B;
}

.about2-timeline__right p{
  margin: 0 0 8px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #374151;
}
.about2-timeline__right p:last-child{ margin-bottom:0; }


/* Expertise */

.about2-expertise{
  padding: 78px 0;
  background: #F7FFF8;
}

.about2-expertise__lead{
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 40px;
  color: #374151;
}

.about2-expertise__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about2-expertise__item{
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06), 0 8px 20px rgba(98,189,84,0.08);
}

.about2-expertise__item:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.08), 0 18px 36px rgba(98,189,84,0.12);
}

.about2-expertise__icon{
  font-size: 28px;
  background: rgba(98,189,84,0.1);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #62BD54;
}

.about2-expertise__item h3{
  margin:0;
  font-size: 18px;
  font-weight: var(--fw-bold);
  color:#0B0B0B;
}

.about2-expertise__item p{
  margin:0;
  font-size: 15.5px;
  line-height:1.6;
  color:#374151;
}


/* Education & Skills */

.about2-education{
  padding: 78px 0;
  background: #FFFFFF;
}

.about2-education__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.about2-education__col h3{
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
  font-size: 18px;
  color:#0B0B0B;
}

.about2-education__col ul{
  margin:0;
  padding-left:20px;
  list-style-type: disc;
  font-size:16px;
  line-height:1.7;
  color:#374151;
}


/* Video */

.about2-video{
  padding:78px 0;
  background:#F7FFF8;
  text-align:center;
}

.about2-video__embed{
  position:relative;
  padding-bottom:56.25%;
  height:0;
  margin-bottom:24px;
}

.about2-video__embed iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border-radius:16px;
}

.about2-video__text{
  max-width:720px;
  margin:0 auto 16px;
  font-size:16.5px;
  line-height:1.75;
  color:#374151;
}

/* CTA / Зв’язок */ 

.about2-cta{
  padding:78px 0;
  background:#0B0B0B;
  color:#FFFFFF;
  text-align:center;
}

.about2-cta__lead{
  font-size:17px;
  line-height:1.7;
  margin-bottom:24px;
}


/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 1100px){
  .about2-hero__grid{
    gap: 34px;
  }

  .about2-hero__profile{
    justify-items: start;
  }
}

@media (max-width: 900px){
  .about2-intro__cols{
    grid-template-columns: 1fr;
  }

  .about2-timeline__item{
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px){
  .about2-hero{
    padding: 64px 0 70px;
  }

  .about2-hero__actions .btn,
  .about2-hero__btn{
    width: 100%;
  }

  .about2-cta__inner .btn{
    width: 100%;
  }
}

/* --------------------------------
   First-screen height safety
-------------------------------- */

@media (min-width: 1100px){
  .about2-hero{
    padding: 56px 0 64px;
  }

  .about2-hero__grid{
    gap: 40px;
  }

  .about2-hero__lead{
    margin-bottom: 35px;
  }
  
}

@media (min-width: 1100px) and (max-height: 820px){
  .about2-hero{
    padding: 44px 0 52px;
  }

  .about2-hero__grid{
    gap: 32px;
  }

  .about2-hero__lead{
    font-size: 16px;
    line-height: 1.65;
  }

  .about2-profile-card__meta{
    padding: 14px 16px 16px;
  }
}

@media (min-width: 1100px) and (max-height: 740px){
  .about2-hero__lead{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}



/* =========================
   HOME FORM — MINI (50/50 with motion)
   Form defines height, video follows
========================= */

.home-form--mini{
  background:#f3f5f4;
  padding: 0 0 70px;
}

/* 50/50 layout */
.home-form--mini .home-form__mini-layout{
  max-width: 1100px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 22px;
  align-items: start;
}

/* LEFT motion */
.home-form--mini .home-form__motion{
  position: relative;
  align-self: stretch;
}

@media (min-width: 993px){
  .home-form--mini .home-form__motion{
    position: sticky;
    top: 92px;
  }
}

/* motion card = висота рядка = висота форми */
.home-form--mini .home-form__motion-inner{
  height: 100%;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(98,189,84,0.12);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
  background:
    radial-gradient(circle at 12% 18%, rgba(98,189,84,0.18), transparent 55%),
    radial-gradient(circle at 78% 62%, rgba(98,189,84,0.10), transparent 60%),
    #0b0b0b;

  display:flex;
}

/* video fills */
.home-form--mini .home-form__motion-video{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
}

/* RIGHT card */
.home-form--mini .home-form__mini{
  margin: 0;
  height: auto;
  padding: 34px 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fff3 40%, #f3fdf6 100%);
  border: 1px solid rgba(98, 189, 84, 0.10);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.home-form--mini .home-form__mini-head{
  text-align:center;
  margin-bottom: 18px;
}

.home-form--mini .home-form__label{ margin: 0 auto 10px; }

.home-form--mini .home-form__title{
  font-size: 32px;
  line-height: 1.2;
}

.home-form--mini .home-form__text{
  max-width: 560px;
  margin: 10px auto 0;
}

/* inner box */
.home-form--mini .home-form__box{
  margin-top: 18px;
  padding: 22px;
  border-radius: 16px;
}

/* form grid */
.home-form--mini .home-form__form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-form--mini .cf7-field{
  grid-column: 1 / -1;
  gap: 8px;
}

.home-form--mini .cf7-field--half{
  grid-column: auto;
}

.home-form--mini .cf7-field input,
.home-form--mini .cf7-field textarea{
  padding: 10px 12px;
}

/* messengers */
.home-form--mini .cf7-messenger-options{
  margin-top: 6px;
}

.home-form--mini .cf7-messenger-option{
  justify-content:center;
  padding: 9px 14px;
}

/* button */
.home-form--mini .btn--black{
  padding: 12px 18px;
  font-size: 15px;
}

/* ===== responsive ===== */
@media (max-width: 992px){
  .home-form--mini{
    padding: 0 0 60px;
  }

  /* stack */
  .home-form--mini .home-form__mini-layout{
    grid-template-columns: 1fr;
  }

  .home-form--mini .home-form__motion{
    position: static;
    align-self: auto;
  }

  .home-form--mini .home-form__motion-inner{
    height: 220px;
    border-radius: 16px;
  }

  .home-form--mini .home-form__mini{
    padding: 26px 20px;
    border-radius: 16px;
  }

  .home-form--mini .home-form__title{
    font-size: 28px;
  }

  .home-form--mini .home-form__box{
    padding: 20px 18px;
  }

  .home-form--mini .home-form__form{
    grid-template-columns: 1fr;
  }

  .home-form--mini .cf7-field--half{
    grid-column: 1 / -1;
  }

  .home-form--mini .cf7-messenger-options{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px){
  .home-form--mini .home-form__title{
    font-size: 24px;
  }
}


/* =========================
   HOME FORM
========================= */

.home-form {
  background: var(--c-green);
  padding: 70px 0;
}

.home-form__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fff3 40%, #f3fdf6 100%);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  border: 1px solid rgba(98, 189, 84, 0.1);
}


/* LEFT */
.home-form__visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-form__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,11,11,0.05);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  width: auto;
  align-self: flex-start;
}


.home-form__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62BD54;
}

.home-form__title {
  font-size: 38px;
  font-weight: 800;
  margin: 0;
}

.home-form__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555b5f;
  max-width: 420px;
}

.home-form__bullets {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}
.home-form__bullets li {
  font-size: 14px;
  line-height: 1.5;
  color: #3a3f42;
  position: relative;
  padding-left: 18px;
}
.home-form__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
}

/* RIGHT */
.home-form__box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgb(11 11 11 / 15%);
}

.home-form__box-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.home-form__box-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b6f71;
}

/* FORM */
.home-form__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf7-row {
  display: flex;
  gap: 10px;
}
.cf7-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cf7-field label {
  font-size: 13px;
  font-weight: 600;
}

.cf7-field input,
.cf7-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 16px;
  border: 1px solid #dde1e6;
  background: #fff;
  transition: 0.2s;
}
.cf7-field input:focus,
.cf7-field textarea:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 1px rgba(98,189,84,0.25);
}
.cf7-field textarea {
  min-height: 80px;
  resize: vertical;
}

/* MESSENGERS */

.cf7-messenger-option {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1.5px solid #E5E7EB;
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.cf7-messenger-option img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.cf7-messenger-option span {
  font-size: 14px;
  color: #111;
  line-height: 1;
  display: inline-block;
  transform: translateY(1px);
}

.cf7-messenger-option input[type="radio"] {
  display: none;
}

.cf7-messenger-option:hover {
  border-color: var(--c-green);
  background: rgba(98,189,84,0.06);
}

.cf7-messenger-option input[type="radio"]:checked ~ span {
  color: var(--c-green);
  font-weight: 600;
}

.cf7-messenger-option input[type="radio"]:checked ~ * {
  border-color: var(--c-green);
}

.cf7-messenger-option:has(input[type="radio"]:checked) {
  border-color: var(--c-green);
}


/* BUTTON */
.btn--black {
  border: none;
  border-radius: 999px;
  background: var(--c-black);
  color: #fff;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.btn--black:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .home-form__split {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

@media (max-width: 768px) {

  .cf7-row {
    flex-direction: column;
    gap: 14px;
  }

  .cf7-field input,
  .cf7-field textarea {
    font-size: 15px;
    padding: 12px 14px;
  }

  /* --- МЕСЕНДЖЕРИ --- */
  .cf7-messenger-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
  }

  .cf7-messenger-option {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 10px 16px;
  }

  .cf7-messenger-option img {
    width: 22px;
    height: 22px;
  }

  .cf7-messenger-option span {
    font-size: 15px;
  }

  /* кнопка */
  .btn--black {
    font-size: 15px;
    padding: 14px 20px;
    width: 100%;
  }

  .home-form__box {
    padding: 22px 20px 26px;
  }
}