:root{
  --bg: #d1cec9;
  --card: #d1cec9;
  --line: rgba(16,24,40,.10);
  --text: rgba(16,24,40,.92);
  --muted: rgba(16,24,40,.62);
  --accent: #5b7cff;
  --accent2: #29c6ff;
  --shadow: 0 18px 40px rgba(16,24,40,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  color:var(--text);
  background: var(--bg);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

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

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.65);
  border-bottom:1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{display:flex; align-items:center; gap:10px}
.brand__mark{
  width:14px;height:14px;border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(91,124,255,.12);
}
.brand__text{font-weight:800; letter-spacing:.2px}

.nav{display:flex; gap:18px}
.nav a{color:var(--muted); font-weight:700}
.nav a:hover{color:var(--text)}

.burger{
  display:none;
  width:44px;height:38px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.75);
  border-radius:12px;
  cursor:pointer;
}
.burger span{
  display:block;
  height:2px;
  width:18px;
  margin:5px auto;
  background: rgba(16,24,40,.70);
  border-radius:2px;
}

.mobileNav{
  display:none;
  padding: 6px 0 14px;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.75);
}
.mobileNav a{
  display:block;
  padding:12px 20px;
  color:var(--muted);
  font-weight:800;
}
.mobileNav a:hover{color:var(--text); background: rgba(16,24,40,.04)}

.hero{padding:48px 0 18px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap:28px;
  align-items:center;
}

.pill{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  border-radius:999px;
  color:var(--muted);
  font-weight:800;
  margin:0 0 14px;
}

h1{font-size: clamp(28px, 4.2vw, 46px); margin:0 0 10px; line-height:1.08}
.lead{color:var(--muted); font-size: 1.05rem; line-height:1.55; margin:0 0 18px}

.cta{display:flex; gap:12px; flex-wrap:wrap; margin: 14px 0 12px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.80);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.92); border-color: rgba(16,24,40,.18)}
.btn.primary{
  border-color: rgba(91,124,255,.35);
  background: linear-gradient(135deg, rgba(91,124,255,.92), rgba(41,198,255,.70));
  color: rgba(255,255,255,.96);
}
.btn.primary:hover{border-color: rgba(91,124,255,.55)}
.btn.ghost{background: rgba(255,255,255,.70)}
.btn.small{padding:10px 12px; border-radius:12px; font-weight:900}
.btn.wide{width:100%}

.note{
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius:16px;
  padding:12px 12px;
  color: var(--muted);
  line-height:1.5;
}

.hero__media{position:relative}
.hero__img{
  width:100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.hero__badge{
  position:absolute;
  left:14px; bottom:14px;
  padding:12px 14px;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
}
.hero__badgeTitle{font-weight:900}
.hero__badgeText{color:var(--muted); font-weight:800; font-size:.95rem}

.section{padding: 34px 0}
.section__head{display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:16px}
.section__head h2{margin:0; font-size: 1.6rem}
.muted{color:var(--muted)}

.card{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(16,24,40,.08);
}
.pad{padding:18px}
.card__body{padding:14px 14px 16px}

.about{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
.list{margin:10px 0 0; padding-left: 18px; color: var(--muted); font-weight:700; line-height:1.55}
.about__photo{position:relative; cursor:pointer}
.about__photo img{width:100%; height:100%; object-fit:cover; aspect-ratio: 4/4}
.photoHint{
  position:absolute;
  left:12px; bottom:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-weight:800;
  font-size:.9rem;
}

.grid{display:grid; gap:14px}
.cards{grid-template-columns: repeat(3, 1fr)}
.service{cursor:pointer}
.service img{width:100%; aspect-ratio: 4/3; object-fit:cover; border-bottom:1px solid var(--line)}
.meta{display:flex; gap:8px; margin-top:10px; flex-wrap:wrap}
.tag{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-weight:900;
  font-size:.9rem;
}

.results{grid-template-columns: repeat(4, 1fr)}
.certs{grid-template-columns: repeat(3, 1fr)}
.cert{cursor:pointer}
.cert img{width:100%; aspect-ratio: 4/3; object-fit:cover}

.contacts{grid-template-columns: 1fr 1fr}
.contactItem{
  display:block;
  margin-top:10px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  font-weight:900;
  color: var(--muted);
}
.contactItem:hover{color:var(--text); background: rgba(255,255,255,.92)}
.row{display:flex; gap:10px; flex-wrap:wrap}
.smallGap{margin-top:14px}

.footer{padding:18px 0 36px; text-align:center}
.tiny{font-size:.92rem; margin:12px 0 0}

.lightbox{
  position:fixed; inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 20px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
  z-index:50;
}
.lightbox.open{display:flex}
.lightbox__figure{
  width:min(1100px, 100%);
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.lightbox__figure img{
  width:100%;
  max-height: 82vh;
  object-fit: contain;
  background: rgba(255,255,255,.90);
}
.lightbox__figure figcaption{padding:12px 14px; font-weight:900}
.lightbox__close{
  position:fixed;
  top:14px; right:14px;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.95);
  font-size:20px;
  cursor:pointer;
}
.lightbox__close:hover{background: rgba(255,255,255,.26)}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; }
  .about{grid-template-columns: 1fr}
  .cards{grid-template-columns: 1fr}
  .certs{grid-template-columns: 1fr}
  .contacts{grid-template-columns: 1fr}
  .results{grid-template-columns: 1fr 1fr}
}

@media (max-width: 760px){
  .nav{display:none}
  .burger{display:block}
  .mobileNav.show{display:block}
  .section__head{flex-direction:column; align-items:flex-start}
  .results{grid-template-columns: 1fr}
}

/* ===== Subtle Effects ===== */
@keyframes fadeUp { from{opacity:0; transform: translateY(14px)} to{opacity:1; transform:none} }
@keyframes glow { 0%{box-shadow:0 0 0 rgba(91,124,255,.0)} 50%{box-shadow:0 10px 30px rgba(91,124,255,.25)} 100%{box-shadow:0 0 0 rgba(91,124,255,.0)} }

.section, .card { animation: fadeUp .6s ease both }
.hero__img { transition: transform .4s ease }
.hero__img:hover { transform: scale(1.02) }
.btn.primary { animation: glow 3s ease-in-out infinite }


/* ===== Wix-like Fullscreen Hero ===== */
.hero--wix{
  position: relative;
  min-height: 92vh;
  padding: 0;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom: 1px solid var(--line);
}
.heroBg{
  position:absolute; inset:-10px;
  background-image: url("assets/hero.avif");
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.03);
}
.heroOverlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 15% 20%, rgba(255,255,255,.92), rgba(255,255,255,.72) 55%, rgba(255,255,255,.55) 72%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86) 45%, rgba(246,247,251,.98) 100%);
  backdrop-filter: none;
}
.hero__center{
  position:relative;
  padding: 110px 0 70px;
  display:flex;
  justify-content:flex-start;
  align-items:flex-end;
}
.heroCard{
  width:min(760px, 100%);
  border:1px solid rgba(16,24,40,.14);
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(16,24,40,.18);
  padding: 24px 22px;
}
.heroBadges{display:flex; gap:10px; flex-wrap:wrap; margin: 8px 0 10px}
.chip{
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(16,24,40,.12);
  background: rgba(255,255,255,.80);
  color: var(--muted);
  font-weight:900;
  font-size:.92rem;
}

/* ===== More Effects (tasteful) ===== */
html{scroll-behavior:smooth; font-size:20px}
.card, .btn, .contactItem{transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16,24,40,.12);
  border-color: rgba(16,24,40,.16);
}
.service:hover img, .cert:hover img{
  transform: scale(1.02);
}
.service img, .cert img{transition: transform .35s ease}
.pill{position:relative; overflow:hidden}
.pill::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-120%);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer{ 0%,60%{transform: translateX(-120%)} 100%{transform: translateX(120%)} }

@keyframes floaty{ 0%,100%{transform: translateY(0)} 50%{transform: translateY(-4px)} }
.btn.primary{animation: glow 2.6s ease-in-out infinite, floaty 3.8s ease-in-out infinite}

/* Reveal on scroll */
.reveal{opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1; transform:none}

/* Scroll hint */
.scrollHint{
  display:inline-flex; align-items:center; gap:10px;
  margin-top: 14px;
  color: var(--muted);
  font-weight:900;
}
.scrollHint__dot{
  width:30px; height:44px; border-radius:999px;
  border:1px solid rgba(16,24,40,.18);
  background: rgba(255,255,255,.70);
  position:relative;
}
.scrollHint__dot::after{
  content:"";
  position:absolute; left:50%; top:10px;
  width:6px; height:6px; border-radius:999px;
  background: rgba(16,24,40,.55);
  transform: translateX(-50%);
  animation: dot 1.4s ease-in-out infinite;
}
@keyframes dot{0%{opacity:.2; transform: translate(-50%,0)} 50%{opacity:1; transform: translate(-50%,12px)} 100%{opacity:.2; transform: translate(-50%,0)} }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important}
  html{scroll-behavior:auto}
}

/* Responsive tweaks for fullscreen hero */
@media (max-width: 980px){
  .hero--wix{min-height: 86vh}
  .hero__center{padding: 42px 0}
}
@media (max-width: 520px){
  .heroCard{padding:18px 16px}
}


.heroCard{ margin-left: 0; }
@media (min-width: 1200px){
  .heroCard{ margin-left: 10px; }
}

/* ===== Fullscreen hero with photo on top (Wix-like) ===== */
.heroFull{
  position: relative;
  height: 100vh;
  min-height: 680px;
  width: 100%;
  overflow: hidden;
}
.heroFull__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center top;
}
.heroFull__overlay{
  position:absolute;
  inset:0;
  /* dark overlay for readability */
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.15) 70%, rgba(0,0,0,0) 100%);
}
.heroFull__inner{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
}
.heroFull__content{
  max-width: 600px;
  color: rgba(255,255,255,.94);
}
@media (min-width:1100px){
  .heroFull__content{max-width:520px;}
}

.heroFull__content h1{ color: rgba(255,255,255,.98); }
.heroFull__content .lead{ color: rgba(255,255,255,.82); }
.heroFull__content .pill{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  font-weight:800;
  margin:0 0 14px;
}
.heroFull__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.heroFull__meta .chip{
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.86);
  font-weight:900;
  font-size:.92rem;
}

/* Ensure topbar readable over hero */
.topbar{
  background: rgba(255,255,255,.80);
}

/* Mobile tweaks */
@media (max-width: 760px){
  .heroFull{
    min-height: 640px;
  }
  .heroFull__overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,0) 100%);
  }
}

/* Hero buttons on photo */
.heroFull .btn.ghost{
  border-color: rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
}
.heroFull .btn.ghost:hover{
  background: rgba(0,0,0,.26);
  border-color: rgba(255,255,255,.32);
}
.heroFull .btn.primary{
  border-color: rgba(255,255,255,.22);
}

/* ===== Subtle sky background for HERO ONLY ===== */
.heroFull{
  background: linear-gradient(180deg, #cfe9ff 0%, #eaf6ff 45%, #ffffff 100%);
}

.heroFull::before{
  content:"";
  position:absolute;
  inset:-10%;
  background:
    radial-gradient(120px 60px at 15% 30%, rgba(255,255,255,.65), transparent 70%),
    radial-gradient(180px 80px at 45% 20%, rgba(255,255,255,.55), transparent 72%),
    radial-gradient(220px 100px at 75% 35%, rgba(255,255,255,.50), transparent 74%);
  animation: heroSkyMove 40s linear infinite;
  pointer-events:none;
}

@keyframes heroSkyMove{
  0%{ transform: translateX(-6%) translateY(0) }
  50%{ transform: translateX(6%) translateY(-2%) }
  100%{ transform: translateX(-6%) translateY(0) }
}
  50%{ transform: translateX(2%) }
  100%{ transform: translateX(-2%) }
}

/* ===== EXTRA EFFECTS ===== */

/* stronger reveal */
.reveal{
  opacity:0;
  transform: translateY(30px) scale(.98);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.9,.2,1);
}
.reveal.in{
  opacity:1;
  transform:none;
}

/* card glow on hover */
.card{
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,.18);
}

/* button pulse */
@keyframes pulseBtn{
  0%{ box-shadow:0 0 0 0 rgba(91,124,255,.35); }
  70%{ box-shadow:0 0 0 14px rgba(91,124,255,0); }
  100%{ box-shadow:0 0 0 0 rgba(91,124,255,0); }
}
.btn.primary{
  animation: pulseBtn 3.8s ease-out infinite;
}

/* image soft zoom */
.heroFull__img{
  transition: transform 20s ease;
}
.heroFull:hover .heroFull__img{
  transform: scale(1.08);
}

/* About: text full width */
.about__grid--full{
  grid-template-columns: 1fr !important;
}

/* === SKY MOVEMENT FIX (guaranteed) === */
.heroFull::before{
  animation: skyMove 25s linear infinite !important;
}

@keyframes skyMove{
  0%{ background-position: 0% 0%; }
  50%{ background-position: 100% 10%; }
  100%{ background-position: 0% 0%; }
}

/* Force ABOUT to single column (no photo) */
#about .about{ grid-template-columns: 1fr !important; }
#about .about > *:nth-child(2){ display:none !important; }

/* ===== Light background for blocks/sections ===== */
.section{
  position: relative;
}
.section::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 10px;
  bottom: 10px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(16,24,40,.08);
  border-radius: 26px;
  box-shadow: 0 10px 26px rgba(16,24,40,.06);
  z-index: -1;
}
@media (max-width: 760px){
  .section::before{ top: 6px; bottom: 6px; border-radius: 22px; }
}

html{scroll-behavior:smooth}

/* ===== HERO TEXT BLACK + MOBILE SHIFT ===== */
.heroFull__content{
  color:#111 !important;
}
.heroFull__content h1{
  color:#000 !important;
}
.heroFull__content .lead{
  color:#222 !important;
}

/* remove dark overlay on mobile */
@media (max-width: 760px){
  .heroFull__overlay{ background: rgba(255,255,255,.65) !important; }
  .heroFull__inner{
    align-items:flex-start !important;
    padding-top: 24px !important;
  }
  .heroFull__content{
    margin: 0 auto;
    max-width: 92%;
  }
  .cta{
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ===== Shift hero photo to the right ===== */
.heroFull__img{
  object-position: 70% center; /* move Oleksii to the right */
}

@media (max-width: 760px){
  .heroFull__img{
    object-position: 80% top; /* even more to the right on mobile */
  }
}

/* ===== Lower hero content ===== */
.heroFull__inner{
  align-items: flex-end !important;
  padding-bottom: 14vh !important;
}

@media (max-width: 760px){
  .heroFull__inner{
    padding-bottom: 18vh !important;
  }
}

/* ===== HERO TEXT AT VERY BOTTOM ===== */
.heroFull{
  position: relative;
}
.heroFull__inner{
  align-items: flex-end !important;
  padding-bottom: 6vh !important;
}
.heroFull__content{
  margin-top: auto !important;
}

/* mobile stronger */
@media (max-width: 760px){
  .heroFull__inner{
    padding-bottom: 4vh !important;
  }
}

/* ===== MOBILE: TEXT STRICTLY UNDER PHOTO ===== */
@media (max-width: 760px){
  .heroFull__inner{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-bottom: 16px !important;
  }

  .heroFull__img{
    order: 1 !important;
    width: 100%;
    height: auto;
  }

  .heroFull__content{
    order: 2 !important;
    margin-top: 12px !important;
    background: rgba(255,255,255,.75);
    padding: 16px 14px;
    border-radius: 18px;
  }
}

/* ===== SCROLL PERFORMANCE FIX ===== */
/* Disable heavy transitions on hero */
.heroFull__img,
.heroFull__overlay,
.heroFull::before{
  animation: none !important;
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
}

/* Avoid blur/backdrop effects on hero */
.heroFull *{
  backdrop-filter: none !important;
  filter: none !important;
}

/* ===== MOBILE HERO CLEAN FIX ===== */
@media (max-width: 760px){
  /* hero layout: image first, text after */
  .heroFull__inner{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }

  .heroFull__img{
    width: 100%;
    height: auto;
    object-position: center top;
  }

  /* text block strictly BELOW image */
  .heroFull__content{
    position: relative !important;
    margin-top: 16px !important;
    background: #ffffff !important; /* no overlay on photo */
    border-radius: 20px;
    padding: 18px 16px 20px;
    box-shadow: 0 10px 26px rgba(16,24,40,.08);
  }

  /* remove any overlay visuals */
  .heroFull__overlay,
  .heroFull::before{
    display: none !important;
  }
}

/* ===== MOBILE NUCLEAR HERO FIX ===== */
@media (max-width: 760px){
  .heroFull[data-mobile-clean="1"]{
    display:block !important;
  }

  .heroFull__overlay,
  .heroFull::before,
  .heroFull__glass{
    display:none !important;
  }

  .heroFull__inner{
    display:block !important;
    padding:0 !important;
  }

  .heroFull__img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    position:relative !important;
  }

  .heroFull__content{
    position:relative !important;
    inset:auto !important;
    margin:16px !important;
    background:#ffffff !important;
    border-radius:20px !important;
    padding:18px 16px 22px !important;
    box-shadow:0 10px 26px rgba(16,24,40,.08) !important;
  }
}

/* ===== Remove top strip completely ===== */
.topbar{ display:none !important; height:0 !important; }

/* ===== Make hero text block wider on mobile ===== */
@media (max-width: 760px){
  .heroFull__content{
    margin: 10px 8px 14px !important;
    width: calc(100% - 16px) !important;
    max-width: none !important;
    border-radius: 18px !important;
  }
}

/* ===== VERY VISIBLE BUTTON EFFECT ===== */
.btn{
  position: relative;
  overflow: hidden;
  background:#2f2f2f !important;
  color:#fff !important;
}

.btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-150%;
  width:150%;
  height:100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.35) 55%,
    transparent 100%
  );
  animation: btnShine 2.8s linear infinite;
}

.btn.primary{
  background:#1f56b8 !important;
}

@keyframes btnShine{
  0%{ left:-150%; }
  100%{ left:150%; }
}

/* consultation pill same effect */
.pill, .badge{
  position: relative;
  overflow: hidden;
  background:#555 !important;
  color:#fff !important;
}

.pill::after, .badge::after{
  content:"";
  position:absolute;
  top:0;
  left:-150%;
  width:150%;
  height:100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );
  animation: btnShine 3.2s linear infinite;
}

/* ===== HERO BLOCK FULL WIDTH (MOBILE) ===== */
@media (max-width: 760px){
  .heroFull__content{
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 !important;
    border-radius: 0 !important;
  }
}

/* ===== STRONG BUTTON EFFECTS ===== */
.btn{
  transform: scale(1);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.btn::after{
  animation-duration: 3.8s !important;
}
.btn:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* pill stronger glow */
.pill::after{
  animation-duration: 5s !important;
}

/* Slow shimmer globally */
.btn::after{ animation-duration: 4s !important; }
.pill::after, .badge::after{ animation-duration: 6s !important; }

/* ===== REMOVE EFFECT FROM TOP PILL ===== */
.pill,
.badge{
  animation: none !important;
}
.pill::after,
.badge::after{
  display:none !important;
}

/* ===== SMOOTH SCROLL ===== */
html{
  scroll-behavior: smooth;
}
body{
  overscroll-behavior: none;
}

/* ===== DESKTOP: RAISE HERO TEXT ===== */
@media (min-width: 761px){
  .heroFull__inner{
    padding-bottom: 6vh !important;
    align-items: center !important;
  }
}

/* ===== CERTIFICATES ===== */
.cert-list{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.cert-list a{
  padding:12px 18px;
  background:#f2f4f7;
  border-radius:14px;
  text-decoration:none;
  color:#111;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}

/* ===== STRONG CERTIFICATES LOOK ===== */
.cert-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:18px;
  margin-top:16px;
}
.cert-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:22px;
  border-radius:20px;
  background: linear-gradient(180deg,#ffffff,#f4f6f9);
  text-decoration:none;
  color:#111;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover{
  transform: translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.cert-icon{
  width:54px;
  height:54px;
  border-radius:14px;
  background:#e53935;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}
.cert-title{
  font-size:20px;
  font-weight:700;
}
.cert-sub{
  font-size:16px;
  color:#555;
}

/* ===== DESKTOP: HERO TEXT A BIT HIGHER ===== */
@media (min-width: 1024px){
  .heroFull__inner{
    align-items: flex-start !important;
    padding-top: 8vh !important;
    padding-bottom: 0 !important;
  }
}

/* ===== DESKTOP: TEXT FROM VERY TOP ===== */
@media (min-width: 1024px){
  .heroFull{
    min-height: 100vh !important;
    align-items: flex-start !important;
  }
  .heroFull__inner{
    align-items: flex-start !important;
    padding-top: 24px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }
}

/* FINAL FIXES */
@media (min-width:1024px){
  .heroFull__inner{ padding-top:0 !important; align-items:flex-start !important; }
}
#certificates{ padding-top:0 !important; }
.cert-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;
}
.cert-card{
  padding:22px;border-radius:20px;background:#f4f6f9;color:#111;text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}
.cert-icon{
  width:52px;height:52px;border-radius:14px;background:#e53935;color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;
}

/* ===== FIX: DESKTOP HERO TEXT REALLY AT TOP ===== */
@media (min-width: 1024px){
  .heroFull{
    min-height: 100vh !important;
  }
  .heroFull__inner{
    display:flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .heroFull__content{
    margin-top: 0 !important;
    padding-top: 24px !important; /* tiny breathing room from absolute top */
    color:#111 !important;
  }
  .heroFull__content h1{ color:#000 !important; }
  .heroFull__content .lead{ color:#222 !important; }
}

/* ===== CERTIFICATES: GUARANTEE VISIBLE ===== */
#certificates{ display:block !important; }
#certificates .cert-grid{
  display:grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 18px;
}
#certificates .cert-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 22px;
  border-radius: 22px;
  background: #f4f6f9;
  color: #111;
  text-decoration:none;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
#certificates .cert-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

/* ===== FIX: MOVE HERO TEXT LEFT ===== */
@media (min-width: 1024px){
  .heroFull__inner{
    padding-left: 16px !important;
    padding-right: 0 !important;
  }
  .heroFull__content{
    margin-left: 0 !important;
    text-align: left !important;
  }
}

/* ===== FINAL HERO TEXT FIX ===== */
@media (min-width: 1024px){
  .heroFull__inner{
    padding-left: 32px !important;
  }
  .heroFull__content{
    max-width: 520px !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .heroFull__content h1{
    font-size:42px !important;
  }
  .heroFull__content p{
    font-size:19px !important;
  }
}

/* ===== REMOVE OLD PDF CERTIFICATE BLOCK ===== */
#certificates,
.certificate-card,
.certificates,
.pdf,
.pdf-card{
  display: none !important;
}

/* Back to top */
.toTop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(17,24,39,.78);
  color: #fff;
  font-size:22px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  z-index: 999;
}
.toTop.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toTop:hover{ background: rgba(37,99,235,.9); }

/* ===== MOBILE: lower hero block, slightly bigger fonts, animated background ===== */
@media (max-width: 760px){
  /* Drop the text card a bit lower under the photo */
  .heroFull__content{
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }

  /* Slightly larger, rounder-feel type on mobile */
  .heroFull__content h1{
    font-size:36px !important;
    line-height: 1.06 !important;
    letter-spacing: -0.2px;
  }
  .heroFull__content p{
    font-size:20px !important;
    line-height: 1.55 !important;
  }
  .btn{
    font-size:18px !important;
  }

  /* Subtle animated background (light + fast, does not affect desktop) */
  body{
    position: relative;
  }
  body::before{
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .32;
    background:
      radial-gradient(900px 600px at 20% 15%, rgba(59,130,246,.28), transparent 60%),
      radial-gradient(900px 600px at 80% 85%, rgba(14,165,233,.22), transparent 60%),
      radial-gradient(700px 500px at 60% 35%, rgba(99,102,241,.18), transparent 60%);
    transform: translate3d(0,0,0);
    animation: mobileBgDrift 18s ease-in-out infinite alternate;
  }
}

@keyframes mobileBgDrift{
  0%{ transform: translate3d(0,0,0) scale(1); filter: blur(0px); }
  100%{ transform: translate3d(-2%, -1%, 0) scale(1.06); filter: blur(1px); }
}


/* ===== Animated sky + Theme toggle (added) ===== */
body{
  background: var(--bg);
  transition: background-color .55s ease, color .55s ease;
}

/* Sky layers */
.sky-bg, .sky{
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
}
.sky{ z-index: -3; }

.sky-bg::before,
.sky-bg::after{
  content:"";
  position:absolute;
  inset:0;
  transition: opacity .55s ease;
}
.sky-bg::before{
  opacity: 1;
  background: radial-gradient(1200px 700px at 20% 20%, rgba(255,255,255,.95), rgba(190,215,255,.78) 45%, rgba(145,180,255,.60) 75%, rgba(115,155,255,.48));
}
.sky-bg::after{
  opacity: 0;
  background: radial-gradient(1200px 700px at 20% 20%, rgba(55,90,170,.55), rgba(10,18,40,.92) 58%, rgba(5,8,18,.98));
}

.sky::before,
.sky::after{
  content:"";
  position:absolute;
  inset:-25%;
  filter: blur(28px);
  transform: translate3d(0,0,0);
}
.sky::before{
  opacity:.55;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(closest-side at 70% 40%, rgba(255,255,255,.42), transparent 62%),
    radial-gradient(closest-side at 40% 70%, rgba(255,255,255,.30), transparent 60%);
  animation: skyDrift1 26s linear infinite;
}
.sky::after{
  opacity:.38;
  background:
    radial-gradient(closest-side at 15% 60%, rgba(255,255,255,.26), transparent 62%),
    radial-gradient(closest-side at 55% 25%, rgba(255,255,255,.22), transparent 62%),
    radial-gradient(closest-side at 80% 55%, rgba(255,255,255,.18), transparent 62%);
  animation: skyDrift2 34s linear infinite;
}

@keyframes skyDrift1{
  0%{ transform: translate3d(-2%, -1%, 0) scale(1.02); }
  50%{ transform: translate3d( 2%,  1%, 0) scale(1.05); }
  100%{ transform: translate3d(-2%, -1%, 0) scale(1.02); }
}
@keyframes skyDrift2{
  0%{ transform: translate3d( 3%,  1%, 0) scale(1.03); }
  50%{ transform: translate3d(-3%, -1%, 0) scale(1.01); }
  100%{ transform: translate3d( 3%,  1%, 0) scale(1.03); }
}

/* Dark theme variables */
body.dark{
  --bg: #d1cec9;
  --card: #d1cec9;
  --line: rgba(255,255,255,.14);
  --text: rgba(245,247,255,.94);
  --muted: rgba(245,247,255,.68);
  --accent: #7ea1ff;
  --accent2: #55d7ff;
  --shadow: 0 22px 55px rgba(0,0,0,.35);
}
body.dark .sky-bg::before{ opacity: 0; }
body.dark .sky-bg::after{ opacity: 1; }

/* Fade + blur on toggle */
.themeFx{
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(0px);
  transition: opacity .24s ease, backdrop-filter .24s ease;
}
.themeFx.on{
  opacity: 1;
  backdrop-filter: blur(10px);
}

/* Theme button bottom-left (so it doesn't clash with toTop) */
.themeToggle{
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform .18s ease, background-color .55s ease, color .55s ease, border-color .55s ease;
}
.themeToggle:hover{ transform: translateY(-2px); }
.themeToggle:active{ transform: scale(.96); }

}


h1, h2, h3, h4, h5, h6 { text-align: center; }



/* --- FIXES: headings centering (desktop + mobile) --- */
h1, h2, h3, h4, h5, h6 { text-align: center !important; }

/* --- FIXES: button rows alignment --- */
.cta{justify-content:center;}
.cta2{display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:14px;}
.row{justify-content:center;}

/* Make buttons look aligned when they wrap */
.cta .btn, .cta2 .btn, .row .btn { text-align:center; }



@media (max-width: 768px) {
  /* Mobile typography: consistent headings */
  h1 { font-size: 30px; line-height: 1.15; }
  h2 { font-size: 28px; line-height: 1.2; }
  h3 { font-size: 20px; line-height: 1.25; }
  h4 { font-size: 18px; line-height: 1.25; }

  p, li {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Buttons: keep centered and readable */
  .cta .btn, .cta2 .btn, .row .btn {
    min-width: 140px;
  }
}



/* ===== Mobile typography + centering fixes (2025-12-12) ===== */
@media (max-width: 760px){
  /* unify fonts */
  body{font-size:16px}
  h1{font-size:28px; text-align:center}
  h2{font-size:24px; text-align:center}
  h3{font-size:20px; text-align:center}
  p, li{font-size:16px; line-height:1.65}

  /* center section headings and subtitles */
  .section__head{
    align-items:center !important;
    justify-content:center;
    text-align:center;
  }
  .section__head h2{width:100%; margin:0}
  .section__head .muted{width:100%; text-align:center}

  /* CTA buttons: centered, human layout, no "left hang" */
  .cta{
    justify-content:center;
    margin-bottom:22px; /* avoid overlap with next section */
  }
  .cta .btn{
    flex: 1 1 150px;
    max-width: 240px;
    justify-content:center;
  }

  /* avoid any accidental overlap of CTA by following blocks */
  .hero{padding-bottom:34px}

  /* top pill centered */
  .pill{margin-left:auto; margin-right:auto}

  /* floating theme button: don't cover headings on mobile */
  .themeToggle{
    bottom: 84px;
    left: 14px;
    width:44px;
    height:44px;
    font-size:18px;
  }
}


body {
  background-color: #d8d6d2;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}


.hero, header, section:first-of-type {
  background-color: #d8d6d2;
  position: relative;
}

.hero::after, header::after, section:first-of-type::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 100px;
  background: linear-gradient(to bottom,
    rgba(216,214,210,0),
    rgba(216,214,210,1)
  );
  pointer-events: none;
}

h1,h2,h3,h4,h5,h6{ text-align:center; }


@media (max-width: 768px) {
  h1 { font-size: 28px; text-align: center; }
  h2 { font-size: 24px; text-align: center; }
  h3 { font-size: 20px; text-align: center; }
  p, li { font-size: 16px; line-height: 1.6; text-align: center; }
}

/* === WALLPAPER BG OVERRIDE (FINAL) === */
:root{
  --bg: #d1cec9;
  --card: #d8d6d2; /* slightly lighter than bg */
}

/* Global background */
html, body{
  background: var(--bg) !important;
}

/* Remove the blue/white rounded wrappers behind sections */
.section::before{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Sections themselves stay transparent so BODY color shows */
.section, .about, .services, .certs, .contacts, .footer{
  background: transparent !important;
}

/* Cards/blocks keep their look but without blue tints */
.card, .service, .cert, .contactItem, .cert-card, .cta2{
  background: var(--card) !important;
  backdrop-filter: none !important;
}

/* IMPORTANT: keep hero buttons area transparent over the photo */
.heroFull .cta{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Ensure any accidental background on hero inner wrappers doesn't paint a bar */
.heroFull__inner,
.heroFull__content{
  background: transparent !important;
}



/* === FINAL BACKGROUND + ANIMATION (COLOR MATCH) === */
:root {
  --bg: #b8b6b3;
}

/* kill old sky */
.sky, .sky-bg {
  display: none !important;
}

html, body {
  background-color: var(--bg) !important;
  overflow-x: hidden;
}

/* animated light overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.06), transparent 45%);
  animation: bgFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes bgFloat {
  0% { transform: translate(0,0); }
  50% { transform: translate(-15px,10px); }
  100% { transform: translate(0,0); }
}

/* section fade */
section {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from { opacity:0; transform: translateY(18px); }
  to { opacity:1; transform: translateY(0); }
}

/* buttons micro */
button, .btn {
  transition: transform .2s ease;
}
button:hover, .btn:hover {
  transform: translateY(-2px);
}

/* mobile slower */
@media (max-width:768px){
  body::before { animation-duration:32s; }
}


/* === SMOOTH HERO -> NEXT SECTION + ALIGNMENTS === */

/* Smooth transition from hero image to page background */
.heroFull::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:140px;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--bg) 85%);
  z-index: 2;
}

/* Put "Консультація онлайн" pill at the very top-right (desktop+mobile) */
.heroFull .pill{
  position:absolute;
  top:18px;
  right:18px;
  margin:0 !important;
  z-index: 3;
}
@media (max-width:760px){
  .heroFull .pill{
    top:12px;
    right:12px;
    padding:7px 10px;
    font-size:.9rem;
  }
}

/* Move the section tagline to the right nicely (desktop) */
.section__head{
  align-items:flex-end;
}
.section__head .muted{
  margin-left:auto;
  text-align:right;
  max-width: 520px;
  padding-right: 6px;
}

/* Mobile: stack title + tagline cleanly */
@media (max-width:760px){
  .section__head{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .section__head .muted{
    margin-left:0;
    text-align:left;
    max-width: none;
    padding-right: 0;
  }
}

/* === CENTER SECTION TITLES (DESKTOP + MOBILE) === */
.section__head{
  position: relative;
  justify-content: center !important;
}
.section__head h2{
  flex: 1 1 auto;
  text-align: center;
}

/* Keep the small tagline on the right without shifting the title */
.section__head .muted{
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: right;
  max-width: 520px;
  padding-right: 6px;
}

/* Mobile: center everything in the header */
@media (max-width:760px){
  .section__head{
    flex-direction: column;
    align-items: center !important;
    gap: 8px;
  }
  .section__head .muted{
    position: static;
    text-align: center;
    padding-right: 0;
    max-width: none;
  }
}


/* === FIX MOBILE BLUE TOP + PILL ALIGN === */

/* kill any sky remnants on mobile */
@media (max-width:760px){
  .sky, .sky-bg{
    display:none !important;
  }
  html, body{
    background-color: var(--bg) !important;
  }
}

/* hero image fade stronger on mobile */
@media (max-width:760px){
  .heroFull::after{
    height:200px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--bg) 90%);
  }
}

/* center pill on mobile, no right shift */
@media (max-width:760px){
  .heroFull .pill{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    top:14px;
    text-align:center;
  }
}


/* === FINAL MOBILE TOP BLUE KILL === */
@media (max-width:760px){
  .heroFull{
    background: var(--bg) !important;
  }
  .heroFull__img{
    object-position: center 20%;
  }
  .heroFull__overlay{
    display:none !important;
  }
  .heroFull::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(184,182,179,0.85) 25%,
      rgba(184,182,179,0.65) 45%,
      rgba(184,182,179,0.3) 65%,
      rgba(184,182,179,0) 85%
    );
    z-index:1;
    pointer-events:none;
  }
  .heroFull__inner{
    position:relative;
    z-index:2;
  }
}


/* ===== MOBILE FINAL CLEAN TRANSITION + PILL ===== */
@media (max-width:760px){

  html, body, main, #top {
    background-color: var(--bg) !important;
  }

  .sky, .sky-bg {
    display:none !important;
  }

  section {
    margin-top:0 !important;
  }

  .heroFull{
    background: var(--bg) !important;
    padding-bottom: 28px;
  }

  .heroFull::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:-1px;
    height:240px;
    background: linear-gradient(
      to bottom,
      rgba(184,182,179,0) 0%,
      rgba(184,182,179,0.45) 35%,
      rgba(184,182,179,0.75) 60%,
      rgba(184,182,179,0.95) 85%,
      var(--bg) 100%
    ) !important;
    pointer-events:none;
    z-index:2;
  }

  .heroFull .pill{
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    margin: 14px auto 12px !important;
    display:inline-block;
    z-index:3;
  }

  .heroFull__inner{
    position:relative;
    z-index:3;
  }
}


/* ===== MOBILE TUNED: SOFTER TRANSITION + BETTER PILL ===== */
@media (max-width:760px){

  /* Even softer hero -> content blend */
  .heroFull::after{
    height:300px !important;
    background: linear-gradient(
      to bottom,
      rgba(184,182,179,0) 0%,
      rgba(184,182,179,0.25) 30%,
      rgba(184,182,179,0.55) 55%,
      rgba(184,182,179,0.80) 75%,
      rgba(184,182,179,0.95) 90%,
      var(--bg) 100%
    ) !important;
  }

  /* Place pill neatly below image edge */
  .heroFull .pill{
    margin: 18px auto 8px !important;
    padding: 8px 14px !important;
    font-size: 0.95rem !important;
  }

  /* Add tiny spacing before next section */
  .section__head{
    padding-top: 6px;
  }
}


/* ===== DESKTOP HERO: DROP CONTENT LOWER + PILL LEFT + SHIMMER ===== */

/* 1) Desktop: move hero text+buttons lower so it doesn't get "cut" */
@media (min-width: 900px){
  .heroFull__inner{
    align-items: flex-start !important;
    padding-top: 110px !important;
  }
  .heroFull__content{
    margin-top: 0 !important;
  }
}

/* 2) Desktop: pill "Консультація онлайн" to the left (not top-right) */
@media (min-width: 900px){
  .heroFull .pill{
    position: absolute !important;
    top: 26px !important;
    left: 26px !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 5;
  }
}

/* 3) Mobile: keep pill on the left (like in your screenshot request) */
@media (max-width: 760px){
  .heroFull .pill{
    margin: 16px 0 10px 0 !important;
    display: inline-block !important;
    align-self: flex-start !important;
  }
  .heroFull__content{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 4) Shimmer animation for the pill (like other glossy buttons) */
.heroFull .pill{
  position: relative;
  overflow: hidden;
}

.heroFull .pill::after{
  content:"";
  position:absolute;
  top:-30%;
  left:-60%;
  width:45%;
  height:160%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  animation: pillShimmer 2.8s ease-in-out infinite;
  pointer-events:none;
}

@keyframes pillShimmer{
  0%   { left:-60%; opacity:0; }
  15%  { opacity:1; }
  45%  { left:120%; opacity:1; }
  60%  { opacity:0; }
  100% { left:120%; opacity:0; }
}


/* ===== DESKTOP FINAL POSITION FOR "КОНСУЛЬТАЦІЯ ОНЛАЙН" ===== */
@media (min-width: 900px){
  .heroFull .pill{
    position: absolute !important;
    top: 52px !important;   /* нижче */
    left: 56px !important;  /* правіше */
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 10;
  }
}


/* ===== DESKTOP: PUSH "КОНСУЛЬТАЦІЯ ОНЛАЙН" MORE RIGHT ===== */
@media (min-width: 900px){
  .heroFull .pill{
    left: 96px !important;  /* ЩЕ ПРАВІШЕ */
    top: 52px !important;
  }
}


/* ===== DESKTOP: TAGLINE UNDER HERO BUTTONS ===== */
@media (min-width: 900px){

  /* hide tagline near section headers */
  .section__head .muted{
    display:none !important;
  }

  /* place tagline under hero buttons */
  .heroFull__content .cta{
    margin-bottom: 12px;
  }

  .heroFull__content::after{
    content: "Професійно · етично · з фокусом на результат.";
    display:block;
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
  }
}


/* ===== DESKTOP: TAGLINE CENTERED, BLACK, BOLD, SHIMMER ===== */
@media (min-width: 900px){

  .heroFull__content::after{
    content: "Професійно · етично · з фокусом на результат.";
    display: inline-block;
    margin-top: 14px;
    margin-left: 120px; /* правіше, по центру відносно імені */
    font-size: 1.1rem;
    font-weight: 900;
    color: #000;
    position: relative;
    overflow: hidden;
    padding: 6px 2px;
  }

  /* shimmer like buttons */
  .heroFull__content::after::after{
    content: "";
    position: absolute;
    top: -40%;
    left: -60%;
    width: 45%;
    height: 180%;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.55) 50%,
      rgba(255,255,255,0) 100%
    );
    transform: skewX(-18deg);
    animation: taglineShimmer 2.6s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes taglineShimmer{
    0%   { left:-60%; opacity:0; }
    15%  { opacity:1; }
    45%  { left:120%; opacity:1; }
    60%  { opacity:0; }
    100% { left:120%; opacity:0; }
  }
}
