/* AKiPA glass surfaces: opaque fallbacks first, blur only where supported. */
:root {
  --akipa-glass: rgba(255, 255, 255, 0.78);
  --akipa-glass-border: rgba(255, 255, 255, 0.88);
  --akipa-glass-shadow: 0 18px 48px rgba(21, 66, 40, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --akipa-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.akipa-header {
  background: #f7fbf7;
  border-bottom: 1px solid rgba(6, 120, 0, 0.08);
  box-shadow: 0 8px 32px rgba(13, 52, 34, 0.04);
}

.akipa-hero {
  position: relative;
  isolation: isolate;
  padding-top: 48px;
  padding-bottom: 105px;
}

.akipa-hero::before {
  background: radial-gradient(ellipse at 20% 15%, rgba(175, 201, 5, 0.2), transparent 55%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.akipa-hero__inner {
  background: rgba(13, 54, 41, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  box-shadow: 0 28px 64px rgba(0, 20, 14, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  padding: 38px 32px 42px;
  width: 100%;
}

.akipa-hero h1 {
  font-size: clamp(2.8rem, 4.65vw, 4.65rem);
  text-shadow: 0 2px 16px rgba(0, 20, 14, 0.12);
}

.akipa-hero__eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 100px;
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  padding: 11px 24px;
}

.akipa-button {
  border-radius: 14px;
  position: relative;
  transition: transform 280ms var(--akipa-ease), box-shadow 280ms ease, border-color 280ms ease;
}

.akipa-button:not(.akipa-button--outline) {
  border-color: rgba(6, 120, 0, 0.22);
  box-shadow: 0 8px 22px rgba(19, 171, 37, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.akipa-button--outline,
.akipa-slider__arrow,
.akipa-menu-toggle {
  background: #f6faf6;
  border: 1px solid rgba(6, 120, 0, 0.16);
  box-shadow: 0 6px 20px rgba(21, 66, 40, 0.07), inset 0 1px 0 #fff;
}

.akipa-slider__stage,
.akipa-care__image,
.akipa-profile__image img,
.akipa-profile__mobile-image img {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: var(--akipa-glass-shadow);
}

.akipa-slider__dots {
  background: rgba(11, 45, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  padding: 12px 16px;
}

.akipa-care {
  background: radial-gradient(ellipse at 15% 25%, #e5efe0, transparent 60%), #f3f7f2;
}

.akipa-services {
  background: radial-gradient(ellipse at 100% 15%, rgba(175, 201, 5, 0.26), transparent 60%), radial-gradient(ellipse at 10% 100%, rgba(19, 171, 37, 0.3), transparent 65%), #eef5eb;
}

.akipa-card {
  background: #f9fcf7;
  border: 1px solid var(--akipa-glass-border);
  border-radius: 24px;
  box-shadow: var(--akipa-glass-shadow);
  transition: transform 350ms var(--akipa-ease), box-shadow 350ms ease, border-color 350ms ease;
}

.akipa-card h3,
.akipa-services__intro h2 {
  color: var(--akipa-green-dark);
}

.akipa-card__icon {
  background: linear-gradient(145deg, #20b838, #078418);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 18px rgba(6, 120, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}

.akipa-faq__item {
  background: #f5f9f3;
  border: 1px solid rgba(6, 120, 0, 0.09);
  border-radius: 18px;
  margin-bottom: 12px;
  padding-inline: 24px;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.akipa-faq__item.is-open {
  background: #eef5e9;
  box-shadow: 0 8px 26px rgba(21, 66, 40, 0.06);
}

.akipa-footer {
  background: linear-gradient(180deg, #fff, #eff5ec);
  border-top: 1px solid rgba(6, 120, 0, 0.08);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .akipa-hero__inner {
    background: rgba(20, 61, 46, 0.46);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
  }

  .akipa-card,
  .akipa-button--outline,
  .akipa-slider__arrow,
  .akipa-menu-toggle {
    background: var(--akipa-glass);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .akipa-card:hover {
    border-color: rgba(6, 120, 0, 0.2);
    box-shadow: 0 26px 52px rgba(21, 66, 40, 0.14), inset 0 1px 0 #fff;
    transform: translateY(-6px);
  }

  .akipa-button:hover {
    box-shadow: 0 14px 28px rgba(6, 120, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
  }
}

@media (max-width: 960px) {
  .akipa-nav {
    background: rgba(248, 252, 246, 0.97);
    border: 1px solid rgba(6, 120, 0, 0.1);
    border-radius: 20px;
    left: 12px;
    right: 12px;
    margin-right: 0;
    top: calc(100% - 1px);
    box-shadow: var(--akipa-glass-shadow);
  }

  .akipa-menu-toggle {
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .akipa-hero {
    padding: 26px 16px 68px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
  }

  .akipa-hero__inner {
    border-radius: 24px;
    padding: 26px 16px 30px;
  }

  .akipa-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.15rem);
    line-height: 1.15;
  }

  .akipa-hero__eyebrow {
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding: 9px 18px;
  }

  .akipa-services__intro {
    background: transparent;
    margin: 0;
    padding: 0 0 20px;
  }

  .akipa-faq__item {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .akipa-button:hover,
  .akipa-button:focus-visible {
    transform: none;
  }
}
