<style>

html {
    scroll-behavior: smooth;
}

*{
  box-sizing: border-box;
}

 body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 70%); 
            line-height: 1.2;
            padding: 0;
            margin: 0;
            font-family: "Tektur", system-ui, sans-serif;
        } 

.blood-footer {
  background: linear-gradient(to top, #2e181b, #5c252e);
  color: white;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 0;
}

.footer-inner {
  display: grid;
  padding: 60px 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
        "brand center social"
        "brand center hotline";
  gap: 10px;
  column-gap: 90px;
}

.footer-social {
  grid-area: social;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-social a {
  color: white;
  font-size: 15px;
  text-decoration: none;
  transition: .3s;
}
.footer-social a:hover {
  color: #ffcaca;
}

.footer-center-text {
  grid-area: center;
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  padding: 0 20px;
}

.footer-hotline {
  grid-area: hotline;
  margin-top: 20px;
  font-size: 15px;
  opacity: .9;
}

.footer-brand {
  grid-area: brand;
  text-align: right;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 1px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.footer-logo:hover { color: #ffcdcd; }


.footer-copy {
  margin-top: 30px;
  opacity: .8;
  font-size: 13px;
  
  line-height: 1.3;
}

.navbar-main{
  position: fixed;
  top:0;
  left:0;
  right: 0;   
  width: auto;
  z-index:1000;
  box-sizing:border-box;
  background:transparent;
  transition: background .3s ease, box-shadow .3s ease;
}


.navbar-main.scrolled{
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}


.navbar-inner{
  max-width:1200px;
  padding: 10px 0;
  margin:0 auto;

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



.burger{
  background:none;
  border:none;
  padding:4px;
  cursor:pointer;

  display:flex;
  flex-direction:column;
  gap:6px;
}


.burger span{
  display:block;
  width:40px;
  height:3px;
  background:#fff;
  border-radius:999px;
  transition:.3s;
}



.burger.open span:nth-child(1){
  transform: rotate(45deg) translateY(8px);
}

.burger.open span:nth-child(2){
  opacity:0;
}

.burger.open span:nth-child(3){
  transform: rotate(-45deg) translateY(-8px);
}



.nav-menu{
  display:none;
  position: absolute;
  top: 100%;
  right: 150px;    
  left: auto;
  list-style:none;
  width: 80%;
  max-width: 400px; 
  margin:0;
  padding:16px 24px;
  background: rgba(0,0,0,0.65);
  flex-direction:column;
  gap:30px;
}

.nav-menu.open{
  display:flex;       
}

.nav-menu a{
  color:#fff;
  text-decoration:none;
  font-size:30px;
  transition:.3s;
  }

.nav-menu li {
  text-align:center;
}

.nav-menu a:hover{
  color:#9e3434;
}

.nav-btn.main-link {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.3);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;

  transition: 0.3s;
}

.nav-btn.main-link:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.nav-logo img {
  height: 40px;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
}


  .page-after {
    max-width: 1200px;
    margin: 0 auto;
    background: none;
    padding: 15px;
  }

.container { max-width: 1100px; margin: auto; padding: 0 16px; }
.section { padding: 72px 0; }

.hero { 
  position: relative; 
  margin-top: 60px; 
  perspective: 900px;
  perspective-origin: 50% 20%;
}

.slider {
  position: relative;
  height: min(70vh, 560px);
  margin: 16px;
  overflow: hidden;
  clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);

  transform-style: preserve-3d;
  transform: rotateX(14deg) rotateY(-6deg);
  will-change: transform;

  box-shadow:
    0 18px 40px rgba(0,0,0,.25),
    0 45px 90px rgba(0,0,0,.18);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.slider:hover{
  transform: rotateX(6deg) rotateY(0deg) translateZ(12px);
}

.slider::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  border: 2px solid rgba(35, 33, 33, 0.35);
  clip-path: inherit;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,.26),
    rgba(255,255,255,0) 45%,
    rgba(0,0,0,.18) 100%
  );
  mix-blend-mode: overlay;

  transform: translateZ(60px);
}

.slider::after {
  content: "";
  position: absolute;
  inset: -30px;
  pointer-events: none;
  clip-path: inherit;

  background: radial-gradient(circle at 30% 20%,
    rgba(255,255,255,.40),
    rgba(0,0,0,0) 60%);
  filter: blur(18px);
  opacity: .35;

  transform: translateZ(-60px);
}

.slides { height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}
.slide.is-active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15));
}

.hero-overlay h1 {
  font-size: clamp(28px, 5vw, 48px);
}

.hero-overlay p {
  font-size: clamp(16px, 2.5vw, 20px);
}

.hero-overlay:hover {
  color: #e53935;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  width: fit-content;
  margin: 0 auto;
}

.btn:hover {
  background: #e53935;
  color: #fff;
  transform: translateY(-1px);
}

.dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.6);
  cursor: pointer;
}
.dot.is-active { background: rgba(255,255,255,.95); }

.stats { background: rgba(0,0,0,.03); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.stat {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  text-align: center;
}
.stat-number { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.stat-label { opacity: .75; margin-top: 6px; }

.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;

  overflow-x: auto;
  padding-bottom: 10px;
  margin-top: 20px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.review {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);

  scroll-snap-align: start;
  flex-shrink: 0;
}

.review span {
  display: inline-block;
  margin-top: 10px;
  opacity: .75;
}

.review {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

.quote {
  max-width: 720px;
  margin: 48px auto;
  padding-left: 32px;
  position: relative;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 96px;
  line-height: 1;
  color: #c62828; /* акцент — колір крові */
  opacity: 0.15;
}

.quote blockquote {
  margin: 0;
  padding: 0;
}

.quote blockquote p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #1f2933;
  margin: 0;
}

.quote figcaption {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #6b7280;
}

/* вертикальна лінія */
.quote.accent {
  border-left: 4px solid #c62828;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  
.navbar-inner {
    padding: 8px 16px;
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-menu {
    top: 100%;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
    padding: 12px 16px;
    gap: 20px;
  }

  .nav-menu a {
    font-size: 18px;
  }
.footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "center"
      "social"
      "hotline";
    row-gap: 20px;
    column-gap: 0;
    padding: 32px 16px;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-center-text {
    padding: 0;
    font-size: 14px;
  }

  .footer-hotline,
  .footer-social a {
    font-size: 14px;
  }

  .footer-copy {
    margin-top: 16px;
    font-size: 12px;
  }

  .stats-grid, .reviews { grid-template-columns: 1fr; }
  .slider { height: 52vh; margin: 10px; border-radius: 16px; }

}

</style>