/* MutualDivorce.co.in — R9 homepage */
.calculator-section,
.content-section,
.faq-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.r9-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
  background:
    radial-gradient(circle at 93% 8%, rgba(22,123,114,.16), transparent 27%),
    linear-gradient(120deg, rgba(231,245,242,.88), rgba(251,250,247,.76) 52%, rgba(241,232,216,.75));
}

.r9-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(rgba(21,43,61,.22) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}

.r9-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.06fr) minmax(420px,.94fr);
  align-items: center;
  gap: clamp(42px,6vw,84px);
}

.r9-eyebrow {
  margin: 0 0 13px;
  color: #0d5c56;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.r9-hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.6rem,4.2vw,4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.r9-hero h1 span { color: #0d5c56; }

.r9-hero-intro {
  max-width: 650px;
  margin: 25px 0 0;
  color: #3d5262;
  font-size: clamp(1rem,1.6vw,1.18rem);
  line-height: 1.72;
}

.r9-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.r9-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
}

.r9-button-primary { background: #167b72; color: #fff; box-shadow: 0 11px 26px rgba(13,92,86,.22); }
.r9-button-quiet { border-color: #b9c9cc; background: rgba(255,255,255,.72); color: var(--navy); }
.r9-hero-note { max-width: 610px; margin: 21px 0 0; color: #667986; font-size: .82rem; }

.r9-pathfinder {
  padding: 27px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(21,43,61,.12);
  backdrop-filter: blur(16px);
}

.r9-card-kicker,
.r9-result-label {
  margin: 0 0 6px;
  color: var(--red);
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.r9-pathfinder h2 { margin: 0; color: var(--navy); font-size: clamp(1.5rem,2.3vw,1.95rem); line-height: 1.18; }
.r9-pathfinder-head > p:last-child { margin: 9px 0 0; color: var(--text-muted); font-size: .91rem; }
.r9-path-options { display: grid; gap: 9px; margin-top: 22px; }
.r9-path-option {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  color: var(--navy);
  font-weight: 710;
  text-align: left;
  cursor: pointer;
}
.r9-path-option:hover { border-color: #8bb9b4; }
.r9-path-option.is-active { border-color: #167b72; background: #e7f5f2; color: #0d5c56; }
.r9-path-number { color: var(--red); font-size: .7rem; font-weight: 840; letter-spacing: .08em; }
.r9-path-result { margin-top: 17px; padding: 17px 18px; border-radius: 15px; background: var(--navy); color: #fff; }
.r9-path-result h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.r9-path-result > p:not(.r9-result-label) { margin: 7px 0 11px; color: #d8e3e8; font-size: .87rem; line-height: 1.55; }
.r9-path-result a { color: #9ae2da; font-size: .85rem; font-weight: 760; text-underline-offset: 4px; }

.r9-callback-band { position: relative; z-index: 4; margin-top: -42px; }
.r9-callback-grid {
  display: grid;
  grid-template-columns: minmax(220px,.72fr) minmax(0,1.58fr);
  align-items: end;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(21,43,61,.12);
}
.r9-callback-copy h2 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(1.7rem,2.7vw,2.35rem); line-height: 1.1; }
.r9-callback-copy > p:last-child { margin: 11px 0 0; color: var(--text-muted); font-size: .91rem; }
.r9-callback-form { display: grid; grid-template-columns: 1fr 1fr 1.15fr auto; align-items: end; gap: 10px; }
.r9-callback-form label span { display: block; margin: 0 0 6px 3px; color: var(--text-muted); font-size: .7rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.r9-callback-form input,
.r9-callback-form select { width: 100%; height: 49px; margin: 0; padding: 0 12px; border: 1px solid #cad6d9; border-radius: 11px; background: #fcfdfd; color: var(--navy); }
.r9-callback-form .btn-submit { height: 49px; margin: 0; padding-inline: 18px; white-space: nowrap; }
.r9-callback-privacy { grid-column: 2; margin: 9px 2px 0; color: var(--text-muted); font-size: .76rem; }

.r9-process-section { padding: 72px 0; background: var(--off-white); }
.r9-process-heading { max-width: 670px; margin-bottom: 36px; }
.r9-process-heading h2 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(2rem,3vw,3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.r9-process-heading > p:last-child { color: var(--text-muted); }
.r9-process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.r9-process-card { min-height: 224px; overflow: hidden; border: 1px solid var(--border); border-radius: 17px; background: #fff; box-shadow: 0 12px 34px rgba(21,43,61,.08); }
.r9-process-card summary { position: relative; min-height: 154px; padding: 21px 57px 21px 21px; list-style: none; cursor: pointer; background: #eef2f1; border-bottom: 1px solid transparent; }
.r9-process-card summary::-webkit-details-marker { display: none; }
.r9-process-card[open] summary { background: #e4eeeb; border-bottom-color: var(--border); }
.r9-process-card summary span { display: block; color: var(--red); font-size: .75rem; font-weight: 830; letter-spacing: .13em; }
.r9-process-card summary strong { display: block; margin-top: 28px; color: var(--navy); font-family: var(--font-display); font-size: 1.36rem; line-height: 1.14; }
.r9-process-card summary::after { content: "+"; position: absolute; top: 19px; right: 19px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #c7d2d3; border-radius: 50%; background: #fff; color: var(--text-muted); font-weight: 760; }
.r9-process-card[open] summary::after { content: "−"; border-color: #9bbab7; color: #0d5c56; }
.r9-process-card p { margin: 0; padding: 18px 21px 21px; color: var(--text-muted); font-size: .89rem; }
.r9-process-card:not([open]) p { display: none; }

.r9-video-section { padding: 72px 0; background: var(--navy); color: #fff; }
.r9-video-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 64px; }
.r9-video-copy .r9-eyebrow { color: #85d9d0; }
.r9-video-copy h2 { margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(2.15rem,4vw,3.8rem); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; }
.r9-video-copy > p:last-of-type { color: #c5d1d7; }
.r9-video-choices { display: grid; gap: 8px; margin-top: 28px; }
.r9-video-choice { width: 100%; display: grid; grid-template-columns: 40px 1fr; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.045); color: #dce7eb; font-weight: 680; text-align: left; cursor: pointer; }
.r9-video-choice span { color: #79d3c9; font-size: .7rem; }
.r9-video-choice:hover,
.r9-video-choice.is-active { border-color: #67c8bd; background: rgba(103,200,189,.12); color: #fff; }
.r9-video-stage { margin: 0; }
.r9-video-frame { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: #091722; box-shadow: 0 36px 80px rgba(0,0,0,.3); }
.r9-video-frame video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.r9-video-stage figcaption { margin-top: 12px; color: #d4e0e4; font-size: .9rem; }

.r9-assistance-section .mechanism-card {
  padding: 28px;
}

.r9-assistance-section .mechanism-card h3 {
  margin-top: 0;
}

.r9-assistance-section .mechanism-grid {
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .r9-hero-grid { grid-template-columns: 1fr; }
  .r9-pathfinder { max-width: 760px; }
  .r9-callback-grid { grid-template-columns: 1fr; align-items: start; }
  .r9-callback-form { grid-template-columns: 1fr 1fr; }
  .r9-callback-privacy { grid-column: 1/-1; }
  .r9-process-grid { grid-template-columns: 1fr 1fr; }
  .r9-video-layout { grid-template-columns: 1fr; gap: 44px; }
  .r9-video-copy { max-width: 720px; }
}

@media (max-width: 680px) {
  .calculator-section,
  .content-section,
  .faq-section { padding-top: 42px; padding-bottom: 42px; }
  .r9-hero { padding: 54px 0 88px; }
  .r9-hero h1 { font-size: clamp(2.25rem,8.5vw,2.8rem); }
  .r9-hero-actions { display: grid; }
  .r9-button { width: 100%; }
  .r9-pathfinder { padding: 20px; border-radius: 21px; }
  .r9-callback-band { margin-top: -32px; }
  .r9-callback-grid { padding: 22px; border-radius: 19px; }
  .r9-callback-form { grid-template-columns: 1fr; }
  .r9-callback-privacy { grid-column: 1; }
  .r9-process-section { padding: 52px 0; }
  .r9-process-grid { grid-template-columns: 1fr; }
  .r9-process-card { min-height: 0; }
  .r9-process-card summary { min-height: 136px; }
  .r9-video-section { padding: 52px 0; }
  .r9-video-copy h2 { font-size: clamp(2rem,9vw,2.8rem); }
  .r9-video-frame { border-radius: 17px; }
  .r9-assistance-section .mechanism-grid { gap: 16px; margin-top: 24px; }
  .r9-assistance-section .mechanism-card { flex: 0 0 auto; width: 100%; padding: 22px; }
}
