/* ==========================================================================
   Digihack — ContactUs
   Only for contact-us/
   ========================================================================== */


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font: 600 16px/1 "Poppins",sans-serif;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.crumb {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--accent);
}

.crumb b {
  color: var(--ink);
  font-weight: 500;
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
}

.feat {
  background: #faf7f5;
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 48px;
}

.faqs details p {
  padding: 0 0 20px;
  color: var(--muted);
}

.field input,
.field select {
  height: 50px;
  border: 1px solid #d9cfc7;
  border-radius: 8px;
  padding: 0 14px;
  font: 400 16px "Hind",sans-serif;
  color: var(--ink);
  background: #fff;
  width: 100%;
}

@media (max-width:1024px) {
  .faq-wrap {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width:640px) {
  .sec {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
  }
}

.page-hero {
  background: linear-gradient(180deg,var(--tint) 0%,#fff 100%);
  padding: 2.5rem 0 4.5rem;
}

.ph-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ph-copy h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.ph-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

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

.cc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
}

.cc:hover {
  border-color: var(--accent);
  color: var(--text);
}

.cc .ci {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc.wa .ci {
  background: #e3f3ea;
  color: var(--wa);
}

.cc b {
  font: 600 18px/1.3 "Poppins",sans-serif;
  color: var(--ink);
}

.cc span {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.cc em {
  font: 600 14px/1 "Poppins",sans-serif;
  font-style: normal;
  color: var(--accent);
  margin-top: auto;
  padding-top: 6px;
}

.cc.wa em {
  color: var(--wa);
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 24px;
  align-items: start;
}

.ct-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-form h2 {
  font-size: 28px;
  font-weight: 600;
}

.ct-form > p {
  color: var(--muted);
  margin-top: -8px;
}

.field textarea {
  height: 120px;
  border: 1px solid #d9cfc7;
  border-radius: 8px;
  padding: 12px 14px;
  font: 400 16px "Hind",sans-serif;
  color: var(--ink);
  background: #fff;
  resize: vertical;
  width: 100%;
}

.ct-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mapbox {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 320px;
  background: #efe8e1;
}

.mapbox .map-cta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}

.mapbox .map-cta small {
  font-size: 13px;
  color: var(--muted);
}

.hours {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
}

.hours h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hours table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.hours td {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.hours td:last-child {
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

.hours tr:first-child td {
  border-top: 0;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font: 600 15px/1 "Poppins",sans-serif;
  color: var(--ink);
}

.area-list span small {
  font: 400 13px "Hind",sans-serif;
  color: var(--muted);
}

.area-list span.hq {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.area-list span.hq small {
  color: #ffe3d6;
}

@media (max-width:1024px) {
  .ct-grid {
    grid-template-columns: minmax(0,1fr);
  }

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

@media (max-width:640px) {
  .page-hero {
    padding: 1.25rem 0 3rem;
  }

  .ph-copy h1 {
    font-size: 32px;
  }

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

  .ct-form {
    padding: 22px;
  }

  .mapbox {
    height: 260px;
  }

  .cc {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 4px 14px;
    padding: 18px;
  }

  .cc .ci {
    grid-row: span 3;
  }

  .cc em {
    padding-top: 2px;
  }

  .mapbox .map-cta .btn {
    white-space: nowrap;
    padding: 0 14px;
  }
}

.page-hero {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 4rem;
}

.page-hero>.wrap {
  width: 100%;
}

@media (max-width:640px) {
  .page-hero {
    min-height: 480px;
    padding: 1.5rem 0 3rem;
    justify-content: flex-start;
  }
}

.page-hero .wrap {
  position: relative;
}

.ph-photo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
}

.ph-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width:1024px) {
  .ph-photo {
    position: static;
    transform: none;
    width: 100%;
    height: 280px;
    margin-top: 24px;
  }
}

@media (max-width:640px) {
  .ph-photo {
    height: 220px;
    border-radius: 16px;
  }
}

/* Live Google Map */
.mapbox iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Phones: section headings fill the width (stack_pass.py) */
@media (max-width: 640px) {
  .sec-head {
    max-width: none;
  }

  h2,
  .h2 {
    text-wrap: pretty;
  }

  .h2,
  .cta h2,
  .cx-info h2,
  .sg-head h2,
  .cb-copy h2 {
    font-size: 23px;
    line-height: 1.25;
  }

  .sec-head .lead {
    font-size: 16px;
  }
}
