:root{
  --nav:#0b2747;
  --navText:#e8f0fb;
  --accent:#ef6b5a;
  --bg:#dfe3e8;
  --shell:#f1f3f6;
  --card:#ffffff;
  --text:#1f2a37;
  --muted:#6b7280;
  --shadow: 0 10px 24px rgba(0,0,0,.12);
  --shadowSoft: 0 8px 18px rgba(0,0,0,.08);
  --radius: 14px;
  /* Typography scale (industry-standard baseline) */
  --fs-base: 16px;
  --fs-12: 13px;
  --fs-13: 14px;
  --fs-14: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.55;
}

/* Centered app shell like the sample screenshot */
.app-shell{
  max-width: 1320px;
  margin: 18px auto;
  background: var(--shell);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}

/* Top nav */
header.topbar{
  background: linear-gradient(180deg,#0c2a4e,#0b2747);
  color:#fff;
  padding:14px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:18px;
}
.brand-mark{
  width:28px;height:28px;border-radius:8px;
  display:inline-flex;align-items:center;justify-content:center;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
  color:#ffb4a8;
}
header nav a{
  color: var(--navText);
  text-decoration:none;
  margin-left:22px;
  font-size:var(--fs-14);
  font-weight:500;
}
header nav a.active{ color:#ffb4a8; }

.page{
  padding: 18px 22px 22px;
}

/* Main 2-col layout (left content + right sidebar) */
.grid{
  display:grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 22px;
  align-items:start;
}

/* Hero row */
.hero-card{
  background: #ececec;
  border-radius: var(--radius);
  box-shadow: var(--shadowSoft);
  padding: 22px 22px 18px;
  overflow:hidden;
  position:relative;
}
.hero-inner{
  display:grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 12px;
  align-items:center;
}
.hero-title{
  margin:0;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height:1.25;
  font-weight:800;
  color:#183a5a;
  letter-spacing:-0.2px;
}
.hero-sub{
  margin-top:6px;
  color:#5b6472;
  font-size:var(--fs-13);
}
.hero-price{
  display:flex;
  gap: 12px;
  align-items:baseline;
  margin-top: 10px;
}
.hero-price .now{
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight:900;
  color: var(--accent);
  letter-spacing:-0.4px;
}
.hero-price .was{
  font-size:18px;
  color:#9aa2af;
  text-decoration: line-through;
  font-weight:600;
}
.hero-cta{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 18px;
  background: var(--accent);
  color:#fff;
  border-radius: 8px;
  font-weight:700;
  text-decoration:none;
  font-size:var(--fs-14);
  box-shadow: 0 10px 18px rgba(239,107,90,.25);
}
.hero-img{
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero-img img{
  width: 300px;
  height: 170px;
  object-fit: cover;
  object-position: 65% 12%;
  border-radius: 12px;
  box-shadow: 0 12px 18px rgba(0,0,0,.08);
  background:#fff;
}

/* Accreditation strip under hero */
.accred{
  margin-top: 12px;
  background:#fff;
  border-radius: 12px;
  box-shadow: var(--shadowSoft);
  padding: 10px 14px;
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.accred-item{
  display:flex;
  gap:10px;
  align-items:center;
  min-width: 150px;
  color:#4b5563;
  font-size:var(--fs-12);
}
.accred-item strong{
  display:block;
  color:#1f3d5b;
  font-size:var(--fs-13);
  line-height:1.1;
}
/* Badge logo sprite (cropped from images/thyrocare_acc.png) */
.accred-icon{
  width:32px;
  height:32px;
  border-radius:10px;
  background:#f8fafc;
  border:1px solid #e7edf6;
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
}
.accred-icon::before{
  content:"";
  position:absolute;
  inset:-2px;
  background-image:url("../images/thyrocare_acc.png");
  background-repeat:no-repeat;
  background-size:500% 100%;
  background-position:0% 0%;
  filter: saturate(1.05) contrast(1.05);
}
.accred-item[data-accred="icmr"] .accred-icon::before{ background-position: 0% 0%; }
.accred-item[data-accred="nabl"] .accred-icon::before{ background-position: 25% 0%; }
.accred-item[data-accred="cap"]  .accred-icon::before{ background-position: 50% 0%; }
.accred-item[data-accred="iso"]  .accred-icon::before{ background-position: 100% 0%; }

/* Section headings */
.section-title{
  margin: 18px 0 12px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight:800;
  color:#1f3d5b;
}

/* What's Included cards: fixed 2x3 grid look */
.included-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.included-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: var(--shadowSoft);
  padding: 12px 14px 10px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  align-items:stretch;
  min-height: 80px; /* reduced for more compact layout */
}
.included-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
  cursor:pointer;
  user-select:none;
}
.icn{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:#fff5f3;
  border:1px solid rgba(239,107,90,.25);
  color: var(--accent);
  flex:0 0 auto;
}
.included-card h3{
  margin: 0;
  font-size:var(--fs-14);
  font-weight:800;
  color:#1f3d5b;
}
.included-card .meta{
  margin-top:4px;
  font-size:var(--fs-12);
  color:#6b7280;
}
.included-toggle{
  margin-left:auto;
  width:26px;height:26px;border-radius:8px;
  background:#f1f5f9;border:1px solid #e7edf6;
  display:flex;align-items:center;justify-content:center;
  color:#1f3d5b;
  font-weight:900;
  flex:0 0 auto;
}
.included-body{
  border-top:1px solid #eef2f7;
  padding-top:10px;
  display:none;
}
.included-card[data-open="1"] .included-body{
  display:block;
}
.included-card[data-open="1"] .included-toggle{
  transform: rotate(180deg);
}
.mod-test-list{
  margin:0;
  padding:0 0 0 16px;
  color:#4b5563;
  font-size:var(--fs-12);
  line-height:1.55;
}
.mod-test-list li{ margin: 4px 0; }
.mod-error{ color:#b91c1c; font-size:12px; }

/* Sidebar cards */
.side-card{
  background:#fff;
  border-radius: 12px;
  box-shadow: var(--shadowSoft);
  padding: 16px;
  margin-bottom: 14px;
}
.book-card h2{
  margin:0 0 12px;
  font-size:var(--fs-16);
  font-weight:800;
  color:#1f3d5b;
}
.book-card .underline{
  width:56px;height:3px;border-radius:999px;background:var(--accent);opacity:.9;margin:8px 0 12px;
}
.book-card input{
  width:100%;
  padding: 10px 12px;
  border-radius: 8px;
  border:1px solid #dde2ec;
  margin: 7px 0;
  font-size:var(--fs-13);
  background:#fff;
}
.book-card textarea{
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #dde2ec;
  margin:7px 0;
  font-size:var(--fs-13);
  background:#fff;
  resize:vertical;
  min-height:96px;
}
/* Quick contact actions (WhatsApp / Call) */
.quick-cta{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #e5e7eb;
}
.quick-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:4px 0;
  font-size:var(--fs-13);
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  border:0;
  background:transparent;
  color:#1f3d5b;
}
.quick-btn .icon svg{
  width:18px;
  height:18px;
  stroke:#111827;
}
.quick-btn.whatsapp .icon svg{
  stroke:#111827;
}
.quick-btn.call .icon svg{
  stroke:#111827;
}

/* Only the main submit button should look primary */
.book-card .bf-submit{
  width:100%;
  margin-top: 10px;
  border-radius: 8px;
  border:0;
  padding: 11px 12px;
  background: var(--accent);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  font-size:var(--fs-14);
}
/* Secondary buttons inside booking form */
.book-card .bf-btn{
  width:100%;
  border-radius: 10px;
  border: 1px solid rgba(239,107,90,.25);
  padding: 10px 12px;
  background: #fff;
  color: #183a5a;
  font-weight: 800;
  cursor: pointer;
  font-size:var(--fs-13);
  margin-top: 10px;
}
.book-card .bf-btn:hover{ background:#fff7f6; }
.book-card .bf-benef-title{ font-weight: 900; margin-top: 6px; }
.book-card .bf-benef-sub{ color: var(--muted); font-size:var(--fs-12); margin-top: 4px; }
.book-card .bf-row-grid{ display:grid; grid-template-columns: 1fr 90px 1fr 40px; gap: 8px; margin-top: 10px; align-items:center; }
.book-card .bf-remove{
  border-radius: 10px;
  border: 1px solid #e7edf6;
  background:#f8fafc;
  cursor:pointer;
  height: 40px;
  font-weight: 900;
  color:#6b7280;
}
.small-note{font-size:var(--fs-12);color:var(--muted);margin-top:8px}

.row-card{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding: 12px 14px;
  border:1px solid #e7edf6;
  border-radius:10px;
  background:#fff;
}
.row-card .left{display:flex;align-items:center;gap:10px}
.row-card .chip{
  width:28px;height:28px;border-radius:8px;background:#f1f5f9;border:1px solid #e7edf6;
  display:flex;align-items:center;justify-content:center;font-weight:800;color:#1f3d5b;
}
.row-card strong{font-size:13px;color:#1f3d5b}

.home-collection{
  border:1px solid #e7edf6;
  border-radius: 10px;
  overflow:hidden;
  background:#fff;
}
.home-collection .top{
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#f8fafc;
}
.home-collection .top strong{font-size:13px;color:#1f3d5b}
.home-collection .bottom{
  padding: 10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.home-collection .cta{
  background:#2ea7d9;
  color:#fff;
  border:0;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
}

.faq-card p{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
}

/* Full FAQ accordion (common + package-specific) */
.faq-accordion{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.faq-item{
  background:#fff;
  border:1px solid #e7edf6;
  border-radius: 12px;
  box-shadow: var(--shadowSoft);
  padding: 12px 14px;
  cursor:pointer;
}
.faq-q{ font-weight:800; color:#1f3d5b; font-size:var(--fs-13); display:flex; justify-content:space-between; gap:10px; }
.faq-a{ display:none; margin-top:8px; color:var(--muted); font-size:var(--fs-12); line-height:1.6; }
.faq-item[data-open="1"] .faq-a{ display:block; }

/* Why choose us cards */
.why-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.why-card{
  background:#fff;
  border-radius: 14px;
  box-shadow: var(--shadowSoft);
  padding: 14px 14px;
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.avatar{
  width:40px;height:40px;border-radius:999px;
  background:#eef2ff;
  display:flex;align-items:center;justify-content:center;
  color:#1f3d5b;font-weight:800;
  border:1px solid #e7edf6;
  flex:0 0 auto;
}
.why-card strong{display:block;color:#e85c47;font-size:13px}
.why-card span{display:block;color:#6b7280;font-size:11px;line-height:1.4;margin-top:4px}

/* Bottom bar */
.bottom-bar{
  margin-top: 18px;
  background:#fff;
  border-radius: 10px;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  box-shadow: var(--shadowSoft);
}
.bottom-bar .call strong{color:#1f3d5b}
.bottom-bar .learn{
  background:#2ea7d9;
  color:#fff;
  border:0;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
  margin-left:10px;
}
.bottom-links a{
  color:#1f3d5b;
  text-decoration:none;
  margin-left:18px;
  font-size:13px;
}

@media (max-width: 1060px){
  .grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-img{ justify-content:flex-start; margin-top:10px; }
  header nav{ display:none; }
  .page{ padding: 14px 14px 18px; }
  header.topbar{ padding: 12px 14px; }
  .hero-card{ padding: 16px; }
  .hero-img img{ width: 100%; height: 180px; object-position: 50% 15%; }
  .bottom-bar{ flex-direction:column; align-items:flex-start; }
  .bottom-links{ width:100%; display:flex; justify-content:space-between; }
  .bottom-links a{ margin-left:0; }
  .book-card .bf-row-grid{ grid-template-columns: 1fr; }
  .book-card .bf-remove{ width:100%; }
}

@media (max-width: 640px){
  .app-shell{
    max-width:100%;
    margin:0;
    border-radius:0;
  }
  .hero-card{
    border-radius:0;
  }
  .side-card{
    border-radius:10px;
  }
}


