/* ============================================
   Contact Page — Page-Specific Styles
   Extends the Platynum design system (styles.css)
   Prefix: ct-
   ============================================ */

.nav-active {
  color: var(--mint-600) !important;
  font-weight: 700 !important;
}

/* ============================================================
   HERO
   ============================================================ */
.ct-hero {
  position: relative;
  background: var(--bg-dark);
  padding: 160px 0 90px;
  overflow: hidden;
  text-align: center;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(14,26,22,0.97), rgba(20,36,30,0.95)),
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(72,192,136,0.12), transparent 65%),
    radial-gradient(ellipse 40% 50% at 85% 100%, rgba(47,168,112,0.08), transparent 55%);
  z-index: 1;
}

.ct-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 10%, transparent 80%);
}

.ct-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
}

.ct-eyebrow {
  background: rgba(72,192,136,0.1) !important;
  border-color: rgba(72,192,136,0.22) !important;
  color: var(--mint-300) !important;
  margin-bottom: 28px;
}

.ct-h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.ct-h1 em {
  font-style: italic;
  color: var(--mint-400);
}

.ct-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   MAIN CONTACT
   ============================================================ */
.ct-main {
  background: #f5faf7;
  padding: 100px 0;
}

.ct-main-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

/* ---- INFO COLUMN ---- */
.ct-info-h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: #1a2e25;
  margin: 18px 0 20px;
}
.ct-info-h2 em {
  font-style: italic;
  color: var(--mint-500);
}

.ct-info-lead {
  font-size: 0.96rem;
  color: #4a5650;
  line-height: 1.72;
  margin-bottom: 44px;
  max-width: 440px;
}

.ct-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.ct-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ct-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(72,192,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-500);
  flex-shrink: 0;
}

.ct-detail-content strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 6px;
}

.ct-detail-content a,
.ct-detail-content span {
  display: block;
  font-size: 0.98rem;
  color: #1a2e25;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s;
}
.ct-detail-content a:hover {
  color: var(--mint-500);
}

.ct-reassure {
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(72,192,136,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-re-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #4a5650;
  font-weight: 500;
}
.ct-re-item svg {
  color: var(--mint-500);
  flex-shrink: 0;
}

/* ============================================================
   FORM
   ============================================================ */
.ct-form {
  background: #fff;
  border-radius: 20px;
  padding: 44px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 50px rgba(14,26,22,0.08);
}

.ct-form-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a2e25;
  margin: 0 0 28px;
  line-height: 1.25;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-field {
  margin-bottom: 22px;
}

.ct-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a2e25;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.ct-req {
  color: var(--mint-500);
  font-weight: 700;
}

.ct-optional {
  color: rgba(0,0,0,0.4);
  font-weight: 400;
  font-style: italic;
}

.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="tel"],
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--sans);
  color: #1a2e25;
  background: #fafbfa;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: rgba(0,0,0,0.35);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--mint-400);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(72,192,136,0.12);
}

.ct-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%234a5650'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
  cursor: pointer;
}

.ct-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.ct-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #4a5650;
  cursor: pointer;
  padding: 11px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  background: #fafbfa;
  transition: all 0.2s;
  margin-bottom: 0;
}

.ct-check:hover {
  border-color: rgba(72,192,136,0.3);
  background: #fff;
}

.ct-check input[type="checkbox"] {
  accent-color: var(--mint-500);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.ct-check:has(input:checked) {
  border-color: var(--mint-400);
  background: rgba(72,192,136,0.06);
  color: #1a2e25;
}

/* Submit button */
.ct-submit {
  width: 100%;
  padding: 16px 24px;
  background: var(--mint-500);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.12s, box-shadow 0.2s;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(72,192,136,0.25);
}

.ct-submit:hover {
  background: var(--mint-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(72,192,136,0.32);
}

.ct-submit:active {
  transform: translateY(0);
}

.ct-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.ct-form-privacy {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.45);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.5;
}

/* Status messages */
.ct-form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 22px;
  font-weight: 500;
  line-height: 1.5;
}

.ct-status-success {
  display: block;
  background: rgba(72,192,136,0.1);
  border: 1px solid rgba(72,192,136,0.3);
  color: var(--mint-600);
}

.ct-status-error {
  display: block;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #dc2626;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .ct-main-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .ct-info-lead { max-width: 100%; }
}

@media (max-width: 640px) {
  .ct-hero { padding: 130px 0 64px; }
  .ct-main { padding: 64px 0; }
  .ct-form { padding: 28px 22px; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-checks { grid-template-columns: 1fr; }
}
