/* ==========================================================================
   Rugando Community Foundation — Dynamic Contact Page Stylesheet
   File: assets/css/contact.css
   ========================================================================== */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.rcf-contact-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: #fbf8f3;
  color: #16221b;
}

.rcf-contact-page *,
.rcf-contact-page *::before,
.rcf-contact-page *::after {
  box-sizing: border-box;
  min-width: 0;
}

.rcf-ct-container {
  max-width: 1180px;
  margin: 0 auto;
}

.rcf-ct-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.rcf-ct-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.rcf-ct-dot--green { background-color: #15803d; }
.rcf-ct-dot--mint  { background-color: #6ee7b7; }
.rcf-ct-dot--gold  { background-color: #f59e0b; }

/* Hero */
.rcf-ct-hero {
  background-color: #f8f3ea;
  padding: 56px 20px 64px;
  border-bottom: 1px solid #efe9de;
}

.rcf-ct-breadcrumb {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: #64746b;
  overflow-wrap: anywhere;
}

.rcf-ct-hero h1 {
  margin: 0 0 22px;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #111c16;
  overflow-wrap: anywhere;
}

.rcf-ct-lead {
  margin: 0 0 32px;
  max-width: 680px;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  line-height: 1.62;
  color: #4b5d53;
  overflow-wrap: anywhere;
}

.rcf-ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.rcf-ct-btn-primary,
.rcf-ct-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.rcf-ct-btn-primary {
  background-color: #0b8450;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 132, 80, 0.2);
}

.rcf-ct-btn-primary:hover {
  background-color: #096d42;
  transform: translateY(-1px);
}

.rcf-ct-btn-secondary {
  background-color: #ffffff;
  color: #16221b;
  border: 1px solid #dfd7c8;
}

.rcf-ct-btn-secondary:hover {
  border-color: #0b8450;
  color: #0b8450;
}

/* Three Ways to Reach Us */
.rcf-ct-reach {
  background-color: #ffffff;
  border-bottom: 1px solid #efe9de;
  padding: 72px 20px;
}

.rcf-ct-section-title {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #111c16;
  overflow-wrap: anywhere;
}

.rcf-ct-section-sub {
  margin: 0 0 42px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #52645a;
  overflow-wrap: anywhere;
}

.rcf-reach-row {
  display: grid;
  grid-template-columns: 52px minmax(200px, 0.9fr) minmax(240px, 1.4fr);
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid #ece6dc;
}

.rcf-reach-row:last-child {
  border-bottom: 1px solid #ece6dc;
}

.rcf-reach-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-color: #dcfce7;
  color: #0b8450;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.rcf-reach-label {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 700;
  color: #111c16;
  overflow-wrap: anywhere;
}

.rcf-reach-detail {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5d53;
  overflow-wrap: anywhere;
}

/* Volunteer & Member Registration */
.rcf-ct-register {
  padding: 80px 20px;
  background-color: #fbf8f3;
}

.rcf-reg-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.rcf-reg-left p {
  margin: 16px 0 26px;
  font-size: 1.04rem;
  line-height: 1.68;
  color: #4b5d53;
  overflow-wrap: anywhere;
}

.rcf-reg-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0b8450;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11, 132, 80, 0.2);
  margin-bottom: 20px;
}

.rcf-reg-privacy {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: #64746b !important;
  max-width: 440px;
}

.rcf-reg-card {
  background-color: #ffffff;
  border: 1px solid #ece6dc;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(17, 28, 22, 0.05);
}

.rcf-reg-field {
  margin-bottom: 20px;
}

.rcf-reg-field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #16221b;
  margin-bottom: 8px;
}

.rcf-reg-input,
.rcf-reg-select,
.rcf-reg-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #dcd4c5;
  background-color: #fbfaf7;
  font-family: inherit;
  font-size: 0.98rem;
  color: #16221b;
}

.rcf-reg-input:focus,
.rcf-reg-select:focus,
.rcf-reg-textarea:focus {
  outline: none;
  border-color: #0b8450;
  background-color: #ffffff;
}

.rcf-reg-submit {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 999px;
  background-color: #0b8450;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 132, 80, 0.22);
}

.rcf-reg-submit:hover {
  background-color: #096d42;
}

.rcf-reg-notice {
  padding: 14px 18px;
  border-radius: 12px;
  background-color: #dcfce7;
  color: #14532d;
  font-weight: 600;
  margin-bottom: 20px;
}

.rcf-reg-error {
  padding: 14px 18px;
  border-radius: 12px;
  background-color: #fee2e2;
  color: #7f1d1d;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Where to Find Us */
.rcf-ct-find {
  background-color: #ffffff;
  border-top: 1px solid #efe9de;
  border-bottom: 1px solid #efe9de;
  padding: 78px 20px;
}

.rcf-find-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.rcf-find-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f8f3ea;
  border: 1px solid #e6dfd2;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #16221b;
  margin-bottom: 24px;
}

.rcf-hours-card {
  border: 1px solid #ece6dc;
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
}

.rcf-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #f1ece3;
  font-size: 0.95rem;
}

.rcf-hours-row:last-child {
  border-bottom: none;
}

.rcf-hours-day {
  color: #16221b;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rcf-hours-time {
  color: #4b5d53;
  text-align: right;
}

.rcf-find-note {
  margin: 18px 0 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: #52645a;
}

.rcf-map-panel {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e5dfd3;
  background-color: #e8f3ec;
  box-shadow: 0 10px 26px rgba(17, 28, 22, 0.05);
}

.rcf-map-top {
  padding: 16px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #ece6dc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.rcf-map-top strong {
  display: block;
  font-size: 1.05rem;
  color: #111c16;
}

.rcf-map-top span {
  font-size: 0.86rem;
  color: #52645a;
}

.rcf-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #1a73e8;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
}

.rcf-map-frame {
  width: 100%;
  height: 410px;
  border: 0;
  display: block;
}

/* Before You Register FAQ */
.rcf-ct-faq {
  padding: 76px 20px 84px;
  background-color: #fbf8f3;
}

.rcf-ct-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: start;
}

.rcf-ct-faq-list {
  display: flex;
  flex-direction: column;
}

.rcf-ct-faq-item {
  border-bottom: 1px solid #e7e0d4;
}

.rcf-ct-faq-item:first-child {
  border-top: 1px solid #e7e0d4;
}

.rcf-ct-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
  font-weight: 700;
  color: #111c16;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-wrap: anywhere;
}

.rcf-ct-faq-item summary::-webkit-details-marker {
  display: none;
}

.rcf-ct-faq-item summary::after {
  content: "\2304";
  font-family: system-ui, sans-serif;
  font-size: 1.2rem;
  color: #52645a;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.rcf-ct-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.rcf-ct-faq-answer {
  padding: 0 4px 20px;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #4b5d53;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .rcf-reach-row {
    grid-template-columns: 48px 1fr;
    gap: 12px 16px;
  }

  .rcf-reach-detail {
    grid-column: 1 / -1;
  }

  .rcf-reg-grid,
  .rcf-find-grid,
  .rcf-ct-faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .rcf-ct-hero,
  .rcf-ct-reach,
  .rcf-ct-register,
  .rcf-ct-find,
  .rcf-ct-faq {
    padding: 44px 16px;
  }

  .rcf-ct-actions {
    flex-direction: column;
  }

  .rcf-ct-btn-primary,
  .rcf-ct-btn-secondary {
    width: 100%;
  }

  .rcf-reg-card {
    padding: 22px 18px;
  }

  .rcf-map-frame {
    height: 310px;
  }
}