/* ==========================================================================
   Digihack — service page template
   Shared by every service detail page (/services/<slug>/): hero, why-us,
   features, process, CTA form, FAQ. (WordPress: page-service.php.)
   ========================================================================== */


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

.trust {
  font-size: 15px;
  color: var(--muted);
}

.trust b {
  color: var(--ink);
}

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

.badge-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: none;
}

.badge-card .bi {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-card b {
  display: block;
  font: 600 16px/1.25 "Poppins",sans-serif;
  color: var(--ink);
}

.badge-card span {
  font-size: 14px;
  color: var(--muted);
}

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

.why-photos {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 14px;
}

.why-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.why-photos .p1 {
  aspect-ratio: 3/3.6;
}

.why-photos .p2 {
  aspect-ratio: 3/3.6;
  margin-top: 40px;
}

.why-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-copy p {
  color: var(--muted);
  font-size: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  font: 500 14px/1 "Poppins",sans-serif;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent-dark);
}

.note {
  font-size: 15px;
  color: var(--ink);
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  background: #faf7f5;
  border-radius: 0 10px 10px 0;
}

.feat {
  background: #faf7f5;
}

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

.ft {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

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

.ft h3 {
  font-size: 17px;
  font-weight: 600;
}

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

.ty-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.ty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: #fff;
}

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

.ty-ic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--dark);
  color: #ff9a6b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ty-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

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

.ty-t span {
  font-size: 14px;
  color: var(--muted);
}

.ty-p {
  flex: none;
  font: 600 13px/1.3 "Poppins",sans-serif;
  color: var(--accent);
  text-align: right;
}

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

.local-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 48px;
  align-items: center;
  background: var(--tint);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
}

.local-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.local-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.local-copy p {
  color: var(--text);
  font-size: 18px;
}

.local-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.local-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.local-list .fi {
  flex: none;
  margin-top: 4px;
  color: var(--accent);
}

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

.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) {
  .ft-grid,
  .ty-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .hero-grid,
  .why-grid,
  .proc-grid,
  .local-grid,
  .faq-wrap,
  .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;
  }

  .why-photos .p2 {
    margin-top: 24px;
  }

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

  .ft {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 16px;
  }

  .ft h3 {
    flex: 1;
    min-width: 0;
  }

  .ft p {
    flex: 1 1 100%;
  }

  .local-grid {
    padding: 20px;
  }

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

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

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

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