/* ==========================================================================
   Axis Clinical Diagnostics — Stylesheet
   Mobile-first. Cross-browser: Chrome, Safari, Edge.
   ========================================================================== */

/* -------------------------------- Reset -------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input,
textarea,
select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

/* ------------------------------ Variables ------------------------------ */
:root {
  --ocean: #0A4C7A;
  --ocean-dark: #063452;
  --sky: #1487C7;
  --sky-light: #e3f2fb;
  --navy: #0A2540;
  --text: #1c2733;
  --text-muted: #5c6873;
  --border: #e2ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(10, 76, 122, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(10, 76, 122, 0.15);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1200px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------ Utilities ------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  display: inline-block;
}

.eyebrow--light {
  color: #bcdff0;
}
.eyebrow--light::before,
.eyebrow--light::after {
  background: #bcdff0;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--ocean);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

/* -------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border: 2px solid transparent;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--sky);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--ocean);
}

.btn--accent {
  background: var(--white);
  color: var(--ocean);
}
.btn--accent:hover {
  background: var(--sky);
  color: var(--white);
}

.btn--outline {
  border-color: var(--ocean);
  color: var(--ocean);
  background: transparent;
}
.btn--outline:hover {
  background: var(--ocean);
  color: var(--white);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--ocean);
}

/* ------------------------------ Top Strip ------------------------------- */
.top-strip {
  background: var(--ocean-dark);
  color: #d7e8f2;
  font-size: 13px;
}

.top-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  padding: 9px 20px;
  text-align: center;
}

.top-strip__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.top-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d7e8f2;
}
.top-strip__link:hover {
  color: var(--sky);
}

.top-strip__tagline {
  display: none;
  color: #9dc3db;
}

@media (min-width: 768px) {
  .top-strip__inner {
    justify-content: space-between;
    text-align: left;
  }
  .top-strip__tagline {
    display: block;
  }
}

/* -------------------------------- Navbar -------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 44px;
  width: auto;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}

.navbar__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.navbar__link:hover {
  color: var(--sky);
}

.navbar__cta {
  display: none;
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ocean);
  border-radius: 2px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.navbar__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .navbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s ease;
    transition: max-height 0.3s ease;
  }
  .navbar__nav.is-open {
    max-height: 400px;
  }
  .navbar__link {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
  }
}

@media (min-width: 900px) {
  .navbar__nav {
    display: flex;
    position: static;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .navbar__cta {
    display: inline-flex;
  }
  .navbar__toggle {
    display: none;
  }
}

/* --------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(10, 76, 122, 0.92) 0%, rgba(12, 94, 148, 0.85) 55%, rgba(20, 135, 199, 0.8) 130%), url("../assets/original-site/banner/banner1.jpeg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 70px 0 80px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 10px;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 600;
  color: #cfeaf9;
  margin-bottom: 18px;
}

.hero__desc {
  font-size: 1.05rem;
  color: #e0f2fb;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------- About --------------------------------- */
.about {
  padding: 70px 0;
  background: var(--bg);
}

.about__grid {
  display: grid;
  gap: 40px;
}

.about__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.about__copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about__features {
  display: grid;
  gap: 20px;
}

.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sky-light);
  color: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--ocean);
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

/* ------------------------------ Categories -------------------------------- */
.categories {
  padding: 70px 0;
  background: var(--bg-soft);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ocean);
  -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--sky);
}

.category-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.category-card__icon--emoji {
  width: auto;
  height: auto;
  font-size: 1.7rem;
}

@media (min-width: 640px) {
  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .categories__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .categories__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ------------------------------- Packages --------------------------------- */
.packages {
  padding: 70px 0;
  background: var(--bg);
}

.packages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.package-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.package-card--featured {
  border-color: var(--sky);
  box-shadow: var(--shadow);
}

.package-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--sky);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 1;
}

.package-card__head {
  background: var(--ocean);
  color: var(--white);
  padding: 26px 22px;
}

.package-card__head h3 {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.package-card__tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #bcdff0;
}

.package-card__body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-card__price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ocean);
  margin-bottom: 10px;
}

.package-card__price span {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: top;
  margin-right: 2px;
}

.package-card__tests {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 22px;
  flex: 1;
  padding-left: 18px;
  list-style: disc;
}

.package-card__tests li + li {
  margin-top: 6px;
}

.package-card__cta {
  width: 100%;
}

@media (min-width: 640px) {
  .packages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .packages__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .package-card--featured {
    grid-column: span 1;
  }
}

/* ---------------------------------- FAQ ------------------------------------ */
.faq {
  padding: 70px 0;
  background: var(--bg-soft);
}

.accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ocean);
}

.accordion__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--sky);
  border-radius: 2px;
  -webkit-transition: transform 0.25s ease;
  transition: transform 0.25s ease;
}

.accordion__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.accordion__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.accordion__item.is-open .accordion__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.3s ease;
  transition: max-height 0.3s ease;
}

.accordion__panel p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.accordion__item.is-open .accordion__panel {
  max-height: 300px;
}

/* -------------------------------- Contact ---------------------------------- */
.contact {
  padding: 70px 0;
  background: var(--bg);
}

.contact__cards {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  -webkit-transition: border-color 0.2s ease, transform 0.2s ease;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.contact-card:hover {
  border-color: var(--sky);
  transform: translateY(-3px);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ocean);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--ocean);
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .contact__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------- Footer ----------------------------------- */
.footer {
  background: var(--navy);
  color: #cfe0ec;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer__logo-img {
  height: 46px;
  width: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 14px;
}

.footer__about p {
  font-size: 0.92rem;
  color: #a9c2d6;
  line-height: 1.7;
}

.footer__links h3,
.footer__map h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer__links h3::after,
.footer__map h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--sky);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: #a9c2d6;
  font-size: 0.92rem;
}
.footer__links a:hover {
  color: var(--sky);
}

.footer__map-frame {
  position: relative;
  width: 100%;
  padding-top: 60%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #86a0b5;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

/* ------------------------------ Back to top --------------------------------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  z-index: 90;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--sky);
}
