/* ═══════════════════════════════════════════════════
   CareOff NRI page (nri.html), for families living anywhere outside India
   Load AFTER css/style-dark.css. Everything here is
   prefixed nri- or scoped to .nri-page, so it does not
   touch the homepage.
═══════════════════════════════════════════════════ */

.nri-page {
  color: #1a0040;
  background: #fff;
}

/* Visible keyboard focus: purple on light areas, gold on purple areas */
.nri-page :focus-visible {
  outline: 3px solid #8b5cf6;
  outline-offset: 3px;
}
.nri-hero :focus-visible,
.nri-final-box :focus-visible,
.site-footer :focus-visible,
.pricing-promo :focus-visible {
  outline-color: #f4a623;
}

/* Section rhythm */
.nri-sec { padding: 26px 0; position: relative; }

.nri-lede {
  font-size: 17px;
  line-height: 1.7;
  color: #64748b;
  max-width: 34em;
  margin: 0 0 32px;
}

/* ══════════════════════
   HERO
══════════════════════ */
.nri-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8px;
  padding-bottom: 72px;
}
@media (min-width: 992px) {
  .nri-hero-content {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
  }
}

/* Keep the hero left-aligned on every screen size
   (style-dark.css centres .hero-title / .hero-text below 992px) */
.nri-hero .hero-title,
.nri-hero .hero-text { text-align: left; }

.nri-hero-title { margin-bottom: 22px; }
/* "Living in the US?" eyebrow pill */
.nri-hero-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 20px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(244,166,35,.12);
  border: 1px solid rgba(244,166,35,.38);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f4a623;
}
.nri-hero-lead::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #f4a623;
  box-shadow: 0 0 0 4px rgba(244,166,35,.2);
  flex-shrink: 0;
}

/* City word + full stop never split across lines */
.nri-city-line { white-space: nowrap; }

/* City word: same Playfair italic + hand-drawn underline as the homepage hero.
   js/nri.js swaps Hyderabad / Bengaluru. */
.nri-city {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.nri-city .special-font {
  color: #f4a623;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.nri-city .special-font.is-out { transform: translateY(-30%); opacity: 0; }
.nri-city .special-font.is-in  { transform: translateY(30%);  opacity: 0; transition: none; }

.nri-city-underline {
  position: absolute;
  left: 0;
  bottom: -.2em;
  width: 100%;
  height: .28em;
  overflow: visible;
}
.nri-city-underline path {
  fill: none;
  stroke: #f4a623;
  stroke-width: 8;
  stroke-linecap: round;
  opacity: .8;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}
.nri-city-underline path.is-drawn {
  animation: nriDraw .8s cubic-bezier(.25,1,.5,1) .3s forwards;
}
@keyframes nriDraw { to { stroke-dashoffset: 0; } }

.nri-hero .hero-text {
  max-width: 34em;
  margin-bottom: 22px;
}

/* Buttons */
.nri-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.nri-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px 0 20px;
  border-radius: 60px;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.32);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  transition: background .25s, border-color .25s;
}
.nri-wa-btn:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.nri-wa-icon { width: 22px; height: 22px; fill: #25d366; flex-shrink: 0; }

.nri-hero-meta {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 34em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14.5px;
  color: rgba(255,255,255,.74);
}
.nri-hero-meta li { display: flex; align-items: center; gap: 8px; }
.nri-hero-meta svg {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: none; stroke: #f4a623; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.nri-hero-meta a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
}
.nri-hero-meta a:hover { border-bottom-color: #fff; }

/* Hero photo */
.nri-hero-photo {
  position: relative;
  max-width: 480px;
  margin: 0 0 0 auto;
}
.nri-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(10,0,40,.38), 0 0 0 1px rgba(255,255,255,.08);
}
.nri-hero-badge {
  position: absolute;
  left: -28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: #fff;
  color: #1a0040;
  font-size: 13.5px;
  line-height: 1.35;
  box-shadow: 0 18px 40px rgba(10,0,40,.28);
}
.nri-hero-badge strong { font-weight: 800; }
.nri-hero-badge svg {
  width: 36px; height: 36px; flex-shrink: 0;
  padding: 8px;
  border-radius: 10px;
  background: #f4f0ff;
  fill: none; stroke: #532989; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ══════════════════════
   PAIN POINTS
══════════════════════ */
.nri-moments { background: #fff; }
.nri-moments-head .sec-heading { max-width: 11em; }
.nri-moments-head .nri-lede { margin-bottom: 28px; }
/* Subheading under the heading: short, bold line with a gold bar */
.nri-subhead {
  position: relative;
  margin: 6px 0 28px;
  padding-left: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #532989;
}
.nri-subhead::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f4a623, #e76616);
}

.nri-moment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}
.nri-moment {
  border-top: 1.5px solid #ede9fe;
  padding: 26px 0 30px;
}
.nri-moment-text {
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.2px;
  color: #1a0040;
  margin: 0 0 16px;
}
.nri-moment-fix {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  border-radius: 50px;
  background: #f4f0ff;
  color: #532989;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.nri-moment-fix:hover { background: #ede9fe; color: #532989; }
.nri-moment-fix svg {
  width: 14px; height: 14px;
  fill: none; stroke: #10b981; stroke-width: 2.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ══════════════════════
   STATS
══════════════════════ */
.nri-stats { background: #f4f0ff; }
.nri-stats-head { max-width: 640px; }
.nri-stats-head .nri-lede { color: #4a3a6e; }

.nri-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.nri-stat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 30px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #ede9fe;
}
.nri-stat-value {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: #1a0040;
}
.nri-stat-label {
  margin: 10px 0 22px;
  max-width: 30em;
  font-size: 16px;
  line-height: 1.5;
  color: #334155;
}
.nri-stat-viz { margin-bottom: 18px; }
.nri-stat-note { margin: 12px 0 0; font-size: 13.5px; color: #64748b; }
.nri-stat-source {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid #f0ebfa;
  font-size: 12.5px;
  color: #64748b;
}
.nri-stat-source a { color: #532989; font-weight: 600; }

/* Paired bars: grow from a square baseline, 4px rounded end, value at the tip */
.nri-bars {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  margin: 0;
}
.nri-bars dt {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.nri-bars dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nri-bar {
  display: block;
  height: 16px;
  min-width: 4px;
  border-radius: 0 4px 4px 0;
}
.nri-bar.is-before { background: #b9a3f2; }
.nri-bar.is-after { background: #532989; }
/* US / Canada bars: the visitor's country is highlighted, the other is grey */
.nri-bar.is-us,
.nri-bar.is-ca { background: #cbd5e1; }
html:not([data-country="ca"]) .nri-bar.is-us,
html[data-country="ca"] .nri-bar.is-ca { background: #532989; }
.nri-bar-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a0040;
  white-space: nowrap;
}

/* Waffle: 100 squares, filled ones carry the share */
.nri-waffle {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 3px;
  max-width: 400px;
}
.nri-waffle span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: #e4dafb;
}
.nri-waffle span.on { background: #6d3fc0; }
.nri-legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13.5px;
  color: #334155;
}
.nri-legend li { display: flex; align-items: center; gap: 7px; }
.nri-legend i {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: #e4dafb;
}
.nri-legend i.is-on { background: #6d3fc0; }

/* Data table under the tiles */
.nri-stats-data {
  margin-top: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #ede9fe;
}
.nri-stats-data summary {
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: #532989;
  cursor: pointer;
}
.nri-stats-data table {
  width: 100%;
  margin: 0 0 8px;
  font-size: 14px;
  border-collapse: collapse;
}
.nri-stats-data th,
.nri-stats-data td {
  padding: 10px 22px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #f0ebfa;
}
.nri-stats-data th { font-size: 12.5px; font-weight: 700; color: #64748b; }
.nri-stats-data td { color: #334155; }
.nri-stats-data td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nri-stats-data a { color: #532989; font-weight: 600; }

/* ══════════════════════
   SERVICES
══════════════════════ */
.nri-services { background: #fff; }

/* Decoration behind the photo: a lavender block and a dot grid */
.nri-svc-photo-wrap {
  position: relative;
  padding: 0 18px 18px 0;
}
.nri-svc-photo-wrap::before {
  content: "";
  position: absolute;
  top: 28px; left: 28px; right: 0; bottom: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, #ede9fe 0%, #f7e3ff 100%);
}
.nri-svc-photo-wrap::after {
  content: "";
  position: absolute;
  top: -22px; left: -22px;
  width: 120px; height: 120px;
  background-image: radial-gradient(#c4b5fd 2px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: .9;
}
.nri-svc-photo-wrap .nri-svc-photo { position: relative; z-index: 1; }

.nri-svc-photo {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(83,41,137,.18);
}
.nri-svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nri-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 34px;
}
/* Filled icon inline with the title, description underneath */
.nri-svc {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 12px;
  align-items: center;
  align-content: start;
}
.nri-svc-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #532989, #7c4dcc);
  box-shadow: 0 8px 18px rgba(83,41,137,.24);
}
.nri-svc-icon svg {
  width: 21px; height: 21px;
  fill: none; stroke: #fff; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.nri-svc--alert .nri-svc-icon {
  background: linear-gradient(135deg, #e76616, #f4a623);
  box-shadow: 0 8px 18px rgba(231,102,22,.26);
}
.nri-svc h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.25;
  color: #1a0040;
  margin: 0;
}
.nri-svc p {
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 1.65;
  color: #5a6678;
  margin: 0;
}

/* ══════════════════════
   HOW IT WORKS
   (phone frames come from style-dark.css)
══════════════════════ */
.nri-how { background: linear-gradient(180deg, #fff 0%, #f7e3ff 100%); }
.nri-sec.nri-how { padding: 64px 0; }
.nri-how .sec-sub { margin-bottom: 36px; }
.nri-how [data-carousel]:not(.is-carousel) { --bs-gutter-y: 0; }
.nri-how .bg-grid { height: 100%; padding: 26px 22px 30px; }
.nri-how .hiw-phone-frame { max-width: 230px; margin: 0 auto; }
.nri-how .hiw-card-title { font-size: clamp(16px, 1.35vw, 20px); }

.nri-how-cta {
  text-align: center;
  margin-top: 44px;
}
.nri-how-cta p {
  font-size: 16px;
  color: #4a3a6e;
  margin: 0 0 14px;
}
.nri-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 60px;
  background: #fff;
  border: 1.5px solid #532989;
  color: #532989;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .93rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nri-btn-outline:hover { background: #532989; color: #fff; }

/* ══════════════════════
   TESTIMONIALS
   (card styles come from .tc in style-dark.css)
══════════════════════ */
.nri-testi { background: #f4f0ff; }
.nri-testi .tc { height: 100%; margin: 0; display: flex; flex-direction: column; }
.nri-testi .tc-quote {
  color: #475569;
  font-size: 15px;
  flex: 1;
}
.nri-testi .tc-quote.nri-placeholder { color: #94a3b8; font-style: italic; }
.nri-testi .tc-avatar svg {
  width: 18px; height: 18px;
  fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round;
}

/* ══════════════════════
   PRICING
══════════════════════ */
.nri-pricing { background: linear-gradient(0deg, #f7e3ff 0%, #fff 100%); }
.nri-sub-tight { margin-bottom: 22px; }

/* Exchange-rate note: small info box, rate on top, source and date underneath */
.nri-rate-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 4px auto 44px;
  padding: 11px 18px 11px 14px;
  border-radius: 14px;
  background: #f8f5ff;
  border: 1px solid #e4dafb;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.45;
  color: #5a6678;
}
.nri-rate-note > svg {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 1px;
  fill: none; stroke: #532989; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  color: #532989;
}
.nri-rate-main { display: block; color: #1a0040; font-weight: 600; }
.nri-rate-main strong { color: #532989; font-weight: 800; }
.nri-h3{color: #ffff !important;}
.nri-rate-src { display: block; font-size: 12.5px; margin-top: 2px; text-align: center;}
.nri-rate-note a {
  color: #532989;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nri-country-note {
  font-size: 13.5px;
  color: #4a3a6e;
  margin: 0 auto 44px;
}
.nri-link-btn {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #532989;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.nri-link-btn:hover { color: #7c3aed; }

.nri-pricing .plan-name { color: #1a0040; }
.nri-price-alt {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
}
.nri-price-alt:empty { display: none; }
.nri-pricing .plan-features-new li > span:not(.plan-check) { flex: 1 1 0; min-width: 0; }
.nri-pricing .plan-off {
  display: inline-block;
  vertical-align: 1px;
  margin-left: 2px;
  line-height: 1.4;
}

/* ══════════════════════
   FAQ (accordion styles from style-dark.css)
══════════════════════ */
.nri-faq { padding: 96px 0 48px; }
.nri-faq .faq-wrap { max-width: 920px; margin: 0 auto; }
.nri-faq .faq-main-sub { margin-bottom: 36px; }
.nri-faq .faq-main-sub a { color: #532989; font-weight: 700; }
.nri-faq .faq-item.open .faq-a { max-height: 600px; }

/* ══════════════════════
   FINAL CTA
══════════════════════ */
.nri-final { background: #f8f7ff; padding: 48px 0 96px; }
.nri-final-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 56px;
  color: #fff;
  background: linear-gradient(135deg, #3d1070 0%, #532989 45%, #6b32a8 100%);
}
/* soft circles, as on the homepage app card */
.nri-final-box::before,
.nri-final-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.nri-final-box::before { top: -80px; right: -80px; width: 360px; height: 360px; background: rgba(255,255,255,.05); }
.nri-final-box::after { bottom: -60px; left: 30%; width: 240px; height: 240px; background: rgba(255,255,255,.04); }
.nri-final-box .row { position: relative; z-index: 1; }
.nri-final-text-col { padding-bottom: 0; }

.nri-final-title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0 0 16px;
}
.nri-final-text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 32em;
  margin: 0 0 22px;
}
.nri-final-feats { margin-bottom: 28px; }
.nri-final-feats li { font-size: 15px; }

.nri-final-apps-label {
  margin: 28px 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.62);
}
.nri-final-apps { display: flex; flex-wrap: wrap; gap: 10px; }

.nri-final-meta {
  list-style: none;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
}
.nri-final-meta li { display: flex; align-items: center; gap: 8px; }
.nri-final-meta svg {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: none; stroke: #f4a623; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.nri-final-meta a { color: #fff; font-weight: 700; text-decoration: none; }
.nri-final-meta-label { font-weight: 600; color: rgba(255,255,255,.78); }
.nri-final-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Phones image: centred vertically beside the text */
.nri-final-phones {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}
.nri-final-box .col-lg-5 { align-self: center; }
/* Desktop: the phones image grows past its column into the card's padding (bigger, card height unchanged) */
@media (min-width: 992px) {
  .nri-final-phones {
    max-width: none;
    width: calc(100% + 76px);
    margin: -48px -52px -48px -24px;
  }
}

/* ══════════════════════
   BOOK A CALL MODAL
══════════════════════ */
.nri-modal[hidden] { display: none; }
.nri-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nri-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,6,33,.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .2s ease;
}
.nri-modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #1a0040;
  border-radius: 24px;
  padding: 36px 36px 30px;
  box-shadow: 0 40px 100px rgba(10,0,40,.45);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .22s ease, transform .22s ease;
}
.nri-modal.is-open .nri-modal-backdrop { opacity: 1; }
.nri-modal.is-open .nri-modal-panel { opacity: 1; transform: none; margin: 10px;}
body.nri-modal-open { overflow: hidden; }

.nri-modal h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.2;
  margin: 0 0 6px;
  padding-right: 44px;
}
.nri-modal h2:focus { outline: none; }
.nri-modal-intro { color: #64748b; margin: 0 0 24px; }
.nri-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: #f4f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.nri-modal-close:hover { background: #ede9fe; }
.nri-modal-close svg {
  width: 18px; height: 18px;
  fill: none; stroke: #532989; stroke-width: 2.4; stroke-linecap: round;
}

.nri-field {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.nri-label {
  display: block;
  float: none;
  width: auto;
  padding: 0;
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a0040;
}
.nri-optional { font-weight: 500; color: #64748b; }
.nri-sublabel {
  display: block;
  margin: 0 0 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
}

.nri-field input[type="text"],
.nri-field input[type="tel"],
.nri-field input[type="email"],
.nri-field select,
.nri-field textarea {
  width: 100%;
  border: 1.5px solid #e2d9f3;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #1a0040;
  background-color: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.nri-field select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23532989' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.nri-field textarea { resize: vertical; min-height: 84px; }
.nri-field input::placeholder,
.nri-field textarea::placeholder { color: #8b8fa3; }
.nri-field input:focus,
.nri-field select:focus,
.nri-field textarea:focus {
  outline: none;
  border-color: #532989;
  box-shadow: 0 0 0 4px rgba(83,41,137,.14);
}
.nri-field.has-error input,
.nri-field.has-error select { border-color: #dc2626; }

.nri-hint { margin: 6px 0 0; font-size: 13px; color: #64748b; }
.nri-hint a { color: #532989; font-weight: 700; }
.nri-error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #b91c1c; }
.nri-form-error { margin: 0 0 12px; }

.nri-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.nri-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nri-chip { position: relative; margin: 0; cursor: pointer; }
.nri-chip input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.nri-chip span {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 50px;
  border: 1.5px solid #e2d9f3;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #4a3a6e;
  transition: background .15s, border-color .15s, color .15s;
}
.nri-chip:hover span { border-color: #c4b5fd; }
.nri-chip input:checked + span {
  background: #532989;
  border-color: #532989;
  color: #fff;
}
.nri-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(83,41,137,.28); }

.nri-when-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px 14px;
}
.nri-zone-note { margin: -2px 0 12px; }
.nri-zone-note strong { color: #1a0040; }
.nri-ist-note { font-weight: 600; color: #532989; }
.nri-ist-note:empty { display: none; }

.nri-submit {
  width: 100%;
  justify-content: center;
  padding: 0 24px;
  margin-top: 6px;
}
.nri-submit[disabled] { opacity: .7; cursor: wait; }
.nri-form-alt { margin: 14px 0 0; text-align: center; font-size: 14px; color: #64748b; }
.nri-form-alt a { color: #532989; font-weight: 700; }

.nri-done-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.nri-done-mark svg {
  width: 28px; height: 28px;
  fill: none; stroke: #10b981; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.nri-done-summary { font-size: 16px; line-height: 1.7; color: #334155; margin: 8px 0 6px; }
[data-step="done"] .nri-hint { margin-bottom: 24px; }

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 1199px) {
  .navbar .nav-link { margin-left: 18px; }
}

@media (max-width: 991px) {
  .nri-sec { padding: 26px 0; }
  .nri-sec.nri-how { padding: 56px 0; }
  .navbar .nav-link { margin-left: 0; }
  .nri-svc-photo { aspect-ratio: 4 / 3; max-width: 640px; }
  .nri-svc-photo-wrap { max-width: 658px; }
  .nri-svc-photo-wrap::after { top: -12px; left: -8px; width: 84px; height: 84px; }
  .nri-final-box { padding: 48px 32px; }
  .nri-final-text-col { padding-bottom: 8px; }
  .nri-final-phones { max-width: 420px; margin: 0 auto; }

  .nri-page .site-footer { padding-bottom: 76px; }
}

@media (max-width: 767px) {
  .nri-sec { padding: 26px 0; }
  .nri-sec.nri-how { padding: 48px 0; }
  .nri-moment-list { grid-template-columns: 1fr; }
  .nri-moment { padding: 22px 0 24px; }
  .nri-stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .nri-stat { padding: 24px 22px 18px; }
  .nri-faq { padding: 60px 0 32px; }
  .nri-final { padding: 32px 0 60px; }
  .nri-final-box { padding: 40px 22px; border-radius: 22px; }
  .nri-final-meta { flex-direction: column; gap: 10px; }
  .nri-final-phones { max-width: 340px; }
}

@media (max-width: 575px) {
  .nri-hero-content { padding-bottom: 48px; }
  .nri-final-apps { gap: 6px !important; }
  .nri-hero-ctas { gap: 10px;  justify-content: center !important;}
  .nri-hero-ctas .btn-explore,
  .nri-hero-ctas .nri-wa-btn { width: 100%; justify-content: space-between; }
  .nri-hero-ctas .nri-wa-btn { justify-content: center; }
  .nri-hero-lead { font-size: 11.5px; padding: 6px 12px; margin-bottom: 16px; }
  .nri-hero-trust { gap: 8px; margin-bottom: 26px; }
  .nri-hero-trust li { font-size: 12.5px; padding: 7px 11px 7px 9px; gap: 6px; }
  .nri-hero-trust svg { width: 15px; height: 15px; }

  .nri-svc-grid { grid-template-columns: 1fr; gap: 26px; }

  .nri-how .bg-grid { padding: 16px 10px 18px; border-radius: 22px; }
  .nri-how .hiw-card-title { font-size: 14px; margin-bottom: 12px !important; min-height: 2.4em; }
  .nri-how .hiw-phone-frame { border-radius: 22px; border-width: 4px; }
  .nri-how .hiw-phone-screen { border-radius: 18px; }
  .nri-how .hiw-phone-frame .hiw-phone-notch { width: 54px; height: 14px; border-radius: 0 0 10px 10px; }
  .nri-how .hiw-phone-frame .hiw-phone-notch-speaker { width: 18px; height: 3px; }
  .nri-how .hiw-phone-frame .hiw-phone-notch-cam { width: 5px; height: 5px; }

  .nri-stats-data th,
  .nri-stats-data td { padding: 10px 14px; }

  /* Modal becomes a bottom sheet */
  .nri-modal { padding: 0; align-items: flex-end; }
  .nri-modal-panel {
    max-width: none;
    max-height: 94vh;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .nri-modal h2 { font-size: 23px; }
  .nri-field-row,
  .nri-when-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .nri-city-underline path,
  .nri-city-underline path.is-drawn { animation: none; stroke-dashoffset: 0; }
  .nri-city .special-font,
  .nri-modal-backdrop,
  .nri-modal-panel { transition: none !important; }
  .hiw-ps { transition: none; }
}

/* ══════════════════════
   MOBILE CAROUSELS (pricing + "Set it all up"), same as the homepage.
   app.js turns rows with data-carousel into swipeable carousels below 992px;
   these styles come from final.css, which this page does not load.
══════════════════════ */
:root { --cr-dot: #c5b3e6; --cr-dot-active: #6f42c1; --cr-btn-bg: #ffffff; --cr-btn-color: #6f42c1; --cr-btn-border: #e2d9f3; }
/* ==========================================================================
   Reusable Mobile Carousel  –  carousel.css
   --------------------------------------------------------------------------
   Works on any Bootstrap-style ".row" (or any flex container) that has the
   attribute  data-carousel.  Below the breakpoint set in JS, the JS adds the
   class ".is-carousel" to the container. On desktop nothing here applies.
   ========================================================================== */


[data-carousel] { --cr-peek: 9%; }   /* how much of next/prev slide shows (each side) */

@media (min-width: 576px) {
  [data-carousel] { --cr-peek: 22%; }   /* small tablets: show more of neighbours */
}

/* ----- The scrolling track ---------------------------------------------- */
[data-carousel].is-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  /* padding-inline: var(--cr-peek);         */
  padding-block: 8px;                      /* room for shadows */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;                   /* Firefox */
  -ms-overflow-style: none;                /* old Edge */
  outline: none;
}
[data-carousel].is-carousel::-webkit-scrollbar { display: none; }

[data-carousel].is-carousel:focus-visible {
  outline: 2px solid var(--cr-dot-active);
  outline-offset: 2px;
}

/* ----- Slides (direct children) ----------------------------------------- */
[data-carousel].is-carousel > * {
  flex: 0 0 100%;                          /* 100% of the content box = 1 slide */
  width: 100%;
  max-width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;                /* one slide per swipe */
}

/* wow.js / animate.css hide + transform elements until they animate in.
   Inside a horizontal scroller that would leave off-screen slides invisible,
   so we switch the entrance animation off in carousel mode. */
[data-carousel].is-carousel > .wow,
[data-carousel].is-carousel > * {
  visibility: visible !important;
  animation-name: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ----- Controls (arrows + dots) ------------------------------------------ */
.cr-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--cr-btn-border, #e3e6ea);
  background: var(--cr-btn-bg, #fff);
  color: var(--cr-btn-color, #1f2937);
  cursor: pointer;
  transition: opacity .2s ease, transform .15s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cr-btn svg { width: 16px; height: 16px; display: block; }
.cr-btn:active:not(:disabled) { transform: scale(.94); }
.cr-btn:disabled { opacity: .35; cursor: default; }
.cr-btn:focus-visible,
.cr-dot:focus-visible { outline: 2px solid var(--cr-dot-active, #0d6efd); outline-offset: 2px; }

.cr-dots {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Each dot is a 24x24 tap target (WCAG 2.5.8 / Lighthouse "touch targets");
   the visible dot (8px, or a 24px pill when active) is drawn inside it. */
.cr-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.cr-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cr-dot, #c9ced6);
  transition: width .25s ease, background-color .25s ease;
}
.cr-dot.is-active { width: 32px; }
.cr-dot.is-active::before {
  width: 24px;
  background: var(--cr-dot-active, #0d6efd);
}

@media (prefers-reduced-motion: reduce) {
  [data-carousel].is-carousel { scroll-behavior: auto; }
  .cr-dot, .cr-dot::before, .cr-btn { transition: none; }
}


/* "Set it all up" (How It Works) section only: equal-size, centred phone cards in the carousel */
.nri-how [data-carousel].is-carousel > * {
  display: flex;
}

.nri-how [data-carousel].is-carousel .bg-grid,
.nri-how [data-carousel].is-carousel .hiw-phone-card {
  width: 100%;
  height: 100%;
}

.nri-how [data-carousel].is-carousel .hiw-phone-frame {
  margin-inline: auto;
  max-width: 100%;
}

/* The homepage's final.css removes Bootstrap's negative row margins; do the same
   here while a row is a carousel so the slides line up exactly like the homepage. */
.nri-sec [data-carousel].is-carousel { margin-left: 0; margin-right: 0; }

/* How It Works on phones and tablets: less empty space, and the whole step fits on screen */
@media (max-width: 991px) {
  .nri-sec.nri-how { padding: 40px 0; }
  .nri-how .sec-sub { margin-bottom: 18px; }
  .nri-how [data-carousel].is-carousel { --bs-gutter-y: 0; margin-top: 0; padding-block: 4px 8px; }
  .nri-how [data-carousel].is-carousel > * { margin-top: 0; }
  .nri-how [data-carousel].is-carousel .hiw-phone-frame { max-width: 250px; }
  .nri-how .cr-controls { margin-top: 12px; }
  .nri-how-cta { margin-top: 24px; }
}

/* Hero on phones and tablets: as tall as its content (final.css makes .hero fill the whole
   screen, which left a big empty band under the buttons). Desktop keeps the full-screen hero. */
@media (max-width: 991px) {
  .nri-hero { min-height: 0; }
  .nri-hero-content { padding-top: 24px; padding-bottom: 40px; }
}

/* Second section ("Over 12,000 km...") on phones: less space under the heading block */
@media (max-width: 767px) {
  .nri-moments .row { --bs-gutter-y: 12px; }
  .nri-moments-head .nri-subhead { margin-bottom: 4px; }
}

/* Exchange rate: hidden behind an eye button next to each "About US$..." price, shown as a small tooltip on click */
.nri-rate-pop { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.nri-rate-pop .nri-price-alt { margin-top: 0; }
.nri-rate-eye {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 26px; height: 26px; padding: 0; border: 1px solid #e4dafb; border-radius: 50%;
  background: #f8f5ff; color: #532989; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.nri-rate-eye svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nri-rate-eye:hover, .nri-rate-eye[aria-expanded="true"] { background: #532989; border-color: #532989; color: #fff; }
.nri-rate-eye:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 2px; }
.nri-price-alt:empty ~ .nri-rate-eye { display: none; }   /* no local-currency estimate shown: nothing to explain */
.nri-rate-tip {
  position: absolute; left: -6px; bottom: calc(100% + 10px); z-index: 20;
  width: 232px; max-width: calc(100vw - 64px);
  padding: 10px 12px; border-radius: 12px;
  background: #fff; border: 1px solid #e4dafb; box-shadow: 0 14px 30px -12px rgba(26, 0, 64, .35);
  font-size: 12.5px; line-height: 1.45; color: #5a6678; text-align: left;
  animation: nriTipIn .18s ease-out;
}
.nri-rate-tip[hidden] { display: none; }
.nri-rate-tip::after {
  content: ""; position: absolute; left: 92px; top: 100%;
  border: 7px solid transparent; border-top-color: #fff;
  filter: drop-shadow(0 1px 0 #e4dafb);
}
.nri-rate-tip .nri-rate-main { display: block; color: #1a0040; font-weight: 600; }
.nri-rate-tip .nri-rate-main strong { color: #532989; font-weight: 800; }
.nri-rate-tip .nri-rate-src { display: block; margin-top: 4px; font-size: 12px; text-align: left; }
.nri-rate-tip a { color: #532989; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@keyframes nriTipIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nri-rate-tip { animation: none; } }

/* Phones: no app-screens image in the last section */
@media (max-width: 767px) {
  .nri-final-media { display: none; }
}

/* Hero: smaller "Request a Callback" and "Chat on WhatsApp" buttons */
.nri-hero-ctas { gap: 12px; }
.nri-hero-ctas .btn-explore { height: 46px; padding: 0 7px 0 20px; gap: 8px; font-size: 14.5px; }
.nri-hero-ctas .btn-explore-arrow { width: 32px; height: 32px; }
.nri-hero-ctas .btn-explore-arrow svg { width: 12px; height: 12px; }
.nri-hero-ctas .nri-wa-btn { height: 46px; padding: 0 20px 0 16px; gap: 8px; font-size: 14px; }
.nri-hero-ctas .nri-wa-icon { width: 19px; height: 19px; }

/* Second section ("Over 12,000 km..."): tablets and desktop - heading centred on top, worries as a card grid
   (the heading used to sit alone in a narrow left column, leaving a big empty area under it) */
@media (min-width: 768px) {
  .nri-moments-head { text-align: center; }
  .nri-moments-head .sec-heading { max-width: 22em; margin-left: auto; margin-right: auto; }
  .nri-moments-head .nri-subhead { display: inline-block; margin: 8px 0 0; text-align: left; }
  .nri-moment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .nri-moment {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start;
    border: 1px solid #ede9fe; border-radius: 18px;
    background: linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%);
    padding: 22px 22px 20px;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .35s ease;
  }
  .nri-moment::before {
    content: "\201C"; display: block; height: 26px; margin-bottom: 4px;
    font-family: "Playfair Display", Georgia, serif; font-size: 46px; line-height: 1; color: #c4b5fd;
  }
  .nri-moment:hover { transform: translateY(-4px); border-color: #d9cdfa; box-shadow: 0 18px 36px -22px rgba(83, 41, 137, .45); }
  .nri-moment-text { font-size: 17.5px; margin-bottom: 18px; }
  .nri-moment-fix { margin-top: auto; }
}
@media (min-width: 992px) {
  .nri-moment-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* Phones: hero + last-section buttons at their own size (not full width), side by side when they fit */
@media (max-width: 575px) {
  .nri-hero-ctas { gap: 8px; justify-content: center !important; }
  .nri-hero-ctas .btn-explore,
  .nri-hero-ctas .nri-wa-btn { width: auto; flex: 0 1 auto; height: 40px; font-size: 12.5px; white-space: nowrap; justify-content: center; }
  .nri-hero-ctas .btn-explore { padding: 0 4px 0 12px; gap: 6px; }
  .nri-hero-ctas .btn-explore-arrow { width: 26px; height: 26px; }
  .nri-hero-ctas .btn-explore-arrow svg { width: 11px; height: 11px; }
  .nri-hero-ctas .nri-wa-btn { padding: 0 12px 0 10px; gap: 5px; letter-spacing: 0; }
  .nri-hero-ctas .nri-wa-icon { width: 16px; height: 16px; }
}

/* Hero: App Store / Google Play buttons under the "Prefer to call?" line - same gap above as the line has below it, nothing extra underneath */
.nri-hero-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 0; }
.nri-hero-apps-label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .62); }
.nri-hero-apps-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nri-hero-apps .app-store-btn { padding: 7px 14px 7px 11px; gap: 8px; border-radius: 11px; }
.nri-hero-apps .app-store-btn svg { width: 21px; height: 21px; }
.nri-hero-apps .app-store-small { font-size: .56rem; }
.nri-hero-apps .app-store-big { font-size: .86rem; line-height: 1.15; }
.nri-hero-apps .app-store-text { display: flex; flex-direction: column; line-height: 1.1; }
@media (max-width: 575px) {
  .nri-hero-apps { flex-direction: column; gap: 8px; margin: 16px 0 0; }
  .nri-hero .nri-hero-content { padding-bottom: 28px; }   /* phones: about the same space under the hero as above it (24px) */
  .nri-hero-apps-btns { justify-content: center; gap: 8px; flex-wrap: nowrap; }
  .nri-hero-apps .app-store-btn { padding: 6px 12px 6px 10px; }
}

/* Desktop hero: fit the screen under the 86px header, equal space above and below the text */
@media (min-width: 992px) {
  .nri-hero { min-height: calc(100vh - 86px); }
  .nri-hero .nri-hero-content { min-height: calc(100vh - 86px); padding-top: 44px; padding-bottom: 44px; }
  .nri-hero .nri-hero-content > .row { --bs-gutter-y: 0; margin-top: 0; }
}
