/* =========================================================
   RAUSCHER FINANCIAL — Custom CSS
   Paste into Zoho Sites → Customization → Custom CSS
   Typography matched from live site inspect data.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto+Condensed:wght@300;400;700&family=Source+Serif+4:wght@400;500;600&display=swap');

.rf-page,
.rf-page * { box-sizing: border-box; }

.rf-page {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #666666;
  line-height: 1.5;
  font-size: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* ============ HERO (tan border around slider) ============ */
.rf-hero {
  background: #c9a878;
  padding: 22px 0;
  width: 100%;
}
.rf-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
}

.rf-logo {
  position: absolute;
  top: 22px;
  left: 46px;
  z-index: 10;
  width: 175px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px;
}
.rf-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ SLIDER ============ */
.rf-slider {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  background: #c9a878;
}
.rf-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.rf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.rf-slide.active { opacity: 1; }
.rf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rf-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: #0d5958;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s;
}
.rf-slider:hover .rf-slider-nav { opacity: 1; }
.rf-slider-nav:hover { background: #fff; }
.rf-prev { left: 16px; }
.rf-next { right: 16px; }

.rf-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 4;
}
.rf-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid #fff;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.rf-dot.active { background: #0d5958; }

/* ============ SERVICES GRID ============ */
.rf-services {
  background: #fff;
  padding: 60px 22px;
  width: 100%;
}
.rf-services-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 36px;
}

.rf-service-card {
  display: block;
  padding: 16px 22px 26px;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  background: transparent;
  transition: background 0.25s ease;
  color: inherit;
}
.rf-service-card:hover {
  background: #c9a878;
}

/* SERVICE TILE TITLE — Source Serif 4, matches live site sizing */
.rf-service-card h3 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 400;
  color: #0d5958;
  text-transform: uppercase;
  margin: 0;
  padding: 8px 0 2px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.2;
}

.rf-divider {
  width: 100%;
  height: 2px;
  background: #0d5958;
  border: none;
  margin: 8px auto 22px;
  display: block;
}

/* Hook / Description swap on hover */
.rf-service-text {
  position: relative;
  min-height: 110px;
}
.rf-service-hook,
.rf-service-desc {
  position: absolute;
  inset: 0;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #666666;
  line-height: 1.45;
  transition: opacity 0.28s ease;
}
.rf-service-desc { opacity: 0; }
.rf-service-card:hover .rf-service-hook { opacity: 0; }
.rf-service-card:hover .rf-service-desc { opacity: 1; }

/* ============ MAROON INTRO BAND ============ */
.rf-intro {
  background: #6e1d1a;
  color: #fff;
  padding: 70px 22px 80px;
  text-align: center;
  width: 100%;
}
.rf-intro-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* MAROON HEADINGS — matches Tidy.css h1 from live site */
.rf-intro-title,
.rf-intro-sub {
  font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: 0;
}
.rf-intro-sub { margin-bottom: 36px; }

/* MAROON BODY — matches .pageWidthC p from live site */
.rf-intro-body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  max-width: 940px;
  margin: 0 auto;
  line-height: 1.7;
  padding: 0 0 18px;
}

/* ============ 3-COLUMN ABOUT / CONTACT ============ */
.rf-about {
  background: #fff;
  padding: 60px 22px;
  width: 100%;
}
.rf-about-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* COLUMN TITLE — Source Serif 4, matches live site sizing */
.rf-about-col h3 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 39px;
  color: #0d5958;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}
.rf-about-col .rf-divider {
  margin: 0 auto 22px;
}
.rf-about-col p {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #666666;
  margin: 0 0 14px;
  line-height: 1.55;
}
.rf-about-col ul {
  list-style: disc;
  padding-left: 22px;
  margin: 8px 0 14px;
}
.rf-about-col ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #666666;
  margin-bottom: 8px;
  line-height: 1.5;
}
.rf-about-col a {
  color: #0d5958;
  text-decoration: underline;
  font-weight: 600;
}
.rf-about-col a:hover { color: #6e1d1a; }

/* Contact column specifics */
.rf-contact-block p {
  margin: 0 0 6px;
}
.rf-contact-block .rf-contact-gap {
  margin-top: 16px;
}
.rf-contact-email {
  display: inline-block;
  margin-top: 18px;
  text-decoration: none;
  transition: transform 0.2s;
}
.rf-contact-email:hover { transform: scale(1.05); }
.rf-contact-email svg {
  width: 58px;
  height: auto;
  display: block;
}

/* ============ FOOTER BAND ============ */
.rf-footer {
  background: #0d5958;
  color: #cfd8d8;
  padding: 16px 0;
  width: 100%;
}
.rf-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ============ QUESTIONNAIRE MODAL ============ */
.rf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rf-modal.rf-modal-open { display: flex; }
.rf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.rf-modal-content {
  position: relative;
  width: 100%;
  max-width: 780px;
  height: 88vh;
  max-height: 900px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rf-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #0d5958;
  font-family: 'Open Sans', sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.15s;
}
.rf-modal-close:hover {
  background: #f0f0f0;
  transform: scale(1.08);
}
.rf-modal-iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
body.rf-modal-locked { overflow: hidden; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .rf-services-grid { grid-template-columns: repeat(2, 1fr); }
  .rf-about-inner { grid-template-columns: 1fr; gap: 44px; }
  .rf-intro-title,
  .rf-intro-sub { font-size: 38px; }
}
@media (max-width: 640px) {
  .rf-hero { padding: 14px 0; }
  .rf-hero-inner { padding: 0 14px; }
  .rf-logo { left: 22px; top: 14px; width: 120px; }
  .rf-slider { height: 260px; }
  .rf-services-grid { grid-template-columns: 1fr; gap: 8px; }
  .rf-service-text { min-height: auto; }
  .rf-service-hook,
  .rf-service-desc { position: static; }
  .rf-service-desc { display: none; }
  .rf-service-card:hover .rf-service-hook { opacity: 1; }
  .rf-service-card h3 { font-size: 22px; }
  .rf-intro { padding: 50px 22px; }
  .rf-intro-title,
  .rf-intro-sub { font-size: 30px; }
  .rf-modal { padding: 0; }
  .rf-modal-content {
    height: 100vh;
    max-height: none;
    max-width: 100%;
    border-radius: 0;
  }
}