/* Hero
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.home-hero {
   position: relative;
   overflow: hidden;
   border-bottom: 3px solid var(--mybone-primary);
   background-color: var(--color-white);
}

.home-hero::after {
   content: "";
   position: absolute;
   right: 0;
   bottom: 0;
   z-index: 5;
   width: 8%;
   height: 3px;
   background-color: var(--mybone-accent);
}

.hero-swiper,
.hero-slide {
   position: relative;
   width: 100%;
}

.hero-bg {
   display: block;
   width: 100%;
   height: auto;
}

.hero-overlay {
   position: absolute;
   inset: 0;
   z-index: 2;
   display: flex;
   align-items: center;
   background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 27%,
      rgba(255, 255, 255, 0.72) 42%,
      rgba(255, 255, 255, 0.18) 55%,
      rgba(255, 255, 255, 0) 68%
   );
}

.hero-content {
   width: 50%;
   max-width: 680px;
}

.hero-eyebrow {
   display: block;
   margin-bottom: 0.65rem;
   font-size: 0.9rem;
   font-weight: var(--font-weight-bold);
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--mybone-primary);
}

.hero-title {
   max-width: 650px;
   margin-bottom: 1rem;
   font-size: clamp(2.5rem, 4vw, 4rem);
   font-weight: var(--font-weight-extrabold);
   line-height: 1.12;
   letter-spacing: -0.035em;
   color: var(--mybone-primary-deep);
}

.hero-description {
   max-width: 610px;
   margin-bottom: 1.6rem;
   color: var(--color-text-dark);
}

.hero-actions {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 0.75rem;
}

.hero-eyebrow,
.hero-title,
.hero-description,
.hero-actions .btn {
   opacity: 0;
   transform: translateY(22px);
}

.swiper-slide-active .hero-eyebrow { animation: heroReveal 0.7s ease 0.15s forwards; }
.swiper-slide-active .hero-title { animation: heroReveal 0.8s ease 0.3s forwards; }
.swiper-slide-active .hero-description { animation: heroReveal 0.8s ease 0.5s forwards; }
.swiper-slide-active .hero-actions .btn:nth-child(1) { animation: heroReveal 0.7s ease 0.7s forwards; }
.swiper-slide-active .hero-actions .btn:nth-child(2) { animation: heroReveal 0.7s ease 0.85s forwards; }

@keyframes heroReveal {
   from {
      opacity: 0;
      transform: translateY(22px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.hero-pagination {
   position: absolute;
   left: 50% !important;
   bottom: 16px !important;
   z-index: 6;
   width: auto !important;
   transform: translateX(-50%);
}

.hero-pagination .swiper-pagination-bullet {
   width: 8px;
   height: 8px;
   margin: 0 5px !important;
   opacity: 0.4;
   background-color: var(--mybone-primary);
   transition: width var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
   width: 26px;
   border-radius: var(--border-radius-pill);
   opacity: 1;
   background-color: var(--mybone-accent);
}

@media (max-width: 1199.98px) {
   .hero-content { width: 54%; }
   .hero-title { font-size: clamp(2.25rem, 4vw, 3.5rem); }
}

@media (max-width: 991.98px) {
   .hero-overlay {
      background: linear-gradient(
         90deg,
         rgba(255, 255, 255, 0.97) 0%,
         rgba(255, 255, 255, 0.90) 45%,
         rgba(255, 255, 255, 0.40) 70%,
         rgba(255, 255, 255, 0.08) 100%
      );
   }

   .hero-content {
      width: 62%;
      padding: 2rem 0;
   }

   .hero-title {
      margin-bottom: 0.75rem;
      font-size: clamp(2rem, 5vw, 3rem);
   }

   .hero-description { margin-bottom: 1.25rem; }
}

@media (max-width: 767.98px) {
   .hero-bg {
      min-height: 520px;
      object-fit: cover;
      object-position: 62% center;
   }

   .hero-overlay {
      align-items: flex-end;
      background: linear-gradient(
         180deg,
         rgba(255, 255, 255, 0.05) 15%,
         rgba(255, 255, 255, 0.72) 47%,
         rgba(255, 255, 255, 0.98) 72%,
         rgba(255, 255, 255, 1) 100%
      );
   }

   .hero-content {
      width: 100%;
      max-width: 560px;
      padding: 3rem 0 4rem;
   }

   .hero-title { font-size: 2.15rem; }
   .hero-description { max-width: 100%; }
}

@media (max-width: 575.98px) {
   .hero-bg {
      min-height: 570px;
      object-position: 64% center;
   }

   .hero-eyebrow {
      font-size: 0.78rem;
      letter-spacing: 0.06em;
   }

   .hero-title {
      font-size: 2rem;
      line-height: 1.15;
   }

   .hero-actions {
      align-items: stretch;
      flex-direction: column;
   }

   .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
   .hero-eyebrow,
   .hero-title,
   .hero-description,
   .hero-actions .btn {
      opacity: 1;
      transform: none;
      animation: none !important;
   }
}


/* Mission
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.mission-section {
   position: relative;
   padding: var(--section-padding-y) 0;
   overflow: hidden;
   background-color: var(--color-white);
}

.mission-content .section-title { max-width: 650px; }
.mission-content > p { max-width: 680px; }
.mission-points { margin: 2rem 0; }

.mission-visual {
   position: relative;
   max-width: 560px;
   margin-left: auto;
   padding: 0 0 3rem 3rem;
}

.mission-image {
   display: block;
   width: 100%;
   min-height: 540px;
   object-fit: cover;
   border-radius: var(--border-radius-xl);
   box-shadow: var(--shadow-md);
}

.mission-quote {
   position: absolute;
   left: 0;
   bottom: 0;
   width: min(360px, 82%);
}

@media (max-width: 991.98px) {
   .mission-section { padding: var(--section-padding-y-md) 0; }

   .mission-visual {
      max-width: 650px;
      margin: 1rem auto 0;
   }

   .mission-image { min-height: 480px; }
}

@media (max-width: 575.98px) {
   .mission-section { padding: var(--section-padding-y-sm) 0; }

   .mission-content .btn-brand {
      width: 100%;
      justify-content: center;
   }

   .mission-visual { padding: 0 0 4rem 1rem; }
   .mission-image { min-height: 430px; }
   .mission-quote { width: calc(100% - 1rem); }
}


/* What You Will Find Here
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.find-section {
   position: relative;
   padding: var(--section-padding-y) 0;
   overflow: hidden;
   background-color: var(--mybone-primary-soft);
}

.find-section::after {
   content: "";
   position: absolute;
   top: -90px;
   right: -90px;
   width: 240px;
   height: 240px;
   border-radius: 50%;
   background-color: var(--mybone-accent-soft);
}

.find-section .container {
   position: relative;
   z-index: 2;
}

.find-intro { max-width: 340px; }
.find-intro .section-title { margin-bottom: 2rem; }

.find-swiper {
   width: 100%;
   padding: 0.5rem;
   margin: -0.5rem;
}

.find-swiper .swiper-wrapper { align-items: stretch; }

.find-swiper .swiper-slide {
   display: flex;
   height: auto;
}

.find-card { min-height: 360px; }

@media (max-width: 991.98px) {
   .find-section { padding: var(--section-padding-y-md) 0; }

   .find-intro {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      max-width: none;
   }

   .find-intro .section-title {
      max-width: 500px;
      margin-bottom: 0;
   }
}

@media (max-width: 575.98px) {
   .find-section { padding: var(--section-padding-y-sm) 0; }

   .find-section::after {
      top: -60px;
      right: -80px;
      width: 180px;
      height: 180px;
   }

   .find-intro {
      align-items: flex-start;
      flex-direction: column;
      gap: 1.5rem;
   }

   .find-card { min-height: 340px; }
}


/* Home Quote
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.home-quote-section {
   position: relative;
   display: flex;
   align-items: center;
   min-height: 320px;
   overflow: hidden;
}

.home-quote-image {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
}

.home-quote-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(
      90deg,
      rgba(18, 63, 105, 0.94) 0%,
      rgba(18, 63, 105, 0.82) 30%,
      rgba(18, 63, 105, 0.35) 52%,
      rgba(18, 63, 105, 0.05) 72%
   );
}

.home-quote-section .container {
   position: relative;
   z-index: 1;
}

.home-quote-content { padding: 2rem 0; }

.home-quote-content h2,
.home-quote-content p { color: var(--color-white); }

.home-quote-content blockquote {
   margin: 2rem 0 0;
   padding-left: 1.5rem;
   border-left: 3px solid var(--mybone-accent);
}

@media (max-width: 991.98px) {
   .home-quote-section { min-height: 360px; }

   .home-quote-overlay {
      background: linear-gradient(
         90deg,
         rgba(18, 63, 105, 0.94) 0%,
         rgba(18, 63, 105, 0.82) 42%,
         rgba(18, 63, 105, 0.25) 72%,
         rgba(18, 63, 105, 0.05) 100%
      );
   }
}

@media (max-width: 767.98px) {
   .home-quote-section {
      min-height: 390px;
      align-items: flex-end;
   }

   .home-quote-image { object-position: 60% center; }

   .home-quote-overlay {
      background: linear-gradient(
         180deg,
         rgba(18, 63, 105, 0.08) 5%,
         rgba(18, 63, 105, 0.38) 38%,
         rgba(18, 63, 105, 0.90) 75%,
         rgba(18, 63, 105, 0.98) 100%
      );
   }

   .home-quote-content { padding: 4rem 0 2.5rem; }
}

@media (max-width: 575.98px) {
   .home-quote-section { min-height: 360px; }
}
