/* Al-Shamali Health — site styles (shared by EN + AR) */
:root {
  --sky: #29A8E0;
  --indigo: #2E4A9E;
  --purple: #5B2D8E;
  --magenta: #9B2A84;
  --pink: #D0306E;
  --ink: #2E1E4D;
  --text: #3B2560;
  --muted: #6E6488;
  --line: #E9E3F3;
  --paper: #FFFFFF;
  --tint: #F7F4FC;
  --grad: linear-gradient(120deg, var(--indigo) 0%, var(--purple) 48%, var(--pink) 100%);
  --grad-soft: linear-gradient(120deg, #EEF3FC 0%, #F3ECFA 50%, #FCEAF1 100%);
  --radius: 22px;
  --shadow: 0 10px 30px rgba(91, 45, 142, .08);
  --max: 1180px;
  --font: "Poppins", system-ui, sans-serif;
}
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Poppins", system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(208, 48, 110, .25); }
.btn-light { background: #fff; color: var(--purple); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline { border: 1.5px solid var(--purple); color: var(--purple); }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--pink); }
.nav .lang { font-weight: 600; color: var(--purple); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 24px; margin: 5px auto; background: var(--ink); border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 110px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.15); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.08; font-weight: 700; margin: 22px 0 20px; letter-spacing: -1px; }
html[lang="ar"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
.hero p.lead { font-size: 19px; opacity: .92; max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-mark { position: relative; justify-self: center; width: min(380px, 80%); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.96); display: grid; place-items: center; box-shadow: 0 30px 60px rgba(30, 10, 60, .35); }
.hero-mark .hm-inner { width: 84%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-mark img { width: 52%; margin-bottom: 14px; }
.hero-mark .hm-name { font-family: "Poppins", sans-serif; font-size: clamp(15px, 2vw, 25px); color: var(--purple); line-height: 1.2; direction: ltr; white-space: nowrap; }
.hero-mark .hm-name b { font-weight: 700; }
.hero-mark .hm-ar { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: clamp(13px, 1.55vw, 19px); color: #4A2D73; font-weight: 500; margin-top: 4px; direction: rtl; }
.hero .bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }

/* stats */
.stats { margin-top: -56px; position: relative; z-index: 2; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { padding: 30px 26px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { display: block; font-size: 40px; font-weight: 700; line-height: 1.1; font-family: "Poppins", sans-serif; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* sections */
section.block { padding: 104px 0; }
section.tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--pink); }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 15px; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.15; font-weight: 700; color: var(--ink); margin: 10px 0 14px; letter-spacing: -.5px; }
html[lang="ar"] .sec-head h2 { line-height: 1.35; letter-spacing: 0; }
.sec-head p { font-size: 17px; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about .text p { font-size: 17px; margin-bottom: 18px; }
.mv { display: grid; gap: 18px; }
.mv .card h3 { font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card.soft { background: var(--grad-soft); border: 0; box-shadow: none; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.value { text-align: center; padding: 26px 16px; }
.value .ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; }
.value .ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value h4 { font-size: 16px; color: var(--ink); }
.value p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; margin-bottom: 18px; }
.service .ico svg { width: 26px; height: 26px; stroke: var(--purple); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.service p { font-size: 15px; color: var(--muted); }
.service .note { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--magenta); }

/* brands */
.leap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; background: var(--grad-soft); border-radius: 30px; padding: 48px; margin-bottom: 28px; }
.leap h3 { font-size: 46px; font-weight: 700; line-height: 1; font-family: "Poppins", sans-serif; }
.leap .sub { margin: 12px 0 18px; font-size: 17px; color: var(--purple); font-weight: 500; }
.leap p { color: var(--muted); }
.lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.line { background: #fff; border-radius: 18px; padding: 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.line img { width: 72px; height: 86px; object-fit: contain; flex: none; }
.line h4 { font-size: 16.5px; color: var(--ink); font-family: "Poppins", sans-serif; }
.line span { font-size: 13.5px; color: var(--muted); display: block; line-height: 1.4; }
.venome { grid-template-columns: .8fr 1.2fr; }
.venome .line { flex-direction: column; align-items: stretch; gap: 10px; }
.venome .line img { width: 100%; height: 120px; background: #fff; }
.venome .line span { font-size: 13.5px; }
.pro-note { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--magenta); background: #fff; border-radius: 999px; padding: 6px 14px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand h4 { font-size: 26px; font-weight: 700; font-family: "Poppins", sans-serif; }
.brand .tag { font-size: 14px; font-weight: 600; color: var(--ink); margin: 6px 0 4px; }
.brand p { font-size: 14.5px; color: var(--muted); }
.piora { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--grad); color: #fff; border: 0; }
.piora h4 { color: #fff; }
.piora p { color: rgba(255,255,255,.88); }

.supps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.supp { display: flex; gap: 18px; align-items: center; }
.supp img { width: 96px; height: 96px; object-fit: contain; border-radius: 14px; background: #fff; flex: none; }
.supp .ph { width: 96px; height: 96px; border-radius: 14px; background: var(--grad-soft); flex: none; display: grid; place-items: center; font-weight: 700; color: var(--purple); font-family: "Poppins", sans-serif; }
.supp h4 { font-size: 18px; color: var(--ink); font-family: "Poppins", sans-serif; }
.supp p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--indigo); border: 1.5px solid var(--indigo); border-radius: 8px; padding: 2px 8px; margin-top: 6px; font-family: "Poppins", sans-serif; }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* network */
.network { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.network .card { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.network .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); flex: none; }
.network h4 { font-size: 16px; color: var(--ink); font-weight: 600; }

.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 116px; box-shadow: var(--shadow); }
.partner b { color: var(--ink); font-size: 15.5px; line-height: 1.35; }
.partner span { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.partner img { height: 64px; width: 100%; object-fit: contain; margin: 0 auto 12px; }
.partner.has-logo b { font-size: 13.5px; }
.partner img.tile { width: 64px; border-radius: 12px; }

.success { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.succ { text-align: center; padding: 34px 24px; }
.succ .ico { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); display: grid; place-items: center; margin: 0 auto 20px; }
.succ .ico svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.succ h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.succ p { font-size: 14.5px; color: var(--muted); }

/* leadership */
.leader { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; max-width: 900px; margin: 0 auto; }
.leader .avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 40px; font-weight: 700; font-family: "Poppins", sans-serif; }
.leader h3 { font-size: 24px; color: var(--ink); }
.leader .role { color: var(--pink); font-weight: 600; font-size: 15px; }
.leader p { color: var(--muted); margin-top: 10px; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-list { display: grid; gap: 16px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: center; }
.contact-item .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; flex: none; }
.contact-item .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item b { color: var(--ink); font-weight: 600; font-size: 16px; }
.contact-item b[dir="ltr"] { unicode-bidi: isolate; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.cta-band { margin-top: 56px; background: var(--grad); border-radius: 30px; color: #fff; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { font-size: 28px; line-height: 1.25; }
.cta-band p { opacity: .9; margin-top: 6px; }

/* footer */
.footer { background: #1E1433; color: rgba(255,255,255,.75); padding: 56px 0 28px; font-size: 14.5px; }
.footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .flogo { background: #fff; border-radius: 14px; padding: 10px 14px; display: inline-block; }
.footer .flogo img { height: 40px; }
.footer .tagline { margin-top: 14px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer .bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* whatsapp float */
.wa { position: fixed; inset-inline-end: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); z-index: 60; }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* hover motion */
.card, .partner, .line, .stat, .value .ico, .service .ico, .contact-item .ico, .wa, .logo img, .hero-mark {
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
.btn { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background-color .22s ease, color .22s ease; }
.card:hover, .partner:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(91,45,142,.16); border-color: rgba(208,48,110,.28); }
.card.soft:hover { box-shadow: 0 14px 32px rgba(91,45,142,.12); }
.line:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 16px 36px rgba(91,45,142,.18); }
.stat:hover { transform: translateY(-4px); }
.succ .ico { transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.value:hover .ico, .service:hover .ico, .contact-item:hover .ico, .succ:hover .ico { transform: scale(1.12) rotate(-6deg); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary:hover { box-shadow: 0 14px 28px rgba(208,48,110,.38); }
.btn-light:hover { box-shadow: 0 12px 26px rgba(30,10,60,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.logo:hover img { transform: scale(1.04); }
.hero-mark:hover { transform: scale(1.03) rotate(-1deg); }
.wa:hover { transform: scale(1.1); }
.partner img { transition: filter .28s ease, opacity .28s ease, transform .28s ease; }
.partner:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* responsive */
@media (max-width: 980px) {
  .hero .wrap, .about, .leap, .contact { grid-template-columns: 1fr; }
  .hero-mark { width: 240px; order: -1; }
  .services, .brand-grid, .supps, .network { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .success { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .wrap { padding: 0 16px; }
  section.block { padding: 72px 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 96px; }
  .services, .brand-grid, .supps, .network, .lines { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .success { grid-template-columns: 1fr; }
  .leap { padding: 28px 20px; }
  .leader { grid-template-columns: 1fr; text-align: center; }
  .leader .avatar { margin: 0 auto; }
  .cta-band { padding: 32px 24px; }
}

/* v2 content sections */
.group-title { font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--purple); margin: 48px 0 18px; display: flex; align-items: center; gap: 14px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
html[lang="ar"] .group-title { letter-spacing: 0; font-size: 17px; }
.sec-head + .group-title { margin-top: 0; }
.brand-grid.two { grid-template-columns: repeat(2, 1fr); }
.brand-grid:not(.two) { grid-template-columns: repeat(4, 1fr); }
.brand p a { color: var(--purple); font-weight: 600; }
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector { padding: 30px; }
.sector h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.sector p { color: var(--muted); font-size: 15px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item b { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-family: "Poppins", sans-serif; font-size: 15px; margin-bottom: 14px; }
.why-item h4 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.why-item p { font-size: 14.5px; color: var(--muted); }
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.market { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.market h3 { font-size: 26px; color: var(--ink); margin: 8px 0 10px; line-height: 1.3; }
.market > p { color: var(--muted); font-size: 15.5px; }
.ticks { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; flex: 1; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background-repeat: no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"), var(--grad); background-size: 12px, cover; background-position: center; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 22px 18px; border-radius: 18px; background: var(--grad-soft); }
.step b { display: block; font-family: "Poppins", sans-serif; font-size: 28px; font-weight: 700; line-height: 1; margin-bottom: 12px; }
.step h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 6px; line-height: 1.35; }
.step p { font-size: 13.5px; color: var(--muted); }
.footer .disclaimer { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.55); padding: 22px 0 0; max-width: 980px; }
.why-item, .sector, .market { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
@media (max-width: 980px) {
  .brand-grid:not(.two), .why, .steps { grid-template-columns: repeat(2, 1fr); }
  .sectors, .markets { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .brand-grid.two, .brand-grid:not(.two), .why, .steps { grid-template-columns: 1fr; }
  .market { padding: 26px 20px; }
}
/* licenses */
.licenses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 660px; margin: 0 auto; }
.license { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.license img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.license .zoom { position: absolute; inset-inline-end: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(91,45,142,.3); transition: transform .28s ease; }
.license .zoom svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.license:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(91,45,142,.18); }
.license:hover .zoom { transform: scale(1.12); }
.lic-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
@media (max-width: 760px) { .licenses { grid-template-columns: 1fr 1fr; gap: 14px; } }
/* mobile motion: no hover on touch screens, so icons animate when they scroll into view and react to taps */
@keyframes icoPop { 0% { transform: scale(.55) rotate(0); opacity: .2; } 55% { transform: scale(1.16) rotate(-8deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes icoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (hover: none) {
  .reveal-in .ico, .why-item.reveal-in b, .license.reveal-in .zoom { animation: icoPop .9s cubic-bezier(.2,.8,.2,1) both, icoFloat 3.2s ease-in-out 1.1s infinite; }
  .card.reveal-in, .license.reveal-in { animation: cardUp .6s cubic-bezier(.2,.8,.2,1) backwards; }
  .card:active, .license:active { transform: translateY(-4px) scale(.985); box-shadow: 0 14px 30px rgba(91,45,142,.16); }
  .card:active .ico, .why-item:active b { animation: none; transform: scale(1.14) rotate(-6deg); }
  .btn:active { transform: scale(.96); }
}
@keyframes cardUp { from { transform: translateY(18px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
/* business account form page */
.page-hero { background: var(--grad); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.15; margin: 14px 0 12px; }
.page-hero .lead { max-width: 760px; opacity: .92; font-size: 17px; }
.form-wrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
.form-status { display: none; grid-column: 1 / -1; padding: 16px 20px; border-radius: 14px; background: #E9F8EF; color: #155D35; border: 1px solid #BFE8CF; }
.form-status.err { background: #FDECEF; color: #8A1C33; border-color: #F5C3CE; }
.form-status.show { display: block; }
.account-form { padding: 32px; display: grid; gap: 18px; }
.account-form.done { display: none; }
.account-form h2 { font-size: 20px; color: var(--ink); margin-top: 4px; }
.account-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-form label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; row-gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.account-form label em { color: var(--pink); font-style: normal; }
.account-form input[type=text], .account-form input[type=email], .account-form input[type=tel], .account-form select, .account-form textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 50px; transition: border-color .2s ease, box-shadow .2s ease; }
.account-form input:focus, .account-form select:focus, .account-form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(91,45,142,.12); }
.account-form textarea { resize: vertical; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 14px; cursor: pointer; transition: all .2s ease; }
.chips span small { color: var(--muted); font-weight: 400; }
.chips input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.chips input:checked + span small { color: rgba(255,255,255,.85); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(91,45,142,.18); }
.account-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.account-form .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
.account-form .btn { justify-self: start; }
.hp { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-side { display: grid; gap: 18px; }
.form-side h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.form-side p { line-height: 2; }
.form-side a { color: var(--purple); font-weight: 600; }
.next { padding-inline-start: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .account-form { padding: 22px 18px; } .account-form .grid2 { grid-template-columns: 1fr; } .page-hero { padding: 48px 0 44px; } }
/* brand logos in the portfolio cards */
.brand h4.logo { height: 66px; display: flex; align-items: center; margin-bottom: 6px; }
.brand h4.logo img { max-height: 52px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.brand-mark { margin-bottom: 14px; }
.brand-mark img { height: 78px; width: auto; display: block; }
.brand h4.logo img[src*="leap"] { max-height: 66px; }
