/* ============================================================
   G9 Contact — contact.css  v1.0
   ============================================================ */

:root {
  --ct-green:    #1a6b3c;
  --ct-green-dk: #0d3d22;
  --ct-dark:     #0d1f16;
  --ct-light:    #f4f8f5;
  --ct-white:    #ffffff;
  --ct-gold:     #c9a84c;
  --ct-text:     #1a2e22;
  --ct-muted:    #5a7060;
  --ct-border:   #dde8e0;
  --ct-radius:   12px;
  --ct-radius-sm:8px;
  --ct-shadow:   0 4px 24px rgba(0,0,0,0.09);
  --ct-wa:       #25d366;
}

*, *::before, *::after { box-sizing: border-box; }

.g9ct-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ct-text);
  line-height: 1.6;
  margin: 0;
}

.ct-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Hero ── */
.ct-hero {
  background: linear-gradient(135deg, var(--ct-green-dk) 0%, var(--ct-green) 100%);
  color: #fff;
  padding: 72px 20px 64px;
  text-align: center;
}
.ct-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 10px;
}
.ct-hero__title {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.ct-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ── Section ── */
.ct-section {
  background: var(--ct-light);
  padding: 64px 0 80px;
}

/* ── Layout ── */
.ct-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .ct-layout {
    grid-template-columns: 1fr 320px;
    align-items: flex-start;
  }
}

/* ── Form Card ── */
.ct-form-col {
  background: var(--ct-white);
  border-radius: var(--ct-radius);
  padding: 40px 36px;
  box-shadow: var(--ct-shadow);
}
.ct-form-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 28px;
}

/* Alerts */
.ct-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--ct-radius-sm);
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 500;
}
.ct-alert--success { background: #eaf7ee; color: #1a6b3c; border: 1px solid #b6e4c6; }
.ct-alert--error   { background: #fef0f0; color: #b32020; border: 1px solid #f5c6c6; }

/* Form */
.ct-form { display: flex; flex-direction: column; gap: 20px; }
.ct-form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ct-text);
}
.ct-req { color: var(--ct-green); }

.ct-field input,
.ct-field select,
.ct-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius-sm);
  font-size: 0.95rem;
  color: var(--ct-text);
  background: var(--ct-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  width: 100%;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--ct-green);
  box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
}
.ct-field textarea { resize: vertical; min-height: 130px; }

.ct-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ct-green);
  color: #fff;
  border: none;
  border-radius: var(--ct-radius-sm);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
}
.ct-submit-btn:hover  { background: var(--ct-green-dk); }
.ct-submit-btn:active { transform: scale(0.98); }

/* ── Sidebar ── */
.ct-sidebar { display: flex; flex-direction: column; gap: 20px; }

.ct-sidebar-card {
  background: var(--ct-white);
  border-radius: var(--ct-radius);
  padding: 24px;
  box-shadow: var(--ct-shadow);
}
.ct-sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 16px;
}
.ct-sidebar-card p {
  font-size: 0.88rem;
  color: var(--ct-muted);
  margin: 0;
  line-height: 1.6;
}

/* WhatsApp card */
.ct-sidebar-card--whatsapp {
  border-top: 4px solid var(--ct-wa);
}
.ct-whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ct-wa);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  transition: filter 0.2s;
}
.ct-whatsapp-btn:hover { filter: brightness(0.92); }
.ct-sidebar-card__note { font-size: 0.75rem; color: var(--ct-muted); }

/* Social links */
.ct-social-links { display: flex; flex-direction: column; gap: 8px; }
.ct-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--ct-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ct-text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.ct-social-link:hover {
  border-color: var(--ct-green);
  background: rgba(26,107,60,0.04);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .ct-form-col { padding: 28px 20px; }
  .ct-form-row--2col { grid-template-columns: 1fr; }
  .ct-submit-btn { width: 100%; justify-content: center; }
}
