/* ═══════════════════════════════════════════════════════════════
   RHIVEX — CONTACT TEMPLATE STYLES
   ═══════════════════════════════════════════════════════════════ */

.rh-page-hero-center { padding: 120px 56px 100px; max-width: 1440px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.rh-page-hero-center .breadcrumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 500; opacity: 0; animation: fadeUp 0.9s 0.2s forwards; }
.rh-page-hero-center .breadcrumb a { color: var(--muted); text-decoration: none; }
.rh-page-hero-center .breadcrumb .sep { color: var(--accent-soft); }
.rh-page-hero-center .breadcrumb .current { color: var(--ink); }
.rh-page-hero-center h1 { font-size: clamp(54px, 7vw, 124px); line-height: 0.95; margin-bottom: 28px; color: var(--ink); }
.rh-page-hero-center h1 em { color: var(--accent); }
.rh-page-hero-center h1 .word { display: inline-block; opacity: 0; transform: translateY(40px); }
.rh-page-hero-center h1 .word:nth-child(1) { animation: wordIn 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.rh-page-hero-center h1 .word:nth-child(2) { animation: wordIn 1s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.rh-page-hero-center .lead { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; font-size: 22px; max-width: 680px; margin: 0 auto; color: var(--charcoal); opacity: 0; animation: fadeUp 0.9s 0.85s forwards; }

/* CHANNELS */
.rh-channels { padding: 60px 56px 100px; max-width: 1440px; margin: 0 auto; position: relative; z-index: 2; }
.rh-channels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rh-channel { background: var(--paper); padding: 40px 32px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform 0.5s, border-color 0.5s, box-shadow 0.5s; }
.rh-channel::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.rh-channel:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 30px 60px -25px rgba(14, 14, 14, 0.18); }
.rh-channel:hover::before { transform: scaleX(1); }
.rh-channel-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; transition: background 0.4s; }
.rh-channel:hover .rh-channel-icon { background: var(--accent); }
.rh-channel-icon svg { width: 22px; height: 22px; color: var(--accent); transition: color 0.4s; }
.rh-channel:hover .rh-channel-icon svg { color: var(--cream); }
.rh-channel .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; display: block; }
.rh-channel h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 6px; line-height: 1.25; }
.rh-channel .meta { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.55; }
.rh-channel .arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; transition: gap 0.3s; }
.rh-channel:hover .arrow { gap: 14px; }

/* FORM SPLIT */
.rh-form-split { padding: 30px 56px 130px; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; position: relative; z-index: 2; }
.rh-form-aside { padding-top: 20px; position: sticky; top: 120px; }
.rh-form-aside .eyebrow { display: block; margin-bottom: 18px; }
.rh-form-aside h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin-bottom: 24px; }
.rh-form-aside h2 em { color: var(--accent); }
.rh-form-aside > p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 36px; max-width: 380px; }
.rh-info-list { display: flex; flex-direction: column; gap: 22px; padding-top: 30px; border-top: 1px solid var(--line); }
.rh-info-row { display: flex; gap: 14px; align-items: flex-start; }
.rh-info-row svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.rh-info-row .h { font-family: 'Fraunces', serif; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.rh-info-row p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

.rh-form-card { background: var(--paper); padding: 48px 44px; border: 1px solid var(--line); position: relative; }
.rh-form-card .form-head { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.rh-form-card .form-head .eyebrow { display: block; margin-bottom: 12px; }
.rh-form-card .form-head h3 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 400; color: var(--ink); }
.rh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.rh-form-group { display: flex; flex-direction: column; }
.rh-form-group.full { grid-column: span 2; }
.rh-form-group label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.rh-form-group input, .rh-form-group select, .rh-form-group textarea {
  padding: 14px 16px; background: var(--cream); border: 1px solid var(--line-strong);
  font-family: inherit; font-size: 14px; color: var(--ink);
  transition: border-color 0.3s, background 0.3s; outline: none;
}
.rh-form-group select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23857C70' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.rh-form-group textarea { resize: vertical; min-height: 130px; }
.rh-form-group input:focus, .rh-form-group select:focus, .rh-form-group textarea:focus { border-color: var(--accent); background: var(--cream); }
.rh-form-group input::placeholder, .rh-form-group textarea::placeholder { color: var(--muted-2); }
.rh-form-actions { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rh-form-actions .note { font-size: 12px; color: var(--muted); max-width: 300px; line-height: 1.55; }
.rh-form-actions .note a { color: var(--accent); }

/* VISIT / MAP */
.rh-visit { padding: 100px 56px; background: var(--ink); color: var(--cream); position: relative; z-index: 2; overflow: hidden; }
.rh-visit::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-soft), transparent); }
.rh-visit-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.rh-visit-inner { max-width: 1440px; margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.rh-visit-text .eyebrow { color: var(--accent-soft); display: block; margin-bottom: 22px; }
.rh-visit-text h2 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.05; margin-bottom: 24px; color: var(--cream); }
.rh-visit-text h2 em { color: var(--accent-soft); }
.rh-visit-text > p { font-size: 16px; color: rgba(245, 237, 224, 0.65); line-height: 1.8; margin-bottom: 28px; max-width: 460px; }
.rh-visit-meta { padding-top: 24px; border-top: 1px solid var(--line-cream); }
.rh-visit-meta-row { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.rh-visit-meta-row svg { width: 18px; height: 18px; color: var(--accent-soft); flex-shrink: 0; margin-top: 3px; }
.rh-visit-meta-row strong { color: var(--cream); font-weight: 600; display: block; font-size: 14px; margin-bottom: 2px; }
.rh-visit-meta-row span { color: rgba(245, 237, 224, 0.6); font-size: 13px; line-height: 1.5; }
.rh-map-frame { position: relative; aspect-ratio: 5/4; overflow: hidden; border: 1px solid var(--line-cream); background: linear-gradient(135deg, #2a2725, #1a1916); }
.rh-map-frame iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.4) contrast(0.92) brightness(0.85); }
.rh-map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); background: var(--accent); color: var(--cream); padding: 10px 16px; font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.5); pointer-events: none; display: flex; align-items: center; gap: 8px; animation: pulsePin 2.4s ease-in-out infinite; }
.rh-map-pin::after { content: ''; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid var(--accent); }
@keyframes pulsePin {
  0%, 100% { transform: translate(-50%, -100%) scale(1); }
  50%      { transform: translate(-50%, -100%) scale(1.05); }
}

/* FAQ */
.rh-faq { padding: 130px 56px; max-width: 1440px; margin: 0 auto; position: relative; z-index: 2; }
.rh-faq-head { text-align: center; margin-bottom: 70px; }
.rh-faq-head .eyebrow { display: block; margin-bottom: 18px; }
.rh-faq-head h2 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; }
.rh-faq-head h2 em { color: var(--accent); }
.rh-faq-head p { font-size: 16px; color: var(--muted); margin-top: 18px; line-height: 1.7; max-width: 540px; margin-left: auto; margin-right: auto; }
.rh-faq-list { display: flex; flex-direction: column; }
.rh-faq-item { border-top: 1px solid var(--line); padding: 4px 0; }
.rh-faq-item:last-child { border-bottom: 1px solid var(--line); }
.rh-faq-q {
  width: 100%; background: transparent; border: none; cursor: pointer;
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; color: var(--ink);
  text-align: left; transition: color 0.3s;
}
.rh-faq-q:hover { color: var(--accent); }
.rh-faq-q .icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.4s, border-color 0.4s, transform 0.4s; color: var(--ink);
}
.rh-faq-item.open .rh-faq-q .icon { background: var(--accent); border-color: var(--accent); color: var(--cream); transform: rotate(45deg); }
.rh-faq-q .icon svg { width: 12px; height: 12px; }
.rh-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
.rh-faq-a-inner { padding: 0 0 30px; max-width: 760px; font-size: 15px; color: var(--charcoal); line-height: 1.85; }
.rh-faq-item.open .rh-faq-a { max-height: 600px; }

/* FINAL CTA */
.rh-final-cta { padding: 130px 56px; background: var(--cream-2); text-align: center; position: relative; z-index: 2; overflow: hidden; }
.rh-final-cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(92, 74, 56, 0.08), transparent 60%); border-radius: 50%; pointer-events: none; }
.rh-final-cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.rh-final-cta .eyebrow { display: block; margin-bottom: 22px; }
.rh-final-cta h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; margin-bottom: 26px; }
.rh-final-cta h2 em { color: var(--accent); }
.rh-final-cta p { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 540px; margin: 0 auto 36px; }

/* RESPONSIVE */
@media (max-width: 968px) {
  .rh-page-hero-center { padding: 50px 22px 60px; }
  .rh-channels { padding: 30px 22px 60px; }
  .rh-channels-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rh-form-split { padding: 20px 22px 80px; grid-template-columns: 1fr; gap: 40px; }
  .rh-form-aside { position: static; padding-top: 0; }
  .rh-form-card { padding: 32px 22px; }
  .rh-form-row { grid-template-columns: 1fr; gap: 16px; }
  .rh-form-group.full { grid-column: span 1; }
  .rh-form-actions { flex-direction: column-reverse; align-items: flex-start; }
  .rh-visit { padding: 70px 22px; }
  .rh-visit-inner { grid-template-columns: 1fr; gap: 50px; }
  .rh-faq, .rh-final-cta { padding: 70px 22px; }
  .rh-faq-q { font-size: 18px; padding: 22px 0; }
}
