/* ==========================================================================
   Digihack — ServicesHub
   Only for services/
   ========================================================================== */


.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 {
  background: linear-gradient(180deg,var(--tint) 0%,#fff 100%);
  padding: 2.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: 56px;
  align-items: center;
  margin-top: 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

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

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px 20px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
  color: var(--ink);
}

.ticks .fi {
  flex: none;
  color: #fff;
  background: var(--wa);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3.3;
  background: #efe8e1;
}

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

.proc {
  background: var(--dark);
  color: var(--on-dark);
}

.proc .h2,
.proc h3 {
  color: #fff;
}

.proc .lead {
  color: var(--on-dark-muted);
}

.proc .eyebrow {
  color: #ff9a6b;
}

.proc-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 56px;
  align-items: center;
}

.proc-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/4.6;
}

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

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: st;
  display: flex;
  flex-direction: column;
}

.steps li {
  counter-increment: st;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 4px 16px;
  padding: 18px 0;
  border-top: 1px solid #34303a;
}

.steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.steps li::before {
  content: counter(st);
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font: 600 16px/40px "Poppins",sans-serif;
  text-align: center;
}

.steps h3 {
  font-size: 19px;
  font-weight: 600;
}

.steps p {
  color: var(--on-dark-muted);
  font-size: 16px;
}

.cta {
  background: linear-gradient(110deg,#d9481a 0%,#ee6324 55%,#f28c18 100%);
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 48px;
  align-items: center;
  padding-block: 4rem;
}

.cta h2 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
}

.cta p {
  color: #fff3ec;
  font-size: 18px;
  margin-top: 12px;
}

.cta-form {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.cta-form .full {
  grid-column: 1/-1;
}

.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) {
  .hero-grid,
  .proc-grid,
  .cta-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

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

  .hero {
    padding: 1.25rem 0 3rem;
  }

  .hero-grid {
    gap: 28px;
    margin-top: 16px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .ctas .btn {
    flex: 1 1 0;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 15px;
  }

  .photo {
    aspect-ratio: 4/3;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta-form {
    grid-template-columns: minmax(0,1fr);
    padding: 20px;
  }
}

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

.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%;
}

.sh-goals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sg {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.sg-head {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sg-head small {
  font: 600 12px/1 "Poppins",sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sg-head h2 {
  font-size: 26px;
  font-weight: 700;
}

.sg-head p {
  color: var(--muted);
  font-size: 16px;
}

.sg-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.sv {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
}

.sv:hover {
  background: #fff7f2;
  color: var(--text);
}

.sv-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv h3 {
  font-size: 18px;
  font-weight: 600;
}

.sv p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.sv em {
  font: 600 14px/1 "Poppins",sans-serif;
  font-style: normal;
  color: var(--accent);
}

.help-band {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 40px;
  align-items: center;
  background: var(--dark);
  border-radius: 24px;
  padding: 48px;
  color: var(--on-dark);
}

.help-band h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.help-band p {
  color: var(--on-dark-muted);
  font-size: 17px;
  margin-top: 10px;
}

.help-band .ctas {
  justify-content: flex-end;
}

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

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

  .sv {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .sv + .sv {
    border-left: 1px solid var(--line);
  }

  .help-band .ctas {
    justify-content: flex-start;
  }
}

@media (max-width:640px) {
  .sg-head {
    padding: 22px;
  }

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

  .sv + .sv {
    border-left: 0;
  }

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

  .sv-ic {
    grid-row: span 3;
  }

  .help-band {
    padding: 26px 22px;
  }

  .help-band h2 {
    font-size: 24px;
  }
}

.help-band {
  grid-template-columns: 240px minmax(0,1.2fr) minmax(0,1fr);
}

.hb-photo {
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
}

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

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

@media (max-width:640px) {
  .hb-photo {
    height: 200px;
  }
}

/* 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;
  }
}
