/* Landing page (v2) — matches reference screenshot */

.landing {
  position: relative;
  min-height: calc(100vh - 64px);
  padding-bottom: 60px;
}

/* Hero band — panoramic city + houses */
.hero {
  position: relative;
  height: 320px;
  background-color: #2d5d9f;
  background-image:
    linear-gradient(90deg, rgba(20, 50, 100, 0.78) 0%, rgba(20, 50, 100, 0.40) 38%, rgba(20, 50, 100, 0.08) 65%, rgba(20, 50, 100, 0.05) 100%),
    url("assets/hawks-ridge-hero.png");
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

@media (max-width: 720px) { .hero { height: 260px; } }

.hero-headline {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 28px 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.hero-headline h1 {
  font-size: 38px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 20, 50, 0.45);
}

@media (max-width: 720px) { .hero-headline h1 { font-size: 28px; } }

.hero-headline .sub {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  color: #eef3fa;
  text-shadow: 0 2px 10px rgba(0, 20, 50, 0.45);
}

/* Cobrand lockup */
.cobrand {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 6px;
  padding: 10px 16px;
  box-shadow: 0 6px 18px -6px rgba(0, 30, 70, 0.3);
  flex-shrink: 0;
}

.cobrand .epcor-logo {
  display: block;
  height: 72px;
  width: auto;
  border-radius: 3px;
}

.cobrand .gs-logo {
  display: block;
  height: 36px;
  width: auto;
}

.cobrand .divider {
  width: 1px;
  height: 32px;
  background: #d8d3c5;
}

.cobrand .gs-logo {
  display: block;
  height: 36px;
  width: auto;
}

@media (max-width: 540px) {
  .cobrand { padding: 8px 12px; gap: 10px; }
  .cobrand .epcor-logo { height: 52px; }
  .cobrand .gs-logo { height: 26px; }
}

/* Main card */
.landing-card-wrap {
  max-width: 1200px;
  margin: -50px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.landing-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 60px -12px rgba(0, 30, 70, 0.25), 0 4px 12px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  /* No overflow:hidden — technician photo intentionally overflows below */
  position: relative;
}

@media (max-width: 880px) {
  .landing-card { grid-template-columns: 1fr; }
}

.landing-card .form-side {
  padding: 32px 36px 36px;
  min-width: 0;
}

.landing-card .form-side h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #15181a;
  letter-spacing: -0.015em;
}

.landing-card .form-side .form-divider {
  height: 1px;
  background: #e2ddd2;
  margin: 18px 0 22px;
}

/* Form fields — labeled inline */
.lf {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .lf { grid-template-columns: 1fr; gap: 6px; }
}

.lf > label {
  font-size: 14px;
  font-weight: 500;
  color: #15181a;
  padding-top: 11px;
}

@media (max-width: 600px) {
  .lf > label { padding-top: 0; font-size: 13px; color: #3a3f43; }
}

.lf .ctl {
  position: relative;
}

.lf input[type="text"],
.lf input[type="tel"],
.lf input[type="email"],
.lf textarea,
.lf .select-display {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d8d3c5;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
  font-family: inherit;
  color: #15181a;
}

.lf input::placeholder,
.lf textarea::placeholder {
  color: #9b9788;
}

.lf input:focus,
.lf textarea:focus,
.lf .select-display.open {
  border-color: #2d5d9f;
  box-shadow: 0 0 0 3px rgba(45, 93, 159, 0.12);
}

.lf .select-display {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2d5d9f;
  font-weight: 500;
  user-select: none;
}

.lf .select-display.empty { color: #9b9788; font-weight: 400; }

.lf .select-display .chev {
  color: #9b9788;
  font-size: 12px;
  margin-left: 8px;
}

.lf .icon-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9b9788;
  font-size: 14px;
  pointer-events: none;
}

.lf textarea {
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
}

.lf .err {
  font-size: 12px;
  color: #a83a2c;
  margin-top: 4px;
}

.lf .hint {
  font-size: 12px;
  color: #74787c;
  margin-top: 4px;
  line-height: 1.4;
}

/* Dropdown panel */
.dd-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d8d3c5;
  border-radius: 8px;
  box-shadow: 0 12px 32px -8px rgba(0, 30, 70, 0.2);
  z-index: 10;
  max-height: 280px;
  overflow-y: auto;
}

.dd-panel .dd-search {
  padding: 8px;
  border-bottom: 1px solid #efece6;
  position: sticky;
  top: 0;
  background: #fff;
}

.dd-panel .dd-search input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #d8d3c5;
  border-radius: 5px;
  font-size: 13px;
  outline: none;
}

.dd-panel .dd-search input:focus { border-color: #2d5d9f; }

.dd-panel .dd-row {
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dd-panel .dd-row:hover { background: #f5f3ee; }

.dd-panel .dd-row.sel { background: #eaf1f9; color: #2d5d9f; font-weight: 500; }

.dd-panel .dd-row .sub {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: #9b9788;
}

.dd-panel .dd-empty {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: #9b9788;
}

/* Date/time picker grids inside dropdown */
.dd-cal {
  padding: 14px;
}

.dd-cal-head {
  font-size: 12px;
  color: #74787c;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dd-date-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.dd-date-cell {
  border: 1px solid #d8d3c5;
  background: #fff;
  border-radius: 6px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 120ms;
  font-size: 12px;
}

.dd-date-cell:hover { border-color: #2d5d9f; }
.dd-date-cell.sel { background: #2d5d9f; color: #fff; border-color: #2d5d9f; }
.dd-date-cell .dow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #74787c;
}
.dd-date-cell.sel .dow { color: #c8dbf0; }
.dd-date-cell .dn {
  font-size: 16px;
  font-weight: 600;
  margin: 2px 0;
}
.dd-date-cell .mo { font-size: 10px; color: #74787c; }
.dd-date-cell.sel .mo { color: #c8dbf0; }

.dd-time-list {
  display: flex;
  flex-direction: column;
  padding: 6px;
}

.dd-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
}

.dd-time-row:hover:not(.disabled) { background: #f5f3ee; }
.dd-time-row.sel { background: #eaf1f9; color: #2d5d9f; font-weight: 500; }
.dd-time-row.disabled {
  color: #9b9788;
  cursor: not-allowed;
  text-decoration: line-through;
}

.dd-time-row .badge {
  font-size: 10px;
  font-family: "Geist Mono", monospace;
  color: #a83a2c;
  text-decoration: none;
}

/* Confirm button */
.confirm-btn-wrap {
  text-align: center;
  margin-top: 22px;
}

.confirm-btn {
  background: #2d5d9f;
  color: #fff;
  border: 0;
  padding: 14px 48px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.005em;
  transition: background 120ms, transform 80ms;
  box-shadow: 0 2px 8px rgba(45, 93, 159, 0.25);
}

.confirm-btn:hover { background: #234c84; }
.confirm-btn:active { transform: translateY(1px); }
.confirm-btn:disabled {
  background: #b0b8c4;
  cursor: not-allowed;
  box-shadow: none;
}

/* Resident attestation checkboxes — must both be checked to enable the
   Confirm button. Live in the form-side, above .confirm-btn-wrap. */
.attestations {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2ddd2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.attestation-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: #283541;
  line-height: 1.45;
}

.attestation-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #2d5d9f;
}

.attestation-row.err {
  color: #a83a2c;
}
.attestation-row.err input[type="checkbox"] {
  outline: 2px solid #c66;
  outline-offset: 2px;
}

.attestation-err {
  font-size: 12px;
  color: #a83a2c;
  margin: -4px 0 0 32px;
}

/* Right side: hero photo + caption + photo slot */
.image-side {
  position: relative;
  background: #eaf1f9;
  border-left: 1px solid #efece6;
  border-radius: 0 12px 12px 0;
  overflow: hidden;
}

@media (max-width: 880px) {
  .image-side { display: none; }
}

.image-side-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  background-image:
    linear-gradient(180deg, rgba(45, 93, 159, 0.0) 0%, rgba(45, 93, 159, 0.30) 100%),
    url("assets/prv-valve.jpg");
  background-size: cover;
  background-position: center;
}

.image-caption {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  background: #2d5d9f;
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 6px 16px rgba(0, 30, 70, 0.3);
  z-index: 3;
}

/* Replace these CSS background URLs with your own technician + scene photos. */
/* The .tech-figure block has been removed in favor of a single background photo. */

/* Below-card row */
.below-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 720px) {
  .below-card { grid-template-columns: 1fr; }
}

.below-card .wte-link {
  max-width: none;
}

/* What to Expect link card */
.wte-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #d8d3c5;
  border-radius: 8px;
  padding: 16px 16px;
  text-decoration: none;
  color: #15181a;
  transition: border-color 120ms, box-shadow 120ms, transform 80ms;
  cursor: pointer;
}

.wte-link:hover {
  border-color: #2d5d9f;
  box-shadow: 0 4px 14px -4px rgba(45, 93, 159, 0.2);
}

.wte-link:active { transform: translateY(1px); }

.wte-link .wte-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #eaf1f9;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.wte-link .wte-text {
  flex: 1;
  min-width: 0;
}

.wte-link .wte-title {
  font-size: 14px;
  font-weight: 600;
  color: #15181a;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}

.wte-link .wte-sub {
  font-size: 12px;
  color: #74787c;
}

.wte-link .wte-arrow {
  color: #2d5d9f;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 120ms;
}

.wte-link:hover .wte-arrow { transform: translateX(2px); }

/* Trust indicators */
.trust-row {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 28px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #15181a;
}

.trust-item .icon-blue {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2d5d9f;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.trust-item .icon-green {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2e7a4a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

/* Confirmation overlay */
.landing-confirm {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 28px;
}

.landing-confirm .confirm-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 60px -12px rgba(0, 30, 70, 0.18);
  padding: 36px 40px;
}

.landing-confirm .check-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2e7a4a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin-bottom: 18px;
  font-weight: 700;
}

.landing-confirm h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}

.landing-confirm .lede {
  font-size: 15px;
  color: #3a3f43;
  margin: 0 0 24px;
}

.landing-confirm .conf-ticket {
  background: #f5f3ee;
  border: 1px solid #e2ddd2;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 24px;
}

.landing-confirm .conf-ticket .tid-line {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  color: #2d5d9f;
  margin-bottom: 12px;
  font-weight: 500;
}

.landing-confirm .conf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

@media (max-width: 520px) { .landing-confirm .conf-grid { grid-template-columns: 1fr; } }

.landing-confirm .conf-grid .ck-lbl {
  font-size: 11px;
  text-transform: uppercase;
  color: #74787c;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.landing-confirm .conf-grid .ck-val {
  font-size: 14px;
  color: #15181a;
  font-weight: 500;
}
