/* ═══════════════════════════════════════════════════════════════
   PAGE-COMMERCIAL-SPACE.CSS
   Styles for the Commercial Space service page.
   Depends on the global CSS variables defined in :root (style.css)
═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   1. HERO
────────────────────────────────────────────── */
.cs-hero .inner-hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
}

/* ──────────────────────────────────────────────
   2. INTRO — two-column layout
────────────────────────────────────────────── */
.cs-intro {
  background: var(--white);
}

.cs-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Text column */
.cs-intro-text .section-label {
  margin-bottom: 12px;
}

.cs-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 20px;
}

.cs-body-text {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Image column */
.cs-img-stack {
  position: relative;
}

.cs-img-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
  box-shadow: var(--shadow-xl);
}

.cs-img-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  min-width: 190px;
}

.cs-img-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

.cs-img-badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-img-badge strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.cs-img-badge span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ──────────────────────────────────────────────
   3. PROCESS STEPS
────────────────────────────────────────────── */
.cs-process {
  background: var(--off-white);
}

.cs-process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.cs-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cs-step {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr);
}

.cs-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--tr);
}

.cs-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cs-step:hover::before {
  opacity: 1;
}

.cs-step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
  letter-spacing: -0.02em;
  user-select: none;
  transition: color var(--tr);
}

.cs-step:hover .cs-step-number {
  color: var(--accent-dim);
}

.cs-step-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-dark);
  transition: background var(--tr), color var(--tr);
}

.cs-step:hover .cs-step-icon {
  background: var(--accent);
  color: var(--primary-dark);
}

.cs-step-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cs-step-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ──────────────────────────────────────────────
   4. QUOTE + CTA SECTION
────────────────────────────────────────────── */
.cs-quote-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cs-quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,212,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 20%, rgba(0,212,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cs-quote-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cs-quote-mark {
  font-family: var(--font-heading);
  font-size: 7rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
}

.cs-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  color: var(--white);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 18px;
  border: none;
  padding: 0;
}

.cs-quote-attr {
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 48px;
}

.cs-cta-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  padding: 15px 32px;
}

/* ──────────────────────────────────────────────
   5. SPACE TYPES GRID
────────────────────────────────────────────── */
.cs-types {
  background: var(--white);
}

.cs-types-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
}

.cs-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cs-type-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
}

.cs-type-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cs-type-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: background var(--tr);
}

.cs-type-card:hover .cs-type-icon {
  background: var(--accent);
  color: var(--primary-dark);
}

.cs-type-label {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  margin: 0;
  padding-top: 10px;
}

/* ──────────────────────────────────────────────
   6. REVEAL ANIMATION (reuse global pattern)
────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ──────────────────────────────────────────────
   7. RESPONSIVE
────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .cs-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cs-intro-img {
    order: -1;
  }

  .cs-img-main {
    aspect-ratio: 16 / 9;
  }

  .cs-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

/* Mobile */
@media (max-width: 640px) {
  .cs-img-badge {
    bottom: -16px;
    left: 12px;
    min-width: unset;
  }

  .cs-step {
    padding: 28px 24px;
  }

  .cs-step-number {
    font-size: 2.5rem;
    top: 16px;
    right: 16px;
  }

  .cs-quote-mark {
    font-size: 5rem;
  }

  .cs-types-grid {
    grid-template-columns: 1fr;
  }

  .cs-type-card {
    padding: 20px 18px;
  }
}

/* ══════════════════════════════════════════
   CLOSING CTA (bottom of each service page)
══════════════════════════════════════════ */
.svc-closing { position: relative; padding: 88px 0; overflow: hidden; }
.svc-closing-bg { position: absolute; inset: 0; z-index: 0; }
.svc-closing-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.18); }
.svc-closing-bg-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,31,46,0.97) 45%, rgba(12,51,72,0.92) 100%); }
.svc-closing .container { position: relative; z-index: 1; }
.svc-closing-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }

.svc-closing-text h2 { color: var(--white); margin-bottom: 14px; }
.svc-closing-text p  { font-size: 15.5px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 32px; }
.svc-contact-items { display: flex; flex-direction: column; gap: 14px; }
.svc-contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  transition: background var(--tr-fast), border-color var(--tr-fast), transform var(--tr);
  text-decoration: none;
}
.svc-contact-item:hover { background: rgba(0,212,255,0.09); border-color: rgba(0,212,255,0.28); transform: translateX(4px); }
.svc-ci-icon {
  width: 42px; height: 42px; background: rgba(0,212,255,0.14);
  border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; color: var(--accent); flex-shrink: 0;
}
.svc-ci-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 2px; }
.svc-ci-val   { display: block; font-size: 14px; color: var(--white); font-weight: 600; }

.svc-form-wrap { background: var(--white); border-radius: var(--r-xl); padding: 40px; box-shadow: 0 24px 80px rgba(0,0,0,0.32); }
.svc-form-wrap h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.svc-form-wrap > p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; }
.svc-form { display: flex; flex-direction: column; gap: 16px; }
.svc-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-form-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; font-family: var(--font-body); font-size: 14.5px; font-weight: 700;
  color: var(--primary); background: var(--accent);
  padding: 15px 24px; border-radius: var(--r-pill); border: none; cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: transform var(--tr), box-shadow var(--tr);
}
.svc-form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,212,255,0.55); }
.svc-form-submit svg { transition: transform var(--tr); }
.svc-form-submit:hover svg { transform: translateX(4px); }
