:root {
  --ink: #142022;
  --muted: #607073;
  --line: #dce5e2;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --primary: #0d7f63;
  --primary-dark: #075841;
  --accent: #f3b33d;
  --danger: #c83f3f;
  --shadow: 0 22px 70px rgba(14, 28, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: #eef5f1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(13, 127, 99, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-light {
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 46px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 560px;
  padding: 34px 0 58px;
}

.hero-copy {
  padding-bottom: 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 36vw, 430px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 36vw, 430px);
  object-fit: cover;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 26px;
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  padding-bottom: 48px;
}

.booking-panel,
.summary-card,
.trust-band article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(14, 28, 31, 0.08);
}

.booking-panel {
  padding: 28px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head.compact {
  margin-top: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.step-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(13, 127, 99, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #edf8f4 100%);
}

.location-card strong,
.location-card small,
.location-kicker {
  display: block;
}

.location-kicker {
  margin-bottom: 5px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card strong {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.location-card small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
}

.location-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: #075841;
  background: #dff4df;
  font-size: 13px;
  font-weight: 900;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: #314144;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 127, 99, 0.11);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field-error {
  display: block;
  min-height: 17px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
}

.span-two {
  grid-column: span 2;
}

.aadhaar-upload {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: stretch;
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 168px;
  border: 1px dashed rgba(13, 127, 99, 0.48);
  border-radius: 8px;
  padding: 18px;
  background: #f7fcf9;
  text-align: center;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.upload-box:hover {
  border-color: var(--primary);
  background: #eef9f4;
  box-shadow: 0 0 0 4px rgba(13, 127, 99, 0.08);
}

.aadhaar-upload.has-error .upload-box {
  border-color: var(--danger);
  background: #fff7f7;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.upload-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.upload-box strong {
  margin-top: 12px;
  font-size: 16px;
}

.upload-box small {
  max-width: 280px;
  color: var(--muted);
  font-weight: 700;
}

.aadhaar-result {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.aadhaar-result img {
  display: none;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf2f0;
}

.aadhaar-result > div {
  min-width: 0;
}

#aadhaarStatus {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

#aadhaarStatus.error {
  color: var(--danger);
}

.aadhaar-result p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.aadhaar-result p strong {
  color: var(--ink);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.facility-card {
  overflow: hidden;
  min-height: 232px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  text-align: left;
  transition: border 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.facility-card span,
.facility-card strong {
  display: block;
  padding-inline: 12px;
}

.facility-card span {
  margin-top: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.facility-card strong {
  margin: 3px 0 14px;
  color: var(--primary-dark);
}

.facility-card.active,
.option-card.active,
.payment-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 127, 99, 0.12);
}

.facility-card:hover,
.option-card:hover,
.payment-card:hover {
  transform: translateY(-2px);
}

.option-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.option-card {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.option-card small,
.option-card span {
  display: block;
}

.option-card small {
  color: var(--primary-dark);
  font-weight: 800;
}

.option-card span {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
}

.calendar-booking {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f3faf7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.calendar-toolbar strong,
.calendar-toolbar small {
  display: block;
  text-align: center;
}

.calendar-toolbar strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.calendar-toolbar small {
  color: var(--muted);
  font-weight: 700;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 22px;
  font-weight: 900;
}

.icon-button:disabled {
  cursor: not-allowed;
  color: #9ba8aa;
  background: #eef2f1;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  gap: 8px;
  margin: 18px 0 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  overflow: hidden;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.date-card,
.slot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.date-card {
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 104px;
  border: 0;
  border-radius: 0;
  padding: 12px;
  text-align: left;
}

.date-card small,
.date-card span,
.slot-card small,
.slot-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.date-card strong {
  font-size: 26px;
  line-height: 1;
}

.date-card span {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--primary-dark);
  background: #e7f4ee;
}

.date-card.active,
.slot-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 127, 99, 0.12);
}

.date-card.today:not(.active) {
  box-shadow: inset 0 0 0 2px rgba(243, 179, 61, 0.85);
}

.date-card.active {
  color: #fff;
  background: var(--primary);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.48);
}

.date-card.active small,
.date-card.active span {
  color: rgba(255, 255, 255, 0.86);
}

.date-card.active span {
  background: rgba(255, 255, 255, 0.17);
}

.date-card:disabled {
  cursor: not-allowed;
  color: #95a1a3;
  background: #f0f3f2;
}

.date-card:disabled span {
  color: #8b989a;
  background: #e3e8e6;
}

.calendar-empty {
  min-height: 104px;
  background: #f5f7f6;
}

.date-card:hover,
.slot-card:hover {
  transform: translateY(-2px);
}

.date-card:disabled:hover {
  transform: none;
}

.slot-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 14px;
}

.slot-head h3 {
  margin: 0;
  font-size: 19px;
}

.slot-head p {
  margin: 2px 0 0;
  color: var(--muted);
}

.slot-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--primary-dark);
  background: #e4f4ef;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.slot-card {
  display: grid;
  gap: 2px;
  min-height: 82px;
  padding: 12px;
  text-align: left;
}

.slot-card strong,
.slot-card span,
.slot-card small {
  display: block;
}

.slot-card strong {
  font-size: 16px;
}

.slot-card.active {
  color: #fff;
  background: var(--primary);
}

.slot-card.active span,
.slot-card.active small {
  color: rgba(255, 255, 255, 0.82);
}

.slot-card.disabled {
  cursor: not-allowed;
  color: #8f9b9e;
  background: #eef1f0;
  opacity: 0.68;
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-weight: 600;
}

.payment-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  min-width: 0;
}

.payment-card input {
  grid-row: span 2;
  margin-top: 4px;
}

.payment-card span {
  font-weight: 800;
}

.payment-card small {
  color: var(--muted);
}

.summary-panel {
  position: sticky;
  top: 18px;
}

.summary-card {
  overflow: hidden;
}

.summary-card h2,
.summary-card > :not(.summary-visual) {
  margin-left: 20px;
  margin-right: 20px;
}

.summary-card h2 {
  margin-top: 18px;
  margin-bottom: 16px;
  font-size: 24px;
}

.summary-visual img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.summary-line,
.price-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.summary-line.important {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.summary-meta {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.summary-meta span {
  min-width: 0;
}

.coupon-box {
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.coupon-input {
  display: flex;
  gap: 8px;
}

.coupon-input button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.coupon-message,
.form-status {
  min-height: 20px;
  margin-top: 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.coupon-message.error,
.form-status.error {
  color: var(--danger);
}

.price-table {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.price-table div {
  color: var(--muted);
}

.price-table strong {
  color: var(--ink);
}

.grand-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 800;
}

.terms {
  margin-top: 14px;
  margin-bottom: 16px;
  font-size: 13px;
}

.form-status {
  margin-bottom: 18px;
  text-align: center;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.trust-band article {
  padding: 22px;
}

.trust-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #e2f2ed;
  font-weight: 900;
}

.trust-band h3 {
  margin: 16px 0 8px;
  font-size: 19px;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .hero-media {
    min-height: 320px;
  }

  .page-shell {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

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

  .option-row,
  .payment-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-panel {
    position: static;
  }

  .summary-card {
    display: grid;
    grid-template-columns: 260px 1fr;
  }

  .summary-visual {
    grid-row: span 8;
  }

  .summary-visual img {
    height: 100%;
    min-height: 320px;
  }
}

@media (max-width: 780px) {
  .topbar,
  .nav-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    gap: 10px;
  }

  .topbar {
    width: min(100% - 24px, 1180px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero,
  .page-shell,
  .trust-band {
    width: min(100% - 24px, 1180px);
  }

  .booking-panel {
    padding: 20px;
  }

  .form-grid.two,
  .form-grid.three,
  .option-row,
  .slot-grid,
  .aadhaar-upload,
  .payment-row,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .span-two {
    grid-column: auto;
  }

  .location-card,
  .slot-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .calendar-booking {
    padding: 16px;
  }

  .date-card,
  .calendar-empty {
    min-height: 80px;
  }

  .summary-card {
    display: block;
  }

  .summary-visual img {
    height: 210px;
    min-height: 0;
  }

  .facility-card {
    display: grid;
    grid-template-columns: 116px 1fr;
    align-items: center;
    min-height: 116px;
  }

  .facility-card img {
    height: 116px;
    aspect-ratio: auto;
  }

  .facility-card span,
  .facility-card strong {
    padding-inline: 14px;
  }
}

@media (max-width: 480px) {
  .topbar,
  .hero,
  .page-shell,
  .trust-band {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-media,
  .hero-media img {
    min-height: 230px;
  }

  .section-head h2 {
    font-size: 21px;
  }

  .location-card strong {
    font-size: 18px;
  }

  .section-head {
    flex-direction: column;
  }

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

  .calendar-booking {
    padding: 12px;
    margin-left: -8px;
    margin-right: -8px;
  }

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

  .calendar-weekdays span {
    font-size: 9px;
  }

  .date-card,
  .calendar-empty {
    min-height: 58px;
  }

  .date-card {
    padding: 8px;
  }

  .date-card small {
    display: none;
  }

  .date-card strong {
    font-size: 20px;
  }

  .date-card span {
    padding: 2px 5px;
    font-size: 9px;
  }

  .aadhaar-result {
    grid-template-columns: 82px 1fr;
    padding: 10px;
  }

  .aadhaar-result img {
    width: 82px;
    height: 82px;
  }

  .summary-card h2,
  .summary-card > :not(.summary-visual) {
    margin-left: 14px;
    margin-right: 14px;
  }

  .booking-panel {
    padding: 16px;
  }

  .facility-card {
    grid-template-columns: 96px 1fr;
    min-height: 104px;
  }

  .facility-card img {
    height: 108px;
  }

  .coupon-input {
    flex-direction: column;
  }

  .coupon-input button {
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .topbar,
  .hero,
  .page-shell,
  .trust-band {
    width: min(100% - 16px, 1180px);
  }

  .booking-panel {
    padding: 12px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .calendar-booking {
    margin-left: -6px;
    margin-right: -6px;
    padding: 8px;
  }

  .calendar-toolbar {
    grid-template-columns: 38px 1fr 38px;
    gap: 8px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .calendar-toolbar strong {
    font-size: 16px;
  }

  .date-card,
  .calendar-empty {
    min-height: 50px;
  }

  .date-card {
    padding: 6px 4px;
  }

  .date-card strong {
    font-size: 18px;
  }

  .date-card span {
    display: none;
  }

  .facility-card {
    grid-template-columns: 82px 1fr;
  }

  .facility-card img {
    height: 96px;
  }

  .payment-card,
  .slot-card {
    padding: 10px;
  }
}
