/* Digital Transformation Service Page - Complete Styles */

.dt-hero {
  position: relative;
  overflow: hidden;
  background: #07100f;
  color: #fff;
  padding: 95px 0 85px;
  isolation: isolate;
}

.dt-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(#ffffff22 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  opacity: 0.3;
  mask-image: linear-gradient(90deg, transparent, black 55%);
}

.dt-hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -270px;
  border: 1px solid #00dcca38;
  border-radius: 50%;
  box-shadow: 0 0 0 60px #00dcca0b, 0 0 0 120px #00dcca07;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #009e91;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: #00dcca;
  box-shadow: 0 0 12px #00dcca99;
}

h2 {
  font-size: clamp(32px, 4.5vw, 53px);
  font-weight: 800;
  letter-spacing: -0.06em;
  word-spacing: 0.1em;
  line-height: 1.06;
  margin: 17px 0;
  font-family: "Manrope", sans-serif;
}

.lead {
  color: #64716c;
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 21px;
  background: #00dcca;
  color: #07100f;
  font-weight: 800;
  border-radius: 5px 15px;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #00dcca3b;
}

.btn.dark {
  background: #07100f;
  color: #00dcca;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  align-items: center;
}

.dt-hero h1 {
  font-size: clamp(42px, 5.7vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.075em;
  margin: 22px 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.dt-hero h1 span {
  color: #00dcca;
}

.dt-hero .lead {
  color: #bdcbc6;
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  border: 1px solid #ffffff25;
  border-radius: 5px 30px;
  overflow: hidden;
  background: #111d1a;
}

.hero-visual img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
  /* filter: grayscale(75%) brightness(0.58); */
}

.visual-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(130deg, #07100f22, #07100fba); */
}

.flow-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  background: #07100fe8;
  border: 1px solid #00dcca5c;
  border-radius: 5px 16px;
  backdrop-filter: blur(10px);
}

.flow-panel small {
  color: #00dcca;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 10px;
}

.flow-nodes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}

.flow-node {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  background: #ffffff0c;
  border: 1px solid #ffffff22;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.flow-arrow {
  color: #00dcca;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 35px;
  color: #aab8b2;
  font-size: 12px;
}

.hero-trust b {
  color: #fff;
}

.section {
  padding: 96px 0;
}

.definition {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 65px;
  align-items: start;
}

.definition-aside {
  position: sticky;
  top: 35px;
}

.definition-aside .mini-tag {
  display: inline-block;
  padding: 9px 12px;
  background: #e5faf6;
  color: #008f83;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 4px 12px;
}

.definition-copy p {
  color: #5f6d67;
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 18px;
}

.definition-visual {
  margin: 0 0 25px;
  border-radius: 5px 20px;
  overflow: hidden;
  height: 235px;
  position: relative;
  background: #07100f;
}

.definition-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.72);
}

.definition-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07100f35, #07100f05);
}

.definition-copy strong {
  color: #07100f;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 27px;
}

.compare-card {
  padding: 22px;
  border: 1px solid #dce7e3;
  border-radius: 5px 18px;
}

.compare-card.active {
  background: #07100f;
  color: #fff;
  border-color: #07100f;
}

.compare-card span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #009e91;
}

.compare-card.active span {
  color: #00dcca;
}

.compare-card h3 {
  font-size: 19px;
  margin: 11px 0 7px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.compare-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #77837e;
  margin: 0;
}

.compare-card.active p {
  color: #b6c3bd;
}

.signs {
  background: #f3f9f7;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.section-head .lead {
  margin: 0 auto;
}

.pain-layout {
  display: grid;
  grid-template-columns: 1fr 290px 1fr;
  gap: 20px;
  align-items: center;
}

.pain-column {
  display: grid;
  gap: 14px;
}

.pain {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 17px;
  background: #fff;
  border: 1px solid #dce7e3;
  border-radius: 5px 15px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 24px #07100f05;
}

.pain i {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  background: #e4faf6;
  color: #008f83;
  border-radius: 9px;
  font-style: normal;
}

.person-visual {
  height: 300px;
  position: relative;
  display: grid;
  place-items: center;
}

.person-orbit {
  position: absolute;
  width: 245px;
  height: 245px;
  border: 1px solid #00bfae6b;
  border-radius: 50%;
  box-shadow: 0 0 0 22px #00dcca0c, 0 0 0 45px #00dcca08;
}

.person-core {
  position: relative;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #07100f;
  color: #00dcca;
  font-size: 64px;
  box-shadow: 0 20px 55px #07100f25;
}

.person-core:after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #00dcca66;
  border-radius: 50%;
}

.person-photo {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 18px 50px #07100f20;
  z-index: 1;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
}

.photo-badge {
  position: absolute;
  z-index: 2;
  right: -2px;
  bottom: 15px;
  background: #00dcca;
  color: #07100f;
  padding: 10px 13px;
  border-radius: 4px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
  box-shadow: 0 8px 20px #07100f20;
}

.photo-badge b {
  font-size: 11px;
}

.bridge {
  text-align: center;
  max-width: 780px;
  margin: 36px auto 0;
  color: #5f6d67;
  line-height: 1.8;
}

.bridge strong {
  color: #07100f;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.why-card {
  padding: 24px 20px;
  border: 1px solid #dce7e3;
  border-radius: 5px 20px;
  min-height: 220px;
  transition: 0.25s;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: #7ce9dd;
  box-shadow: 0 15px 35px #07100f0b;
}

.why-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #e3faf6;
  color: #008f83;
  border-radius: 5px 14px;
  font-size: 20px;
}

.why-card h3 {
  font-size: 17px;
  margin: 18px 0 9px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.why-card p {
  font-size: 13px;
  color: #64716c;
  line-height: 1.75;
  margin: 0;
}

.proof-strip {
  margin-top: 24px;
  padding: 22px 25px;
  background: #07100f;
  color: #fff;
  border-radius: 5px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.proof-strip strong {
  font: 800 26px "Manrope";
  color: #00dcca;
}

.proof-strip span {
  font-size: 11px;
  color: #bdcbc6;
}

.process {
  background: #07100f;
  color: #fff;
}

.process .eyebrow {
  color: #00dcca;
}

.process .lead {
  color: #aebdb7;
}

.process-table {
  margin-top: 38px;
  border: 1px solid #ffffff2c;
  border-radius: 5px 20px;
  overflow: hidden;
}

.process-row {
  display: grid;
  grid-template-columns: 0.7fr 1.8fr 1.4fr 0.7fr;
  gap: 20px;
  padding: 21px 23px;
  border-bottom: 1px solid #ffffff25;
  align-items: center;
}

.process-row:last-child {
  border-bottom: 0;
}

.process-row.header {
  background: #ffffff0a;
  color: #00dcca;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phase {
  font: 800 16px "Manrope";
  color: #fff;
}

.phase b {
  color: #00dcca;
  margin-right: 7px;
}

.process-row p {
  font-size: 13px;
  line-height: 1.65;
  color: #b7c4bf;
  margin: 0;
}

.process-row .deliverable {
  color: #fff;
}

.time {
  font-size: 12px;
  color: #00dcca;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 38px;
  grid-auto-rows: 1fr;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #dce7e3;
  border-radius: 5px 20px;
  background: #fff;
  transition: 0.25s;
  overflow: hidden;
  height: 100%;
  min-width: 0;
  grid-column: span 1 !important;
}

.service-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
  filter: saturate(0.75);
  transition: transform 0.5s;
  flex-shrink: 0;
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-card .service-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.service-card:hover {
  background: #f4fffc;
  border-color: #8cece2;
  transform: translateY(-4px);
}

.service-card .num {
  color: #009e91;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 0;
}

.service-card h3 {
  font-size: 18px;
  margin: 16px 0 9px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.service-card p {
  font-size: 13px;
  color: #64716c;
  line-height: 1.75;
  margin: 0;
  flex-grow: 1;
}

.case-section {
  background: #eaf5f2;
}

.case-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e7e2;
  border-radius: 5px 26px;
}

.case-side {
  background: linear-gradient(180deg, #07100f33, #07100f 78%), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=80");
  background-color: #07100f;
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
}

.case-side small {
  color: #00dcca;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.case-side h3 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.case-side p {
  color: #b8c5c0;
  font-size: 13px;
  line-height: 1.7;
}

.case-details {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.case-detail h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #009e91;
  margin: 0 0 9px;
}

.case-detail p {
  font-size: 13px;
  line-height: 1.7;
  color: #64716c;
  margin: 0;
}

.placeholder {
  padding: 12px;
  background: #fff9e9;
  border: 1px dashed #dfc47a;
  color: #78622d;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 7px;
}

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 35px;
}

.related-group h3 {
  font-size: 18px;
  margin: 0 0 13px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 14px 10px 10px;
  border: 1px solid #dce7e3;
  border-radius: 5px 14px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s;
}

.related-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-label img {
  width: 54px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px 10px;
}

.related-link:hover {
  border-color: #009e91;
  background: #f4fffc;
}

.related-link span {
  color: #009e91;
}

.faq-section {
  background: #f3f9f7;
}

.faq-list {
  max-width: 900px;
  margin: 35px auto 0;
}

.faq-item {
  border-bottom: 1px solid #d6e3de;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 42px 21px 0;
  font: 700 16px "Manrope";
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 17px;
  color: #009e91;
  font-size: 25px;
  font-weight: 400;
}

.faq-item[open] summary:after {
  content: "−";
}

.faq-item p {
  max-width: 790px;
  color: #64716c;
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  padding: 0 25px 22px 0;
}

.final-cta {
  background: #07100f;
  color: #fff;
  padding: 88px 0;
}

.final-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  align-items: start;
}

.final-cta h2 {
  font-size: clamp(35px, 4.5vw, 52px);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.final-cta h2 span {
  color: #00dcca;
}

.final-cta .lead {
  color: #b7c4bf;
}

.final-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 27px;
  background: #fff;
  border-radius: 5px 22px;
  color: #07100f;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dce6e1;
  background: #fbfdfc;
  border-radius: 7px;
  padding: 12px;
  font-size: 13px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #009e91;
  box-shadow: 0 0 0 3px #00dcca20;
}

.field textarea {
  min-height: 85px;
  resize: vertical;
}

.final-form button {
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
  justify-content: center;
}

.trustline {
  grid-column: 1 / -1;
  color: #74817b;
  font-size: 11px;
  text-align: center;
}

.success {
  display: none;
  grid-column: 1 / -1;
  padding: 12px;
  background: #e5faf5;
  color: #08796e;
  border-radius: 7px;
  font-size: 12px;
}

.success.show {
  display: block;
}

/* Responsive Design */

@media (max-width: 900px) {
  .hero-grid,
  .definition,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 650px;
  }

  .definition-aside {
    position: static;
  }

  .pain-layout {
    grid-template-columns: 1fr 200px 1fr;
  }

  .pain {
    font-size: 11px;
    padding: 12px;
  }

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

  .process-row {
    grid-template-columns: 0.7fr 1.5fr 1.2fr 0.7fr;
    gap: 12px;
  }

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

@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .section {
    padding: 68px 0;
  }

  .dt-hero {
    padding: 70px 0;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-visual,
  .hero-visual img {
    height: 300px;
    min-height: 300px;
  }

  .hero-trust {
    gap: 10px 16px;
  }

  .comparison,
  .related {
    grid-template-columns: 1fr;
  }

  .pain-layout {
    grid-template-columns: 1fr;
  }

  .person-visual {
    height: 180px;
    grid-row: 1;
  }

  .person-orbit {
    width: 150px;
    height: 150px;
  }

  .person-core {
    width: 105px;
    height: 105px;
    font-size: 40px;
  }

  .person-photo {
    width: 135px;
    height: 135px;
  }

  .photo-badge {
    right: -5px;
    bottom: 0;
    font-size: 8px;
  }

  .pain-column {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pain {
    align-items: flex-start;
    font-size: 10px;
    line-height: 1.45;
  }

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

  .why-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 0;
  }

  .process-table {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .process-row.header {
    display: none;
  }

  .process-row {
    display: block;
    border: 1px solid #ffffff2a;
    border-radius: 5px 14px;
    padding: 18px;
    margin-bottom: 10px;
  }

  .process-row > * {
    display: block;
    margin-bottom: 9px;
  }

  .process-row > *:last-child {
    margin-bottom: 0;
  }

  .phase {
    font-size: 17px;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-side {
    min-height: 230px;
  }

  .case-details {
    padding: 22px;
    gap: 17px;
  }

  .final-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .field.full,
  .final-form button,
  .trustline,
  .success {
    grid-column: 1;
  }

  .final-grid {
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
