/* Exact mimic of page2.png — Medicare Select Florida schedule */

:root {
  --red: #d01010;
  --red-deep: #c00000;
  --black: #111111;
  --line: #c8c8c8;
  --sheet: 1024px;
  --display: Impact, "Arial Black", Haettenschweiler, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

html {
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: #e6e6e6;
  line-height: 1.3;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sheet {
  width: min(100%, var(--sheet));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
  overflow: visible;
}

/* ========== HERO ========== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 300px;
}

.hero__copy {
  padding: 28px 20px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero__stop-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__stop {
  font-family: var(--display);
  font-size: 110px;
  line-height: 0.95;
  color: var(--red);
  letter-spacing: 1px;
}

.hero__nocall {
  display: flex;
  flex-shrink: 0;
  width: 110px;
  height: 110px;
}

.hero__nocall svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__medicare {
  font-family: var(--display);
  font-size: 88px;
  line-height: 1.05;
  color: var(--black);
  letter-spacing: 0.5px;
  margin-top: 6px;
}

.hero__calls {
  font-family: var(--display);
  font-size: 88px;
  line-height: 1.05;
  color: var(--red);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 20%;
}

/* ========== BRAND ========== */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin: 18px 20px 20px;
  padding: 32px 40px 30px;
  border: 2.5px solid #111;
  border-radius: 14px;
  background: #fff;
  width: auto;
  box-sizing: border-box;
  overflow: hidden;
}

.brand__logo {
  width: 180px;
  height: auto;
  flex-shrink: 0;
}

.brand__text {
  text-align: center;
  min-width: 0;
  flex: 1 1 auto;
}

.brand__name {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: 2px;
  color: var(--black);
  white-space: nowrap;
}

.brand__state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 82px;
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--black);
  white-space: nowrap;
}

.brand__rule {
  display: inline-block;
  width: 72px;
  height: 5px;
  background: var(--black);
  flex-shrink: 0;
}

/* ========== QQ ========== */
.qq {
  border: 2px solid #111;
  margin: 0;
}

.qq__header {
  background: #111;
  color: #fff;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 1px;
  padding: 16px 18px;
  line-height: 1.2;
}

.qq__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: none;
  background: #fff;
}

.qq__col {
  border: none;
  padding: 18px 14px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.qq__col + .qq__col {
  border-left: 1px solid var(--line);
}

.qq__num {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.qq__q {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  margin: 0 0 16px;
  padding: 0 8px 0 44px;
  min-height: 3.4em;
  color: var(--black);
  width: 100%;
  box-sizing: border-box;
}

.qq__icon {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.qq__icon img {
  max-width: 160px;
  height: auto;
}

.qq__checks {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: auto;
}

.qq__checks--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-left: 4%;
  padding-right: 4%;
  width: 100%;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
  user-select: none;
  text-align: left;
  padding: 10px 16px;
  border: 2px solid #d0d0d0;
  border-radius: 8px;
  background: #fff;
  color: var(--black);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.check:hover {
  border-color: var(--red);
  background: #fff7f7;
}

.check:has(input:checked) {
  border-color: var(--red);
  background: #fff0f0;
  box-shadow: 0 0 0 2px rgba(208, 16, 16, 0.15);
  color: var(--black);
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #222;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.check input:hover {
  transform: scale(1.06);
}

.check input:checked {
  background: var(--red);
  border-color: var(--red);
}

.check input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.check input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ========== SCHEDULE ========== */
.sched {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line);
}

.sched__day {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.sched__time {
  padding-left: 22px;
}

.sched__title {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
  color: var(--black);
}

/* Calendar */
.cal {
  background: #fff;
  border: 1.5px solid #e4e4e4;
  border-radius: 14px;
  padding: 14px 12px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.cal__nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.cal__nav-btn:hover {
  background: #fff0f0;
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.cal__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #999;
}

.cal__nav-btn:disabled:hover {
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #999;
  transform: none;
}

.cal__nav-pickers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.cal__picker {
  display: block;
  min-width: 0;
}

.cal__select {
  appearance: none;
  -webkit-appearance: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #111;
  background: #f6f6f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 8px 28px 8px 12px;
  cursor: pointer;
  max-width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cal__select:hover,
.cal__select:focus {
  border-color: var(--red);
  background-color: #fff;
  outline: none;
}

.cal__select--month {
  min-width: 128px;
}

.cal__select--year {
  min-width: 88px;
}

.cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cal__wd {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 8px 2px;
  border-radius: 8px;
  text-transform: uppercase;
}

.cal__wd--weekend {
  background: #f3f3f3;
  border: 1.5px solid #ddd;
  color: #444;
}

.cal__wd--weekday {
  background: var(--red);
  color: #fff;
  border: 1.5px solid var(--red);
}

.cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal__cell {
  text-align: center;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  border: none;
  background: #fafafa;
  cursor: default;
  min-height: 40px;
  border-radius: 10px;
  position: relative;
  color: #111;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.cal__cell--empty {
  background: transparent;
  visibility: hidden;
}

.cal__cell--past {
  color: #bbb;
  background: #f5f5f5;
  cursor: not-allowed;
}

.cal__cell--weekend {
  color: #222;
}

.cal__cell--weekday {
  color: var(--red);
}

.cal__cell--today:not(.cal__cell--selected) {
  box-shadow: inset 0 0 0 2px var(--red);
}

.cal__cell--selectable {
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #ececec;
}

.cal__cell--selectable:hover {
  background: #fff0f0;
  border-color: var(--red);
  transform: translateY(-1px);
}

.cal__cell--selected {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red);
  font-weight: 800;
}

/* Times */
.times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.time-btn {
  background: #fff;
  border: 2px solid var(--red);
  color: #111;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  position: relative;
}

.time-btn:hover {
  background: #fff0f0;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(208, 16, 16, 0.15);
}

.time-btn--selected {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red), 0 4px 12px rgba(208, 16, 16, 0.25);
  transform: translateY(-1px);
}

.time-btn--selected::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 7px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.95;
}

.time-btn--wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: 70%;
  min-width: 180px;
}

.field-error {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 8px;
}

.field-error-msg {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
}

/* ========== INFO ========== */
.info {
  padding: 18px 28px 28px;
}

.info__title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  color: var(--black);
}

.info__row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.info__row--3 {
  grid-template-columns: 1fr 1fr 1.2fr;
}

.info__row--2 {
  grid-template-columns: 1.4fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field__label {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
  color: var(--black);
}

.field__label i {
  color: var(--red);
  font-style: normal;
  font-weight: 700;
}

.field input {
  border: 1.5px solid #333;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--black);
  background: #fff;
  outline: none;
  width: 100%;
}

.field input::placeholder {
  color: #aaa;
}

.field input:focus {
  border-color: var(--red);
}

.field input.invalid {
  border-color: var(--red);
  background: #fff5f5;
}

.field__dob-wrap {
  position: relative;
  display: block;
}

.field__dob-wrap input {
  padding-right: 36px;
}

.field__cal {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.privacy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
  margin: 20px auto 18px;
  max-width: 600px;
}

.privacy svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.confirm {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 18px 24px;
  cursor: pointer;
  box-shadow: 0 3px 0 #8a0000;
}

.confirm:hover {
  filter: brightness(1.05);
}

.confirm:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #8a0000;
}

.confirm__icon {
  display: flex;
  flex-shrink: 0;
}

.confirm__text {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 1px;
}

.confirm--ok {
  background: #1a7a2e;
  box-shadow: 0 3px 0 #0d4a18;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  body {
    background: #fff;
  }

  .sheet {
    box-shadow: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    min-height: 260px;
    max-height: 320px;
  }

  .hero__copy {
    padding: 20px 18px;
  }

  .hero__stop {
    font-size: 72px;
  }

  .hero__medicare,
  .hero__calls {
    font-size: 56px;
  }

  .hero__nocall {
    width: 72px;
    height: 72px;
  }

  .brand {
    flex-direction: column;
    gap: 14px;
    margin: 14px 12px;
    padding: 28px 18px;
  }

  .brand__logo {
    width: 170px;
  }

  .brand__text {
    min-width: 0;
  }

  .brand__name {
    font-size: 26px;
    white-space: normal;
  }

  .brand__state {
    font-size: 48px;
    white-space: normal;
  }

  .brand__rule {
    width: 56px;
  }

  .qq__header {
    font-size: 18px;
  }

  .qq__grid {
    grid-template-columns: 1fr;
  }

  .qq__col + .qq__col {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .qq__q {
    font-size: 18px;
  }

  .qq__checks--stack {
    padding-left: 0;
    padding-right: 0;
    align-items: stretch;
  }

  .check {
    font-size: 16px;
    width: 100%;
    justify-content: flex-start;
  }

  .sched {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .sched__day {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .sched__time {
    padding-left: 0;
  }

  .sched__title {
    font-size: 16px;
  }

  .info {
    padding: 16px 18px 24px;
  }

  .info__row--3,
  .info__row--2 {
    grid-template-columns: 1fr;
  }

  .confirm__text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .cal__select {
    font-size: 13px;
    padding: 7px 24px 7px 8px;
  }

  .cal__select--month {
    min-width: 0;
  }

  .cal__select--year {
    min-width: 0;
  }

  .hero__stop {
    font-size: 56px;
  }

  .hero__medicare,
  .hero__calls {
    font-size: 42px;
  }

  .times {
    grid-template-columns: 1fr 1fr;
  }

  .time-btn--wide {
    grid-column: 1 / -1;
    width: 100%;
  }
}
