/* ==========================================================================
   Contact & Thank You Pages
   Prefix: .ct-  (reuses design tokens from assets/css/tokens.css)
   ========================================================================== */

.ct-main {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ct-container {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ct-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--orange);
}
.ct-eyebrow.light {
  color: #94A3B8;
}

/* Hero */
.ct-hero {
  background: var(--navy);
  color: #FFFFFF;
  padding: 72px 0 40px;
}
.ct-hero h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 20px;
}
.ct-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #C7D3D9;
  max-width: 680px;
  margin: 0;
}
.ct-lead p {
  margin: 0 0 14px;
  font-size: inherit;
  line-height: inherit;
}
.ct-lead p:last-child {
  margin-bottom: 0;
}

/* Meta strip */
.ct-meta {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.ct-meta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8FA3AC;
}
.ct-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ct-meta-item strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* Contact body */
.ct-section {
  background: var(--navy);
  color: #FFFFFF;
  padding: 64px 0 88px;
}
.ct-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.ct-col h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 18px;
}
.ct-col .ct-lead {
  color: #B9C8CD;
}
.ct-points {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.ct-point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #D3DEE2;
  font-size: 15px;
  line-height: 1.55;
}
.ct-point b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  padding-top: 2px;
}

/* Form card */
.ct-form-card {
  background: var(--white);
  color: var(--basalt);
  padding: 34px;
  border-radius: var(--radius-control);
  border-top: 4px solid var(--orange);
  box-shadow: 0 18px 40px rgba(6, 18, 26, 0.22);
}
.ct-form-head {
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mist);
}
.ct-form-head h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 6px;
}
.ct-form-head p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.5;
}
.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ct-field {
  display: grid;
  gap: 8px;
}
.ct-field.full {
  grid-column: 1 / -1;
}
.ct-field label {
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
}
.ct-field .ct-req {
  color: var(--orange);
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--basalt);
  background: var(--white);
  border: 1px solid #BCC9CE;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ct-field textarea {
  min-height: 120px;
  resize: vertical;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #93A4AC;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16, 42, 58, 0.1);
  outline: none;
}
.ct-submit {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}
.ct-form-note {
  margin: 16px 0 0;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.55;
}

/* Thank you page */
.ct-ty {
  background: var(--mineral);
  padding: 80px 0 96px;
}
.ct-ty-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-control);
  box-shadow: 0 12px 32px rgba(16, 42, 58, 0.07);
}
.ct-ty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 0 24px;
  border-radius: 50%;
  background: #E7F1EC;
  color: var(--green);
  font-size: 26px;
  line-height: 1;
}
.ct-ty-card h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 16px;
}
.ct-ty-card p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 16px;
}
.ct-ty-steps {
  display: grid;
  gap: 14px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.ct-ty-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--mist);
  color: var(--slate);
  font-size: 15px;
  line-height: 1.55;
}
.ct-ty-step b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.ct-ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}
.ct-fineprint {
  margin: 28px 0 0;
  color: var(--steel);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .ct-hero {
    padding: 52px 0 32px;
  }
  .ct-section {
    padding: 40px 0 64px;
  }
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ct-ty {
    padding: 48px 0 64px;
  }
  .ct-form-card,
  .ct-ty-card {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .ct-form-grid {
    grid-template-columns: 1fr;
  }
  .ct-meta-inner {
    gap: 10px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-field input,
  .ct-field select,
  .ct-field textarea {
    transition: none;
  }
}

/* Contact details, map section and light section variant */
.ct-section.light {
  background: var(--mineral);
  color: var(--basalt);
  padding: 64px 0 80px;
}
.ct-section.light .ct-eyebrow {
  color: var(--steel);
}
.ct-section.light h2 {
  color: var(--basalt);
}
.ct-section.light .ct-lead {
  color: var(--slate);
}
.ct-details {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ct-details-title {
  margin: 20px 0 12px;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ct-detail {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ct-detail span {
  color: #8FA3AC;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 3px;
}
.ct-detail strong {
  color: var(--mist);
  font-size: 15px;
  font-weight: 500;
}
.ct-map-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.ct-map img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #D8DFE2;
  border: 1px solid var(--line);
}
@media (max-width: 980px) {
  .ct-map-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .ct-detail {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Thank-you page additions */
.ct-ty-step-title {
  margin: 28px 0 8px;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ct-ty-links {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.ct-ty-links a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.ct-ty-links a:hover {
  border-bottom: 2px solid var(--orange);
}

/* Inquiry form: honeypot field and validation notice */
.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ct-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #B83A3A;
  border-left-width: 3px;
  background: #FBECEC;
  color: #8E2F2F;
  font-size: 14px;
  line-height: 1.5;
}
