/* ===========================================================
   SANSOUN — Landing Page Styles (Desktop + Mobile-App)
   Color palette extracted from logo:
   - cream     #FAF3EE
   - blush     #E8C5BD
   - rose      #C99A8F
   - deep rose #8C6A5E
   - dark      #2A1F1A
   =========================================================== */

:root {
  /* ===== MAIN PALETTE ===== */
  --espresso:    #2A1F1A;   /* logo type, primary text, CTAs */
  --blush:       #E8C5BD;   /* petals tone, secondary buttons */
  --champagne:   #F5E9DC;   /* section backgrounds, cards */
  --ivory:       #FAF6F0;   /* main page background */
  --nude-beige:  #DBC2B0;   /* dividers, sub-accents */

  /* ===== NEUTRALS ===== */
  --white:       #FFFFFF;
  --pearl-mist:  #FBF7F2;
  --soft-sand:   #EDE0D0;
  --warm-stone:  #B5A89D;
  --charcoal:    #3D2F28;
  --onyx:        #1A1310;

  /* ===== ACCENTS ===== */
  --rose-gold:   #C19A8E;   /* premium accents, hover */
  --taupe:       #8C6A5E;   /* nav links, underlines */
  --dusty-mocha: #7A5C50;   /* deeper accents */
  --petal-pink:  #F2DCD6;   /* tags, soft highlights */
  --soft-gold:   #D4B896;   /* stars, badges */

  /* ===== LEGACY ALIASES (kept for backward compat) ===== */
  --cream:      var(--ivory);
  --cream-2:    var(--champagne);
  --rose:       var(--rose-gold);
  --deep-rose:  var(--taupe);
  --dark:       var(--espresso);

  /* ===== SEMANTIC ===== */
  --text:       var(--espresso);
  --text-soft:  var(--charcoal);
  --line:       rgba(42, 31, 26, 0.08);
  --wa-green:   #25D366;

  --shadow-sm:  0 4px 16px rgba(42, 31, 26, 0.06);
  --shadow-md:  0 12px 36px rgba(42, 31, 26, 0.10);
  --shadow-lg:  0 28px 64px rgba(42, 31, 26, 0.14);
  --shadow-gold: 0 8px 24px rgba(193, 154, 142, 0.25);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --container: 1200px;
  --font-ar:   'Tajawal', system-ui, -apple-system, sans-serif;
  --font-en:   'Cormorant Garamond', 'Times New Roman', serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { fill: currentColor; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* -------- TYPOGRAPHY HELPERS -------- */
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-style: italic;
  color: var(--deep-rose);
  font-size: 1.05rem;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 18px;
}
.section__title em {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
}
.section__desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 620px;
}
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; }
.section__head--center .section__desc { margin-inline: auto; }

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .02em;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: 0 8px 22px rgba(42, 31, 26, .22);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--rose-gold), var(--taupe));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn--ghost:hover { background: var(--dark); color: var(--cream); }
.btn--block { width: 100%; }

/* ===========================================================
   NAVBAR (desktop)
   =========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .35s var(--ease);
  background: transparent;
}
.nav.scrolled {
  background: rgba(250, 243, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  background: var(--cream);
}
.nav__brand-text {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--dark);
}
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a {
  font-size: .97rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -6px; right: 0;
  width: 0; height: 2px;
  background: var(--rose);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--deep-rose); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--dark);
  border-radius: 12px;
  background: rgba(255,255,255,.6);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(232, 197, 189, .55), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(201, 154, 143, .35), transparent 50%),
    var(--cream);
  z-index: -2;
}
.hero__petal {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.hero__petal--1 {
  width: 380px; height: 380px;
  background: var(--blush);
  top: -100px; left: -100px;
  opacity: .6;
  animation: float 14s ease-in-out infinite;
}
.hero__petal--2 {
  width: 480px; height: 480px;
  background: var(--rose);
  bottom: -180px; right: -120px;
  opacity: .4;
  animation: float 18s ease-in-out infinite reverse;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px, -40px) scale(1.05); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 220px);
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-style: italic;
  color: var(--deep-rose);
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero__title em {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 100%; height: 8px;
  background: var(--blush);
  z-index: -1;
  opacity: .6;
  border-radius: 4px;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex; gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
}
.hero__stats span {
  font-size: .9rem;
  color: var(--text-soft);
  margin-top: 6px;
}

/* hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 480px;
}
.hero__frame {
  position: relative;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(140, 106, 94, .28),
    0 0 0 12px rgba(255,255,255,.6),
    0 0 0 13px rgba(201, 154, 143, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: subtleScale 6s ease-in-out infinite;
  background: var(--cream);
}
@keyframes subtleScale {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.02); }
}
.hero__logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed var(--rose);
  opacity: .5;
  animation: rotate 40s linear infinite;
  max-width: 480px; max-height: 480px;
  margin: auto;
  pointer-events: none;
}
@keyframes rotate { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--dark);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px;
  background: var(--dark);
  border-radius: 3px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ===========================================================
   ABOUT
   =========================================================== */
.about { padding: 120px 0; position: relative; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.about__text strong { color: var(--dark); font-weight: 700; }

.about__features {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about__features li { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--rose));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.about__features h4 {
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.about__features p { font-size: .95rem; margin: 0; }

.about__visual { position: relative; height: 540px; }
.about__img {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.about__img--1 {
  width: 70%;
  height: 70%;
  top: 0;
  right: 0;
  background-image:
    linear-gradient(135deg, rgba(42,31,26,.15), transparent),
    url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=900&q=80&auto=format&fit=crop');
}
.about__img--2 {
  width: 55%;
  height: 50%;
  bottom: 0;
  left: 0;
  border: 8px solid var(--cream);
  background-image:
    url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?w=700&q=80&auto=format&fit=crop');
}
.about__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.about__badge span { font-size: .85rem; opacity: .8; letter-spacing: .1em; }
.about__badge strong {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

/* ===========================================================
   GALLERY
   =========================================================== */
.gallery {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease);
  display: block;
  background: var(--cream-2);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42,31,26,.45) 100%);
  pointer-events: none;
}
.gallery__caption {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(250, 243, 238, .95);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--dark);
  font-size: .9rem;
  font-weight: 500;
  z-index: 2;
  transition: all .3s var(--ease);
}
.gallery__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover .gallery__caption { background: var(--dark); color: var(--cream); }

.gallery__cta { text-align: center; margin-top: 48px; }

/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.testimonials { padding: 120px 0; background: var(--cream); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all .3s var(--ease);
  border: 1px solid var(--line);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial__stars {
  display: flex;
  gap: 4px;
  color: var(--soft-gold);
  margin-bottom: 16px;
}
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial p {
  color: var(--text-soft);
  margin-bottom: 26px;
  font-size: 1rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; color: var(--dark); font-weight: 700; }
.testimonial__author span { font-size: .85rem; color: var(--text-soft); }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  position: relative;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  color: var(--deep-rose);
}
.contact__list strong {
  display: block;
  font-size: .85rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact__list a, .contact__list span {
  color: var(--dark);
  font-weight: 600;
  font-size: 1.05rem;
}
.contact__list a:hover { color: var(--deep-rose); }

.contact__form {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact__form h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 24px;
  font-weight: 700;
}
.form__group { margin-bottom: 18px; }
.form__group label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  background: var(--cream);
  transition: all .25s var(--ease);
  resize: vertical;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(92, 74, 66, .5); }
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232, 197, 189, .25);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--dark); color: var(--cream); padding-top: 72px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__logo {
  width: 64px; height: 64px;
  display: block;
  margin-bottom: 16px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}
.footer__brand p {
  color: rgba(250, 243, 238, .7);
  font-size: .95rem;
  max-width: 320px;
}
.footer h5 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--blush);
  font-weight: 600;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: rgba(250, 243, 238, .75); font-size: .95rem; }
.footer__links a:hover { color: var(--blush); }

.footer__icons { display: flex; gap: 12px; }
.footer__icons a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(232, 197, 189, .12);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: all .3s var(--ease);
}
.footer__icons a:hover {
  background: var(--blush);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid rgba(250, 243, 238, .1);
  padding: 22px 0;
  text-align: center;
}
.footer__bottom p {
  color: rgba(250, 243, 238, .55);
  font-size: .9rem;
}

/* ===========================================================
   MOBILE: TAB BAR + FAB (hidden on desktop)
   =========================================================== */
.tabbar { display: none; }
.fab    { display: none; }

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================================================
   ============== MOBILE APP REDESIGN ==============
   Below 860px → switch entirely to mobile-app look.
   =========================================================== */
@media (max-width: 860px) {

  body {
    background: var(--cream);
    /* leave room for bottom tab bar */
    padding-bottom: calc(72px + var(--safe-bottom));
  }

  /* TOP HEADER becomes compact app header */
  .nav {
    padding: 0;
    background: rgba(250, 243, 238, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }
  .nav.scrolled { padding: 0; }
  .nav__inner {
    height: 60px;
    padding-inline: 18px;
  }
  .nav__logo { width: 36px; height: 36px; }
  .nav__brand-text { font-size: 1.25rem; }
  .nav__toggle { display: flex; }

  /* Side drawer menu (still works through hamburger) */
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: 78%; max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    padding: 88px 28px 28px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 99;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a {
    font-size: 1.1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }

  /* HERO — mobile splash */
  .hero { padding: 80px 0 32px; min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    min-height: auto;
  }
  .hero__visual {
    order: -1;
    min-height: 260px;
    margin-top: 8px;
  }
  .hero__frame { width: 220px; }
  .hero__circle { max-width: 280px; max-height: 280px; }
  .hero__eyebrow { font-size: 1rem; margin-bottom: 14px; }
  .hero__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-bottom: 14px;
  }
  .hero__sub {
    font-size: 1rem;
    margin-bottom: 24px;
    margin-inline: auto;
  }
  .hero__cta {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
  }
  .hero__cta .btn { width: 100%; padding: 16px; font-size: 1rem; }
  .hero__stats {
    gap: 0;
    padding: 18px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    justify-content: space-around;
  }
  .hero__stats > div { align-items: center; }
  .hero__stats strong { font-size: 1.5rem; }
  .hero__stats span { font-size: .8rem; text-align: center; }
  .hero__scroll { display: none; }

  /* SECTION SPACING — like app screens */
  .about, .gallery, .testimonials, .contact { padding: 56px 0; }
  .section__head { margin-bottom: 32px; text-align: center; }
  .section__head .section__desc { margin-inline: auto; }
  .section__title { font-size: clamp(1.6rem, 6vw, 2rem); }
  .section__eyebrow { font-size: .95rem; margin-bottom: 10px; }
  .section__desc { font-size: .95rem; }

  /* ABOUT — vertical app card */
  .about__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .about__text p { text-align: right; }
  .about__visual {
    order: -1;
    height: 320px;
    max-width: 360px;
    margin: 0 auto;
  }
  .about__img--1 { width: 75%; height: 75%; }
  .about__img--2 { width: 55%; height: 50%; border-width: 6px; }
  .about__badge {
    width: 96px; height: 96px;
  }
  .about__badge strong { font-size: 1.8rem; }

  .about__features {
    gap: 14px;
    text-align: right;
  }
  .about__features li {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .feature__icon { width: 42px; height: 42px; font-size: 1.2rem; }

  /* GALLERY — app-style stories scroll + 2-col grid */
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(180px, 1fr);
    gap: 12px;
  }
  .gallery__item,
  .gallery__item--tall,
  .gallery__item--wide {
    grid-row: auto;
    grid-column: auto;
    border-radius: var(--radius);
  }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; height: 280px; }
  .gallery__item:nth-child(5) { grid-column: span 2; height: 220px; }
  .gallery__caption {
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: .8rem;
  }
  .gallery__cta { margin-top: 28px; }
  .gallery__cta .btn { width: 100%; padding: 16px; }

  /* TESTIMONIALS — vertical app cards */
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .testimonial {
    padding: 22px;
    border-radius: var(--radius);
  }

  /* CONTACT — app screen */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact__list {
    gap: 12px;
    margin-top: 24px;
  }
  .contact__list li {
    background: var(--white);
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .contact__form {
    padding: 24px 20px;
    border-radius: var(--radius);
  }
  .contact__form h3 { font-size: 1.2rem; margin-bottom: 18px; }
  .form__group input,
  .form__group textarea { padding: 14px 16px; font-size: 16px; /* avoid iOS zoom */ }

  /* FOOTER — remove from view (replaced by tabbar) but keep brand info */
  .footer { padding-top: 48px; }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
    text-align: center;
  }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__brand p { margin-inline: auto; }
  .footer__links { align-items: center; }
  .footer__icons { justify-content: center; }
  .footer__bottom { padding: 18px 0 calc(18px + var(--safe-bottom)); }

  /* ============================================
     MOBILE BOTTOM TAB BAR — like a native app
     ============================================ */
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    padding: 8px 6px calc(8px + var(--safe-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(42, 31, 26, .06);
  }
  .tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 14px;
    color: var(--text-soft);
    transition: all .25s var(--ease);
    font-size: .68rem;
    font-weight: 500;
    -webkit-tap-highlight-color: rgba(232, 197, 189, .3);
  }
  .tabbar__item svg {
    width: 22px;
    height: 22px;
    color: currentColor;
    fill: none;
    stroke: currentColor;
    transition: transform .25s var(--ease);
  }
  .tabbar__item.is-active {
    color: var(--deep-rose);
  }
  .tabbar__item.is-active svg {
    transform: translateY(-2px) scale(1.08);
  }
  .tabbar__item.is-active::before {
    content: '';
    position: absolute;
    top: 4px;
    width: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--rose);
  }
  .tabbar__item { position: relative; }

  /* ============================================
     FLOATING WHATSAPP FAB
     ============================================ */
  .fab {
    display: grid;
    place-items: center;
    position: fixed;
    bottom: calc(86px + var(--safe-bottom));
    left: 18px;
    z-index: 80;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--wa-green);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
    transition: all .3s var(--ease);
    animation: fabPulse 2.4s ease-in-out infinite;
  }
  .fab:hover, .fab:active {
    transform: scale(1.08);
  }
  @keyframes fabPulse {
    0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .35); }
    50%      { box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 0 0 12px rgba(37, 211, 102, 0); }
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .hero__title { font-size: 1.85rem; }
  .gallery__item:nth-child(1) { height: 240px; }
  .gallery__item:nth-child(5) { height: 200px; }
  .tabbar__item span { font-size: .62rem; }
}
