/* Home page */

/* Hero */
.hero { position: relative; background: linear-gradient(90deg, #eaf4fd 0%, #d9ebfb 40%, #2f7fd6 100%); overflow: hidden; padding-bottom: 90px; }
.hero-img { position: absolute; top: 0; right: 0; bottom: 90px; width: 62%; background: url(../img/home/hero.jpg) center / cover no-repeat; }
.hero-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #e3f0fc 0%, rgba(227, 240, 252, .6) 14%, rgba(227, 240, 252, 0) 34%); }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 560px; padding: 80px 0 70px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; color: var(--navy); line-height: 1.12; margin: 0 0 22px; letter-spacing: -.8px; }
.hero p { font-size: 21px; color: #3d475a; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 24px; flex-wrap: wrap; }
.hero .eyebrow { letter-spacing: 4px; font-size: 16px; color: var(--navy); }
.hero .eyebrow::after { background: var(--navy); }

.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats-bar { background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(11, 31, 77, .1); display: grid; grid-template-columns: repeat(4, 1fr); padding: 36px 20px; }
.stat { display: flex; align-items: center; gap: 22px; justify-content: center; border-left: 1px solid #d5dfea; }
.stat:first-child { border-left: 0; }
.stat .icon-box { width: 84px; height: 80px; font-size: 40px; }
.stat strong { display: block; font-size: 44px; font-weight: 800; color: var(--navy); line-height: 1; }
.stat span { font-size: 19px; color: var(--text); }

/* About */
.about-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.about-wrap img { border-radius: 20px; width: 100%; aspect-ratio: 937 / 589; object-fit: cover; }
.about-wrap h2 { font-size: clamp(30px, 3.4vw, 46px); }
.about-wrap p { font-size: 20px; color: var(--muted); margin: 0 0 32px; }
.eyebrow.left { letter-spacing: 3.5px; }
.features-bar { margin-top: 36px; background: #f2f7fd; border: 1px solid #e3edf8; border-radius: 18px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px 24px; }
.feature { display: flex; gap: 24px; align-items: center; padding: 0 22px; border-left: 1px solid #cfdcea; }
.feature:first-child { border-left: 0; }
.feature .icon-box { width: 104px; height: 104px; font-size: 54px; background: #e3effb; }
.feature h3 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Specialties */
.spec-card { border-radius: 14px; overflow: hidden; background: #f3f8fe; border: 1px solid #e0ecf8; box-shadow: var(--shadow); display: block; transition: transform .2s, box-shadow .2s; }
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 79, 163, .14); }
.spec-card img { width: 100%; aspect-ratio: 361 / 136; object-fit: cover; }
.spec-body { display: flex; align-items: center; gap: 12px; padding: 0 14px 0 14px; min-height: 92px; position: relative; }
.spec-body .spec-icon { width: 66px; height: 66px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(11, 79, 163, .15); display: grid; place-items: center; font-size: 32px; color: var(--blue-2); margin-top: -26px; flex: none; }
.spec-body h3 { flex: 1; min-width: 0; margin: 0; font-size: 16px; font-weight: 700; padding-right: 4px; color: var(--navy); line-height: 1.3; }
.spec-body .explore { border-left: 1px solid #c9dbee; padding-left: 10px; color: var(--blue-2); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.section-cta { text-align: center; margin-top: 52px; }

/* Advanced healthcare */
.adv-card img { width: 100%; aspect-ratio: 748 / 355; object-fit: cover; }
.adv-card .body { padding: 28px 56px 34px; }
.adv-card h3 { font-size: 34px; margin: 0 0 6px; color: var(--navy); font-weight: 800; }
.adv-card p { margin: 0 0 16px; color: var(--muted); font-size: 18px; }

/* Doctors */
.doc-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; gap: 16px; }
.select { appearance: none; font: inherit; font-weight: 700; font-size: 17px; color: var(--navy); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4fa3' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 20px no-repeat; border: 1.5px solid #b9cde3; border-radius: 10px; padding: 14px 52px 14px 18px; min-width: 300px; cursor: pointer; }
.arrows { display: flex; gap: 22px; }
.arrow-btn { width: 58px; height: 52px; border-radius: 10px; border: 1.5px solid #b9cde3; background: #fff; color: var(--blue); font-size: 24px; display: grid; place-items: center; cursor: pointer; }
.arrow-btn:hover { background: var(--blue-soft); }
.arrow-btn:disabled { opacity: .4; cursor: default; }
.doc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.doc-track::-webkit-scrollbar { display: none; }
.doc-card { scroll-snap-align: start; }
.doc-card img { width: 100%; aspect-ratio: 358 / 198; object-fit: cover; object-position: top; }
.doc-card .body { padding: 20px 28px 26px; }
.doc-card h3 { margin: 0; font-size: 24px; font-weight: 800; color: var(--navy); }
.doc-card .spec { color: var(--blue-2); font-weight: 700; font-size: 19px; margin: 4px 0; }
.doc-card .deg { color: var(--muted); font-size: 15px; padding-bottom: 14px; border-bottom: 1px solid #dfe7f0; margin: 0 0 14px; }
.doc-card .profile { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 17px; margin-bottom: 18px; }
.doc-card .profile .ic:first-child { color: var(--blue-2); font-size: 22px; }
.doc-card .btn { width: 100%; background: linear-gradient(90deg, #0a5bb5, #0b4fa3); }
.doc-empty { text-align: center; color: var(--muted); padding: 30px; display: none; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item { text-align: center; padding: 0 20px; border-left: 1px solid #dbe6f1; }
.why-item:first-child { border-left: 0; }
.why-item .icon-circle { width: 166px; height: 166px; margin: 0 auto 30px; font-size: 92px; background: #eaf3fb; color: var(--blue); }
.why-item .icon-circle .ic { stroke-width: 1.4; }
.why-item h3 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.why-item p { font-size: 19px; color: var(--muted); margin: 0; }
.btn-ghost-pill { border-radius: 999px; padding: 20px 86px; font-size: 21px; color: var(--blue); background: #fff; border: 2px solid var(--blue); }
.btn-ghost-pill:hover { background: var(--blue-soft); }

/* Packages */
.pkg-card { display: flex; gap: 0; padding: 12px; border-radius: 22px; }
.pkg-card img { width: 46%; border-radius: 10px; object-fit: cover; aspect-ratio: 226 / 370; }
.pkg-card .body { padding: 14px 20px 10px 32px; display: flex; flex-direction: column; flex: 1; }
.pkg-card .icon-circle { width: 88px; height: 88px; font-size: 46px; margin-bottom: 20px; }
.pkg-card h3 { font-size: 26px; line-height: 1.25; color: var(--navy); margin: 0 0 18px; font-weight: 800; padding-bottom: 18px; border-bottom: 1px solid #dfe7f0; min-height: 2.5em; }
.pkg-card .price { font-size: 44px; font-weight: 800; color: var(--navy); margin: 0 0 22px; }
.pkg-card .link-arrow { margin-top: auto; font-size: 19px; }

/* Testimonials */
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; }
.testi-track::-webkit-scrollbar { display: none; }
.testi .q .ic { transform: rotate(180deg); }
.testi { margin: 0; scroll-snap-align: start; padding: 36px 48px 40px; border-radius: 22px; transition: border-color .2s, box-shadow .2s; }
.testi.active { border-color: #9cc4ea; box-shadow: 0 10px 34px rgba(11, 79, 163, .14); }
.testi .q { color: #4ea3dc; font-size: 64px; height: 56px; }
.testi blockquote { margin: 18px 0 26px; font-size: 21px; color: #3a4456; padding-bottom: 28px; border-bottom: 1px solid #dfe7f0; }
.testi strong { display: block; font-size: 23px; color: var(--navy); }
.testi span { color: var(--muted); font-size: 19px; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 44px; }
.carousel-nav .nav-arrow { background: none; border: 0; color: var(--blue); font-size: 36px; cursor: pointer; padding: 4px 18px; }
.dots { display: flex; gap: 22px; }
.dots button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: #d3e4f3; cursor: pointer; padding: 0; }
.dots button.on { background: var(--blue-2); }

/* Locations */
.loc-card { border-radius: 18px; }
.loc-card img { width: 100%; aspect-ratio: 752 / 348; object-fit: cover; }
.loc-card .body { padding: 26px 52px 30px; }
.loc-card h3 { margin: 0 0 6px; font-size: 32px; font-weight: 800; color: var(--navy); }
.loc-card .addr { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 21px; padding-bottom: 22px; border-bottom: 1px solid #dfe7f0; margin: 0 0 22px; }
.loc-card .addr .ic { font-size: 26px; }
.loc-actions { display: flex; justify-content: space-between; align-items: center; }
.loc-actions .link-arrow { font-size: 22px; }
.loc-actions .divider { width: 1px; height: 34px; background: #dfe7f0; }

/* FAQ */
.faq-list { max-width: 1340px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1.5px solid #d4e3f2; border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: none; border: 0; padding: 18px 32px; font: inherit; font-size: 22px; font-weight: 700; color: var(--navy); text-align: left; cursor: pointer; }
.faq-q .ic { color: var(--blue-2); font-size: 30px; }
.faq-a { display: none; padding: 0 32px 22px; color: var(--muted); font-size: 18px; }
.faq-a p { margin: 0; }
.faq-a a { color: var(--blue); font-weight: 600; }
.faq-item.open .faq-a { display: block; }
.faq-more { text-align: center; margin-top: 30px; }
.faq-more .link-arrow { font-size: 22px; }

/* Responsive */
@media (max-width: 1180px) {
  .hero-img { width: 100%; opacity: .35; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
  .about-wrap { grid-template-columns: 1fr; }
  .features-bar { grid-template-columns: 1fr; gap: 24px; }
  .feature { border-left: 0; }
  .doc-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .why-item:nth-child(3) { border-left: 0; }
  .grid-3.pkgs { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .testi-track { grid-auto-columns: calc((100% - 30px) / 2); }
}
@media (max-width: 760px) {
  .hero { padding-bottom: 40px; }
  .hero-content { padding: 48px 0 80px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-left: 0; justify-content: flex-start; }
  .doc-toolbar .select { min-width: 0; width: 100%; }
  .doc-track, .testi-track { grid-auto-columns: 88%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-left: 0; }
  .why-item .icon-circle { width: 120px; height: 120px; font-size: 64px; }
  .btn-ghost-pill { padding: 16px 32px; font-size: 18px; }
  .pkg-card { flex-direction: column; }
  .pkg-card img { width: 100%; aspect-ratio: 16 / 10; object-position: top; }
  .pkg-card .body { padding: 20px 8px 8px; }
  .adv-card .body, .loc-card .body { padding: 22px; }
  .adv-card h3, .loc-card h3 { font-size: 24px; }
  .loc-actions .link-arrow { font-size: 17px; }
  .faq-q { font-size: 17px; padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px; }
  .testi { padding: 28px; }
}
