/* =========================================================
   WEBSITE DEVELOPMENT PAGE
   ========================================================= */

.page-website-development {
  background: #fff;
}

.page-website-development .service-detail-hero .hero-copy h1 .accent {
  color: var(--blue-400);
}

.page-website-development .service-detail-hero .hero-copy .pill {
  margin-bottom: 4px;
}

.page-website-development .service-detail-hero .hero-copy p + p {
  margin-top: 14px;
}

.page-website-development .btn-submit-upper {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 16px 24px;
}

.page-website-development .panel-note a {
  color: var(--blue-400);
  text-decoration: underline;
}

/* Why this matters */
.wd-matters-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wd-matters-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}

.wd-matters-visual {
  display: flex;
  min-height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-grey);
  border: 1px solid var(--line);
}

.wd-matters-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wd-matters-content .section-h2 {
  text-align: left;
  margin-bottom: 20px;
}

.wd-matters-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
}

.wd-matters-cta {
  margin-top: 8px;
  margin-bottom: 40px;
}

.wd-problems-block {
  margin-top: 8px;
}

.wd-problems-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  margin-bottom: 20px;
}

.wd-problems-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.wd-problem-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  background: var(--bg-grey);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  min-height: 96px;
}

.wd-problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-pill-bg);
  border: 1px solid #C8E5FA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
}

.wd-problem-icon .lucide {
  width: 22px;
  height: 22px;
}

.wd-problem-card p {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  margin: 0;
}

/* Service overview */
.wd-overview-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wd-overview-extra {
  margin-top: 8px;
}

.wd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.wd-feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.wd-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue-500);
}

.wd-feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.wd-feature-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* Website types */
.wd-types-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.wd-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.wd-type-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.wd-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
}

.wd-type-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.wd-type-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* Tech stack */
.wd-stack-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wd-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.wd-stack-card {
  background: var(--bg-grey);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
}

.wd-stack-card-wide {
  grid-column: 1 / -1;
}

.wd-stack-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.wd-stack-card > p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 18px;
}

.wd-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wd-stack-tags span {
  background: #fff;
  color: var(--blue-500);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #C8E5FA;
}

.wd-stack-note {
  text-align: center;
  max-width: 720px;
  margin: 40px auto 0;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

.wd-stack-note strong {
  color: var(--text-dark);
}

/* Process timeline */
.wd-process-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wd-timeline {
  position: relative;
  max-width: 1040px;
  margin: 48px auto 0;
  padding: 8px 0;
}

.wd-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 2px;
  transform: translateX(-50%);
  background: var(--line);
  z-index: 0;
}

.wd-timeline-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.wd-timeline-step:last-child {
  margin-bottom: 0;
}

.wd-timeline-step--left .wd-timeline-card {
  grid-column: 1;
  text-align: right;
}

.wd-timeline-step--left .wd-timeline-node {
  grid-column: 2;
  justify-self: center;
}

.wd-timeline-step--right .wd-timeline-node {
  grid-column: 2;
  justify-self: center;
}

.wd-timeline-step--right .wd-timeline-card {
  grid-column: 3;
  text-align: left;
}

.wd-timeline-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 141, 235, 0.35);
  flex-shrink: 0;
}

.wd-timeline-node .lucide {
  width: 24px;
  height: 24px;
}

.wd-timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}

.wd-timeline-label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 8px;
}

.wd-timeline-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.wd-timeline-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
}

/* Industries */
.wd-industry-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wd-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.wd-industry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.wd-industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
}

.wd-industry-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.wd-industry-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.wd-industry-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
}

/* Portfolio case studies */
.wd-portfolio-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.wd-case-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 44px;
}

.wd-case-card {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.wd-case-media {
  position: relative;
  min-height: 280px;
  background: var(--bg-grey);
  border-right: 1px solid var(--line);
}

.wd-case-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.wd-case-body {
  padding: 36px 32px;
  min-width: 0;
}

.wd-case-head {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.wd-case-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 10px;
}

.wd-case-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.wd-case-type {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.wd-case-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E85D4C;
  margin: 18px 0 8px;
}

.wd-case-label-solution {
  color: var(--blue-500);
}

.wd-case-label-result {
  color: #10B981;
}

.wd-case-card > p:not(.wd-case-label) {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
}

.wd-portfolio-section .section-cta-center {
  margin-top: 44px;
}

/* Why choose */
.wd-why-section {
  padding: 80px 0 64px;
  background: #fff;
}

.wd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.wd-why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.wd-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
}

.wd-why-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.wd-why-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* Texas section */
.wd-texas-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wd-texas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}

.wd-texas-copy .section-h2 {
  text-align: left;
}

.wd-texas-copy p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
}

.wd-texas-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.wd-texas-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.wd-texas-list .lucide {
  width: 20px;
  height: 20px;
  color: var(--blue-500);
  flex-shrink: 0;
}

.wd-texas-visual {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-grey);
  min-height: 100%;
}

.wd-texas-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* FAQ */
.page-website-development .wd-faq {
  padding: 80px 0 64px;
  background: #fff;
}

.page-website-development .wd-faq .section-head {
  margin-bottom: 36px;
}

/* Final CTA */
.page-website-development .wd-final-cta {
  padding: 88px 0 48px;
}

.page-website-development .wd-final-cta .project-copy h2 .accent {
  color: var(--blue-400);
}

.page-website-development .wd-final-cta .project-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.page-website-development .wd-final-cta .contact-row {
  margin-top: 40px;
  padding-top: 0;
}

/* Responsive */
@media (max-width: 1080px) {
  .wd-matters-grid,
  .wd-texas-grid {
    grid-template-columns: 1fr;
  }

  .wd-matters-visual {
    min-height: 320px;
  }

  .wd-matters-visual img {
    min-height: 320px;
  }

  .wd-case-card {
    grid-template-columns: 1fr;
  }

  .wd-case-media {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 220px;
  }

  .wd-case-media img {
    min-height: 220px;
  }

  .wd-case-body {
    padding: 28px 24px;
  }

  .wd-problems-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .wd-timeline::before {
    left: 28px;
    transform: none;
  }

  .wd-timeline-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
  }

  .wd-timeline-step--left .wd-timeline-card,
  .wd-timeline-step--right .wd-timeline-card {
    grid-column: 2;
    text-align: left;
  }

  .wd-timeline-step--left .wd-timeline-node,
  .wd-timeline-step--right .wd-timeline-node {
    grid-column: 1;
    grid-row: 1;
  }

  .wd-features-grid,
  .wd-types-grid,
  .wd-industry-grid,
  .wd-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wd-stack-grid {
    grid-template-columns: 1fr;
  }

  .wd-stack-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .wd-problems-cards {
    grid-template-columns: 1fr;
  }

  .wd-features-grid,
  .wd-types-grid,
  .wd-industry-grid,
  .wd-why-grid {
    grid-template-columns: 1fr;
  }

  .wd-case-body {
    padding: 24px 20px;
  }

  .wd-texas-visual img {
    min-height: 260px;
  }

  .page-website-development .wd-final-cta .project-actions {
    flex-direction: column;
  }

  .page-website-development .wd-final-cta .project-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
