/* ============ Contact ============ */

/* Hero is sized to fill viewport so booking widget is always above-the-fold */
.ctc-hero {
  /* minus nav (80px) — adjust if nav height changes */
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: stretch;
  padding: 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.ctc-hero > .container-wide { width: 100%; padding-top: 24px; padding-bottom: 24px; }

.ctc-split {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.55fr);
  gap: 24px;
  align-items: stretch;
  min-height: calc(100vh - 128px);
}

/* --- Left: dark aside with headline + quick contacts --- */
.ctc-aside {
  background: #0b0c0e;
  color: #f2f3f5;
  border-radius: var(--radius-xl);
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.ctc-aside::after {
  /* subtle grid texture */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at bottom right, rgba(0,0,0,0.6), transparent 70%);
  pointer-events: none;
}
.ctc-aside > * { position: relative; z-index: 1; }

.ctc-aside .eyebrow { color: rgba(255,255,255,0.56); }
.ctc-aside h1 {
  margin: 2px 0 0;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #f5f7fa;
  max-width: 16ch;
}
.ctc-lede {
  margin: 0;
  max-width: 40ch;
  color: rgba(255,255,255,0.72);
}

.ctc-quick {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ctc-quick .quick-item { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.ctc-quick .mono {
  color: rgba(255,255,255,0.5);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}
.ctc-quick .val {
  font-size: 14px;
  line-height: 1.3;
  color: #f2f3f5;
}
a.quick-item:hover .val { color: var(--accent); }

/* --- Right: booking widget fills panel, no frame --- */
.ctc-book {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.14);
  overflow: hidden;
  display: flex;
  min-height: 640px;
}
.ctc-book .calendly-inline-widget {
  flex: 1;
  width: 100%;
  min-height: 640px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
/* Defensive: hide any internal scroll artefacts if they reach our wrapper */
.calendly-inline-widget,
.calendly-inline-widget .simplebar-content-wrapper {
  overflow: hidden !important;
}

/* Responsive */
@media (max-width: 860px) {
  .ctc-hero { min-height: 0; }
  .ctc-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ctc-aside { padding: 32px; }
  .ctc-aside h1 { font-size: clamp(32px, 6.2vw, 44px); }
  .ctc-aside .ctc-quick { grid-template-columns: repeat(2, 1fr); }
  .ctc-book { min-height: 720px; }
}
@media (max-width: 560px) {
  .ctc-aside { padding: 28px 22px; gap: 16px; border-radius: var(--radius-l); }
  .ctc-aside h1 { font-size: clamp(28px, 8vw, 40px); }
  .ctc-quick { grid-template-columns: 1fr !important; gap: 12px; padding-top: 16px; }
  .ctc-book { min-height: 780px; border-radius: var(--radius-l); }
  .ctc-book .calendly-inline-widget { min-height: 780px; }
  .ctc-hero > .container-wide { padding-top: 16px; padding-bottom: 16px; }
}

/* ============ Next steps ============ */
.next-steps { padding: clamp(48px, 7vw, 80px) 0; }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.steps li {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.steps li:last-child { border-right: 0; }
.steps li::before {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 44px; height: 2px; background: var(--accent);
}
.steps .mono { color: var(--ink-3); display: block; margin-bottom: 20px; }
.steps h4 { margin: 0 0 12px; }
.steps p { margin: 0; max-width: 32ch; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .steps li:last-child { border-bottom: 0; }
}
