/* Website Development Service Page - Complete Styles */

:root {
  --cyan: #00dcca;
  --deep: #009e91;
  --black: #07100f;
  --muted: #64716c;
  --line: #dce7e3;
  --pale: #f3f9f7;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  background: #fff;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: Manrope, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: 0;
}

p {
  color: var(--muted);
  margin: 0 0 15px;
}

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

.section {
  padding: 96px 0;
}

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

.eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cyan);
}

h2 {
  font-size: clamp(32px, 4.5vw, 53px);
  margin: 16px 0;
  word-spacing: 0.1em;
}

.lead {
  font-size: 16px;
  line-height: 1.85;
  max-width: 720px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 21px;
  background: var(--cyan);
  color: var(--black);
  font-weight: 800;
  border-radius: 5px 15px;
  transition: 0.25s;
  border: 0;
}

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

.btn.outline {
  background: transparent;
  border: 1px solid #ffffff65;
  color: #fff;
}

.btn.dark {
  background: var(--black);
  color: var(--cyan);
}

/* Hero Section */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding: 115px 0 82px;
}

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

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

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

.hero .eyebrow {
  color: var(--cyan);
}

h1 {
  font-size: clamp(42px, 5.7vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.075em;
  margin: 22px 0;
}

.hero h1 span {
  color: var(--cyan);
}

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

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

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

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

.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(70%) brightness(0.62); */
}

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

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

.mock-panel small {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 10px;
}

.mock-row {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}

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

/* Trust Bar */

.trustbar {
  background: #f3f9f7;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}

.trustbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #52645d;
  font-size: 12px;
  font-weight: 800;
}

.trustbar span:before {
  content: "✦";
  color: var(--deep);
  margin-right: 8px;
}

/* Intro Section */

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.intro-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 5px 22px;
  filter: saturate(0.75);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}

.fact {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 5px 14px;
  background: #fff;
}

.fact b {
  display: block;
  font: 800 18px Manrope;
}

.fact small {
  font-size: 11px;
  color: var(--muted);
}

/* Soft Background Section */

.soft {
  background: var(--pale);
}

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

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

/* Pain Layout */

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

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

.pain {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px 15px;
  font-weight: 700;
  font-size: 13px;
}

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

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

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

.person img {
  position: relative;
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 18px 50px #07100f20;
  z-index: 1;
}

.bridge {
  text-align: center;
  max-width: 780px;
  margin: 34px auto 0;
  line-height: 1.8;
}

/* Why Grid */

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

.why-card {
  padding: 23px 20px;
  border: 1px solid var(--line);
  border-radius: 5px 20px;
  min-height: 220px;
  transition: 0.25s;
}

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

.num {
  font: 800 27px Manrope;
  color: var(--deep);
}

.why-card h3 {
  font-size: 17px;
  margin: 15px 0 9px;
}

.why-card p,
.service-card p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

.proof {
  margin-top: 22px;
  padding: 20px 24px;
  background: var(--black);
  color: #fff;
  border-radius: 5px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.proof strong {
  font: 800 25px Manrope;
  color: var(--cyan);
}

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

/* Process Section */

.process {
  background: var(--black);
  color: #fff;
}

.process .eyebrow {
  color: var(--cyan);
}

.process .lead {
  color: #aebdb7;
}

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

.step {
  padding: 23px;
  border: 1px solid #ffffff2c;
  border-radius: 5px 18px;
  background: #ffffff08;
}

.step .num {
  font-size: 30px;
  color: var(--cyan);
}

.step h3 {
  font-size: 18px;
  margin: 16px 0 9px;
}

.step p {
  font-size: 13px;
  color: #b7c4bf;
  line-height: 1.7;
  margin: 0;
}

.process-table {
  margin-top: 35px;
  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: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid #ffffff25;
  align-items: center;
}

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

.process-row.head {
  background: #ffffff0a;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phase {
  font: 800 15px Manrope;
}

.process-row p {
  font-size: 12px;
  color: #b7c4bf;
  margin: 0;
}

.time {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 700;
}

/* Service Grid */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 35px;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 5px 20px;
  background: #fff;
  overflow: hidden;
  transition: 0.25s;
  height: 100%;
  grid-column: span 1 !important;
}

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

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

.service-body {
  padding: 20px 22px 23px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body small {
  font-size: 10px;
  color: var(--deep);
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 0;
}

.service-body h3 {
  font-size: 18px;
  margin: 12px 0 9px;
}

/* Comparison Table */

.compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 5px 18px;
}

.compare table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.compare th,
.compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.compare th {
  background: #f1fbf9;
  font-size: 11px;
}

.compare td {
  color: var(--muted);
}

.compare td:first-child {
  font-weight: 700;
  color: var(--black);
}

.compare tr:last-child td {
  border: 0;
}

.compare .hl {
  background: #eafaf6;
  color: #007e73;
  font-weight: 800;
}

/* Case Study Section */

.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") center / cover;
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.case-side small {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.case-side h3 {
  font-size: 28px;
}

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

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

.case-detail b {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--deep);
}

.case-detail p {
  font-size: 13px;
  margin: 7px 0 0;
}

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

/* Related Section */

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

.related h3 {
  font-size: 18px;
  margin-bottom: 13px;
}

.related a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px 14px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.related a:hover {
  background: #f4fffc;
  border-color: var(--deep);
}

.related a span {
  color: var(--deep);
}

/* FAQ Section */

.faq {
  background: var(--pale);
}

.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: var(--deep);
  font-size: 25px;
  font-weight: 400;
}

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

.faq-item p {
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  padding: 0 25px 22px 0;
}

/* Final CTA Section */

.final {
  background: var(--black);
  color: #fff;
  padding: 88px 0;
}

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

.final h2 {
  font-size: clamp(35px, 4.5vw, 52px);
}

.final h2 span {
  color: var(--cyan);
}

.final .lead {
  color: #b7c4bf;
}

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

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

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

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

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

.status {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #08796e;
}

/* Responsive Design */

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

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

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

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

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

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

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

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

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 85px 0 65px;
  }

  .hero-grid {
    gap: 30px;
  }

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

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

  .trustbar .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .intro {
    gap: 28px;
  }

  .intro-img {
    height: 280px;
  }

  .facts,
  .pain-layout,
  .why-grid,
  .steps,
  .service-grid,
  .related,
  .final-form {
    grid-template-columns: 1fr;
  }

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

  .orbit {
    width: 145px;
    height: 145px;
  }

  .person img {
    width: 125px;
    height: 125px;
  }

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

  .pain {
    font-size: 10px;
    line-height: 1.45;
    padding: 10px;
  }

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

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

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

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

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

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

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

  .case-details {
    padding: 20px;
    gap: 14px;
  }

  .field.full,
  .final-form button,
  .note,
  .status {
    grid-column: 1;
  }

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

/* Scroll Animations */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card animations */
[class*="card"],
[class*="step"] {
  animation-delay: var(--animation-delay, 0ms);
}

/* Parallax effect adjustment */
.hero-visual {
  will-change: transform;
}

/* Smooth counter transitions */
.proof strong {
  transition: all 0.3s ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-visual {
    transform: none !important;
  }
}
