/* ============================================================
   DAILY OPPORTUNITIES — contact.css
   Inherits all design tokens from index.css (:root).
   Covers: hero · form card · info card · tip box · alerts
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   PAGE WRAPPER
   ───────────────────────────────────────────────────────────── */
.ct-page {
  min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.ct-hero {
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 80px) 5% clamp(36px, 5vw, 64px);
}

/* Dot-grid overlay */
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Ambient orb — top right */
.ct-hero::after {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  top: -160px; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67,160,71,.26) 0%, transparent 68%);
  pointer-events: none;
}

.ct-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: ctHeroUp .68s var(--ease-out, cubic-bezier(.22,.61,.36,1)) both;
}

@keyframes ctHeroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hairline bottom rule */
.ct-hero-inner::after {
  content: '';
  display: block;
  margin-top: clamp(28px, 4vw, 44px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.12) 20%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.12) 80%,
    transparent 100%
  );
}

/* Breadcrumb */
.ct-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.50);
  margin-bottom: 18px;
}
.ct-breadcrumb a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: color .2s;
}
.ct-breadcrumb a:hover { color: #fff; }

/* Eyebrow */
.ct-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin: 0 0 10px;
}

/* H1 */
.ct-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.028em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.ct-title em {
  font-style: normal;
  color: var(--amber-bright);
}

/* Lead */
.ct-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(.9rem, 1.8vw, 1rem);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin: 0;
  max-width: 520px;
}

/* ─────────────────────────────────────────────────────────────
   BODY CONTAINER
   ───────────────────────────────────────────────────────────── */
.ct-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 5% clamp(64px, 10vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 36px);
}

/* ─────────────────────────────────────────────────────────────
   TWO-COLUMN GRID
   ───────────────────────────────────────────────────────────── */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

/* ─────────────────────────────────────────────────────────────
   SHARED CARD
   ───────────────────────────────────────────────────────────── */
.ct-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

/* Green top accent strip */
.ct-card-rule {
  height: 3px;
  background: var(--green-bright);
  flex-shrink: 0;
}

.ct-card-body {
  padding: clamp(22px, 4vw, 36px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Card heading with green underline rule */
.ct-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -.015em;
  margin: 0 0 22px;
  padding-bottom: 14px;
  position: relative;
}
.ct-card-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 3px;
  background: var(--green-bright);
  border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────────
   FLASH ALERTS
   ───────────────────────────────────────────────────────────── */
.ct-alert {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: .855rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}
.ct-alert--success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.ct-alert--error,
.ct-alert--danger {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}
.ct-alert--info {
  background: var(--green-light);
  color: var(--green-deep);
  border: 1px solid #A7D7A9;
}

/* ─────────────────────────────────────────────────────────────
   FORM
   ───────────────────────────────────────────────────────────── */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.ct-required { color: var(--amber); }

.ct-input,
.ct-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: var(--dark-text);
  background: var(--green-pale);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-sizing: border-box;
}
.ct-input::placeholder,
.ct-textarea::placeholder { color: var(--light-text); }

.ct-input:hover,
.ct-textarea:hover  { border-color: var(--border-strong); }

.ct-input:focus,
.ct-textarea:focus {
  border-color: var(--green-bright);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,94,32,.10);
}

.ct-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* Submit button — matches btn-search / btn-apply style */
.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--green-deep);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 3px 12px rgba(27,94,32,.25);
  letter-spacing: .01em;
  margin-top: 4px;
  min-height: 46px;
}
.ct-submit:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,94,32,.32);
}
.ct-submit:active  { transform: scale(.98); }
.ct-submit:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────
   INFO CARD ITEMS
   ───────────────────────────────────────────────────────────── */
.ct-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.ct-contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Icon box — matches cat-icon sizing */
.ct-contact-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--green-light);
  border: 1px solid #A7D7A9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  flex-shrink: 0;
}

.ct-contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--light-text);
  margin: 0 0 6px;
}

.ct-contact-value {
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0 0 4px;
}
.ct-contact-value:last-child { margin-bottom: 0; }

.ct-contact-value a {
  color: var(--green-mid);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.ct-contact-value a:hover {
  color: var(--green-deep);
  text-decoration: underline;
}

/* Social buttons */
.ct-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.ct-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--green-pale);
  color: var(--muted-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.ct-social-btn:hover {
  background: var(--green-light);
  color: var(--green-deep);
  border-color: #A7D7A9;
  transform: translateY(-1px);
}
.ct-social-btn:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────
   TIP BOX
   ───────────────────────────────────────────────────────────── */
.ct-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--green-bright);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-card);
}

.ct-tip-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--green-light);
  border: 1px solid #A7D7A9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.ct-tip-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -.01em;
  margin: 0 0 8px;
}

.ct-tip-text {
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: var(--muted-text);
  line-height: 1.75;
  margin: 0;
}
.ct-tip-text a {
  color: var(--green-mid);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.ct-tip-text a:hover {
  color: var(--green-deep);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ct-grid      { grid-template-columns: 1fr; }
  .ct-tip-box   { flex-direction: column; gap: 12px; }
  .ct-hero-inner::after { margin-top: 24px; }
}

/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ct-hero-inner { animation: none !important; }
  .ct-submit,
  .ct-input,
  .ct-textarea,
  .ct-social-btn { transition: none !important; }
}