/* ==========================================================================
   NORTHSTAR ELECTRICAL — sections (mobile-first)
   hero · trust · services · emergency · why · projects · reviews ·
   quote · areas · footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(24px, 4vw, 64px) clamp(36px, 5vw, 72px);
  background: linear-gradient(180deg, var(--blue-lt) 0, var(--white) 55%);
}

.hero__grid {
  display: grid;
  gap: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.5em 0.9em;
  background: var(--white);
  border: 1px solid #c9d8f6;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-dk);
}

.pill .i {
  width: 1.1em;
  height: 1.1em;
}

.hero__title {
  margin-top: 16px;
}

.hero__copy {
  margin-top: 16px;
  font-size: clamp(1.12rem, 2.6vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 28em;
}

.hero__actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.hero__assure {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--mute);
}

.trust-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.trust-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-list .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-lt);
  color: var(--blue);
}

.trust-list .ic .i {
  width: 22px;
  height: 22px;
}

.trust-list b {
  display: block;
  font-size: 1.02rem;
  line-height: 1.2;
}

.trust-list span:not(.ic) {
  display: none;
  font-size: 0.86rem;
  color: var(--mute);
  line-height: 1.3;
  margin-top: 2px;
}

.hero__media {
  position: relative;
}

.hero__photo {
  overflow: hidden;
  border-radius: 14px;
  background: var(--mist);
  aspect-ratio: 4 / 3.3;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 30%;
}

.hero__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em 1em;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(20, 30, 50, 0.18);
  font-size: 0.86rem;
  line-height: 1.25;
}

.hero__badge .i {
  color: var(--blue);
  width: 1.7em;
  height: 1.7em;
}

.hero__badge b {
  display: block;
  font-size: 0.96rem;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
}

.stars .i {
  width: 1em;
  height: 1em;
}

@media (min-width: 640px) {
  .hero__actions {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
  }

  .trust-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-list span:not(.ic) {
    display: block;
  }
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
  }

  .hero__photo {
    aspect-ratio: 4 / 4.6;
  }

  .hero__badge {
    left: -20px;
    bottom: 28px;
    padding: 0.9em 1.2em;
  }
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.stat {
  padding: 20px 8px 20px 0;
  border-bottom: 1px solid var(--line);
}

.stat:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat b {
  display: block;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.stat b small {
  font-size: 0.55em;
  color: var(--blue);
  margin-left: 0.05em;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.3;
}

@media (min-width: 800px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat,
  .stat:nth-child(even) {
    padding: 28px 24px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .stat:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.svc-grid {
  display: grid;
  gap: 12px;
}

.svc {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 14px;
  align-content: start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.svc:hover {
  border-color: #b7c7ea;
  box-shadow: 0 10px 28px rgba(20, 40, 90, 0.1);
  transform: translateY(-2px);
}

.svc__img {
  grid-row: 1;
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.svc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc__head {
  display: grid;
  gap: 6px;
  align-content: center;
}

.svc__name {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.svc__price {
  justify-self: start;
  padding: 0.25em 0.7em;
  background: var(--blue-lt);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dk);
}

.svc__desc {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.55;
}

.svc__list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.svc__list li {
  padding: 0.25em 0.65em;
  background: var(--snow);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}

.svc .link {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .svc {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    overflow: hidden;
  }

  .svc__img {
    grid-row: auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 0;
  }

  .svc__head,
  .svc__desc,
  .svc__list,
  .svc .link {
    margin-inline: 20px;
  }

  .svc__head {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
  }

  .svc .link {
    margin-bottom: 8px;
  }
}

@media (min-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Emergency
   -------------------------------------------------------------------------- */

.emergency {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding-block: clamp(40px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
}

.emergency::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  top: -40%;
  width: 60%;
  height: 180%;
  background: repeating-linear-gradient(-58deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 26px);
}

.emergency__grid {
  display: grid;
  gap: 24px;
}

.emergency .eyebrow {
  color: #cfe0ff;
}

.emergency__title {
  margin-top: 12px;
  font-size: clamp(2.5rem, 9vw, 5rem);
}

.emergency__copy {
  margin-top: 14px;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #e6efff;
  max-width: 30em;
}

.emergency__checks {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.emergency__checks li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
}

.emergency__checks .i {
  color: #a9c6ff;
}

.emergency__panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: rgba(10, 30, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
}

.emergency__number {
  display: block;
  font-size: clamp(2.3rem, 10vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.emergency__number small {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cfe0ff;
}

.emergency__actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.emergency__safety {
  display: flex;
  gap: 0.6em;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #dbe7ff;
}

.emergency__safety .i {
  margin-top: 0.15em;
  color: #ffd15c;
}

@media (min-width: 900px) {
  .emergency__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
  }

  .emergency__panel {
    padding: 32px;
  }
}

/* --------------------------------------------------------------------------
   Why us
   -------------------------------------------------------------------------- */

.why__grid {
  display: grid;
  gap: 32px;
}

.why__photo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--mist);
  aspect-ratio: 4 / 3.2;
}

.why__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.why__card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.8em 1em;
  background: var(--white);
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.3;
  box-shadow: 0 8px 22px rgba(20, 30, 50, 0.2);
}

.why__card b {
  display: block;
  font-size: 1rem;
}

.why__card .i {
  color: var(--blue);
  width: 1.8em;
  height: 1.8em;
}

.why__list {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.why__item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.why__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-lt);
  color: var(--blue);
}

.why__ic .i {
  width: 24px;
  height: 24px;
}

.why__item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.why__item p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .why__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }

  .why__photo {
    position: sticky;
    top: 110px;
    aspect-ratio: 4 / 4.6;
  }
}

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */

.snap {
  display: flex;
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.snap::-webkit-scrollbar {
  display: none;
}

.snap > * {
  flex: 0 0 84%;
  scroll-snap-align: start;
}

.snap__hint {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
}

.pj {
  display: grid;
  align-content: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.pj__img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mist);
}

.pj__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.pj:hover .pj__img img {
  transform: scale(1.04);
}

.pj__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 0.3em 0.7em;
  background: var(--white);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pj__body {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.pj__loc {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
}

.pj__loc .i {
  width: 1em;
  height: 1em;
}

.pj__title {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.2;
}

.pj__text {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.5;
}

.pj__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--mute);
}

.pj__meta b {
  color: var(--ink);
  font-weight: 700;
}

@media (min-width: 720px) {
  .snap > * {
    flex-basis: 46%;
  }
}

@media (min-width: 1000px) {
  .snap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .snap > * {
    flex: none;
  }

  .snap__hint {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews__top {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.rating {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.rating b {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.rating .stars {
  font-size: 1.15rem;
}

.rating div > span:last-child {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.review {
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.review .stars {
  font-size: 1.1rem;
}

.review blockquote {
  font-size: 1.05rem;
  line-height: 1.55;
}

.review figcaption {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review__av {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-lt);
  color: var(--blue-dk);
  font-weight: 800;
}

.review__name {
  display: block;
  font-weight: 800;
  line-height: 1.2;
}

.review__meta {
  display: block;
  font-size: 0.85rem;
  color: var(--mute);
  line-height: 1.3;
}

@media (min-width: 900px) {
  .reviews__top {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* --------------------------------------------------------------------------
   Quote form
   -------------------------------------------------------------------------- */

.quote__grid {
  display: grid;
  gap: 32px;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.step__n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.step p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.quote__direct {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.quote__direct p {
  font-weight: 700;
}

.formcard {
  padding: clamp(20px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 40, 90, 0.08);
}

.formcard__title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.formcard__sub {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.form {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label,
.field .lab {
  font-size: 0.92rem;
  font-weight: 700;
}

.field label small {
  font-weight: 500;
  color: var(--mute);
}

.input {
  width: 100%;
  min-height: 54px;
  padding: 0.75em 0.95em;
  background: var(--white);
  color: var(--ink);
  border: 2px solid #c3ccd9;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem; /* 16px: stops iOS zoom on focus */
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

textarea.input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

select.input {
  padding-right: 2.6em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%231657d9' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1em center;
}

.input::placeholder {
  color: #8b94a3;
}

.input:hover {
  border-color: #8c98ab;
}

.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 87, 217, 0.15);
}

.input[aria-invalid="true"] {
  border-color: #c23b22;
}

.field__err {
  min-height: 1.2em;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b3311b;
}

.form__row {
  display: grid;
  gap: 8px;
}

.form__fine {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--mute);
}

.done {
  display: grid;
  gap: 14px;
  text-align: left;
  animation: done-in 0.5s var(--ease) both;
}

.done[hidden] {
  display: none;
}

@keyframes done-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.done__ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcf5e6;
  color: var(--wa);
}

.done__ic .i {
  width: 30px;
  height: 30px;
}

.done h3 {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
}

.done__actions {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 940px) {
  .quote__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }

  .formcard {
    position: sticky;
    top: 100px;
  }
}

/* --------------------------------------------------------------------------
   Service areas
   -------------------------------------------------------------------------- */

.areas__grid {
  display: grid;
  gap: 28px;
}

.map {
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.map svg {
  width: 100%;
  height: auto;
}

.map text {
  font-family: var(--font);
}

.region-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.region {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.region h3 {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.15rem;
  font-weight: 800;
}

.region h3 .i {
  color: var(--blue);
  width: 1.1em;
  height: 1.1em;
}

.region p {
  color: var(--ink-2);
  font-size: 1rem;
}

.areas__note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--blue-lt);
  border-radius: 10px;
  font-size: 0.98rem;
}

.areas__note b {
  font-weight: 800;
}

@media (min-width: 900px) {
  .areas__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--charcoal);
  color: #d9dfe8;
  padding-top: clamp(44px, 6vw, 72px);
}

.footer__grid {
  display: grid;
  gap: 32px;
}

.footer .logo__name {
  color: var(--white);
}

.footer .logo__sub {
  color: var(--blue-on-dark);
}

.footer__about {
  margin-top: 14px;
  max-width: 26em;
  color: #b4bdca;
  font-size: 0.98rem;
}

.footer__title {
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-on-dark);
}

.footer__list {
  display: grid;
  gap: 0.35rem;
  font-size: 1rem;
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 40px;
  font-weight: 600;
  color: var(--white);
}

.footer__list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__list .i {
  color: var(--blue-on-dark);
}

.footer__hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.3rem;
  border-bottom: 1px solid var(--line-d);
}

.footer__hours dd {
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.footer__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer__areas li {
  padding: 0.25em 0.7em;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  font-size: 0.86rem;
}

.footer__bar {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding-block: 20px;
  border-top: 1px solid var(--line-d);
  font-size: 0.86rem;
  color: #9ba5b4;
}

.footer__demo {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd15c;
  font-size: 0.8rem;
}

.footer__credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bar {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .footer__demo {
    text-align: center;
  }

  .footer__credit {
    text-align: right;
  }
}
