/* -------------------------
   Section foundation
-------------------------- */

.section--dark {
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("/img/city-bg.jpg") center / cover no-repeat;
  color: #fff;
}

.wrapper {
  max-width: 1200px;
  /* margin-inline: auto; */
  /* padding: 4rem 1.5rem; */
}

/* -------------------------
   Header
-------------------------- */

.section-header {
  text-align: center;
  /* margin-bottom: 3rem; */
}

.section-header h1 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.section-header hr {
  width: 4rem;
  height: 2px;
  background: rgba(255,255,255,0.4);
  border: 0;
  margin: 1rem auto 0;
}

/* -------------------------
   Card grid
-------------------------- */

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* -------------------------
   Cards
-------------------------- */

.card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  text-align: center;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

/* -------------------------
   Emoji badge
-------------------------- */

.card-emoji {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;

  display: grid;
  place-items: center;

  font-size: 1.5rem;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

/* -------------------------
   Typography
-------------------------- */

.card-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-copy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* -------------------------
   Home wireless prequal card
-------------------------- */

.home-prequal-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 2rem 1.75rem;
  color: #fff;
  -webkit-box-shadow: 0 24px 60px rgba(11, 29, 42, 0.35);
  box-shadow: 0 24px 60px rgba(11, 29, 42, 0.35);
}

.home-prequal-card__heading {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.home-prequal-card__input-wrap {
  margin-bottom: 0.75rem;
}

.home-prequal-card__input-wrap input[type="text"] {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border-color 0.2s, background 0.2s;
  transition: border-color 0.2s, background 0.2s;
}

.home-prequal-card__input-wrap input[type="text"]::-webkit-input-placeholder { color: rgba(255,255,255,0.55); }
.home-prequal-card__input-wrap input[type="text"]:-ms-input-placeholder      { color: rgba(255,255,255,0.55); }
.home-prequal-card__input-wrap input[type="text"]::placeholder               { color: rgba(255,255,255,0.55); }

.home-prequal-card__input-wrap input[type="text"]:focus {
  border-color: #2bade3;
  background: rgba(255, 255, 255, 0.2);
}

.home-prequal-card__error {
  font-size: 0.85rem;
  color: #ffcdd2;
  margin-top: 0.4rem;
  display: none;
}

.home-prequal-card__btn {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 0.25rem;
  text-align: center;
}

.home-prequal-card__status {
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  text-align: center;
  padding: 2rem 0;
}

.home-prequal-card__good-news {
  color: #a5f3c0;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.home-prequal-card__unavail {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.home-prequal-card__address {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.home-prequal-card__retry {
  display: block;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.75rem 0 0;
  text-decoration: underline;
  font-family: inherit;
}

.home-prequal-card__retry:hover {
  color: #fff;
}

.home-prequal-card__alt-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  white-space: nowrap;
}

.home-prequal-card__alt-link:hover {
  color: #fff;
}

/* Google Places autocomplete dropdown — override to be readable inside the dark hero */
.pac-container {
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  -webkit-box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}