/*
Theme Name: Sumer Diagnostics
Theme URI: https://sumerdiagnostics.com/
Author: Sumer Diagnostics
Description: A fast, booking-focused WordPress theme for Sumer Diagnostics, Indore.
Version: 1.1.0
Text Domain: sumer-diagnostics
*/

:root {
  --navy: #0a2342;
  --navy-2: #0f4c81;
  --teal: #0f4c81;
  --teal-dark: #0a3b66;
  --mint: #eaf5ff;
  --aqua: #b9defa;
  --coral: #d4a017;
  --cream: #ffffff;
  --white: #ffffff;
  --ink: #263238;
  --muted: #5f6f7b;
  --line: #dce6ef;
  --sky: #3fa9f5;
  --platinum: #f4f6f8;
  --gold: #d4a017;
  --shadow: 0 18px 50px rgba(10, 35, 66, .11);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 78px;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 74px 0; }
.section-soft { background: linear-gradient(180deg, var(--platinum), var(--mint)); }
.section-dark { color: var(--white); background: var(--navy); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 2px; content: ""; background: currentColor; }
h1, h2, h3 { margin: 0 0 18px; color: var(--navy); font-family: "Poppins", "Segoe UI", Arial, sans-serif; font-weight: 700; line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.25rem); }
.section-head { max-width: 700px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: var(--navy); background: var(--gold); box-shadow: 0 10px 24px rgba(212, 160, 23, .24); }
.btn-primary:hover { color: var(--white); background: var(--navy); }
.btn-dark { color: var(--white); background: var(--navy); }
.btn-light { color: var(--navy); background: var(--white); }
.btn-outline { color: var(--navy); border-color: var(--line); background: transparent; }
.btn-whatsapp { color: var(--white); background: var(--navy-2); }
.btn-whatsapp:hover { background: var(--navy); }
.btn-block { width: 100%; }
.icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--sky);
  background: var(--mint);
}
.icon svg { width: 22px; height: 22px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 230, 235, .8);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px 13px 13px 4px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-2), var(--sky));
  font-size: 1.35rem;
  font-weight: 900;
}
.brand-text { color: var(--navy); font-size: 1.04rem; font-weight: 900; line-height: 1.08; }
.brand-text small { display: block; margin-top: 4px; color: var(--teal); font-size: .63rem; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.main-nav a { color: var(--navy-2); font-size: .91rem; font-weight: 700; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call { min-height: 44px; padding: 9px 16px; }
.menu-toggle { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--navy); background: var(--mint); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { width: 20px; height: 2px; content: ""; background: currentColor; transition: .2s; }
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -6px; left: 0; }
.menu-toggle span::after { position: absolute; top: 6px; left: 0; }
.mobile-nav { display: none; padding: 4px 16px 20px; background: var(--white); }
.mobile-nav.open { display: block; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav a { display: block; padding: 11px 6px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 64px 0 50px; background: linear-gradient(140deg, #ffffff 0%, #eaf5ff 58%, #f4f6f8 100%); }
.hero::before { position: absolute; width: 420px; height: 420px; top: -250px; right: -100px; content: ""; border: 70px solid rgba(63, 169, 245, .09); border-radius: 50%; }
.hero-grid { display: grid; align-items: center; gap: 38px; }
.hero h1 span { color: var(--teal); }
.hero-copy .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 26px; color: var(--navy-2); font-size: .88rem; font-weight: 700; }
.trust-row span::before { margin-right: 7px; color: var(--teal); content: "\2713"; font-weight: 900; }
.hero-visual { position: relative; min-height: 390px; }
.scan-panel {
  position: absolute;
  inset: 10px 20px 25px 0;
  overflow: hidden;
  border-radius: 40px 40px 40px 8px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 58%, var(--sky) 100%);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.scan-panel::before {
  position: absolute;
  width: 250px;
  height: 250px;
  top: 58px;
  left: 50%;
  content: "";
  transform: translateX(-50%);
  border: 32px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(63, 169, 245, .22), inset 0 0 50px rgba(15, 76, 129, .32);
}
.scan-panel::after {
  position: absolute;
  width: 170px;
  height: 68px;
  bottom: 65px;
  left: 50%;
  content: "";
  transform: translateX(-50%);
  border-radius: 35px 35px 10px 10px;
  background: #eaf5ff;
  box-shadow: 0 18px 0 -8px rgba(255, 255, 255, .2);
}
.hero-visual.has-primary-image .scan-panel::before,
.hero-visual.has-primary-image .scan-panel::after { display: none; }
.visual-label { position: absolute; z-index: 2; top: 28px; left: 28px; color: var(--white); font-weight: 800; }
.visual-label small { display: block; color: var(--aqua); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-secondary-image {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 30px;
  width: min(42%, 210px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 6px solid var(--white);
  border-radius: 20px 20px 6px 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-secondary-image img { width: 100%; height: 100%; object-fit: cover; }
.report-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 210px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}
.report-card strong { display: block; color: var(--navy); }
.report-card small { color: var(--muted); }
.report-lines { display: grid; gap: 7px; margin-top: 13px; }
.report-lines i { display: block; height: 6px; border-radius: 5px; background: var(--aqua); }
.report-lines i:nth-child(2) { width: 72%; }
.report-lines i:nth-child(3) { width: 88%; }

.quick-actions { position: relative; z-index: 5; margin-top: -20px; }
.quick-actions-inner { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.quick-action { display: flex; align-items: center; gap: 13px; padding: 18px; border-bottom: 1px solid var(--line); }
.quick-action:last-child { border-bottom: 0; }
.quick-action strong { display: block; color: var(--navy); }
.quick-action small { color: var(--muted); }

.card-grid { display: grid; gap: 16px; }
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.service-card .service-number { position: absolute; top: 15px; right: 21px; color: #e5edf4; font-size: 4.5rem; font-weight: 900; line-height: 1; }
.service-card .icon { position: relative; z-index: 1; width: 52px; height: 52px; margin-bottom: 38px; }
.service-card p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-weight: 800; }
.text-link::after { content: "\2192"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }
.features-grid { display: grid; gap: 16px; }
.feature {
  padding: 25px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}
.feature .icon { margin-bottom: 18px; }
.feature p { margin: 0; color: var(--muted); }
.tests-wrap { display: grid; gap: 28px; align-items: start; }
.test-list { display: grid; gap: 10px; }
.test-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); font-weight: 750; }
.test-item span { color: var(--teal); font-size: .82rem; }
.promise-card { padding: 30px; border-radius: var(--radius); color: var(--white); background: var(--navy); }
.promise-card h3 { color: var(--white); font-size: 1.8rem; }
.promise-card p { color: #bed0dc; }
.promise-list { margin: 22px 0 0; padding: 0; list-style: none; }
.promise-list li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.13); }
.promise-list li::before { margin-right: 9px; color: var(--aqua); content: "\2713"; }

.review-grid { display: grid; gap: 16px; }
.review { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.stars { margin-bottom: 12px; color: var(--gold); letter-spacing: 3px; }
.review blockquote { margin: 0 0 18px; color: var(--navy-2); font-size: 1.03rem; }
.review cite { color: var(--muted); font-size: .88rem; font-style: normal; font-weight: 700; }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq { border-bottom: 1px solid var(--line); }
.faq button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; border: 0; color: var(--navy); background: transparent; text-align: left; font-weight: 800; }
.faq button::after { content: "+"; color: var(--teal); font-size: 1.6rem; font-weight: 400; }
.faq.open button::after { content: "\2212"; }
.faq-answer { display: none; padding: 0 0 20px; color: var(--muted); }
.faq.open .faq-answer { display: block; }
.faq-answer p:last-child { margin-bottom: 0; }

.cta-band { position: relative; overflow: hidden; padding: 48px 0; color: var(--white); background: linear-gradient(135deg, var(--navy-2), var(--sky)); }
.cta-band::after { position: absolute; width: 270px; height: 270px; right: -90px; bottom: -170px; content: ""; border: 42px solid rgba(255,255,255,.1); border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; display: grid; gap: 24px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; color: var(--white); }
.cta-band p { margin: 0; color: #eaf5ff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.page-hero { padding: 65px 0; background: linear-gradient(135deg, var(--mint), var(--cream)); }
.page-hero .lead { margin-bottom: 26px; }
.breadcrumb { margin-bottom: 18px; color: var(--teal); font-size: .85rem; font-weight: 750; }
.content-grid { display: grid; gap: 35px; }
.content-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.content-card h2 { font-size: 1.8rem; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { color: var(--teal); content: "\2713"; font-weight: 900; }
.aside-book { padding: 26px; border-radius: var(--radius); color: var(--white); background: var(--navy); }
.aside-book h3 { color: var(--white); }
.aside-book p { color: #bed0dc; }
.aside-book .btn { margin-top: 5px; }
.instruction { margin-top: 20px; padding: 20px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff9e8; }
.instruction strong { display: block; color: var(--navy); }
.legacy { position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius); color: var(--white); background: var(--navy); }
.legacy h2 { color: var(--white); }
.legacy p { max-width: 760px; color: #c9d9e2; }
.legacy-quote { margin: 24px 0 0; padding-left: 18px; border-left: 3px solid var(--aqua); color: var(--white) !important; font-size: 1.15rem; }
.leaders { display: grid; gap: 18px; }
.leader { display: grid; align-items: center; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.leader-photo { display: grid; width: 112px; height: 112px; place-items: center; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--sky), var(--navy)); font-size: 2.1rem; font-weight: 900; }
.leader p { margin: 0; color: var(--muted); }
.contact-layout { display: grid; gap: 28px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.contact-card strong { display: block; color: var(--navy); }
.contact-card span, .contact-card a { color: var(--muted); }
.map-frame { overflow: hidden; min-height: 360px; border: 0; border-radius: var(--radius); background: var(--mint); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

.form-grid { display: grid; gap: 15px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .84rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd9df;
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(63,169,245,.14); }
.form-note { color: var(--muted); font-size: .76rem; }
.form-status { display: none; padding: 12px; border-radius: 9px; font-size: .88rem; }
.form-status.success { display: block; color: var(--navy); background: var(--mint); }
.form-status.error { display: block; color: #9a2f24; background: #ffebe7; }
.hp-field { position: absolute !important; left: -9999px !important; }

.book-tab {
  position: fixed;
  z-index: 150;
  right: 0;
  top: 48%;
  padding: 14px 9px;
  border: 0;
  border-radius: 12px 0 0 12px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 10px 30px rgba(16,42,67,.2);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
.drawer-backdrop { position: fixed; z-index: 190; inset: 0; visibility: hidden; opacity: 0; background: rgba(8, 28, 44, .58); transition: .25s; }
.drawer-backdrop.open { visibility: visible; opacity: 1; }
.booking-drawer {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  width: min(100%, 430px);
  height: 100%;
  overflow-y: auto;
  padding: 28px 24px;
  background: var(--cream);
  box-shadow: -25px 0 60px rgba(16,42,67,.18);
  transform: translateX(105%);
  transition: transform .3s ease;
}
.booking-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.drawer-head h2 { margin-bottom: 5px; font-size: 2rem; }
.drawer-head p { color: var(--muted); font-size: .88rem; }
.drawer-close { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 0; border-radius: 50%; color: var(--navy); background: var(--white); font-size: 1.5rem; }
.drawer-divider { display: flex; align-items: center; gap: 10px; margin: 17px 0; color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.drawer-divider::before, .drawer-divider::after { height: 1px; flex: 1; content: ""; background: var(--line); }

.site-footer { padding: 55px 0 24px; color: #c7d8e8; background: var(--navy); }
.footer-grid { display: grid; gap: 32px; }
.site-footer h3 { margin-bottom: 14px; color: var(--white); font-size: 1rem; letter-spacing: .02em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--aqua); }
.footer-brand .brand-text { color: var(--white); }
.footer-brand p { max-width: 330px; margin-top: 16px; color: #9fb7cc; }
.legacy-note { margin-top: 18px; padding-left: 12px; border-left: 2px solid var(--teal); color: var(--aqua); font-size: .88rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8099a9; font-size: .8rem; }
.mobile-bar { position: fixed; z-index: 90; right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 10px 40px rgba(16,42,67,.22); }
.mobile-bar a, .mobile-bar button { display: grid; min-height: 54px; place-items: center; border: 0; border-right: 1px solid var(--line); color: var(--navy); background: var(--white); font-size: .74rem; font-weight: 850; }
.mobile-bar button { border-right: 0; color: var(--navy); background: var(--gold); }
.eyebrow-on-dark { color: #b9defa; }

@media (min-width: 640px) {
  .quick-actions-inner { grid-template-columns: repeat(3, 1fr); }
  .quick-action { border-right: 1px solid var(--line); border-bottom: 0; }
  .quick-action:last-child { border-right: 0; }
  .card-grid, .features-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .leader { grid-template-columns: auto 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-grid.two { grid-template-columns: repeat(2, 1fr); }
  .form-grid.two .full { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .section { padding: 96px 0; }
  .main-nav { display: block; }
  .menu-toggle, .mobile-nav, .mobile-bar { display: none !important; }
  .hero { min-height: 650px; padding: 92px 0 90px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 70px; }
  .hero-visual { min-height: 470px; }
  .scan-panel { inset: 10px 25px 25px 0; }
  .card-grid { grid-template-columns: repeat(5, 1fr); }
  .service-card { min-height: 330px; padding: 24px 20px; }
  .service-card .icon { margin-bottom: 50px; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .tests-wrap { grid-template-columns: 1.25fr .75fr; gap: 50px; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 55px; }
  .content-grid aside { position: sticky; top: 105px; align-self: start; }
  .contact-layout { grid-template-columns: .85fr 1.15fr; gap: 45px; }
  .footer-grid { grid-template-columns: 1.5fr .7fr .7fr 1fr; }
}

@media (max-width: 420px) {
  .header-call span { display: none; }
  .header-call { width: 44px; padding: 0; }
  .brand-text { font-size: .92rem; }
  .book-tab { display: none; }
  .hero-actions .btn { width: 100%; }
}
