/*
 * رتبناها — brand layer for the public site.
 *
 * The site ships on a bought template whose palette (purple buttons, beige
 * blobs, gold accents) has nothing to do with the product. The three theme
 * colours are already admin-editable and now hold the app's tokens, so this
 * file only has to reach the places the template hard-coded, plus set the type.
 *
 * Loaded last, after style.css, so it wins without any !important arms race
 * except where the template used !important first.
 *
 * Tokens, identical to the provider app and the admin panel:
 *   ink    #0F2A3F   headings, brand surfaces
 *   teal   #3AA7AB   the one action colour
 *   paper  #F5F7F8   page ground
 *   line   #E3E8EB   hairline borders
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  --ink: #0f2a3f;
  --ink-600: #3d5567;
  --ink-400: #7b8b97;
  --teal: #3aa7ab;
  --teal-dark: #2e8a8d;
  --teal-50: #eaf6f6;
  --paper: #f5f7f8;
  --line: #e3e8eb;
}

/* ---- type ---------------------------------------------------------------- */

body,
.nav_bar li a,
.btn-main,
input,
textarea,
button,
select {
  font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  color: var(--ink-600);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
}

/* Section headings were the same weight as body copy at only a little more
   size, so no section announced itself. */
.title-section h2,
.title-section h3 {
  letter-spacing: -0.01em;
}

/* ---- the template's hard-coded accents ----------------------------------- */

/* Beige hero blob and cream FAQ band: replaced with the product's own
   surfaces so the page reads as one palette rather than three. */
.header-content::before,
.header-content::after {
  background: var(--teal-50) !important;
}

.fqs,
.section-fqs {
  background: var(--paper) !important;
}

.our-services,
.section-services {
  background: var(--ink) !important;
}

.our-services .title-section h2,
.our-services .title-section h3,
.our-services .title-section p,
.section-services .title-section h2,
.section-services .title-section h3,
.section-services .title-section p {
  color: #fff;
}

/* The gold underline the template used for active tabs. */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: var(--teal) !important;
  color: #fff !important;
}

.nav-pills .nav-link {
  color: var(--ink-600);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ---- surfaces ------------------------------------------------------------ */

.card,
.service-card,
.box-service,
.accordion-item,
.card-body {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: none;
}

/* ---- controls ------------------------------------------------------------ */

.btn-main {
  background-image: none !important;
  background-color: var(--teal) !important;
  border-radius: 12px;
  height: 48px;
  line-height: 48px;
  font-weight: 600;
  width: auto;
  min-width: 160px;
  padding: 0 24px;
}

.btn-main:hover,
.btn-main:focus-visible {
  background-color: var(--teal-dark) !important;
}

input.form-control,
textarea.form-control {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

input.form-control::placeholder,
textarea.form-control::placeholder {
  color: var(--ink-400);
}

input.form-control:focus,
textarea.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgb(58 167 171 / 0.15);
}

/* Keyboard users could not see where they were: the template removed the
   outline and put nothing back. */
a:focus-visible,
button:focus-visible,
.nav_bar li a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- footer -------------------------------------------------------------- */

footer,
.footer {
  background: var(--ink) !important;
}

.footer-bottom,
.copy-right {
  background: #0a1f2f !important;
}

footer a:hover {
  color: var(--teal) !important;
}

/* ---- images -------------------------------------------------------------- */

/* A missing file now resolves to a placeholder tile rather than a broken
   glyph; these keep it from stretching out of shape. */
img {
  max-width: 100%;
  height: auto;
}

.about-img img,
.slider-img img {
  object-fit: cover;
  border-radius: 16px;
}

/* ---- long-form legal pages ----------------------------------------------- */

.legal-page {
  background: #fff;
}

.legal-page__container {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 20px;
}

.legal-page__head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 32px;
  margin-bottom: 40px;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}

.legal-page__back svg {
  transform: scaleX(-1);
}

[dir='ltr'] .legal-page__back svg {
  transform: none;
}

.legal-page__head h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0;
}

.legal-page__updated {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-400);
}

/* Whatever HTML the editor produced, it reads as one document. */
.legal-doc {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-600);
  padding-bottom: 48px;
}

.legal-doc h1,
.legal-doc h2,
.legal-doc h3,
.legal-doc h4 {
  margin: 36px 0 12px;
  line-height: 1.4;
}

.legal-doc h2 { font-size: 22px; }
.legal-doc h3 { font-size: 18px; }

.legal-doc p { margin: 0 0 16px; }

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 20px;
  padding-inline-start: 22px;
}

.legal-doc li { margin-bottom: 8px; }

.legal-doc a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  display: block;
  overflow-x: auto;
}

.legal-doc td,
.legal-doc th {
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.legal-page__siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 24px 0 56px;
}

.legal-page__siblings a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}

.legal-page__siblings a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-50);
}

/* ---- phones -------------------------------------------------------------- */

@media (max-width: 767px) {
  .legal-page__head {
    padding: 28px 0 24px;
    margin-bottom: 28px;
  }

  .legal-doc {
    font-size: 15px;
    line-height: 1.95;
  }

  .btn-main {
    width: 100%;
  }
}

/* ---- drawn icons --------------------------------------------------------- */

.intro-icon {
  width: 28px;
  height: 28px;
  display: block;
}

/* Service cards: an ink tile so the icon reads as a mark, not a picture. */
.intro-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-dark);
  margin-bottom: 18px;
}

.box-servess {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
  height: 100%;
  margin-bottom: 24px;
  transition: border-color .2s ease, transform .2s ease;
}

.box-servess:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.box-servess h6 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.box-servess p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* Steps: the number is the point, so it sits on the mark itself. */
.how_work {
  list-style: none;
  padding: 0;
}

.how_work__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 14px;
}

.how_work__num {
  position: absolute;
  inset-block-start: -8px;
  inset-inline-start: -8px;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.how_work li div {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- about: facts in place of photographs -------------------------------- */

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-facts li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}

.about-facts__figure {
  flex: 0 0 auto;
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.about-facts__icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-facts__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

/* ---- footer legal row ---------------------------------------------------- */

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
}

.footer-legal a {
  font-size: 13px;
  color: rgb(255 255 255 / 0.72);
}

.footer-legal a:hover {
  color: var(--teal) !important;
}

@media (max-width: 767px) {
  .footer-legal {
    justify-content: center;
    margin-top: 10px;
  }
}

/* ---- footer -------------------------------------------------------------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px 32px;
  padding: 56px 0 40px;
}

.footer-col--brand .logo_footer {
  max-width: 132px;
  margin-bottom: 16px;
}

.footer-blurb {
  color: rgb(255 255 255 / 0.66);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 18px;
  max-width: 34ch;
}

.Tfooter {
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.link-footer {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.link-footer a,
.link-footer span {
  color: rgb(255 255 255 / 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.link-footer a:hover {
  color: var(--teal) !important;
}

.link-footer i {
  color: var(--teal);
  margin-inline-end: 8px;
  font-size: 13px;
}

.footer-contact {
  margin-top: 20px;
}

.social-m {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.social-m a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.social-m a:hover {
  background: var(--teal);
}

/* Store badges: the real thing, not a coloured rectangle with a word in it. */
.store-badges {
  display: grid;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 12px;
  padding: 9px 16px;
  color: #fff;
  background: rgb(255 255 255 / 0.05);
}

.store-badge:hover {
  border-color: var(--teal);
  background: rgb(58 167 171 / 0.14);
  color: #fff !important;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 15px;
  font-weight: 700;
}

.store-badge small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  font-size: 13px;
  color: rgb(255 255 255 / 0.6);
}

.footer-bottom-row a {
  color: rgb(255 255 255 / 0.6);
}

.footer-bottom-row a:hover {
  color: var(--teal) !important;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 40px 0 28px;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }
}

/* ---- contact: channels, not a form --------------------------------------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  transition: border-color .2s ease, transform .2s ease;
}

.contact-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.contact-card__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--teal-50);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg { width: 26px; height: 26px; }

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-card__body b {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
}

.contact-card__body span {
  font-size: 14px;
  color: var(--ink-600);
  overflow-wrap: anywhere;
}

.contact-help {
  text-align: center;
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--ink-400);
}

.contact-help a {
  color: var(--teal-dark);
  font-weight: 600;
}

.contact-help a:hover { text-decoration: underline; }

/* ---- hero ---------------------------------------------------------------- */

.hero-chips {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chips li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.hero-cta {
  display: inline-flex !important;
  align-items: center;
  margin: 24px 0 0 !important;
  width: auto !important;
}

@media (max-width: 767px) {
  .hero-chips {
    margin-top: 16px;
  }

  .hero-chips li {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-cta {
    width: 100% !important;
    justify-content: center;
  }
}

.footer-contact--bare { margin-top: 0; }

/* ==========================================================================
   HERO — rebuilt
   --------------------------------------------------------------------------
   The template's hero was an 866×650 image, absolutely positioned and rotated
   -60deg, with the headline floating over wherever it happened to land. It
   only cleared the text on a wide desktop: measured at 390, 768 and 1024 the
   headline sat on top of the photograph and could not be read.

   It is now an ordinary two-column grid — text beside the image above 992px,
   stacked below it — so the words are always on a plain ground and the layout
   cannot collide with itself at any width.
   ========================================================================== */

.info_owl {
  height: auto !important;
  overflow: visible !important;
  display: grid !important;
  align-items: center;
  gap: 0;
  padding: 0;
}

.info_owl > .container {
  order: 1;
  width: 100%;
}

/* The rotated blob, un-rotated and put back in the flow. */
.img_owl_index {
  position: static !important;
  order: 2;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  border-radius: 20px !important;
  transform: none !important;
  inset: auto !important;
  overflow: hidden;
  margin-top: 28px;
}

/* The gold wash the template laid over every hero image. */
.img_owl_index:after {
  display: none !important;
}

.img_owl_index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ads_wol {
  max-width: 44ch;
  padding-block: 40px 8px;
}

.ads_wol h3 {
  font-size: clamp(27px, 5.2vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}

.ads_wol p {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--ink-600);
  margin: 0;
}

@media (min-width: 992px) {
  .info_owl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
    min-height: 540px;
  }

  .info_owl > .container {
    max-width: none;
    padding-inline: clamp(24px, 5vw, 80px);
  }

  .img_owl_index {
    margin-top: 0;
    aspect-ratio: 5 / 4;
    max-height: 560px;
    border-start-start-radius: 0 !important;
    border-end-start-radius: 0 !important;
    border-start-end-radius: 28px !important;
    border-end-end-radius: 28px !important;
  }

  .ads_wol {
    padding-block: 0;
  }
}

/* The carousel arrows and dots are controls, so they get control-sized. */
.owl-index .owl-nav button,
.owl-theme .owl-nav [class*='owl-'] {
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  border-color: var(--teal) !important;
  color: var(--teal-dark) !important;
}

.owl-theme .owl-dots .owl-dot span {
  width: 9px !important;
  height: 9px !important;
  background: var(--line) !important;
  border-radius: 999px !important;
}

.owl-theme .owl-dots .owl-dot.active span {
  width: 26px !important;
  background: var(--teal) !important;
}

/* A dot is a 9px mark, but the thing you press is the button around it. */
.owl-theme .owl-dots .owl-dot {
  padding: 14px 5px !important;
}

/* ==========================================================================
   TOUCH TARGETS AND LEGIBILITY
   --------------------------------------------------------------------------
   Measured on a 390px phone: 25 links and buttons were shorter than 44px, and
   body text ran as small as 12px. Both are the template's desktop defaults
   carried straight onto a phone.
   ========================================================================== */

/* Footer and nav links: the text stays its size, the hit area grows around it. */
.link-footer li a,
.link-footer li span,
.footer-legal a,
.under_footer a,
.footer-bottom-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
}

.link-footer {
  gap: 2px;
}

.social-m a {
  width: 44px;
  height: 44px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Main navigation */
.nav_bar li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-size: 15px;
}

.navbar .dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 12px;
}

/* Nothing that carries a sentence drops below 14px. */
.grey-color,
.link-footer a,
.link-footer span,
.footer-blurb,
.the_title p,
.box-servess p,
.how_work li div {
  font-size: 14.5px;
}

.hero-chips li {
  font-size: 13.5px;
  padding: 8px 16px;
}

/* ==========================================================================
   SECTION RHYTHM
   --------------------------------------------------------------------------
   One vertical scale for the whole page, scaled by viewport, instead of the
   template's fixed desktop padding compressed onto a phone. The page measured
   5331px tall at 320px — most of it air.
   ========================================================================== */

.sec-padd {
  padding-block: clamp(48px, 7vw, 96px) !important;
}

.the_title {
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}

.the_title h3 {
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
}

.the_title p {
  line-height: 1.85;
  margin: 0;
}

/* Services sit on the ink band, so their heading has to invert. */
.bacg_section .the_title h3 { color: #fff; }
.bacg_section .the_title p  { color: rgb(255 255 255 / 0.76); }

/* ==========================================================================
   TABLET
   --------------------------------------------------------------------------
   768px showed three service columns at 220px each, which broke the names
   across lines. Two columns give each card room to say its name on one line.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1199px) {
  .bacg_section .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .bacg_section .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .box-servess {
    padding: 22px 20px;
    margin-bottom: 14px;
  }

  .intro-icon-tile {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 14px;
  }
}

/* The template sizes these itself, so the rule needs the same reach. */
ul.social-m li a {
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Language switcher */
.dropdown > .dropdown-toggle,
button.dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline: 12px;
}

.hero-chips li {
  font-size: 14px;
}

/* ==========================================================================
   HOW IT WORKS — the steps, not the decoration
   --------------------------------------------------------------------------
   The template drew a dotted gold wave (imgs/Path 5477.png) behind four
   130px items on a flex row. It is the one piece of ornament on the page that
   carries no information, it squeezed the steps into 130px columns on a
   tablet, and at 390px the four of them had nowhere to go.

   A grid instead: four across on a desktop, two on a tablet, one per row on a
   phone — with a rule joining them, because the sequence is the point.
   ========================================================================== */

.how_work {
  background-image: none !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  margin: 0;
  counter-reset: step;
  position: relative;
}

.how_work li {
  width: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  position: relative;
  padding-inline: 8px;
}

/* The line that says "and then". Drawn between the marks, never under the
   first or after the last, and dropped entirely once the steps stack. */
@media (min-width: 992px) {
  .how_work li:not(:last-child)::after {
    content: '';
    position: absolute;
    inset-block-start: 32px;
    inset-inline-start: calc(50% + 42px);
    width: calc(100% - 84px);
    border-top: 2px dashed var(--line);
  }
}

.how_work li div {
  max-width: 20ch;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .how_work {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }
}

@media (max-width: 479px) {
  .how_work {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .how_work li {
    flex-direction: row;
    align-items: center;
    text-align: start;
    gap: 16px;
  }

  .how_work__mark {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .how_work li div {
    max-width: none;
  }
}

/* ==========================================================================
   HERO IMAGE — sized, not dominant
   ========================================================================== */

@media (max-width: 991px) {
  .img_owl_index {
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }
}

@media (max-width: 575px) {
  .img_owl_index {
    aspect-ratio: 4 / 3;
    max-height: 240px;
    border-radius: 16px !important;
  }
}

/* ==========================================================================
   CONTACT CARDS — three, or one; never two and an orphan
   ========================================================================== */

.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* ==========================================================================
   FAQ TABS
   ========================================================================== */

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav-pills .nav-link {
  width: auto !important;
  min-height: 44px;
  height: auto !important;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  font-size: 14.5px;
  font-weight: 600;
  margin: 0 !important;
}

.accordion .card {
  border-radius: 14px !important;
  border: 1px solid var(--line) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion .card-header {
  background: #fff !important;
  border: 0 !important;
  padding: 0 !important;
}

.accordion .card-header button,
.accordion .card-header a {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--ink);
  text-align: start;
}

.accordion .card-body {
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 16px 20px 20px;
  color: var(--ink-600);
  line-height: 1.9;
  font-size: 14.5px;
}

/* The template drew its own 75px square behind the service icon. With the new
   icon tile in front of it the card showed two overlapping squares, offset by
   about 20px — which is what made the icon look clipped. */
.box-servess::after {
  display: none !important;
}

/* ==========================================================================
   FIXED HEADER — give the page room under it
   --------------------------------------------------------------------------
   The header is `position: fixed` and about 91px tall, but nothing reserved
   that space. On the home page the hero happens to start low enough to hide
   the problem; on every inner page the content began at y=0, so its first
   91px sat behind the header — and the header's own links stopped responding
   to clicks, because the content was painting over them.

   One rule reserves the space, one keeps the header above whatever scrolls
   under it.
   ========================================================================== */

/* `body > header` on purpose: a bare `header` selector would also catch any
   <header> inside the page content, and the template has already made that
   tag `position: fixed`. */
body > header {
  z-index: 100 !important;
}

.legal-page,
.body-content > .sec-padd:first-child {
  padding-top: 91px;
}

/* The loader covers the whole viewport at the highest possible z-index while
   it is up. It is display:none once the page has loaded, but pointer-events
   makes that harmless even if a script ever fails to hide it. */
.loader {
  pointer-events: none;
}

@media (max-width: 991px) {
  .legal-page {
    padding-top: 76px;
  }
}

/* ==========================================================================
   LEGAL PAGES — contents list and reading rhythm
   ========================================================================== */

.legal-toc {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 20px 22px;
  margin-bottom: 36px;
}

.legal-toc__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-400);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 2px;
}

.legal-toc li {
  counter-increment: toc;
  margin: 0;
}

.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 6px 8px;
  margin-inline: -8px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.legal-toc a::before {
  content: counter(toc);
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  align-self: center;
}

.legal-toc a:hover {
  background: #fff;
  color: var(--teal-dark);
}

.legal-toc a:hover::before {
  border-color: var(--teal);
}

/* A jump link must not land the heading under the fixed header. */
.legal-doc h2,
.legal-doc h3 {
  scroll-margin-top: 110px;
}

/* Section headings earn a rule: on a 7,000-character document the eye needs
   somewhere to rest between clauses. */
.legal-doc h2 {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.legal-doc h2:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (max-width: 575px) {
  .legal-toc {
    padding: 16px 18px;
    margin-bottom: 26px;
  }

  .legal-toc a { font-size: 14.5px; }
}

/* ==========================================================================
   NOTICES, STEPS AND THE SECONDARY BUTTON
   ========================================================================== */

.notice {
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--teal);
  border-radius: 12px;
  background: var(--paper);
  padding: 18px 20px;
  margin: 24px 0;
}

.notice--warning {
  border-inline-start-color: #d9822b;
  background: #fdf6ee;
  border-color: #f0dcc4;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.notice p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.delete-steps {
  counter-reset: dstep;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.delete-steps li {
  counter-increment: dstep;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
}

.delete-steps li::before {
  content: counter(dstep);
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.delete-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 8px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark) !important;
  background: var(--teal-50);
}

.delete-contact .btn-main {
  margin: 0 !important;
}

@media (max-width: 480px) {
  .delete-contact { flex-direction: column; }
  .delete-contact > * { width: 100%; }
}

/* ==========================================================================
   GET THE APP
   ========================================================================== */

.get-app {
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.get-app::before {
  content: '';
  position: absolute;
  inset-block-start: -120px;
  inset-inline-start: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgb(58 167 171 / 0.18);
  filter: blur(60px);
  pointer-events: none;
}

.get-app__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.get-app__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}

.get-app h3 {
  color: #fff !important;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
}

.get-app__body {
  color: rgb(255 255 255 / 0.74);
  font-size: 15.5px;
  line-height: 1.95;
  margin: 0 0 26px;
  max-width: 46ch;
}

.get-app__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.get-app__points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgb(255 255 255 / 0.9);
  font-size: 15px;
  line-height: 1.75;
}

.get-app__tick {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgb(58 167 171 / 0.22);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.get-app__tick svg { width: 15px; height: 15px; }

/* ---- store badges -------------------------------------------------------- */

.store-badges--hero {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badges--hero .store-badge {
  padding: 11px 20px;
  border-radius: 14px;
}

.store-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

/* Not published yet: shown, but never mistaken for a working link. */
.store-badge.is-soon {
  opacity: 0.55;
  cursor: default;
}

.store-badge.is-soon:hover {
  border-color: rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.05);
}

@media (max-width: 991px) {
  .get-app__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 479px) {
  .store-badges--hero { flex-direction: column; }
  .store-badges--hero .store-badge { width: 100%; }
}

/* ==========================================================================
   PAYMENT METHODS
   ========================================================================== */

.pay-methods {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 22px 0 4px;
  margin-top: 8px;
}

.pay-methods .container,
.pay-methods {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

.pay-methods__title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.55);
  margin: 0 0 12px;
  text-align: center;
}

.pay-methods ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pay-methods li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  height: 38px;
  min-width: 60px;
  overflow: hidden;
}

.pay-methods li img,
.pay-mark svg {
  display: block;
  height: 38px;
  width: auto;
}

.pay-mark {
  display: inline-flex;
  align-items: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   STORE BADGES ON A LIGHT GROUND
   --------------------------------------------------------------------------
   The badges were designed for the ink band. In the about section they sit on
   paper, so the border and text invert.
   ========================================================================== */

.store-badges--light {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.store-badges--light .store-badge {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 14px;
}

.store-badges--light .store-badge:hover {
  background: #0a1f2f;
  border-color: #0a1f2f;
  color: #fff !important;
}

.store-badges--light .store-badge.is-soon {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-500, #3d5567);
  opacity: 1;
}

.store-badges--light .store-badge.is-soon small {
  color: var(--ink-400);
}

.store-badges--light .store-badge.is-soon:hover {
  background: #fff;
  border-color: var(--line);
}

@media (max-width: 575px) {
  .store-badges--light { flex-direction: column; }
  .store-badges--light .store-badge { width: 100%; }
}

/* On a phone the about column stacks: badges, then the fact cards. In the
   "coming soon" state they were white cards with a hairline border, sitting
   directly above white cards with a hairline border — one ran into the next.
   A tinted ground separates a control from a statement. */
.store-badges--light .store-badge.is-soon {
  background: var(--paper);
  border-color: var(--line);
}

.store-badges--light .store-badge.is-soon:hover {
  background: var(--paper);
}

/* Space between the download block and whatever follows it in the column. */
.info_JM .store-badges--light {
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .info_JM .store-badges--light {
    margin-bottom: 28px;
  }
}
