/* Biotechblend — Responsive */

@media (max-width: 1180px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(100% - 1.5rem, var(--nav-max));
    padding: 0;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    z-index: 6;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin-left: 0;
    padding: 0.65rem;
    max-height: min(70vh, calc(100dvh - var(--header-h) - 24px));
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(10, 61, 64, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(6, 38, 40, 0.16);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s var(--nav-ease), opacity 0.22s ease, visibility 0.22s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a:not(.nav-cta) {
    padding: 0.72rem 0.9rem;
    font-size: 0.98rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-menu a:not(.nav-cta):hover,
  .nav-menu a:not(.nav-cta).is-active {
    background: rgba(10, 61, 64, 0.06);
    transform: none;
    box-shadow: none;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a.is-active {
    color: var(--teal-deep);
  }

  .nav-menu .nav-cta {
    position: static;
    margin: 0.35rem 0 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    justify-content: center;
  }

  body.nav-open .site-header {
    z-index: 110;
  }

  .site-header .logo img {
    height: 68px;
    max-width: 76px;
  }

  .site-header .logo__text {
    margin-left: 10px;
  }

  .logo {
    max-width: calc(100% - 56px);
    min-width: 0;
  }

  .logo__brand {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .logo__sub {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .logo__slogan {
    display: block;
    margin-top: 0.08rem;
    font-size: 0.62rem;
    line-height: 1.15;
    white-space: normal;
    max-width: 12rem;
  }
}

@media (max-width: 1100px) {
  .product-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .bio-insight .bio-insight__points {
    grid-template-columns: 1fr;
  }

  .bio-insight__speaker-grid {
    flex-direction: column;
  }

  .bio-insight__aside {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .bio-insight__aside h2 {
    max-width: none;
  }

  .bio-insight__aside-copy {
    max-width: 36rem;
  }

  .bio-insight__byline {
    margin-top: 1.25rem;
  }

  .bio-insight__speaker {
    padding: 0;
  }

  .bio-insight__tags {
    margin-left: 0;
    width: auto;
  }

  .card-grid,
  .why-grid,
  .why-promise__grid,
  .why-steps,
  .industry-grid,
  .testimonial-grid,
  .values-grid,
  .infra-grid,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .why-us__head {
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 40px;
  }

  .why-us__cta {
    justify-self: center;
  }

  .header-inner {
    padding: 0;
    width: min(100% - 2rem, var(--nav-max));
  }

  .hero-slide.is-active {
    padding: 4.5rem clamp(1.5rem, 4vw, 2.25rem) 7rem;
  }

  .hero-slide__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-slide__content {
    padding: 0;
  }

  .hero-slide__stage {
    min-height: 380px;
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
    justify-self: center;
    padding: 36px 40px 44px;
  }

  .hero-float--top {
    left: 6%;
  }

  .hero-float--mid {
    right: 6%;
  }

  .hero-float--bot {
    bottom: 8%;
    left: 10%;
  }

  .stat-row--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  body {
    font-size: 17px;
  }

  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-story-points {
    grid-template-columns: 1fr;
  }

  .about-page .values-grid,
  .about-page .infra-grid,
  .about-page .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-layout,
  .product-card,
  .mv-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .about-story__shell {
    padding: 64px 0;
  }

  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .about-story__media {
    order: -1;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .about-story__figure {
    min-height: 420px;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 56px;
    gap: 8px;
    padding: 10px;
  }

  .about-metric:nth-child(2)::after {
    display: none;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .about-hero__inner {
    max-width: 100%;
  }

  .about-hero h1 {
    max-width: none;
  }

  .about-hero__actions {
    width: 100%;
  }

  .about-hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .cta-band .container {
    padding: 2.25rem 1.15rem;
  }

  .bio-insight__quote {
    grid-template-columns: 44px 1fr;
    gap: 0.7rem;
    padding-top: 1rem;
  }

  .bio-insight__mark {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    border-radius: 14px;
  }

  .bio-insight__pull {
    font-size: 1.02rem;
  }

  .bio-insight__close {
    font-size: 0.9rem;
    padding: 0.8rem 0.9rem;
  }

  .bio-insight__byline {
    width: 100%;
    padding: 0.75rem 0.8rem;
    gap: 0.7rem;
  }

  .bio-insight__points > li {
    padding: 1rem;
  }

  .bio-insight__mark {
    font-size: 4rem;
  }

  .product-tiles,
  .card-grid,
  .why-grid,
  .why-promise__grid,
  .why-steps,
  .industry-grid,
  .testimonial-grid,
  .values-grid,
  .infra-grid,
  .quality-grid,
  .about-stats__row,
  .stat-row--wide,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-us__cta {
    width: auto;
    justify-content: center;
  }

  .why-us__actions {
    margin-top: 36px;
  }

  .product-tile__media {
    aspect-ratio: 1;
  }

  .about-story__shell {
    padding: 56px 0;
    width: min(100% - 1.5rem, var(--as-max, 1320px));
  }

  .about-story__grid {
    gap: 36px;
  }

  .about-story__figure {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .about-float--a {
    left: 8px;
    top: 8%;
  }

  .about-float--b {
    right: 8px;
  }

  .about-float--c {
    left: 8%;
    bottom: 8%;
  }

  .about-float {
    min-width: 120px;
    padding: 12px 14px;
  }

  .about-float strong {
    font-size: 1rem;
  }

  .about-float span {
    font-size: 0.74rem;
  }

  .about-story__content {
    align-items: flex-start;
  }

  .about-story__eyebrow,
  .about-story__heading,
  .about-story__copy {
    text-align: left;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-story__actions {
    width: 100%;
    gap: 12px;
  }

  .about-story__actions .btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
    gap: 4px;
    padding: 8px;
  }

  .about-metric:not(:last-child)::after {
    display: none;
  }

  .about-metric {
    min-height: 104px;
    padding: 18px 10px;
  }

  .about-metric strong {
    font-size: 1.85rem;
  }

  .hero-slider {
    min-height: 0;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    height: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .hero-slide.is-active {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 5.25rem 1.15rem 5.5rem;
  }

  .hero-slide__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: min(100%, var(--container));
  }

  .hero-slide__content {
    padding: 0;
  }

  .hero-slide__img {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    opacity: 1;
    object-fit: cover;
  }

  .hero-slide.is-active .hero-slide__img {
    opacity: 1;
  }

  .hero-slide__stage,
  .hero-float {
    display: none;
  }

  .hero-slide__title {
    max-width: none;
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .hero-slide__copy {
    font-size: 0.98rem;
  }

  .hero-slide__content,
  .hero-slide__content.container {
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .hero-slide .btn-group {
    justify-content: flex-start;
  }

  .hero-slider__controls {
    bottom: 0.85rem;
  }

  .page-hero {
    padding: 3.25rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .btn-group {
    width: 100%;
    flex-wrap: wrap;
  }

  .btn-group .btn,
  .center-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
    justify-content: center;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .map-frame,
  .map-frame iframe {
    width: 100%;
    min-height: 260px;
    height: 280px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    border-left: none;
    padding-left: 0;
  }

  .footer-col a[href*="maps.google"] {
    max-width: none;
  }

  .footer-top {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .pd-related__grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    font-size: 1rem;
    padding: 1.15rem 1.15rem;
  }

  .section {
    padding-block: 3.25rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 88px;
    --header-h-scrolled: 88px;
  }

  .site-header .logo img {
    width: auto;
    height: 66px;
    max-width: 74px;
  }

  .logo {
    max-width: calc(100% - 52px);
  }

  .logo__brand {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
  }

  .logo__sub {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }

  .logo__slogan {
    display: block;
    margin-top: 0.06rem;
    font-size: 0.58rem;
    line-height: 1.15;
    white-space: normal;
    max-width: 11rem;
  }

  .hero-slide__brand {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .nav-cta {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  h1,
  .page-hero h1,
  .pd-title {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .why-promise__card,
  .why-steps li,
  .prd-why-row {
    padding: 1.25rem 1.15rem 1.35rem;
  }
}
