/* ==========================================================================
   Smarts Elwady — Brand UI 2026
   Light "frosted glass" identity · warm gold palette · RTL first
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #faf8f1;
  --bg-2: #f3efe0;
  --surface: rgba(255, 255, 255, .6);
  --surface-2: rgba(255, 255, 255, .8);
  --surface-solid: #ffffff;
  --border: rgba(255, 255, 255, .95);
  --line: rgba(40, 32, 8, .09);
  --ink: #1c1a14;
  --text: #4a463a;
  --muted: #7a7466;
  --primary: #a98a12;
  --primary-2: #c4a21a;
  --primary-3: #d2b11f;
  --primary-deep: #5c4a0a;
  --primary-soft: rgba(210, 177, 31, .14);
  --grad: linear-gradient(95deg, #6e5909 0%, #a48611 50%, #bf9d17 100%);
  --grad-soft: linear-gradient(135deg, rgba(210, 177, 31, .16), rgba(224, 190, 50, .1));
  --sky: #c2831a;
  --pink: #e11d48;
  --mint: #059669;
  --amber: #f59e0b;
  --btn-dark: #1c1a14;
  --btn-dark-ink: #ffffff;
  --shadow-sm: 0 2px 8px rgba(40, 32, 8, .05);
  --shadow: 0 18px 50px -20px rgba(92, 72, 6, .22), 0 2px 8px rgba(40, 32, 8, .05);
  --shadow-lg: 0 40px 90px -30px rgba(92, 72, 6, .35);
  --blur: saturate(160%) blur(22px);
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --container: 1220px;
  --f-head: Cairo, sans-serif;
  --f-body: Cairo, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0f0d07;
  --bg-2: #17140a;
  --surface: rgba(36, 31, 14, .55);
  --surface-2: rgba(46, 40, 18, .72);
  --surface-solid: #1f1b0c;
  --border: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .08);
  --ink: #f7f2de;
  --text: #d6cfb4;
  --muted: #a39c82;
  --primary: #e0c23a;
  --primary-soft: rgba(224, 194, 58, .16);
  --grad: linear-gradient(95deg, #f3e08a 0%, #e0c23a 55%, #c9a817 100%);
  --btn-dark: #a98a12;
  --btn-dark-ink: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .25);
  --shadow: 0 20px 60px -24px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
/* ambient light blobs */
body::before {
  content: "";
  position: fixed; inset: -10vmax;
  z-index: -2;
  background:
    radial-gradient(40vmax 34vmax at 85% 8%, rgba(210, 177, 31, .2), transparent 60%),
    radial-gradient(34vmax 30vmax at 8% 30%, rgba(194, 131, 26, .10), transparent 60%),
    radial-gradient(38vmax 30vmax at 70% 70%, rgba(210, 177, 31, .12), transparent 60%),
    radial-gradient(30vmax 26vmax at 15% 92%, rgba(184, 150, 15, .14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(40, 32, 8, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
[data-theme="dark"] body::after { background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); color: var(--ink); line-height: 1.45; font-weight: 700; text-wrap: balance; letter-spacing: 0; }
::selection { background: rgba(184, 150, 15, .22); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -60px; right: 16px; z-index: 999; background: var(--btn-dark); color: var(--btn-dark-ink); padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 56px);
}
.card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
a.card:hover, .card.hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-head); font-weight: 500; font-size: 15px; white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: linear-gradient(165deg, #b8960f, #8a6f0e); color: #fff; box-shadow: 0 14px 30px -12px rgba(110, 89, 10, .55); }
.btn-primary { background: linear-gradient(135deg, #b8960f, #8a6f0e); color: #fff; box-shadow: 0 16px 34px -14px rgba(110, 89, 10, .6); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-ghost:hover { box-shadow: var(--shadow); }
.btn-sm { --h: 42px; padding-inline: 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arr { transform: rotate(45deg); font-size: .85em; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: rotate(45deg) translateX(-3px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), background .3s;
}
.icon-btn:hover { transform: translateY(-2px); }
.corner-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-solid); color: var(--ink);
  border: 1px solid var(--line);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.corner-arrow i { transform: rotate(45deg); font-size: 13px; }
a.card:hover .corner-arrow { background: var(--btn-dark); color: var(--btn-dark-ink); transform: scale(1.06); }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: 13px; font-weight: 500;
  letter-spacing: .02em;
  color: var(--primary);
  margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-title { font-size: clamp(24px, 2.9vw, 36px); font-weight: 700; letter-spacing: 0; }
.sec-sub { color: var(--muted); max-width: 620px; margin-top: 10px; font-size: 16.5px; }

.section { padding-block: 14px; }
.section > .container > .panel { margin-block: 0; }
.stack { display: grid; gap: 18px; padding-block: 18px 40px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 14px; }
.nav-bar {
  display: flex; align-items: center; gap: 18px;
  height: 72px; padding-inline: 14px 18px;
  border-radius: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  transition: height .3s var(--ease);
}
.site-header.scrolled .nav-bar { height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
/* .brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-solid); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.brand-mark img { width: 30px; height: auto; } */
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--f-head); font-weight: 600; font-size: 17px; color: var(--ink); }
.brand-text small { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; direction: ltr; text-align: right; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
[data-theme="dark"] .logo-light { display: none !important; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding-inline: 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: background .25s, color .25s;
  cursor: pointer; background: none; border: 0;
}
.nav-link:hover { color: var(--ink); background: var(--primary-soft); }
.nav-link.active { background: var(--surface-solid); color: var(--ink); box-shadow: var(--shadow-sm); position: relative; }
.nav-link.active::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--primary); }
.nav-link .chev { font-size: 10px; opacity: .6; transition: transform .3s; }
.has-drop:hover .chev, .has-drop.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); right: -10px;
  min-width: 290px; padding: 10px;
  border-radius: 20px;
  /* background: var(--surface-2); */
  background: #fff;
  border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.dropdown.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 12px;
  font-size: 14px; color: var(--text);
  transition: background .2s, color .2s;
}
.dropdown a:hover { background: var(--primary-soft); color: var(--ink); }
.dropdown a i {
  width: 32px; height: 32px; flex: none; border-radius: 10px;
  display: grid; place-items: center; font-size: 13px;
  background: var(--primary-soft); color: var(--primary);
}
.dropdown .all { grid-column: 1 / -1; justify-content: center; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--primary); font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: 18px; }
.hero .panel { padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-hi { font-family: var(--f-head); font-size: 14px; color: var(--primary); letter-spacing: .02em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.hero-hi .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(5, 150, 105, .2); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.hero h1 .sub { display: block; font-size: .5em; text-wrap: balance; font-weight: 500; margin-top: 10px; }
.hero .lead { font-size: 17.5px; color: var(--text); max-width: 540px; margin-top: 20px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.trusted { margin-top: 42px; }
.trusted p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.trusted-row { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; color: var(--muted); }
.trusted-row span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 15px; font-weight: 500; opacity: .75; transition: opacity .3s, color .3s; }
.trusted-row span:hover { opacity: 1; color: var(--ink); }
.trusted-row i { font-size: 20px; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-frame {
  position: relative;
  width: min(420px, 100%); aspect-ratio: 4 / 5;
  border-radius: 46% 46% 32px 32px / 36% 36% 32px 32px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(160deg, rgba(210, 177, 31, .28), rgba(184, 150, 15, .18) 50%, rgba(194, 131, 26, .16));
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .25), var(--shadow-lg);
  display: grid; place-items: end center;
  overflow: hidden;
}
[data-theme="dark"] .hero-frame { background: radial-gradient(120% 80% at 50% 0%, rgba(210, 177, 31, .35), transparent 60%), linear-gradient(160deg, rgba(92, 72, 6, .45), rgba(40, 32, 6, .6)); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .03), var(--shadow-lg); }
.hero-frame img { width: 70%; margin-bottom: -10%; filter: drop-shadow(0 30px 40px rgba(40, 32, 8, .35)); transform: rotate(-6deg); height:500px; object-fit: cover; }
@media(max-width:767px){
.hero-frame img { width: 60%; margin-bottom: -10%; filter: drop-shadow(0 30px 40px rgba(40, 32, 8, .35)); transform: rotate(-6deg); height:250px; object-fit: cover; }
}
.float-card {
  position: absolute; z-index: 2;
  padding: 14px 18px; border-radius: 20px;
  background: var(--surface-2); border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .big { font-family: var(--f-head); font-size: 38px; font-weight: 600; color: var(--ink); line-height: 1; }
.float-card .lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.fc-years { top: 6%; left: 0; text-align: center; }
.fc-years .big { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fc-impact { bottom: 12%; left: -2%; width: 200px; animation-delay: -2s; }
.fc-impact .lbl { margin: 0 0 4px; }
.fc-impact .val { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 20px; }
.fc-impact svg { width: 100%; height: 40px; margin-top: 4px; }
.fc-rate { top: 34%; right: -2%; display: flex; align-items: center; gap: 10px; animation-delay: -4s; }
.fc-rate .stars { color: var(--amber); font-size: 12px; letter-spacing: 1px; }
.fc-rate b { font-family: var(--f-head); color: var(--ink); }
.fc-rate .avatars { display: flex; }
.fc-rate .avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface-solid); margin-inline-start: -8px; display: grid; place-items: center; font-size: 11px; color: #fff; font-weight: 600; }
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 70% 75%, rgba(210, 177, 31, .55), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(246, 236, 190, .55), rgba(184, 150, 15, .25));
  box-shadow: inset -8px -12px 24px rgba(184, 150, 15, .25), inset 8px 10px 20px rgba(255, 255, 255, .8), 0 20px 50px -10px rgba(184, 150, 15, .35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: floaty 9s ease-in-out infinite;
}
.orb.sparkle { width: 74px; height: 74px; display: grid; place-items: center; color: #fff; font-size: 22px; pointer-events: auto; }
.hero .orb.sparkle { bottom: 30%; right: 4%; animation-delay: -3s; }
.orb.o-lg { width: 160px; height: 160px; }

/* ---------- About strip ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about-grid h2 { font-size: clamp(24px, 2.8vw, 32px); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stat { padding: 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.stat i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 14px; margin-bottom: 12px; }
.stat b { display: block; font-family: var(--f-head); font-size: 26px; color: var(--ink); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.about-text p { font-size: 16.5px; margin-bottom: 22px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Service cards ---------- */
.svc-card { display: flex; flex-direction: column; padding: 24px; min-height: 250px; overflow: hidden; }
.svc-card .tile-ic { position: relative; z-index: 1; }
.svc-card h3 { font-size: 18px; margin: 20px 0 8px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.8; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-card .corner-arrow { align-self: flex-end; margin-top: 16px; }
.svc-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--tint, var(--primary)); opacity: 0; filter: blur(50px); transition: opacity .5s; }
.svc-card:hover::after { opacity: .18; }
.tile-ic {
  --tint: var(--primary);
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: grid; place-items: center; font-size: 20px;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--tint) 70%, #fff), var(--tint));
  box-shadow: 0 12px 24px -10px var(--tint), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.t-violet { --tint: #b8960f; }
.t-sky { --tint: #c2831a; }
.t-pink { --tint: #e11d48; }
.t-mint { --tint: #059669; }
.t-amber { --tint: #d97706; }
.t-indigo { --tint: #b45309; }
.t-rose { --tint: #e11d48; }
.t-teal { --tint: #8a6d0b; }

/* ---------- Tech tiles ---------- */
.tech-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 14px; }
.tech-tile { padding: 18px 10px 14px; text-align: center; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.tech-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-tile i { font-size: 28px; display: block; margin-bottom: 8px; color: var(--c, var(--ink)); }
.tech-tile span { font-size: 12.5px; color: var(--muted); direction: ltr; display: block; }

/* ---------- Work / project cards ---------- */
.work-card { overflow: hidden; display: flex; flex-direction: column; }
.work-thumb {
  position: relative; aspect-ratio: 16 / 11; margin: 10px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(150deg, rgba(210, 177, 31, .22), rgba(184, 150, 15, .14) 55%, rgba(194, 131, 26, .16));
  display: grid; place-items: end center;
  height:400px;
  display: flex;
    align-items: center;
    justify-content: center;
}
[data-theme="dark"] .work-thumb { background: linear-gradient(150deg, rgba(210, 177, 31, .3), rgba(40, 32, 6, .6)); }
.work-thumb::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(184, 150, 15, .14) 1px, transparent 1px); background-size: 16px 16px; }
.work-thumb img { position: relative; width: 220px; height:360px; object-fit: cover; margin-bottom: -18%; transform: rotate(-4deg); transition: transform .6s var(--ease); filter: drop-shadow(0 20px 30px rgba(40, 32, 8, .3)); }
.work-card:hover .work-thumb img { transform: rotate(0) translateY(-10px); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 18px 18px; }
.work-meta h3 { font-size: 16.5px; }
.work-meta small { font-size: 12.5px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--primary-soft); color: var(--primary); }
.work-thumb .chip { position: absolute; top: 12px; right: 12px; background: var(--surface-2); color: var(--ink); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); z-index: 1; }

/* ---------- Product cards ---------- */
.prod-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.prod-card h3 { font-size: 18px; }
.prod-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.prod-card .foot { display: flex; align-items: center; justify-content: space-between; }
.prod-card .badge { font-size: 12px; direction: ltr; font-family: var(--f-head); color: var(--muted); letter-spacing: .04em; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.process.p4 { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 22px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step-top i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 14px; }
.step-top .n { font-family: var(--f-head); font-size: 22px; font-weight: 500; color: var(--muted); opacity: .5; direction: ltr; }
.step h3, .step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; left: -11px; z-index: 1;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft);
}

/* ---------- Testimonials ---------- */
.slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 16px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-nav { display: flex; gap: 8px; }
.quote { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quote .q-top { display: flex; justify-content: space-between; align-items: center; }
.quote .q-top i { font-size: 26px; color: var(--primary); opacity: .3; }
.quote .stars { color: var(--amber); font-size: 13px; letter-spacing: 2px; }
.quote p { font-size: 15px; color: var(--text); flex: 1; font-style: normal; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--f-head); font-weight: 600; background: var(--grad); flex: none; }
.author b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 15px; }
.author small { color: var(--muted); font-size: 12.5px; }

/* ---------- Partners marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.partner { width: 180px; height: 110px; flex: none; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; display: grid; place-items: center; }
.partner img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transform-origin: 60% 45%; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--r-lg); background: linear-gradient(135deg, #8f7512 0%, #5c4a0a 55%, #2b2305 100%); color: #efe6c0; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.cta-band p { max-width: 560px; margin: 12px auto 28px; color: #e6d9a0; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); }
.cta-band .btn-light { background: #fff; color: #1c1a14; }
.cta-band .orb { opacity: .9; }
.cta-band .orb.a { width: 180px; height: 180px; top: -60px; right: -40px; }
.cta-band .orb.b { width: 110px; height: 110px; bottom: -30px; left: 8%; animation-delay: -4s; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.contact-intro h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 26px; }
.c-list { display: grid; gap: 14px; }
.c-item { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--text); }
.c-item i { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary); box-shadow: var(--shadow-sm); }
.c-item small { display: block; font-size: 12px; color: var(--muted); }
.c-item a:hover { color: var(--primary); }
.form-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--pink); }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface-solid); color: var(--ink);
  font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
[data-theme="dark"] .input { background: rgba(255, 255, 255, .04); }
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: 22px 23px, 16px 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-left: 40px; }
.input::placeholder { color: var(--muted); opacity: .8; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input.invalid { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(225, 29, 72, .14); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label { margin: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-solid); font-size: 13.5px; cursor: pointer; color: var(--text); transition: all .2s; }
[data-theme="dark"] .pills label { background: rgba(255, 255, 255, .04); }
.pills input:checked + label { background: var(--btn-dark); color: var(--btn-dark-ink); border-color: transparent; }
.pills input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.consent a { color: var(--primary); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.form-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-top: 12px; }

.map-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8); }
[data-theme="dark"] .map-wrap iframe { filter: invert(.9) hue-rotate(200deg) saturate(.6); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.quick b { font-family: var(--f-head); color: var(--ink); font-weight: 600; }
.quick span { font-size: 13.5px; color: var(--bg); }
.hours { display: grid; gap: 8px; font-size: 14.5px; }
.hours div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--surface-solid); border: 1px solid var(--line); }
[data-theme="dark"] .hours div { background: rgba(255, 255, 255, .04); }

/* ---------- Social ---------- */
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink); transition: transform .3s var(--ease), background .3s, color .3s; }
.social a:hover { transform: translateY(-3px); background: var(--btn-dark); color: var(--btn-dark-ink); }

/* ---------- Footer ---------- */
.site-footer { padding: 18px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-brand img.flogo { height: 54px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; max-width: 340px; }
.f-col h3 { font-size: 15px; margin-bottom: 16px; }
.f-col ul { display: grid; gap: 10px; }
.f-col a, .f-col li { font-size: 14px; color: var(--muted); transition: color .2s; }
.f-col a:hover { color: var(--primary); }
.f-col .c-item { font-size: 14px; }
.f-col .c-item i { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--ink); }

/* ---------- Floating WhatsApp + back to top ---------- */
.wa-float { position: fixed; bottom: 22px; left: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 26px; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
.to-top { position: fixed; bottom: 88px; left: 28px; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: 18px; }
.page-hero .panel { overflow: hidden; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--primary); }
.crumbs i { font-size: 9px; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); }
.ph-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ph-grid.solo { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: 0; line-height: 1.35; }
.page-hero .lead { font-size: 17px; margin-top: 16px; max-width: 620px; }
.ph-grid.solo .lead { margin-inline: auto; }
.page-hero .hero-actions { margin-top: 26px; }
.ph-grid.solo .hero-actions { justify-content: center; }
.ph-visual { position: relative; }
.ph-visual .shot { border-radius: 26px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); aspect-ratio: 1; background: #1c1706; }
.ph-visual .shot img { width: 100%; height: 100%; object-fit: cover; }
.ph-visual .float-card { bottom: -16px; right: -16px; }
.ph-visual .orb { width: 90px; height: 90px; top: -26px; left: -20px; }
.mini-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.mini-stats .chip { padding: 8px 14px; font-size: 13px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--border); }
.mini-stats .chip i { color: var(--primary); }

.lead-text { font-size: 17px; line-height: 2; text-align: center; max-width: 860px; margin-inline: auto; color: var(--text); }

/* ---------- Features ---------- */
.feat { padding: 24px; }
.feat .tile-ic { width: 46px; height: 46px; font-size: 18px; border-radius: 14px; margin-bottom: 16px; }
.feat h3 { font-size: 16.5px; margin-bottom: 6px; }
.feat p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink); }
.pill i { color: var(--primary); }

/* ---------- Pricing ---------- */
.price { padding: 30px 26px; display: flex; flex-direction: column; }
.price.featured { background: linear-gradient(160deg, #8f7512 0%, #5c4a0a 55%, #2b2305 100%); color: #e9dfb4; border-color: rgba(255, 255, 255, .08); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.price.featured h3, .price.featured .amount { color: #fff; }
.price .tier { font-family: var(--f-head); font-size: 12px; letter-spacing: .14em; color: var(--primary); direction: ltr; text-align: right; }
.price.featured .tier { color: #f3e08a; }
.price .pop { position: absolute; top: 18px; left: 18px; background: var(--grad); color: #fff; }
.price h3 { font-size: 20px; margin: 6px 0 16px; }
.price .amount { font-family: var(--f-head); font-size: 38px; font-weight: 600; color: var(--ink); line-height: 1; }
.price .amount small { font-size: 15px; font-weight: 500; color: var(--muted); margin-inline-start: 6px; }
.price .period { font-size: 13px; color: var(--muted); margin-top: 6px; }
.price ul { display: grid; gap: 12px; margin: 24px 0 28px; flex: 1; padding-top: 22px; border-top: 1px solid var(--line); }
.price.featured ul { border-color: rgba(255, 255, 255, .1); }
.price li { display: flex; gap: 10px; font-size: 14.5px; align-items: baseline; }
.price li i { color: var(--mint); font-size: 12px; }
.price li.off { opacity: .45; text-decoration: line-through; }
.price li.off i { color: var(--muted); }
.price.featured .btn-ghost { background: #fff; color: #1c1a14; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: right; font-family: var(--f-head); font-weight: 500; font-size: 16px; color: var(--ink); }
.faq-q .pm { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 12px; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--btn-dark); color: var(--btn-dark-ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- App detail ---------- */
.app-hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.app-hero-visual .hero-frame { width: min(400px, 100%); }
.store-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 14px; background: var(--btn-dark); color: var(--btn-dark-ink); transition: transform .3s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store i { font-size: 22px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; direction: ltr; text-align: left; }
.store small { font-size: 10px; opacity: .7; }
.store b { font-size: 15px; font-weight: 600; font-family: var(--f-head); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 15px; }
.check-list li i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--grad); color: #fff; font-size: 11px; }

/* ---------- Policy content ---------- */
.policy { max-width: 900px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.policy-card, .faq-a p, .c-item, .f-col li { overflow-wrap: anywhere; }
.policy-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.policy-card p { margin-bottom: 12px; }
.policy-card p:last-child { margin-bottom: 0; }
.policy-card strong { color: var(--ink); }
.policy-card a { color: var(--primary); }
.policy-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.policy-card-header h3 { font-size: 19px; }
.policy-card-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px var(--primary); }
.policy-list { display: grid; gap: 10px; margin-top: 12px; }
.policy-list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--line); }
[data-theme="dark"] .policy-list li, [data-theme="dark"] .mini-card, [data-theme="dark"] .right-item, [data-theme="dark"] .dispute-item, [data-theme="dark"] .ip-card { background: rgba(255, 255, 255, .04); }
.policy-list li > i { color: var(--primary); flex: none; }
.policy-list.numbered { counter-reset: n; }
.policy-list.numbered li::before { counter-increment: n; content: counter(n); width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; }
.mini-cards, .rights-grid, .ip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.mini-card, .right-item, .dispute-item, .ip-card { padding: 16px; border-radius: 16px; background: var(--surface-solid); border: 1px solid var(--line); font-size: 14.5px; }
.mini-card i, .right-item i, .dispute-item i, .ip-card i { color: var(--primary); margin-inline-end: 6px; }
.mini-card h4, .mini-card h5, .mini-card h6, .ip-card h4, .ip-card h5, .dispute-item h4, .dispute-item h5 { font-size: 15px; margin-bottom: 4px; }
.right-item { display: flex; gap: 10px; align-items: baseline; }
.dispute-item { margin-top: 10px; }
.info-box { margin-top: 14px; padding: 16px 18px; border-radius: 16px; display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; background: var(--primary-soft); border: 1px solid rgba(184, 150, 15, .2); }
.info-box.warning { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .3); }
.info-box.warning > i { color: #d99a05; }
.info-box.danger { background: rgba(225, 29, 72, .1); border-color: rgba(225, 29, 72, .3); }
.info-box.danger > i { color: var(--pink); }
.info-box.success { background: rgba(5, 150, 105, .1); border-color: rgba(5, 150, 105, .3); }
.info-box.success > i { color: var(--mint); }
.updated { text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- Careers ---------- */
.steps-nav { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.steps-nav span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; background: var(--surface-solid); border: 1px solid var(--line); color: var(--muted); }
.steps-nav span b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 12px; }
.fieldset { border: 0; display: grid; gap: 14px; margin-bottom: 24px; }
.fieldset legend { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.fieldset legend i { color: var(--primary); }
.drop {
  position: relative; display: grid; place-items: center; text-align: center; gap: 6px;
  padding: 30px 20px; border-radius: 18px;
  border: 2px dashed rgba(184, 150, 15, .35); background: var(--primary-soft);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.drop:hover, .drop.drag { border-color: var(--primary); background: rgba(184, 150, 15, .16); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop i { font-size: 28px; color: var(--primary); }
.drop small { color: var(--muted); }
.file-info { display: none; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 12px 16px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--line); font-size: 14px; }
.file-info.show { display: flex; }
.file-info button { background: none; border: 0; color: var(--pink); cursor: pointer; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow-lg); color: var(--ink); font-size: 14.5px; animation: toastIn .4s var(--ease); }
.toast i { font-size: 18px; }
.toast.success i { color: var(--mint); }
.toast.error i { color: var(--pink); }
.toast.warning i { color: var(--amber); }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: 40px; }
.nf .code { font-family: var(--f-head); font-size: clamp(90px, 18vw, 180px); font-weight: 600; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(5, 150, 105, .2); } 50% { box-shadow: 0 0 0 8px rgba(5, 150, 105, .05); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile app chrome (drawer + tab bar) — hidden on desktop ---------- */
.mobile-nav, .mn-overlay, .tabbar-wrap { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-menu .nav-link { padding-inline: 11px; }
  .nav-cta { display: none !important; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Tablet & phone: app-style header + side drawer ===== */
@media (max-width: 960px) {
  .nav-menu { display: none; }
  .menu-toggle { display: inline-grid; }
  .theme-btn { display: none; }

  /* solid header bar, edge to edge */
  .site-header { padding-top: 0; background: var(--surface-solid); border-bottom: 1px solid #f1ecda; box-shadow: 0 10px 22px -20px rgba(60, 48, 10, .45); padding-top: env(safe-area-inset-top); }
  [data-theme="dark"] .site-header { border-bottom-color: var(--line); }
  .site-header > .container { padding-inline: 16px; }
  .nav-bar, .site-header.scrolled .nav-bar { height: 62px; padding: 0; border-radius: 0; border: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* .brand-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: none; } */
  /* .brand-mark img { width: 26px; } */
  .brand-text b { font-size: 15.5px; }
  .brand-text small { font-size: 10.5px; }
  .menu-toggle { width: 44px; height: 44px; border-radius: 14px; background: #f1ecda; border: 0; box-shadow: none; font-size: 17px;position: absolute; left:15px; }
  [data-theme="dark"] .menu-toggle { background: rgba(255, 255, 255, .08); }

  /* drawer (slides in from the right in RTL) */
  .mn-overlay { display: block; position: fixed; inset: 0; z-index: 2999; background: rgba(25, 20, 4, .5); opacity: 0; visibility: hidden; transition: opacity .42s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .42s; }
  .mobile-nav { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; right: 0; z-index: 3000; width: min(86vw, 360px); background: #f7f4ea; border-radius: 26px 0 0 26px; box-shadow: -18px 0 50px -14px rgba(40, 32, 4, .38); overflow: hidden; touch-action: pan-y; transform: translate3d(calc(100% + 60px), 0, 0); visibility: hidden; transition: transform .42s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .42s; }
  [data-theme="dark"] .mobile-nav { background: #14120a; }
  .drawer-open .mn-overlay { opacity: 1; visibility: visible; transition: opacity .42s cubic-bezier(.32, .72, 0, 1), visibility 0s; }
  .drawer-open .mobile-nav { transform: none; visibility: visible; transition: transform .42s cubic-bezier(.32, .72, 0, 1), visibility 0s; }
  .drawer-open { overflow: hidden; }
  .mn-head { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 22px 12px 16px; }
  .mn-head img { height: 42px; width: auto; }
  .mn-close { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: #ebe5cf; color: #1c1a14; font-size: 17px; cursor: pointer; }
  [data-theme="dark"] .mn-close { background: rgba(255, 255, 255, .08); color: var(--ink); }
  .mn-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 16px calc(24px + env(safe-area-inset-bottom)); }
  .mn-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 14px; border-radius: 20px; color: #fff; background: radial-gradient(110% 90% at 100% 0%, rgba(255, 255, 255, .14), transparent 50%), radial-gradient(70% 120% at 0% 100%, rgba(224, 190, 50, .45), transparent 65%), linear-gradient(135deg, #8f7512 0%, #5c4a0a 55%, #2b2305 100%); box-shadow: 0 14px 30px -18px rgba(92, 72, 6, .8); }
  .mn-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
  .mn-cta-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
  .mn-cta-text b { font-family: var(--f-head); font-size: 15px; font-weight: 700; }
  .mn-cta-text small { font-size: 12.5px; opacity: .85; }
  .mn-cta > .fa-chevron-left { color: rgba(255, 255, 255, .72); font-size: 12px; }
  .mn-title { margin: 0 8px 6px 0; font-size: 12px; font-weight: 700; color: #7a7466; }
  .mn-group { display: flex; flex-direction: column; margin-bottom: 16px; padding: 5px; background: #fff; border: 1px solid #ece6d2; border-radius: 18px; box-shadow: 0 1px 2px rgba(60, 48, 10, .04), 0 10px 26px -20px rgba(60, 48, 10, .25); }
  [data-theme="dark"] .mn-group { background: #1f1b0c; border-color: rgba(255, 255, 255, .06); }
  .mn-link { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; min-height: 48px; padding: 5px 10px; border: 0; border-radius: 13px; background: none; color: var(--ink); font-size: 15px; font-weight: 500; text-align: right; cursor: pointer; transition: background .15s; }
  .mn-link + .mn-link::before { content: ""; position: absolute; top: 0; right: 57px; left: 10px; height: 1px; background: #f1ecda; }
  [data-theme="dark"] .mn-link + .mn-link::before { background: rgba(255, 255, 255, .06); }
  .mn-link[aria-current="page"] { background: #f8f0cc; color: #5c4a0a; font-weight: 600; }
  [data-theme="dark"] .mn-link[aria-current="page"] { background: rgba(224, 194, 58, .14); color: #f0d868; }
  .mn-link[aria-current="page"]::before, .mn-link[aria-current="page"] + .mn-link::before { opacity: 0; }
  .mn-link[aria-current="page"] .mn-chev { color: var(--primary); }
  .mn-ico { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 15px; color: var(--ico); background: var(--ico-bg); }
  .mn-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mn-chev { color: #c9c0a4; font-size: 12px; }
  .mn-switch { width: 44px; height: 26px; flex: none; border-radius: 999px; background: #dcd3b4; position: relative; transition: background .25s; }
  .mn-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.32, .72, 0, 1); }
  [data-theme="dark"] .mn-switch { background: var(--primary); }
  [data-theme="dark"] .mn-switch::after { transform: translateX(-18px); }
  .mn-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 4px; }
  .mn-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid #ece6d2; color: var(--ink); }
  [data-theme="dark"] .mn-social a { background: #1f1b0c; border-color: rgba(255, 255, 255, .06); }

  .hero-grid, .ph-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid[style] { grid-template-columns: 1fr !important; }
  .hero-visual { min-height: 440px; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .slider-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .price.featured { transform: none; }
}

/* ===== Phone: app layout (like esimsignal.com mobile) ===== */
@media (max-width: 768px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); font-size: 15.5px; }
  body::after { display: none; }

  /* floating glass tab bar */
  .tabbar-wrap { display: block; position: fixed; inset: auto 0 0; z-index: 1000; padding: 0 14px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
  .tabbar { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); max-width: 440px; margin: 0 auto; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .65); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 12px 32px -10px rgba(60, 48, 10, .32), 0 2px 6px rgba(60, 48, 10, .06), inset 0 1px 0 rgba(255, 255, 255, .8); pointer-events: auto; transition: transform .35s cubic-bezier(.32, .72, 0, 1), opacity .3s; }
  [data-theme="dark"] .tabbar { background: rgba(26, 22, 8, .82); border-color: rgba(255, 255, 255, .08); box-shadow: 0 12px 32px -10px rgba(0, 0, 0, .6); }
  .tabbar.hidden { transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none; }
  .tab-pill { position: absolute; top: 5px; bottom: 5px; right: 5px; width: calc((100% - 10px) / var(--n, 5)); opacity: 0; pointer-events: none; transform: translate3d(calc(var(--i, 0) * -100%), 0, 0); transition: transform .45s cubic-bezier(.32, .72, 0, 1); }
  .tabbar.has-tab .tab-pill { opacity: 1; }
  .tab-pill::before { content: ""; position: absolute; inset: 0 2px; border-radius: 999px; background: linear-gradient(180deg, rgba(184, 150, 15, .13), rgba(184, 150, 15, .2)); }
  .tab { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 5px; color: #6f6850; }
  [data-theme="dark"] .tab { color: #a39c82; }
  .tab-ic { height: 22px; display: grid; place-items: center; font-size: 18px; transition: transform .15s; }
  .tab-lb { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 600; line-height: 14px; }
  .tab.active { color: #5c4a0a; }
  .tab.active .tab-ic { color: #8a6f0e; }
  .tab.active .tab-lb { font-weight: 700; }
  [data-theme="dark"] .tab.active, [data-theme="dark"] .tab.active .tab-ic { color: #f0d868; }
  .tab:active .tab-ic { transform: scale(.88); }

  .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); left: 16px; width: 50px; height: 50px; font-size: 24px; }
  .to-top { display: none; }

  /* flat app sections: content sits on the page, cards are white tiles */
  .container { padding-inline: 16px; }
  .section { padding-block: 0; }
  .panel { background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; padding: 26px 0; }
  .stack { padding-block: 0 20px; }
  .card { background: var(--surface-solid); border: 1px solid #ece6d2; box-shadow: 0 1px 2px rgba(60, 48, 10, .04), 0 10px 26px -20px rgba(60, 48, 10, .25); border-radius: 18px; }
  [data-theme="dark"] .card { border-color: rgba(255, 255, 255, .06); }
  a.card:hover, .card.hover:hover { transform: none; }
  .sec-head { margin-bottom: 16px; gap: 12px; align-items: center; flex-wrap: nowrap; }
  .sec-head > div { min-width: 0; }
  .sec-head.center { flex-wrap: wrap; }
  .sec-title { font-size: 21px; line-height: 1.5; }
  .sec-sub { font-size: 14px; margin-top: 4px; }
  .sec-head .btn-sm { --h: 36px; padding-inline: 14px; font-size: 12.5px; flex: none; }
  .sec-head .btn-sm .arr { display: none; }
  .eyebrow { font-size: 12px; margin-bottom: 4px; }
  .btn { --h: 50px; padding-inline: 22px; font-size: 14.5px; }

  /* gold banner hero (home + inner pages) */
  .hero, .page-hero { padding-top: 0; }
  .hero > .container, .page-hero > .container { padding-inline: 0; }
  .hero .panel, .page-hero .panel {
    position: relative; overflow: hidden; border-radius: 0 0 28px 28px; padding: 30px 20px 34px; text-align: center; color: #fff9e0;
    background: radial-gradient(120% 70% at 50% 0%, rgba(36, 29, 4, .45) 0%, rgba(36, 29, 4, 0) 70%), radial-gradient(70% 60% at 0% 100%, rgba(224, 190, 50, .45), transparent 70%), linear-gradient(160deg, #8f7512 0%, #5c4a0a 55%, #2b2305 100%);
    box-shadow: 0 20px 40px -28px rgba(92, 72, 6, .9);
  }
  .hero .panel h1, .page-hero .panel h1 { color: #fff; }
  .hero h1 { font-size: 32px; line-height: 1.35; }
  .hero h1 .sub { font-size: 17px; margin-top: 8px; }
  .hero .text-grad, .page-hero .text-grad { background: none; -webkit-text-fill-color: #f3dc6a; color: #f3dc6a; }
  .hero-hi { justify-content: center; color: #fff; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); width: fit-content; margin: 0 auto 16px; }
  .hero-hi .dot { background: #f3dc6a; box-shadow: 0 0 0 4px rgba(243, 220, 106, .25); }
  .hero .lead, .page-hero .lead { color: rgba(255, 249, 224, .86); font-size: 15px; margin-inline: auto; margin-top: 14px; }
  .hero-actions { justify-content: center; gap: 10px; margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 140px; }
  .hero .btn-dark, .page-hero .btn-dark { background: #fff; color: #5c4a0a; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
  .hero .btn-ghost, .page-hero .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
  .trusted { margin-top: 24px; }
  .trusted p { color: rgba(255, 249, 224, .7); font-size: 12px; margin-bottom: 10px; }
  .trusted-row { justify-content: center; gap: 8px 16px; color: #fff9e0; }
  .trusted-row span { font-size: 13px; opacity: .9; }
  .trusted-row i { font-size: 16px; }
  .hero-visual { min-height: 0; height: 330px; margin-top: 18px; }
  .hero-frame { width: 230px; background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .35), transparent 60%), rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .06); }
  .float-card { padding: 9px 12px; border-radius: 14px; }
  .fc-years { top: 4%; left: 2%; }
  .fc-years .big { font-size: 24px; }
  .fc-impact { width: 140px; left: 0; bottom: 4%; }
  .fc-impact .val { font-size: 16px; }
  .fc-impact svg { height: 26px; }
  .fc-rate { top: 38%; right: 0; }
  .fc-rate .avatars { display: none; }
  .hero .orb.sparkle { display: none; }

  .page-hero .panel { padding: 22px 20px 30px; }
  .page-hero .lead[style] { color: #fff !important; font-size: 17px !important; }
  .page-hero h1 { font-size: 26px; }
  .crumbs { justify-content: center; color: rgba(255, 249, 224, .7); margin-bottom: 14px; font-size: 12px; }
  .crumbs a:hover { color: #fff; }
  .crumbs [aria-current] { color: #fff; }
  .page-hero .eyebrow { color: #f3dc6a; justify-content: center; }
  .page-hero .eyebrow::before { background: #f3dc6a; }
  .ph-grid { gap: 22px; }
  .ph-grid > div:first-child { text-align: center; }
  .page-hero .lead { margin-inline: auto; }
  .mini-stats { justify-content: center; }
  .mini-stats .chip, .page-hero .mini-stats .chip { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
  .mini-stats .chip i, .mini-stats .chip b { color: #f3dc6a !important; }
  .ph-visual { max-width: 260px; margin: 0 auto; width: 100%; }
  .ph-visual .shot { border-radius: 20px; border-color: rgba(255, 255, 255, .2); }
  .ph-visual .orb { display: none; }
  .ph-visual .float-card { display: none; }
  .app-hero-visual { min-height: 0; height: 340px; }
  .app-hero-visual .hero-frame { width: 220px; }
  .store-row { justify-content: center; }
  .store { background: #fff; color: #5c4a0a; }
  .page-hero .hero-hi { margin-bottom: 12px; }

  /* about */
  .about-grid { gap: 20px; }
  .about-grid h2 { font-size: 22px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
  .stat { padding: 14px 8px; text-align: center; background: var(--surface-solid); border-color: #ece6d2; }
  .stat b { font-size: 22px; }
  .stat span { font-size: 12px; }
  .stat i { display: none; }
  .about-text p { font-size: 15px; }

  /* list rows (services / products / features) like esim cards */
  .grid { gap: 10px; }
  .g-2, .g-3, .g-4, .process, .process.p4, .quick-grid, .mini-cards, .rights-grid, .ip-grid { grid-template-columns: 1fr; }
  .svc-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) 30px; grid-template-areas: "ic t go" "ic p go"; column-gap: 12px; row-gap: 2px; align-items: center; min-height: 0; padding: 12px 14px; }
  .svc-card .tile-ic { grid-area: ic; width: 46px; height: 46px; border-radius: 14px; font-size: 18px; }
  .svc-card h3 { grid-area: t; margin: 0; font-size: 15px; line-height: 1.5; }
  .svc-card p { grid-area: p; font-size: 12.5px; line-height: 1.6; -webkit-line-clamp: 1; }
  .svc-card .corner-arrow { grid-area: go; width: 30px; height: 30px; margin: 0; align-self: center; background: #fbf5d9; border-color: #ecdfa0; color: var(--primary); }
  [data-theme="dark"] .svc-card .corner-arrow { background: rgba(224, 194, 58, .12); border-color: transparent; }
  .corner-arrow i { font-size: 11px; }
  .svc-card::after { display: none; }
  .prod-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) 30px; grid-template-areas: "ic t go" "ic p go"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; }
  .prod-card .tile-ic { grid-area: ic; width: 46px; height: 46px; border-radius: 14px; font-size: 18px; }
  .prod-card h3 { grid-area: t; font-size: 15px; }
  .prod-card p { grid-area: p; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prod-card .foot { grid-area: go; }
  .prod-card .foot .badge { display: none; }
  .prod-card .corner-arrow { width: 30px; height: 30px; background: #fbf5d9; border-color: #ecdfa0; color: var(--primary); }
  .feat { padding: 16px; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: start; }
  .feat .tile-ic { grid-row: span 2; width: 44px !important; height: 44px !important; margin: 0 !important; font-size: 16px; }
  .feat h3 { font-size: 15px; margin-bottom: 2px; }
  .feat p { font-size: 13.5px; line-height: 1.7; }
  .feat[style*="text-align:center"] { grid-template-columns: 44px 1fr; text-align: right !important; align-items: center; }
  .card.feat[style*="display:flex"] { display: flex !important; }

  /* works: 2-column gallery */
  .grid.works { grid-template-columns: 1fr 1fr; gap: 10px; }
  .works .work-thumb { margin: 6px; border-radius: 13px;height:250px;display: flex;
        align-items: center;
        justify-content: center; }
  .works .work-thumb .chip, .works .work-meta small, .works .corner-arrow { display: none; }
  .works .work-meta { padding: 4px 10px 12px; }
  .works .work-meta h3 { font-size: 13.5px; }
  .work-thumb img { width: 120px; height:200px;object-fit:cover; }
  .grid.g-2:has(.work-card) { grid-template-columns: 1fr; }

  /* process as a compact timeline */
  .step { padding: 14px 16px; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }
  .step-top { grid-row: span 2; flex-direction: column; margin: 0; gap: 4px; }
  .step-top .n { font-size: 12px; }
  .step h3, .step h4 { font-size: 15px; margin: 0 0 2px; }
  .step p { font-size: 13px; }

  .tech-row { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .tech-tile { padding: 12px 4px 10px; border-radius: 14px; }
  .tech-tile i { font-size: 22px; margin-bottom: 4px; }
  .tech-tile span { font-size: 10.5px; }
  .slider-track { grid-auto-columns: 86%; gap: 12px; }
  .quote { padding: 18px; }
  .quote p { font-size: 14px; }
  .partner { width: 140px; height: 88px; border-radius: 14px; }
  .pill { padding: 8px 14px; font-size: 13px; }
  .lead-text { font-size: 15px; line-height: 1.9; text-align: right; }
  .price { padding: 22px 18px; }
  .price .amount { font-size: 32px; }
  .faq-q { padding: 15px 16px; font-size: 14.5px; }
  .faq-a p { padding: 0 16px 16px; font-size: 14px; }
  .check-list li { padding: 12px 14px; font-size: 14px; }

  /* CTA + forms */
  .cta-band { border-radius: 24px; padding: 34px 18px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band p { font-size: 14.5px; margin-bottom: 20px; }
  .cta-band .actions .btn { flex: 1 1 140px; }
  .cta-band .orb.a { width: 110px; height: 110px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-card { padding: 18px 16px; border-radius: 20px; }
  .input { height: 50px; font-size: 16px; }
  .contact-intro h2 { font-size: 21px; margin-bottom: 16px; }
  .quick { padding: 14px; flex-direction: row; align-items: center; gap: 12px; }
  .quick .tile-ic { width: 42px; height: 42px; font-size: 16px; }
  .quick b { font-size: 14.5px; }
  .quick span { font-size: 12.5px; }
  .map-wrap { height: 260px; border-radius: 18px; }

  /* footer: compact, above the tab bar */
  .site-footer { padding: 6px 0 10px; }
  .site-footer .panel { padding: 22px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-brand, .footer-grid > .f-col:last-child { grid-column: 1 / -1; }
  .footer-brand p { font-size: 13.5px; }
  .f-col h3 { font-size: 14px; margin-bottom: 10px; }
  .f-col ul { gap: 7px; }
  .f-col a, .f-col li { font-size: 13px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; font-size: 12px; margin-top: 22px; }
  .policy-card { padding: 18px 16px; border-radius: 18px; }
  .toasts { top: 76px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .brand-text small { display: none; }
  .stat b { font-size: 19px; }
  .tech-row { grid-template-columns: repeat(3, 1fr); }
  .tab-lb { font-size: 9.5px; }
}

/* touch devices: native-app feel */
@media (hover: none) and (pointer: coarse) {
  * { -webkit-tap-highlight-color: transparent; }
  html, body { overscroll-behavior-y: contain; }
  a:active, button:active, .btn:active, .card:active, .tab:active, .mn-link:active { opacity: .6; }
  .tab:active { opacity: 1; }
}

.crumbs,.eyebrow{
  display:none;
}
.corner-arrow{
  display:none;
}