/* ============================================================
   iCan Landing Page — styles matching the Figma design (1440px)
   ============================================================ */

:root {
  --brand-primary: #12396c;
  --base-white: #ffffff;
  --blue-50: #eff8ff;
  --blue-100: #d1e9ff;
  --blue-200: #b2ddff;
  --gray-cool-50: #f9f9fb;
  --gray-cool-100: #eff1f5;
  --gray-cool-200: #dcdfea;
  --gray-cool-500: #60689c;
  --gray-cool-600: #48567a;
  --gray-cool-900: #111322;

  /* Fluid horizontal gutters — overridden per breakpoint at the bottom of this file */
  --pad: 100px;
  --pad-wide: 140px;

  /* Shared radius for phone screenshot mockups (clips square black PNG corners) */
  --phone-radius: 14%;
}

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

html,
body {
  /* Full-bleed sections use 100vw; keep the scrollbar from creating sideways scroll */
  overflow-x: hidden;
}

body {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  background: var(--base-white);
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: "Cairo", "DM Sans", sans-serif;
}

/* CTA mirrors correctly in RTL via logical properties; keep copy readable */
html[lang="ar"] .cta__title {
  white-space: normal;
  max-width: 100%;
}

html[lang="ar"] .cta__content {
  text-align: right;
}

img {
  display: block;
}

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

.page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: var(--base-white);
}

/* ---------- Shared: tags ---------- */

.tag {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

.tag--on-navy {
  background: var(--base-white);
  color: var(--brand-primary);
}

.tag--on-light {
  background: var(--gray-cool-100);
  color: var(--brand-primary);
}

/* ---------- Shared: buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-primary);
  color: var(--base-white);
}

.btn--white {
  background: var(--base-white);
  color: var(--brand-primary);
}

.btn--outline-navy {
  border: 1.5px solid var(--base-white);
  color: var(--base-white);
  padding: 13.5px 26.5px;
}

/* ---------- Shared: store download buttons ---------- */

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8.14px;
  background: #000;
  border-radius: 8px;
  padding: 8.14px 11.395px;
  overflow: hidden;
  flex-shrink: 0;
}

.store-btn__icon-wrap {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.store-btn__icon--apple {
  width: 24.422px;
  height: 29.625px;
}

.store-btn__icon--play {
  width: 29.637px;
  height: 32.235px;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.store-btn__prompt {
  width: 95.395px;
  height: 14px;
  margin-bottom: -3.907px;
  font-family: "Rubik", sans-serif;
  font-size: 11.81px;
  font-weight: 500;
  line-height: 14px;
  color: #fff;
  white-space: nowrap;
}

.store-btn__store {
  width: 106.14px;
  height: 29.628px;
  font-family: "Rubik", sans-serif;
  font-size: 25.03px;
  font-weight: 500;
  line-height: 29.628px;
  letter-spacing: -1.7521px;
  color: #fff;
  white-space: nowrap;
}

/* ---------- Shared: section titles ---------- */

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--gray-cool-900);
  text-align: center;
  white-space: nowrap;
}

.section-title--left {
  text-align: left;
  letter-spacing: -0.3px;
}

/* ============================================================
   Navbar
   ============================================================ */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 var(--pad);
  background: var(--base-white);
  border-bottom: 1px solid var(--gray-cool-200);
}

.navbar__brand {
  width: 72px;
}

.navbar__logo {
  width: 59px;
  height: 48px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.navbar__links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 40px;
}

/* Checkbox-driven mobile menu — no JS needed */
.navbar__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-right: -10px;
  border-radius: 12px;
  cursor: pointer;
}

.navbar__burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--brand-primary);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.navbar__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-cool-600);
  white-space: nowrap;
}

.navbar__link--active {
  font-weight: 600;
  color: var(--brand-primary);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--brand-primary);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: calc(var(--pad) * 0.6);
}

.hero__ellipse {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero__ellipse--top {
  right: -210px;
  top: -260px;
  width: 560px;
  height: 560px;
}

.hero__ellipse--bottom {
  left: -130px;
  bottom: -120px;
  width: 300px;
  height: 300px;
}

.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero__bar {
  width: 52px;
  height: 5px;
  border-radius: 3px;
  background: var(--base-white);
}

.hero__title {
  width: 100%;
  max-width: 560px;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.5px;
  color: var(--base-white);
}

.hero__subtitle {
  width: 100%;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.58;
  color: var(--blue-100);
}

.hero__actions {
  display: flex;
  gap: 14px;
}

/* The phone stage is sized fluidly; everything inside it is positioned in
   percentages so the mockup, its halo and the float cards scale as one unit. */
.hero__phone {
  position: relative;
  flex-shrink: 0;
  width: min(500px, 40vw);
  aspect-ratio: 500 / 720;
}

.hero__phone-ellipse {
  position: absolute;
  left: 11%;
  top: 18.06%;
  width: 86%;
  aspect-ratio: 1;
  height: auto;
}

.hero__phone-screen {
  position: absolute;
  left: 18%;
  top: 13.89%;
  width: 70%;
  height: auto;
  aspect-ratio: 350 / 730;
  object-fit: cover;
  border-radius: var(--phone-radius);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: var(--base-white);
  box-shadow: 0px 16px 40px -6px rgba(5, 20, 46, 0.28);
}

.float-card--delivery {
  inset-inline-start: -3.6%;
  top: 23.33%;
}

.float-card--notify {
  inset-inline-start: 59.2%;
  top: 72.22%;
}

.float-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-50);
}

.float-card__icon img {
  width: 20px;
  height: 20px;
}

.float-card__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  white-space: nowrap;
}

.float-card__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-cool-900);
}

.float-card__caption {
  font-size: 12.5px;
  color: var(--gray-cool-600);
}

/* ============================================================
   Stats Strip
   ============================================================ */

.stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  padding: 0 var(--pad);
  background: var(--base-white);
  border-bottom: 1px solid var(--gray-cool-200);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  white-space: nowrap;
}

.stats__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-primary);
}

.stats__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-cool-500);
}

.stats__divider {
  width: 1px;
  height: 44px;
  background: var(--gray-cool-200);
}

/* ============================================================
   Categories
   ============================================================ */

.categories {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--gray-cool-50);
}

.categories__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--pad);
}

.categories__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.categories__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.categories__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.categories__row {
  display: flex;
  gap: 24px;
  width: 100%;
}

.categories__row--first .category-card {
  height: 342px;
}

.categories__row--second .category-card {
  height: 334px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 16px;
  border-radius: 20px;
  background: var(--base-white);
  border: 1px solid var(--gray-cool-200);
  box-shadow: 0px 10px 24px -10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.category-card__image {
  height: 239px;
  border-radius: 16px;
  overflow: hidden;
}

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

.category-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-cool-900);
}

.category-card__count {
  font-size: 13px;
  color: var(--gray-cool-500);
}

/* ============================================================
   Why iCan
   ============================================================ */

.why {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--gray-cool-50);
}

.why__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--pad);
}

.why__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.why__title {
  width: 640px;
  white-space: normal;
  letter-spacing: -0.3px;
}

.why__grid {
  display: flex;
  gap: 24px;
}

.why-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 281px;
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--base-white);
  border: 1px solid var(--gray-cool-200);
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--blue-50);
}

.why-card__icon img {
  width: 26px;
  height: 26px;
}

.why-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-cool-900);
  white-space: nowrap;
}

.why-card__text {
  width: 225px;
  font-size: 14px;
  line-height: 1.48;
  color: var(--gray-cool-600);
}

/* ============================================================
   App Showcase
   ============================================================ */

.showcase {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--brand-primary);
  overflow: hidden;
}

.showcase__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 110px;
}

.showcase__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.showcase__title {
  color: var(--base-white);
}

.showcase__phones {
  position: relative;
  width: min(1000px, 100%);
  aspect-ratio: 1000 / 622;
}

.showcase__phone {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 26%;
}

.showcase__phone--left {
  left: 7%;
  top: 6.43%;
}

.showcase__phone--center {
  left: 37%;
  top: 0;
}

.showcase__phone--right {
  left: 67%;
  top: 6.43%;
}

.showcase__screen {
  width: 100%;
  aspect-ratio: 260 / 542;
  border-radius: var(--phone-radius);
  overflow: hidden;
}

.showcase__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.showcase__caption {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue-100);
  white-space: nowrap;
}

.showcase__actions {
  display: flex;
  gap: 14px;
}

.showcase__spacer {
  height: 60px;
  width: 10px;
}

/* ============================================================
   How It Works
   ============================================================ */

.how {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 96px var(--pad);
  background: var(--base-white);
}

.how__steps {
  display: flex;
  gap: 32px;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 360px;
}

.how-step__badge-wrap {
  position: relative;
  width: 88px;
  height: 88px;
}

.how-step__circle {
  position: absolute;
  left: 4px;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1.5px solid var(--brand-primary);
}

.how-step__circle img {
  width: 32px;
  height: 32px;
}

.how-step__number {
  position: absolute;
  left: 60px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  color: var(--base-white);
}

.how-step__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-cool-900);
  text-align: center;
  white-space: nowrap;
}

.how-step__text {
  width: 280px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-cool-600);
  text-align: center;
}

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--gray-cool-50);
}

.testimonials__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--pad);
}

.testimonials__cards {
  display: flex;
  gap: 24px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 360px;
  padding: 32px;
  border-radius: 20px;
  background: var(--base-white);
  border: 1px solid var(--gray-cool-200);
  overflow: hidden;
}

.testimonial--fixed {
  height: 256px;
}

.testimonial__stars {
  display: flex;
  gap: 3px;
}

.testimonial__stars img {
  width: 16px;
  height: 16px;
}

.testimonial__quote {
  width: 296px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--gray-cool-600);
}

.testimonial__quote--fixed {
  height: 96px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
}

.testimonial__avatar--blue200 {
  background: var(--blue-200);
}

.testimonial__avatar--blue100 {
  background: var(--blue-100);
}

.testimonial__avatar--gray100 {
  background: var(--gray-cool-100);
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  white-space: nowrap;
}

.testimonial__name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-cool-900);
}

.testimonial__city {
  font-size: 13px;
  color: var(--gray-cool-500);
}

/* ============================================================
   CTA Banner
   ============================================================ */

.cta-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 445px;
  padding: 80px var(--pad) 120px;
  background: var(--base-white);
  overflow: visible;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 300px;
  padding-block: 36px;
  padding-inline-start: 72px;
  padding-inline-end: 360px;
  border-radius: 28px;
  background: var(--brand-primary);
  overflow: hidden;
}

.cta__ellipse {
  position: absolute;
  pointer-events: none;
}

.cta__ellipse--top {
  inset-inline-end: -230px;
  top: -190px;
  width: 430px;
  height: 430px;
}

/* Anchored near the phones, nudged left toward the content gap (Figma) */
.cta__ellipse--bottom {
  inset-inline-start: auto;
  inset-inline-end: 340px;
  top: auto;
  bottom: -110px;
  width: 260px;
  height: 260px;
}

.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 560px;
}

.cta__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--base-white);
  white-space: normal;
  line-height: 1.25;
}

.cta__text {
  width: 100%;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.52;
  color: var(--base-white);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta__phone {
  position: absolute;
  z-index: 2;
  width: 160px;
  object-fit: cover;
  border-radius: var(--phone-radius);
}

/* Anchored to the inline-end edge so the pair mirrors correctly in LTR and RTL */
.cta__phone--back {
  inset-inline-end: 264px;
  top: 66px;
  height: 334px;
}

.cta__phone--front {
  inset-inline-end: 134px;
  top: 26px;
  height: 332px;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--brand-primary);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px var(--pad) 32px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__logo {
  width: 59px;
  height: 48px;
}

.footer__tagline {
  width: 300px;
  font-size: 15px;
  line-height: 1.52;
  color: var(--base-white);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  display: flex;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__social img {
  width: 17px;
  height: 17px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  white-space: nowrap;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--base-white);
}

.footer__col-title--app {
  letter-spacing: normal;
}

.footer__link {
  font-size: 14.5px;
  color: var(--base-white);
}

.footer__app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer__clients {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 215px;
  padding: 14px 24px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.footer__clients-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer__powered {
  font-family: "Roboto", sans-serif;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  color: #888;
  white-space: nowrap;
}

.footer__nizek {
  width: 72.773px;
  height: 20px;
}

.footer__goto {
  width: 24px;
  height: 24px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: var(--base-white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer__note {
  font-size: 13.5px;
  color: var(--base-white);
  white-space: nowrap;
}

.footer__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
}

.footer__lang img {
  width: 16px;
  height: 16px;
}

.footer__lang span {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* ============================================================
   About — Hero
   ============================================================ */

.about-hero {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--brand-primary);
  overflow: hidden;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 420px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

.about-hero__ring {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.about-hero__ring--tr {
  right: -141px;
  top: -198px;
  width: 462px;
  height: 462px;
}

.about-hero__ring--bl {
  left: -98px;
  bottom: -136px;
  width: 256px;
  height: 256px;
}

.about-hero__title {
  margin-top: 24px;
  font-size: 44px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -0.5px;
  color: var(--base-white);
}

.about-hero__subtitle {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 27px;
  color: var(--base-white);
}

/* ============================================================
   Contact — Hero
   ============================================================ */

.contact-hero {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--brand-primary);
  overflow: hidden;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 420px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

.contact-hero__ring {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.contact-hero__ring--tl {
  left: -141px;
  top: -198px;
  width: 462px;
  height: 462px;
}

.contact-hero__ring--tr {
  right: -141px;
  top: -198px;
  width: 462px;
  height: 462px;
}

.contact-hero__title {
  margin-top: 24px;
  font-size: 42px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -0.5px;
  color: var(--base-white);
  white-space: nowrap;
}

.contact-hero__subtitle {
  max-width: 520px;
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 27px;
  color: var(--base-white);
}

/* ============================================================
   Contact — Form & Info
   ============================================================ */

.contact-main {
  background: var(--base-white);
}

.contact-main__inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--pad);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 420px;
  flex-shrink: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--gray-cool-50);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  flex-shrink: 0;
}

.contact-card__icon img {
  width: 22px;
  height: 22px;
}

.contact-card__label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-cool-500);
}

.contact-card__value {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-cool-900);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  padding: 40px;
  border-radius: 24px;
  background: var(--base-white);
  border: 1px solid var(--gray-cool-200);
  box-shadow: 0 20px 50px -10px rgba(5, 20, 46, 0.1);
}

.contact-form__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-cool-900);
}

.contact-form__alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.contact-form__alert--success {
  background: #e7f8ee;
  border: 1px solid #b3e6c4;
  color: #165b2b;
}

.contact-form__alert--error {
  margin: 0;
  padding-left: 30px;
  background: #ffeff0;
  border: 1px solid #ffc8cc;
  color: #8b1e2a;
}

.contact-form__row {
  display: flex;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-field__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-cool-900);
}

.form-field__req {
  color: #e5484d;
}

.form-field__input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--gray-cool-200);
  background: var(--gray-cool-50);
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  color: var(--gray-cool-900);
}

html[lang="ar"] .form-field__input {
  font-family: "Cairo", "DM Sans", sans-serif;
}

.form-field__input::placeholder {
  color: var(--gray-cool-500);
}

.form-field__input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.form-field__textarea {
  height: auto;
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.form-field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}

html[lang="ar"] .form-field__select {
  background-position: left 16px center;
  padding-right: 16px;
  padding-left: 42px;
}

.form-field[hidden] {
  display: none;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  border: none;
  cursor: pointer;
}

/* ============================================================
   Contact — FAQ
   ============================================================ */

.faq {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--gray-cool-50);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--pad);
}

.faq__title {
  margin-top: 16px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0%;
  color: var(--gray-cool-900);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 800px;
  margin-top: 48px;
}

.faq__empty {
  font-size: 16px;
  color: var(--gray-cool-600);
}

.faq-item {
  border-radius: 16px;
  background: var(--base-white);
  border: 1px solid var(--gray-cool-200);
  overflow: hidden;
}

.faq-item__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-cool-900);
  cursor: pointer;
}

.faq-item__toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: var(--blue-50);
  flex-shrink: 0;
  background-image: url("assets/icon-plus.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: background-image 0.2s ease;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__text {
  padding: 0 24px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-cool-600);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.faq-item__radio:checked + .faq-item__question .faq-item__toggle {
  background-image: url("assets/icon-minus.svg");
}

.faq-item__radio:checked ~ .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__radio:checked ~ .faq-item__answer .faq-item__text {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__answer,
  .faq-item__text,
  .faq-item__toggle {
    transition: none;
  }
}

/* ============================================================
   Legal Pages (Privacy / Terms)
   ============================================================ */

.legal-main {
  background: var(--base-white);
}

.legal-main__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 88px var(--pad);
}

.legal-main__lead {
  font-size: 16px;
  line-height: 1.72;
  color: var(--gray-cool-600);
  margin-bottom: 36px;
}

.legal-section {
  margin-top: 28px;
}

.legal-section__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-cool-900);
  margin-bottom: 12px;
}

.legal-section__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-cool-600);
}

.legal-section__list {
  margin: 10px 0 0 20px;
  color: var(--gray-cool-600);
}

.legal-section__list li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}

/* CMS HTML from admin Static Pages (about / privacy / terms) */
.cms-content {
  color: var(--gray-cool-600);
  font-size: 15px;
  line-height: 1.75;
}

.cms-content > *:first-child {
  margin-top: 0;
}

.cms-content h1,
.cms-content h2,
.cms-content h3 {
  color: var(--gray-cool-900);
  font-weight: 700;
  margin: 28px 0 12px;
  line-height: 1.3;
}

.cms-content h1 {
  font-size: 28px;
}

.cms-content h2 {
  font-size: 24px;
}

.cms-content h3 {
  font-size: 18px;
}

.cms-content p {
  margin: 0 0 14px;
}

.cms-content ul,
.cms-content ol {
  margin: 10px 0 16px 20px;
}

.cms-content li {
  margin-bottom: 8px;
}

.cms-content a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.cms-content strong {
  color: var(--gray-cool-900);
  font-weight: 600;
}

/* ============================================================
   About — Our Story
   ============================================================ */

.story {
  background: var(--base-white);
}

.story__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 126px var(--pad) 110px;
}

.story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 480px;
  padding-top: 46px;
  text-align: start;
}

.story__title {
  max-width: 400px;
  margin-top: 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.3px;
  color: var(--gray-cool-900);
}

.story__text {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--gray-cool-600);
}

.story__art {
  position: relative;
  flex-shrink: 0;
  width: 422px;
  max-width: 100%;
  aspect-ratio: 422 / 565;
}

/* Percentages so the blob + phone scale together with .story__art.
   Use logical insets so the cutout faces the copy in LTR and RTL. */
.story__blob {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 99.53%;
  height: 81.42%;
}

html[lang="ar"] .story__blob {
  transform: scaleX(-1);
}

.story__phone {
  position: absolute;
  inset-inline-start: 21.33%;
  top: 26.19%;
  width: 56.4%;
  height: 73.81%;
  overflow: hidden;
  border-radius: var(--phone-radius);
}

.story__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: inherit;
}

/* ============================================================
   About — Mission / Vision / Values
   ============================================================ */

.mv {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--gray-cool-50);
}

.mv__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px var(--pad-wide);
}

.mv__cards {
  display: flex;
  gap: 24px;
  width: 100%;
}

.mv-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 36px 40px 40px;
  border-radius: 20px;
  background: var(--base-white);
  border: 1px solid var(--gray-cool-200);
  text-align: start;
}

.mv-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--blue-50);
}


.mv-card__title {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-cool-900);
}

.mv-card__text {
  max-width: 420px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-cool-600);
}

.mv__heading {
  margin-top: 72px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--gray-cool-900);
}

.mv__values {
  display: flex;
  gap: 26px;
  width: 100%;
  margin-top: 56px;
}

.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 32px 24px 36px;
  border-radius: 16px;
  background: var(--base-white);
  border: 1px solid var(--gray-cool-200);
  text-align: center;
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
}

.value-card__icon img {
  width: 22px;
  height: 22px;
}

.value-card__title {
  margin-top: 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gray-cool-900);
}

.value-card__text {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-cool-500);
}

/* ============================================================
   About — Stats (navy)
   ============================================================ */

.stats-navy {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--brand-primary);
}

.stats-navy__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 177px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-wide);
}

.stats-navy__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  white-space: nowrap;
}

.stats-navy__value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--base-white);
}

.stats-navy__label {
  font-size: 13.5px;
  color: var(--blue-100);
}

/* ---------- Large desktops (greater than 1440px) ---------- */
@media (min-width: 1441px) {
  :root {
    --pad: 100px;
    --pad-wide: 140px;
  }

  /* Full-width canvas on large monitors; section inners stay capped at 1440px */
  .page {
    max-width: 100%;
  }

  .hero__ellipse--top {
    right: -210px;
  }
}

/* ============================================================
   Responsive
   The layout above is the 1440px design. Everything below adapts
   it down to 320px: gutters shrink, fixed widths become fluid,
   nowrap headlines are released, and multi-column strips reflow.
   ============================================================ */

/* ---------- Laptops / small desktops ---------- */
@media (max-width: 1200px) {
  :root {
    --pad: 56px;
    --pad-wide: 56px;
  }

  .section-title,
  .cta__title,
  .why-card__title,
  .how-step__title {
    white-space: normal;
  }

  .section-title {
    font-size: clamp(24px, 3vw, 34px);
  }

  /* Hero */
  .hero__title {
    font-size: clamp(36px, 4.4vw, 54px);
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  /* Keep the notify card inside the viewport as the phone stage narrows */
  .float-card--notify {
    inset-inline-start: auto;
    inset-inline-end: -3.6%;
  }

  /* Why iCan — 4 across no longer fits */
  .why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .why-card {
    width: auto;
  }

  .why__title {
    width: auto;
    max-width: 640px;
  }

  .why-card__text {
    width: auto;
  }

  /* Showcase needs its own gutters (it has none at desktop) */
  .showcase__inner {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  /* How it works */
  .how-step {
    width: auto;
    max-width: 360px;
    flex: 1 1 260px;
  }

  .how-step__text {
    width: 100%;
    max-width: 300px;
  }

  /* Testimonials */
  .testimonials__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .testimonial {
    width: auto;
  }

  .testimonial--fixed {
    height: auto;
  }

  .testimonial__quote {
    width: 100%;
  }

  .testimonial__quote--fixed {
    height: auto;
  }

  /* CTA */
  .cta {
    min-height: 300px;
    padding-block: 32px;
  }

  .cta-section {
    min-height: 0;
  }

  .cta__text {
    width: 100%;
    max-width: 480px;
  }

  /* About */
  .story__inner {
    padding-top: 96px;
    padding-bottom: 88px;
  }
}

/* ---------- Tablets (landscape) ---------- */
@media (max-width: 1024px) {
  :root {
    --pad: 40px;
    --pad-wide: 40px;
  }

  .categories__inner,
  .why__inner,
  .testimonials__inner,
  .faq__inner,
  .contact-main__inner,
  .how {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .mv__inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .cta {
    padding-inline-start: 48px;
    padding-inline-end: 300px;
  }

  .cta__phone--back {
    inset-inline-end: 200px;
  }

  .cta__phone--front {
    inset-inline-end: 88px;
  }

  .cta__ellipse--bottom {
    inset-inline-end: 260px;
    bottom: -100px;
    width: 220px;
    height: 220px;
  }
}

/* ---------- Tablets (portrait) & below: single-column layouts ---------- */
@media (max-width: 900px) {
  /* --- Navbar: collapse into a burger menu --- */
  .navbar {
    position: relative;
    height: 72px;
  }

  .navbar__burger {
    display: flex;
  }

  .navbar__toggle:focus-visible ~ .navbar__burger {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
  }

  .navbar__menu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px var(--pad) 22px;
    background: var(--base-white);
    border-bottom: 1px solid var(--gray-cool-200);
    box-shadow: 0 22px 34px -20px rgba(5, 20, 46, 0.4);
  }

  .navbar__toggle:checked ~ .navbar__menu {
    display: flex;
  }

  .navbar__toggle:checked ~ .navbar__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar__toggle:checked ~ .navbar__burger span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle:checked ~ .navbar__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbar__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navbar__link {
    padding: 14px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-cool-100);
  }

  .navbar__menu .btn--primary {
    justify-content: center;
    margin-top: 18px;
  }

  /* --- Hero: stack copy over the phone --- */
  .hero__inner {
    flex-direction: column;
    gap: 44px;
    padding: 56px var(--pad) 0;
    text-align: center;
  }

  .hero__copy {
    align-items: center;
    max-width: 560px;
  }

  .hero__title {
    font-size: clamp(30px, 6.4vw, 46px);
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__phone {
    width: min(360px, 78vw);
  }

  .float-card--notify {
    inset-inline-start: auto;
    inset-inline-end: -3.6%;
    top: 68%;
  }

  .hero__ellipse--top {
    right: -290px;
    top: -300px;
  }

  /* --- Categories: two per row --- */
  .categories__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .categories__row--first .category-card,
  .categories__row--second .category-card {
    height: auto;
  }

  .category-card__image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* --- Showcase: swipeable phone strip --- */
  .showcase__inner {
    gap: 40px;
    padding-top: 72px;
  }

  .showcase__phones {
    position: static;
    display: flex;
    align-self: stretch;
    width: auto;
    aspect-ratio: auto;
    gap: 20px;
    margin: 0 calc(var(--pad) * -1);
    padding: 2px var(--pad) 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .showcase__phones::-webkit-scrollbar {
    display: none;
  }

  .showcase__phone {
    position: static;
    flex: 0 0 auto;
    width: min(240px, 64vw);
    scroll-snap-align: center;
  }

  .showcase__spacer {
    height: 20px;
  }

  /* --- How it works --- */
  .how {
    gap: 44px;
  }

  .how__steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .how-step {
    width: 100%;
    max-width: 360px;
    flex: 0 1 auto;
  }

  /* --- Testimonials --- */
  .testimonials__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- CTA: drop the phone mockups --- */
  .cta-section {
    padding: 56px var(--pad) 72px;
  }

  .cta {
    flex-direction: column;
    padding: 40px 32px;
    text-align: center;
  }

  .cta__content {
    align-items: center;
    max-width: none;
  }

  .cta__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* The rings read as noise once the banner is this narrow — they cross the copy */
  .cta__phone,
  .cta__ellipse {
    display: none;
  }

  /* --- Footer --- */
  .footer__inner {
    padding-top: 56px;
    gap: 36px;
  }

  .footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__tagline {
    width: 100%;
    max-width: 380px;
  }

  .footer__bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  /* --- About / Contact heroes --- */
  .about-hero__inner,
  .contact-hero__inner {
    height: auto;
    padding: 72px var(--pad);
  }

  .about-hero__title {
    font-size: clamp(28px, 6vw, 44px);
    line-height: 1.22;
  }

  .contact-hero__title {
    white-space: normal;
    font-size: clamp(28px, 6vw, 42px);
    line-height: 1.22;
  }

  .about-hero__subtitle br,
  .contact-hero__subtitle br {
    display: none;
  }

  .about-hero__ring--tr {
    right: -200px;
    top: -250px;
  }

  .about-hero__ring--bl {
    left: -150px;
  }

  /* --- About: story --- */
  .story__inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .story__copy {
    align-items: center;
    max-width: 560px;
    padding-top: 0;
    text-align: center;
  }

  .story__title {
    max-width: none;
    font-size: clamp(24px, 4.4vw, 32px);
  }

  .story__art {
    width: min(422px, 84vw);
  }

  /* --- Contact: form under the info cards --- */
  .contact-main__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .contact-cards {
    width: 100%;
  }
}

/* ---------- Small tablets / large phones ---------- */
@media (max-width: 768px) {
  :root {
    --pad: 28px;
    --pad-wide: 28px;
  }

  /* Stats strips become 2×2 grids */
  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    gap: 28px 16px;
    padding: 36px var(--pad);
  }

  .stats__divider {
    display: none;
  }

  .stats-navy__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    gap: 28px 16px;
    padding: 40px var(--pad-wide);
  }

  .categories__inner,
  .why__inner,
  .testimonials__inner,
  .faq__inner,
  .contact-main__inner,
  .how {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .categories__inner,
  .why__inner,
  .testimonials__inner {
    gap: 32px;
  }

  /* About: mission / vision / values */
  .mv__inner {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .mv__cards {
    flex-direction: column;
  }

  .mv-card {
    padding: 28px 26px 30px;
  }

  .mv__heading {
    margin-top: 52px;
    font-size: 22px;
  }

  .mv__values {
    flex-wrap: wrap;
    margin-top: 32px;
  }

  .value-card {
    flex: 1 1 calc(50% - 13px);
  }

  .faq__title {
    font-size: clamp(24px, 5.4vw, 34px);
    text-align: center;
  }

  .faq__list {
    margin-top: 32px;
  }

  .contact-form {
    padding: 28px 24px;
  }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  :root {
    --pad: 20px;
    --pad-wide: 20px;
  }

  /* One column everywhere */
  .categories__row,
  .why__grid,
  .testimonials__cards {
    grid-template-columns: 1fr;
  }

  .categories__grid,
  .categories__row {
    gap: 16px;
  }

  .category-card__image {
    aspect-ratio: 16 / 10;
  }

  .why-card {
    padding: 26px 24px;
  }

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

  .value-card {
    flex-basis: 100%;
  }

  /* Hero actions stack full width */
  .hero__actions {
    align-self: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__phone {
    width: min(320px, 82vw);
  }

  /* Float cards scale down so they stay inside the phone stage */
  .float-card {
    gap: 9px;
    padding: 10px 13px 10px 10px;
    border-radius: 13px;
  }

  .float-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .float-card__icon img {
    width: 16px;
    height: 16px;
  }

  .float-card__title {
    font-size: 12.5px;
  }

  .float-card__caption {
    font-size: 10.5px;
  }

  /* Store buttons shrink to fit two-up on a 320px screen */
  .store-btn {
    gap: 7px;
    padding: 7px 10px;
  }

  .store-btn__icon--apple {
    width: 21px;
    height: 25.5px;
  }

  .store-btn__icon--play {
    width: 25px;
    height: 27.5px;
  }

  .store-btn__prompt {
    width: auto;
    height: auto;
    margin-bottom: -1.5px;
    font-size: 10px;
    line-height: 12px;
  }

  .store-btn__store {
    width: auto;
    height: auto;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -1.3px;
  }

  .showcase__actions,
  .cta__actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .cta {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .cta__title {
    font-size: clamp(21px, 5.6vw, 32px);
  }

  .cta__text {
    font-size: 15px;
  }

  /* Contact form fields stack */
  .contact-form__row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-card {
    gap: 13px;
    padding: 16px 16px;
  }

  /* FAQ */
  .faq-item__question {
    gap: 12px;
    padding: 18px 18px;
    font-size: 14.5px;
  }

  .faq-item__text {
    padding: 0 18px 18px;
  }

  .footer__clients {
    width: 100%;
    max-width: 260px;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  .stats,
  .stats-navy__inner {
    gap: 24px 12px;
  }

  .stats__value,
  .stats-navy__value {
    font-size: 26px;
  }

  .stats__label,
  .stats-navy__label {
    font-size: 12.5px;
  }

  .value-card {
    padding: 26px 20px 28px;
  }

  .testimonial {
    padding: 26px 22px;
  }

  .btn {
    padding: 14px 22px;
  }
}
