/* ============================================================
   Corporate Website Development — page.css
   Extends ../../style.css — shared tokens and components defined there
   line-height for headings: Inter (cap_height+descender)/UPM + 0.20 buffer = 1.15
   ============================================================ */

/* ── Service page hero ────────────────────────────────────── */
.svc-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  padding-top: 4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.svc-hero-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.svc-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.svc-hero-h1 {
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  font-size: clamp(2rem, min(4.5vw, 8svh), 4.25rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
  max-width: 1060px;
}

.svc-hero-tag {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 0.3em;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.42) 20%, rgba(192, 208, 255, 0.42) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.svc-hero-sub {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.svc-hero-sub a {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  text-decoration: none;
}

.svc-hero-sub a:hover {
  text-decoration: underline;
}


/* ── Breadcrumb ─────────────────────────────────────────────── */
.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.svc-bc-home {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s;
}

.svc-bc-home:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.svc-bc-current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.875rem;
  background: var(--accent);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  white-space: nowrap;
}

.svc-bc-arrow {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.8;
}


/* ── Hero price + example image ───────────────────────────── */
.hero-price-block {
  margin: 0.75rem 0 1.75rem;
}

.hero-price-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0;
}

.hero-price-label {
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-price-amount {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero-price-original {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--muted);
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.5;
}

.hero-order-btn {
  margin-left: 0.875rem;
}

.hero-example-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  align-self: center;
}

.hero-example-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── Deliverables ──────────────────────────────────────────── */
.deliverables-section {
  background: var(--surface);
}

.deliverables-head {
  margin-bottom: 4rem;
  max-width: 640px;
}

.deliverables-intro {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.deliverable-item {
  background: var(--surface);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}

.deliverable-item:hover {
  background: var(--surface2);
}

.deliverable-icon {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 1.25rem;
  user-select: none;
}

.deliverable-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

.deliverable-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.85;
}

.deliverable-desc a {
  color: var(--accent);
  text-decoration: none;
}

.deliverable-desc a:hover {
  text-decoration: underline;
}


/* ── Process steps ─────────────────────────────────────────── */
.steps-list {
  border-top: 1px solid var(--border);
}

.step-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, padding-left 0.2s, padding-right 0.2s;
}

.step-row:hover {
  background: rgba(59, 130, 246, 0.03);
  padding-left: 1rem;
  padding-right: 1rem;
}

.step-left {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.step-num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  flex-shrink: 0;
}

.step-name {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.85;
  padding-top: 0.25rem;
}


/* ── Traffic Readiness ─────────────────────────────────────── */
.readiness-section {
  background: var(--surface2);
}

.readiness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.readiness-left {
  position: sticky;
  top: 5.5rem;
}

.readiness-body {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.readiness-body a {
  color: var(--accent);
  text-decoration: none;
}

.readiness-body a:hover {
  text-decoration: underline;
}

.readiness-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.readiness-card {
  background: var(--surface2);
  padding: 2rem 2.25rem;
  transition: background 0.2s;
}

.readiness-card:hover {
  background: var(--surface);
}

.readiness-card-label {
  display: block;
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.readiness-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}

.readiness-card-desc a {
  color: var(--accent);
  text-decoration: none;
}

.readiness-card-desc a:hover {
  text-decoration: underline;
}


/* ── Corporate architecture section ───────────────────────── */
.arch-section {
  background: var(--bg);
}


/* ── Who it's for ──────────────────────────────────────────── */
.fit-section {
  background: var(--bg);
}

.fit-head {
  margin-bottom: 3.5rem;
}

.compare-list li a {
  color: var(--accent);
  text-decoration: none;
}

.compare-list li a:hover {
  text-decoration: underline;
}


/* ── Active nav link ───────────────────────────────────────── */
.nav-dropdown a.nav-active {
  color: var(--accent);
}


/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .svc-hero-inner {
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
  }

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

  .readiness-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .readiness-left {
    position: static;
  }
}

@media (max-width: 900px) {
  .step-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .step-left {
    gap: 0.75rem;
  }
}

@media (max-width: 760px) {
  .svc-hero-inner {
    display: block;
  }

  .hero-example-img {
    display: none;
  }
}

@media (max-width: 640px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .step-row {
    padding: 1.75rem 0;
  }
}
