/* ==========================================================================
   BertonPay — Home (Figma: main, 1920×5204)
   Font: Inter | Brand: #b04a4a / #8c3838 | Surface: #faf7f6
   ========================================================================== */

/* ========== SECTION: Design tokens / Reset ========== */
:root {
  --color-bg: #faf7f6;
  --color-surface: #f6ecea;
  --color-surface-soft: rgba(246, 236, 234, 0.5);
  --color-primary: #b04a4a;
  --color-primary-dark: #8c3838;
  --color-text: #2b2223;
  --color-text-muted: #696262;
  --color-text-muted-50: rgba(105, 98, 98, 0.5);
  --color-text-soft: rgba(43, 34, 35, 0.7);
  --color-border: rgba(176, 74, 74, 0.15);
  --color-border-strong: rgba(176, 74, 74, 0.25);
  --color-border-input: #efdddc;
  --color-white: #ffffff;
  --color-footer: #2b2223;
  --color-cta: #8c3838;
  --color-blob: rgba(228, 195, 194, 0.7);
  --color-blob-soft: rgba(176, 74, 74, 0.15);

  --font: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1440px;
  --radius-pill: 50px;
  --radius-card: 20px;
  --radius-input: 40px;
  --shadow-soft: 0 8px 32px rgba(176, 74, 74, 0.08);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

.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;
}

/*
  Content column: 1440px centered (Figma content width).
  Page/bg stay full viewport (1920 canvas).
*/
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
/* ========== /SECTION: Design tokens / Reset ========== */


/* ========== SECTION: Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--sm {
  min-width: 140px;
  height: 50px;
  padding: 10px 20px;
}

.btn--lg {
  min-width: 268px;
  height: 50px;
  padding: 10px 30px;
}

/* Wide hero CTAs
   [edge][label][gap][icon][edge]
   default: equal edges → group perfectly centered
   hover: edges collapse, gap expands → label left, icon right (animated) */
.btn--with-icon {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 460px;
  height: 50px;
  padding: 0 30px;
  box-sizing: border-box;
  gap: 0;
}

.btn--with-icon .btn__label {
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn--with-icon .btn__icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.btn--with-icon .btn__edge {
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--with-icon .btn__gap {
  flex: 0 0 10px;
  width: 10px;
  min-width: 0;
  transition:
    flex-grow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    flex-basis 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--with-icon:hover .btn__edge {
  flex-grow: 0;
}

.btn--with-icon:hover .btn__gap {
  flex-grow: 1;
  flex-basis: 0;
}

/* Primary: filled brand → light fill + dark border on hover (Figma Component 6 / 3.png) */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* Outline: light fill + brand stroke → filled dark on hover (Figma Component 7) */
.btn--outline {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--outline:hover {
  background: var(--color-primary-dark);
  color: var(--color-bg);
  border-color: var(--color-primary-dark);
}

/* Light CTA button (on dark red band) */
.btn--light {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-surface);
}

.btn--light:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
/* ========== /SECTION: Buttons ========== */


/* ========== SECTION: Shared UI (badge, titles, logo) ========== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 40px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-strong);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section__head {
  margin-bottom: 48px;
}

.section__head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.section__title {
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 583px;
}

.section__text--center {
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo__text {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.logo--light .logo__text {
  color: var(--color-bg);
}
/* ========== /SECTION: Shared UI ========== */


/* ========== SECTION: Header / Navigation ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 100px;
  background: rgba(250, 247, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(43, 34, 35, 0.04);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header__inner .logo {
  justify-self: start;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Nav link: muted → brand on hover (Figma Component 1 state=default/hover) */
.nav__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-soft);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--color-primary-dark);
}

.nav__link.is-active {
  color: var(--color-primary-dark);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .header__burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .header__burger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .header__burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn--header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--header .btn__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

/* ——— 12.png Log Out: outline → filled ——— */
.btn--logout {
  background: #f6ecea;
  color: #8c3838;
  border: 1px solid #8c3838;
}

.btn--logout:hover {
  background: #8c3838;
  color: #faf7f6;
  border-color: #8c3838;
}

.btn--logout:hover .btn__icon {
  transform: translateX(2px);
}

.btn--open-account {
  background: #b04a4a;
  color: #faf7f6;
  border: 1px solid #b04a4a;
}

.btn--open-account:hover {
  background: #f6ecea;
  color: #8c3838;
  border-color: #8c3838;
}

.btn--open-account:hover .btn__icon {
  transform: translate(2px, -2px);
}
/* ========== /SECTION: Header / Navigation ========== */


/* ========== SECTION: Hero ========== */
.hero {
  position: relative;
  padding: 24px 0 72px;
  overflow: hidden;
  background: var(--color-bg);
}

/* Map layer */
.hero__map {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__map-svg {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: min(1440px, 100%);
  height: auto;
  min-height: 520px;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--color-blob);
  filter: blur(200px);
  opacity: 0.85;
}

.blob--tr {
  top: -40px;
  right: -60px;
}

.blob--bl {
  top: 280px;
  left: -120px;
}

.blob--br {
  bottom: 80px;
  right: -80px;
}

.hero__content {
  background: url(../img/home-bg.png);
  position: relative;
  z-index: 1;
  padding-top: 20px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

/* Floating pills (Frame 13) */
.hero__pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(246, 236, 234, 0.72);
  border: 1px solid var(--color-border-strong);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pill--speed {
  top: 36px;
  right: 0;
}

.pill--trusted {
  top: 210px;
  left: 0;
}

.pill--borderless {
  top: 430px;
  left: 50%;
  transform: translateX(-50%);
}

/* Title — Inter Black 85, asymmetric lines (Figma Frame 65) */
.hero__title {
  position: relative;
  z-index: 1;
  font-size: clamp(42px, 5.9vw, 85px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-transform: uppercase;
  margin: 0 0 48px;
  max-width: 1100px;
  /* Enter once on page load: drop from top */
  animation: hero-drop-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero__title-line {
  display: block;
}

.hero__title-line--1 {
  /* Global payments — left aligned */
}

.hero__title-line--2 {
  /* that land — indented right under first line */
  padding-left: min(28vw, 360px);
}

.hero__title-line--3 {
  /* in seconds, (red) not days. */
  padding-left: min(18vw, 240px);
  white-space: nowrap;
}

.hero__title-line--3 em {
  font-style: normal;
  color: var(--color-primary-dark);
}

/* Bottom row: copy + CTAs | transfer card */
.hero__bottom {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(300px, 460px);
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.hero__copy {
  max-width: 460px;
  /* Enter once on page load: slide in from off-screen left */
  animation: hero-slide-in-left 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero__lead {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  max-width: 460px;
}

.hero__ctas .btn {
  width: 100%;
  max-width: 460px;
}

/* Transfer card (Component 13) — hover fills progress bar */
.transfer-card {
  width: 100%;
  max-width: 460px;
  min-height: 246px;
  padding: 24px 20px 20px;
  background: var(--color-bg);
  border: 1px solid #b26f6f;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(176, 74, 74, 0.08);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    translate var(--transition);
  justify-self: end;
  /* Enter once on page load: slide in from off-screen right */
  animation: hero-slide-in-right 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

/* Hero load animations — run once per page load (CSS animation-iteration: 1)
   Side elements start fully off-screen so they “enter from outside the viewport”. */
@keyframes hero-drop-in {
  from {
    opacity: 0;
    transform: translate3d(0, -80px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-slide-in-left {
  from {
    opacity: 0;
    /* far past the left edge of the screen */
    transform: translate3d(calc(-100vw - 40px), 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-slide-in-right {
  from {
    opacity: 0;
    /* far past the right edge of the screen */
    transform: translate3d(calc(100vw + 40px), 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__copy,
  .transfer-card {
    animation: none;
  }
}

.transfer-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 16px 48px rgba(176, 74, 74, 0.14);
  /* individual translate — doesn't fight entrance animation on `transform` */
  translate: 0 -4px;
}

.transfer-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.transfer-card__id {
  font-size: 16px;
  color: var(--color-text-muted);
}

.transfer-card__live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-strong);
  color: var(--color-primary);
  font-size: 16px;
  backdrop-filter: blur(12px);
}

.transfer-card__amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 18px;
  text-align: center;
}

.transfer-card__track {
  position: relative;
  height: 8px;
  border-radius: 20px;
  background: var(--color-bg);
  border: 1px solid #b26f6f;
  margin-bottom: 10px;
  overflow: visible;
}

.transfer-card__bar {
  display: block;
  height: 100%;
  width: 14px;
  border-radius: 20px;
  background: var(--color-primary);
  transition: width 0.45s ease;
}

.transfer-card:hover .transfer-card__bar {
  width: 100%;
}

.transfer-card__dot {
  position: absolute;
  top: 50%;
  left: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateY(-50%);
  transition: left 0.45s ease;
  box-shadow: 0 0 0 3px rgba(176, 74, 74, 0.15);
}

.transfer-card:hover .transfer-card__dot {
  left: calc(100% - 14px);
}

.transfer-card__times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.transfer-card__settled {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #009111;
  font-weight: 500;
}

.transfer-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.transfer-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Stats bar (Frame 17 / 2.png) — single rounded panel, 4 cells, vertical dividers */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
  position: relative;
  z-index: 1;
  background: #fffdfc;
  border-radius: 28px;
  box-shadow:
    0 10px 40px rgba(176, 74, 74, 0.08),
    0 2px 8px rgba(43, 34, 35, 0.04);
  border: 1px solid rgba(226, 200, 198, 0.45);
  overflow: hidden;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 36px 20px 32px;
  position: relative;
}

/* Vertical dividers between cells — no hover on stats */
.stats__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  right: 0;
  width: 1px;
  background: rgba(176, 74, 74, 0.12);
}

.stats__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #c47a7a;
  margin-bottom: 4px;
}

.stats__icon svg {
  width: 50px;
  height: 50px;
}

.stats__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.stats__label {
  font-size: 14px;
  font-weight: 400;
  color: #9a8f8f;
  line-height: 1.3;
}
/* ========== /SECTION: Hero ========== */


/* ========== SECTION: Why BertonPay ========== */
.why {
  padding-top: 60px;
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 48px 64px;
  align-items: start;
}

.why__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding-top: 40px;
}

/* Uppercase title like 4.png; first word accent */
.why__title {
  max-width: 520px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.why__title-accent {
  color: var(--color-primary-dark);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 338px));
  gap: 30px;
  justify-content: end;
}

/* Feature card: Figma Component 10 — bar full width on hover (4.png) */
.feature-card {
  position: relative;
  width: 100%;
  min-height: 268px;
  /* extra top padding so content sits below watermark number */
  padding: 64px 30px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

/* Number watermark via SVG — Inter + text-stroke breaks open “4”; SVG stroke is even */
.feature-card__num {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 72px;
  height: 52px;
  pointer-events: none;
  user-select: none;
  overflow: visible;
}

.feature-card__num text {
  font-family: var(--font);
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.03em;
  fill: var(--color-surface);
  stroke: rgba(176, 74, 74, 0.32);
  stroke-width: 1.35px;
  paint-order: stroke fill;
  transition: fill 0.35s ease, stroke 0.35s ease, stroke-width 0.35s ease;
}

.feature-card:hover .feature-card__num text {
  fill: rgba(176, 74, 74, 0.22);
  stroke: transparent;
  stroke-width: 0;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* Default short bar; hover → full width of card content area */
.feature-card__bar {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-card__bar {
  width: 100%;
}

.feature-card__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 100%;
  position: relative;
  z-index: 1;
}
/* ========== /SECTION: Why BertonPay ========== */


/* ========== SECTION: About BertonPay (6.png) ========== */
.about {
  overflow: hidden;
}

.about__title {
  max-width: 980px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
}

.about__title-accent {
  color: var(--color-primary-dark);
}

.about__diagram {
  /* Figma Frame 36 body under title ≈ 1440×680 with circle @ center */
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 700px;
  margin: 24px auto 0;
}

/* Dotted ring + soft center glow */
.about__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.about__glow {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(176, 74, 74, 0.28) 0%,
    rgba(176, 74, 74, 0.08) 45%,
    transparent 70%
  );
  filter: blur(8px);
}

.about__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dotted rgba(176, 74, 74, 0.55);
  opacity: 1;
}

/* Steps on the circle */
.about__step {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about__step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 16px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(176, 74, 74, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about__step:hover .about__step-num {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(176, 74, 74, 0.45);
}

.about__step-copy h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.25;
}

.about__step-copy p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 220px;
}

/* Positions relative to ring center (400px → radius 200). Num sits on the dotted edge. */

/* 1 — top: text above number */
.about__step--1 {
  left: 50%;
  top: calc(50% - 200px);
  flex-direction: column;
  text-align: center;
  gap: 12px;
  transform: translate(-50%, calc(-100% + 20px));
}

.about__step--1 .about__step-copy p {
  max-width: 280px;
  margin-inline: auto;
}

/* 2 — right: number then text */
.about__step--2 {
  left: calc(50% + 200px);
  top: 50%;
  flex-direction: row;
  text-align: left;
  transform: translate(-20px, -50%);
}

/* 3 — bottom: number then text below */
.about__step--3 {
  left: 50%;
  top: calc(50% + 200px);
  flex-direction: column;
  text-align: center;
  gap: 12px;
  transform: translate(-50%, -20px);
}

.about__step--3 .about__step-copy p {
  max-width: 280px;
  margin-inline: auto;
}

/* 4 — left: text then number */
.about__step--4 {
  left: calc(50% - 200px);
  top: 50%;
  flex-direction: row;
  text-align: right;
  transform: translate(calc(-100% + 20px), -50%);
}

.about__step--4 .about__step-copy p {
  margin-left: auto;
}

/* Corner benefits — Figma Frame 32–35 (460×82) relative to circle center
   TL @0,325  TR @980,315  BL @0,685  BR @980,685
   circle center ≈ (720, 546) within Frame 36 */
.about__benefit {
  position: absolute;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 460px;
  max-width: calc(50% - 240px);
  z-index: 2;
}

/* top pair: ~221px above circle center (near top of ring) */
.about__benefit--tl {
  left: 0;
  top: calc(50% - 221px);
}

.about__benefit--tr {
  right: 0;
  top: calc(50% - 231px);
}

/* bottom pair: ~139px below circle center */
.about__benefit--bl {
  left: 0;
  top: calc(50% + 139px);
  bottom: auto;
}

.about__benefit--br {
  right: 0;
  top: calc(50% + 139px);
  bottom: auto;
}

.about__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #c47a7a;
  margin-top: 0;
}

.about__benefit-copy {
  min-width: 0;
  flex: 1;
}

.about__benefit-copy h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.about__benefit-copy p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
/* ========== /SECTION: About BertonPay ========== */


/* ========== SECTION: Our Services (7.png) ========== */
.services {
  position: relative;
}

.services::before,
.services::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--color-blob-soft);
  filter: blur(180px);
  pointer-events: none;
  z-index: 0;
}

.services::before {
  left: -140px;
  bottom: -40px;
}

.services::after {
  right: -140px;
  top: 40px;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services__title {
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.services__title-accent {
  color: var(--color-primary-dark);
}

/* 4 columns × 2 rows (6 cards + 2 decos) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

/* Service card border (2.mp4)
   Default: ONLY 4 L-corners (no side lines)
   Hover:   each corner grows ONE way (CCW) → full single-color border
   TL↓ left side · BL→ bottom · BR↑ right side · TR← top */
.service-card {
  --card-radius: 22px;
  --corner-size: 48px;
  --frame-color: #b04a4a;
  --frame-w: 2px;
  position: relative;
  min-height: 268px;
  padding: 40px 28px 32px;
  background-color: #faf7f6;
  border: none;
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-primary);
  cursor: pointer;
  /* clip growing corner lines to rounded card */
  overflow: hidden;
}

.service-card::before,
.service-card::after {
  content: none;
}

.service-card__corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
}

.service-card__corner {
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  border-style: solid;
  border-color: transparent;
  border-width: var(--frame-w);
  transition:
    width 0.45s linear,
    height 0.45s linear;
}

/* ── default: L-brackets only at corners ── */
.service-card__corner--tl {
  top: 0;
  left: 0;
  border-top-color: var(--frame-color);
  border-left-color: var(--frame-color);
  border-top-left-radius: var(--card-radius);
}

.service-card__corner--tr {
  top: 0;
  right: 0;
  border-top-color: var(--frame-color);
  border-right-color: var(--frame-color);
  border-top-right-radius: var(--card-radius);
}

.service-card__corner--br {
  bottom: 0;
  right: 0;
  border-bottom-color: var(--frame-color);
  border-right-color: var(--frame-color);
  border-bottom-right-radius: var(--card-radius);
}

.service-card__corner--bl {
  bottom: 0;
  left: 0;
  border-bottom-color: var(--frame-color);
  border-left-color: var(--frame-color);
  border-bottom-left-radius: var(--card-radius);
}

/* ── hover: grow ONE direction only (counter-clockwise) ──
   TL grows DOWN  (left edge)  — height → 100%
   BL grows RIGHT (bottom edge) — width  → 100%
   BR grows UP    (right edge)  — height → 100%
   TR grows LEFT  (top edge)    — width  → 100%
*/
.service-card:hover .service-card__corner--tl {
  height: 100%;
  /* width stays --corner-size → top leg does not grow */
}

.service-card:hover .service-card__corner--bl {
  width: 100%;
  /* height stays → left leg does not grow */
}

.service-card:hover .service-card__corner--br {
  height: 100%;
}

.service-card:hover .service-card__corner--tr {
  width: 100%;
}

.service-card__icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  color: #c47a7a;
  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.service-card:hover .service-card__icon {
  color: var(--color-primary);
  transform: scale(1.2);
}

.service-card__title {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-card__text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 278px;
}

/* Decorative circular cells */
.service-deco {
  position: relative;
  min-height: 268px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c47a7a;
  aspect-ratio: 1;
  max-height: 280px;
  margin: auto;
  width: 100%;
  max-width: 280px;
}

.service-deco__orbit {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px dotted rgba(176, 74, 74, 0.35);
  pointer-events: none;
}

.service-deco__orbit--2 {
  inset: 22%;
  border-style: solid;
  border-color: rgba(176, 74, 74, 0.12);
}

.service-deco__orbit--3 {
  inset: 0;
  border-style: dotted;
  border-color: rgba(176, 74, 74, 0.28);
}

.service-deco__core {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(246, 236, 234, 0.7);
  display: grid;
  place-items: center;
  color: #c47a7a;
}

.service-deco__core--lock {
  background: transparent;
}

.service-deco__chip {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(246, 236, 234, 0.95);
  border: 1px solid rgba(176, 74, 74, 0.15);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #c47a7a;
  z-index: 2;
}

.service-deco__chip--n { top: 10%; left: 50%; transform: translateX(-50%); }
.service-deco__chip--e { top: 50%; right: 8%; transform: translateY(-50%); }
.service-deco__chip--s { bottom: 10%; left: 50%; transform: translateX(-50%); }
.service-deco__chip--w { top: 50%; left: 8%; transform: translateY(-50%); }

.service-deco__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  z-index: 2;
}

.service-deco__dot--1 {
  top: 18%;
  left: 14%;
}

.service-deco__dot--2 {
  bottom: 16%;
  right: 14%;
}
/* ========== /SECTION: Our Services ========== */


/* ========== SECTION: CTA (9.png) ========== */
.cta {
  position: relative;
  margin: 48px auto 0;
  width: min(100% - 48px, var(--container));
  border-radius: 40px;
  background-color: #8c3838;
  overflow: hidden;
  padding: 88px 40px 92px;
  text-align: center;
  background-image: url(../img/ready-bg.png);
  background-repeat: no-repeat;
  background-position: center;
}

/* Dot map layer */
.cta__map {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.cta__map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin-inline: auto;
}

.cta__title {
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 900;
  color: #faf7f6;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 950px;
}

.cta__text {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(250, 247, 246, 0.85);
  max-width: 520px;
  margin-bottom: 8px;
}

/* Light pill button on CTA band */
.btn--cta {
  display: inline-flex;
  align-items: center;
  width: 340px;
  min-width: 340px;
  height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: #f6ecea;
  color: #8c3838;
  border: 1px solid #f6ecea;
  font-size: 16px;
  font-weight: 400;
  gap: 0;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn--cta .btn__edge {
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--cta .btn__gap,
.btn--cta .btn__grow {
  flex: 0 0 10px;
  width: 10px;
  transition:
    flex-grow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    flex-basis 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--cta:hover {
  background: #faf7f6;
  color: #b04a4a;
  border-color: #faf7f6;
}

.btn--cta:hover .btn__edge {
  flex-grow: 0;
}

.btn--cta:hover .btn__grow {
  flex-grow: 1;
  flex-basis: 0;
}

.btn--cta .btn__icon {
  flex-shrink: 0;
}
/* ========== /SECTION: CTA ========== */


/* ========== SECTION: Contact (10.png) ========== */
.contact {
  position: relative;
  padding-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
}

/* Soft pink blobs like 10.png */
.contact::before,
.contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.contact::before {
  width: 420px;
  height: 420px;
  left: -80px;
  bottom: -40px;
  background: rgba(228, 195, 194, 0.45);
}

.contact::after {
  width: 380px;
  height: 380px;
  right: 10%;
  top: -60px;
  background: rgba(246, 236, 234, 0.9);
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px 56px;
  align-items: center;
  min-height: 366px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-top: 0;
}

/* HAVE A (dark) + QUESTION? (brand) */
.contact__title {
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 900;
  max-width: 705px;
  line-height: 1.1;
  color: var(--color-text);
}

.contact__title-accent {
  color: var(--color-primary-dark);
}

.contact__lead {
  max-width: 520px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

/* Email: icon + soft pink pill */
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  min-height: 50px;
  padding: 0;
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  transition: opacity var(--transition), transform var(--transition);
}

.contact__email:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.contact__email-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.contact__email-text {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 600;
  border: none;
  transition: background-color var(--transition), color var(--transition);
}

.contact__email:hover .contact__email-text {
  background: #f0e0de;
}

/* Outer DOTTED red frame + soft inner card (10.png) */
.contact__form-wrap {
  position: relative;
  width: 100%;
  max-width: 705px;
  justify-self: end;
  padding: 14px;
  border-radius: 40px;
  border: 2px dotted var(--color-primary);
  box-sizing: border-box;
  background: transparent;
}

.contact__form {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: #faf7f6;
  border-radius: 30px;
  padding: 36px 28px 28px;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0 4px 40px rgba(176, 74, 74, 0.04);
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  width: 100%;
}

.field {
  display: block;
  width: 100%;
}

/* Soft filled inputs — light border, stronger on hover/focus */
.field__input {
  width: 100%;
  height: 50px;
  padding: 10px 22px;
  border-radius: 40px;
  background: #f6ecea;
  border: 1px solid transparent;
  color: var(--color-text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.field__input::placeholder {
  color: rgba(105, 98, 98, 0.55);
  transition: color var(--transition);
}

.field__input:hover {
  border-color: rgba(176, 74, 74, 0.35);
}

.field__input:hover::placeholder {
  color: var(--color-text-muted);
}

.field__input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #faf7f6;
  box-shadow: 0 0 0 3px rgba(176, 74, 74, 0.1);
}

.field__input:focus::placeholder {
  color: var(--color-text-muted);
}

.field__textarea {
  height: auto;
  min-height: 146px;
  border-radius: 28px;
  resize: vertical;
  padding-top: 16px;
  padding-bottom: 16px;
}

.field--area {
  width: 100%;
}

.contact__submit {
  margin-top: 8px;
  width: 160px;
  min-width: 160px;
  height: 50px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #faf7f6;
  border: 1px solid var(--color-primary);
}

.contact__submit:hover {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
/* ========== /SECTION: Contact ========== */


/* ========== SECTION: Footer ========== */
.footer {
  background: var(--color-footer);
  color: var(--color-bg);
  padding: 50px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer__brand {
  max-width: 705px;
}

.footer__legal-text {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-bg);
}

.footer__cols {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
  padding-top: 8px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 140px;
}

.footer__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
}

/* Footer links: light → brand tint on hover */
.footer__link {
  font-size: 16px;
  font-weight: 600;
  color: rgba(250, 247, 246, 0.75);
  transition: color var(--transition), transform var(--transition);
  width: fit-content;
}

.footer__link:hover {
  color: #e8b4b4;
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(250, 247, 246, 0.12);
}

.footer__copy {
  font-size: 16px;
  color: rgba(250, 247, 246, 0.7);
}

.footer__payments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 37px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-footer);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pay-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
/* ========== /SECTION: Footer ========== */


/* ========== SECTION: Responsive ========== */
@media (max-width: 1200px) {
  .why__grid {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    justify-content: start;
  }

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

  .service-deco {
    max-width: 240px;
    min-height: 220px;
  }

  .about__diagram {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }

  .about__ring {
    display: none;
  }

  .about__step,
  .about__benefit {
    position: static;
    transform: none !important;
    width: 100%;
    max-width: none;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .about__step {
    flex-direction: row !important;
    text-align: left !important;
    gap: 16px;
    align-items: flex-start;
  }

  .about__step--1,
  .about__step--3 {
    flex-direction: row !important;
  }

  .about__step--1 .about__step-num {
    order: -1;
  }

  .about__step--4 {
    flex-direction: row !important;
  }

  .about__step--4 .about__step-copy,
  .about__step--4 .about__step-num {
    order: unset;
  }

  .about__step--4 .about__step-copy {
    text-align: left;
  }

  .about__step--4 .about__step-copy p {
    margin-left: 0;
  }

  .about__step-copy p {
    max-width: none;
    margin-inline: 0;
  }

  .about__benefit {
    width: 100%;
  }

  .hero__pills {
    display: none;
  }

  .hero__bottom {
    grid-template-columns: 1fr;
  }

  .transfer-card {
    justify-self: start;
    max-width: 100%;
  }

  .hero__title-line--2,
  .hero__title-line--3 {
    padding-left: min(12vw, 120px);
  }

  .hero__title-line--3 {
    white-space: normal;
  }
}

@media (max-width: 960px) {
  .header {
    height: 72px;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .nav,
  .header__actions {
    display: none;
  }

  body.nav-open .nav,
  body.nav-open .header__actions {
    display: flex;
  }

  body.nav-open .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-bg);
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 32px rgba(43, 34, 35, 0.08);
  }

  body.nav-open .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  body.nav-open .header__actions {
    position: absolute;
    top: calc(72px + 220px);
    left: 0;
    right: 0;
    flex-direction: column;
    justify-content: stretch;
    padding: 16px 24px 24px;
    background: var(--color-bg);
    box-shadow: 0 12px 32px rgba(43, 34, 35, 0.08);
  }

  body.nav-open .header__actions .btn {
    width: 100%;
  }

  .header__burger {
    display: flex;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(2)::after {
    display: none;
  }

  .stats__item:nth-child(1)::after,
  .stats__item:nth-child(3)::after {
    top: auto;
    bottom: 0;
    left: 18%;
    right: 18%;
    width: auto;
    height: 1px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact__form-wrap {
    max-width: none;
    justify-self: stretch;
  }

  .contact__email {
    margin-top: 12px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero__title {
    margin-bottom: 32px;
  }

  .hero__title-line--2,
  .hero__title-line--3 {
    padding-left: 0;
  }

  .hero__ctas .btn--lg {
    min-width: 100%;
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .stats__item:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 18%;
    right: 18%;
    width: auto;
    height: 1px;
  }

  .stats__item {
    padding: 28px 16px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-deco {
    max-width: 200px;
    min-height: 200px;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 64px 24px;
    border-radius: 20px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge {
    min-width: auto;
  }

  .footer__cols {
    gap: 40px;
    flex-wrap: wrap;
  }

  .transfer-card__meta {
    gap: 12px;
  }
}
/* ========== /SECTION: Responsive ========== */
.pages-text {
	padding-bottom: 50px;
	background-image: 
    	url('../img/el1.png'),
    	url('../img/el1.png'),
    	url('../img/el1.png'),
    	url('../img/el1.png');
    	
    background-position:
  		5% 5%,        
  		95% 28%,     
  		5% 55%,       
  		95% 82%;
  		
	background-repeat: 
	    no-repeat,
	    no-repeat,
	    no-repeat,
	    no-repeat;
}
.pages-text .title {
	text-align: center;
	padding: 40px 0px;
	font-weight: 900;
	font-size: 32px;
}
.pages-text p,
.pages-text span {
	font-family: "Inter", system-ui, -apple-system, sans-serif !important;
}

/* ========== Toast notification ========== */
.toast {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 28px;
  width: min(440px, calc(100% - 32px));
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
 
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
 
.toast__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 12px 40px rgba(43, 34, 35, 0.14);
  color: var(--color-text);
}
 
.toast__icon {
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.toast__icon--success {
  background: rgba(0, 145, 17, 0.1);
  color: #009111;
}

.toast__icon--error {
  background: rgba(176, 74, 74, 0.12);
  color: var(--color-primary);
}

.toast--success .toast__icon--success,
.toast--error .toast__icon--error {
  display: flex;
}

.toast__text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}
 
.toast__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition);
}
 
.toast__close:hover {
  background: var(--color-surface);
  color: var(--color-primary-dark);
}
 
.toast__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* ========== /Toast notification ========== */