/* =========================================================
   DAM Medikal — main stylesheet
   ========================================================= */
:root {
  --teal: #014F5B;
  --teal-2: #0B6B78;
  --mint: #13B39A;
  --mint-2: #7FD8C6;
  --ink: #12272C;
  --ink-2: #4A5F64;
  --ink-3: #82959A;
  --line: #E3ECEB;
  --bg: #F6FAF9;
  --card: #FFFFFF;
  --radius: 26px;
  --shadow: 0 24px 60px -30px rgba(1, 79, 91, .35);
  --shadow-sm: 0 10px 30px -18px rgba(1, 79, 91, .35);
  --c: var(--mint);           /* active persona colour */
  --c-deep: var(--teal);
  --c-soft: #E6F6F2;
  --ar: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  --lat: "Poppins", "IBM Plex Sans Arabic", system-ui, sans-serif;
  interpolate-size: allow-keywords;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--ar); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; }
p { margin: 0; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.lat { font-family: var(--lat); direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 10px; }

/* ---------- section heads ---------- */
.section { padding: 110px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--mint); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #169B62, #F07F1E, #E2508F, #8A57D1); }
.h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; margin-top: 10px; color: var(--teal); }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); max-width: 720px; margin-top: 14px; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--bg); color: var(--teal); }
.tools { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.lang-btn svg { width: 18px; height: 18px; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; min-width: 170px; display: none; z-index: 70; }
.lang.open .lang-menu { display: grid; }
.lang-menu button { border: 0; background: none; text-align: start; padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14.5px; }
.lang-menu button:hover { background: var(--bg); }
.lang-menu button[aria-current="true"] { color: var(--mint); font-weight: 700; }
.lang-menu small { color: var(--ink-3); font-size: 11px; }
.cta-sm { text-decoration: none; background: var(--teal); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 999px; transition: background-color .2s; }
.cta-sm:hover { background: var(--teal-2); }
.menu-btn { display: none; border: 0; background: var(--bg); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* the family colour bar (one colour per persona) */
.family-bar { display: grid; grid-template-columns: repeat(5, 1fr); }
.fam-tab { position: relative; border: 0; cursor: pointer; padding: 9px 12px 12px; background: var(--fc-soft); color: var(--fc-deep); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 14.5px; transition: background-color .3s, color .3s; overflow: hidden; }
.fam-tab .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.fam-tab small { font-weight: 500; opacity: .75; font-size: 12.5px; }
.fam-tab .prog { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.06); }
.fam-tab .prog b { display: block; height: 100%; width: 0; background: var(--fc); }
.fam-tab[aria-selected="true"] { background: var(--fc); color: #fff; }
.fam-tab[aria-selected="true"] .dot { background: #fff; }
.fam-tab[aria-selected="true"] .prog { background: rgba(255,255,255,.35); }
.fam-tab[aria-selected="true"] .prog b { background: #fff; animation: fill 8s linear forwards; }
.hero.paused ~ * .fam-tab .prog b, .is-paused .fam-tab[aria-selected="true"] .prog b { animation-play-state: paused; }
.no-auto .fam-tab[aria-selected="true"] .prog b { animation: none; width: 100%; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 74px; inset-inline: 0; background: #fff; flex-direction: column; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .cta-sm { display: none; }
  .fam-tab small { display: none; }
}

/* ---------- hero / family slider ---------- */
.hero { position: relative; background: var(--bg); }
.htrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.htrack::-webkit-scrollbar { display: none; }
.hslide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; overflow: clip; min-height: min(760px, calc(100svh - 120px));
  background: radial-gradient(90% 120% at 15% 40%, var(--soft) 0%, #fff 70%); display: flex; align-items: center; }
.hslide .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding-block: 60px 90px; position: relative; z-index: 2; }
.hs-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.hslide.active .hs-copy > * { opacity: 1; transform: none; }
.hslide.active .hs-copy > :nth-child(2) { transition-delay: .07s; } .hslide.active .hs-copy > :nth-child(3) { transition-delay: .14s; }
.hslide.active .hs-copy > :nth-child(4) { transition-delay: .21s; } .hslide.active .hs-copy > :nth-child(5) { transition-delay: .28s; }
.hslide.active .hs-copy > :nth-child(6) { transition-delay: .35s; }
.role { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--deep); font-weight: 700; padding: 7px 16px 7px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 15px; }
.role i { width: 30px; height: 30px; border-radius: 50%; background: var(--color); display: grid; place-items: center; }
.role i svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.2; }
.hs-title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; color: var(--deep); margin-top: 18px; }
.hs-tag { display: inline-block; margin-top: 8px; font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: var(--color); }
.hs-text { color: var(--ink-2); font-size: 17px; margin-top: 14px; max-width: 560px; }
.focus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.focus li { background: #fff; border: 1px solid color-mix(in srgb, var(--color) 30%, transparent); color: var(--deep); font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.picks { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.pick { display: flex; align-items: center; gap: 10px; background: #fff; border: 0; cursor: pointer; padding: 6px 14px 6px 6px; border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; text-align: start; }
.pick:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pick img { width: 48px; height: 48px; border-radius: 13px; object-fit: cover; object-position: center 70%; background: var(--soft); }
.pick span { font-family: var(--lat); font-size: 13px; font-weight: 600; color: var(--ink); max-width: 130px; line-height: 1.3; }
.hs-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; text-decoration: none; background: var(--color); color: #fff; font-weight: 700; padding: 13px 24px; border-radius: 999px; box-shadow: 0 16px 34px -14px var(--color); transition: transform .25s; }
.hs-cta:hover { transform: translateY(-2px); }
.hs-art { position: relative; justify-self: center; width: min(100%, 600px); aspect-ratio: 1; }
.hs-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--color) 55%, transparent); animation: spin 60s linear infinite; }
.hs-art .ring.r2 { inset: 3.5%; border: 10px solid color-mix(in srgb, var(--color) 14%, transparent); border-top-color: var(--color); border-right-color: color-mix(in srgb, var(--color) 45%, transparent); animation-duration: 14s; }
.hs-art .portrait { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; background: var(--color); border: 8px solid #fff; box-shadow: 0 40px 80px -30px var(--color), 0 0 0 1px color-mix(in srgb, var(--color) 20%, transparent); transform: scale(.92); opacity: 0; transition: opacity .8s ease .1s, transform 1s cubic-bezier(.2,.8,.2,1) .1s; }
.hs-art .portrait .char { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); transition: transform 6s ease-out; }
.hslide.active .hs-art .portrait { opacity: 1; transform: none; }
.hslide.active .hs-art .portrait .char { transform: scale(1); }
.hs-art .badge { position: absolute; inset-inline-start: -2%; bottom: 10%; background: #fff; border-radius: 20px; padding: 10px 14px 10px 10px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); cursor: pointer; border: 0; animation: bob 5s ease-in-out infinite; }
.hs-art .badge img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; object-position: center 70%; }
.hs-art .badge b { display: block; font-size: 12px; color: var(--color); }
.hs-art .badge span { font-family: var(--lat); font-weight: 600; font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* floating supplements */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fl { position: absolute; width: var(--s, 46px); height: auto; animation: floaty var(--d, 7s) ease-in-out infinite; animation-delay: var(--dl, 0s); transform: translate(var(--px, 0px), var(--py, 0px)); opacity: .95; }
.fl > svg { width: 100%; height: auto; display: block; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 12px 14px rgba(0,0,0,.12)); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@media (prefers-reduced-motion: reduce) { .fl, .hs-art .ring, .hs-art .badge { animation: none; } }

.hctrl { position: absolute; z-index: 5; bottom: 22px; inset-inline: 0; pointer-events: none; }
.hctrl .container { display: flex; justify-content: flex-end; gap: 10px; }
.arrow { pointer-events: auto; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.arrow:hover { transform: scale(1.08); }
.arrow svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .hslide .container { grid-template-columns: 1fr; padding-block: 30px 90px; gap: 10px; }
  .hs-art { width: min(80%, 340px); order: -1; }
  .hs-text { font-size: 16px; }
}

/* ---------- trust strip ---------- */
.trust { background: var(--teal); color: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 26px; }
.trust div { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.trust svg { width: 34px; height: 34px; flex: none; stroke: var(--mint-2); fill: none; stroke-width: 1.8; }
@media (max-width: 760px) { .trust .container { grid-template-columns: 1fr 1fr; } }

/* ---------- categories ---------- */
.cats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.search { position: relative; width: min(100%, 360px); }
.search input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 13px 48px 13px 18px; font: inherit; font-size: 15px; }
.search svg { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; stroke: var(--ink-3); fill: none; stroke-width: 2; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 40px; }
.tile { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 16px 14px; cursor: pointer; text-align: start; display: grid; gap: 10px; transition: border-color .25s, transform .25s, box-shadow .25s, background-color .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; }
.tile .ic svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-size: 14.5px; line-height: 1.45; font-weight: 700; color: var(--ink); }
.tile small { color: var(--ink-3); font-size: 12.5px; }
.tile[aria-selected="true"] { background: var(--teal); border-color: var(--teal); }
.tile[aria-selected="true"] b { color: #fff; } .tile[aria-selected="true"] small { color: var(--mint-2); }
.tile[aria-selected="true"] .ic { background: rgba(255,255,255,.12); } .tile[aria-selected="true"] .ic svg { stroke: #fff; }
.tile.gum { background: linear-gradient(135deg, #FFF0F6, #F0EBFF); border-color: #EBD9F2; }
.tile.gum .ic { background: #fff; } .tile.gum .ic svg { stroke: #C2408A; }
.cat-panel { margin-top: 44px; }
.cat-panel-head { display: flex; align-items: center; gap: 16px; }
.cat-panel-head .ic { width: 58px; height: 58px; border-radius: 18px; background: var(--teal); display: grid; place-items: center; flex: none; }
.cat-panel-head .ic svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-panel-head h3 { font-size: clamp(22px, 2.4vw, 30px); color: var(--teal); }
.cat-panel-head p { color: var(--ink-2); font-size: 15.5px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.swap-in { animation: swapIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .swap-in { animation: none; } }

.pcard { border: 0; padding: 0; background: #fff; border-radius: 22px; overflow: clip; cursor: pointer; text-align: start; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard .pimg { aspect-ratio: 1 / .92; background: #EEF5F4; overflow: clip; position: relative; }
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .pimg img { transform: scale(1.05); }
.pcard .form { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255,255,255,.92); color: var(--teal); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.pcard .pbody { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; }
.pcard .pname { font-family: var(--lat); font-weight: 600; font-size: 16px; color: var(--ink); direction: ltr; text-align: right; }
.pcard .pben { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.pcard .more { margin-top: auto; padding-top: 6px; color: var(--mint); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pcard .more svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.empty { margin-top: 30px; color: var(--ink-3); }

/* ---------- gummies ---------- */
.gummies { background: linear-gradient(180deg, #FFF6FA 0%, #F4EFFF 100%); overflow: clip; }
.gummies .h2 { color: #6B2A86; }
.gummies .eyebrow { color: #C2408A; }
.gum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 40px; position: relative; z-index: 2; }
.gummies .pcard .pimg { aspect-ratio: 1; background: #fff; }
.gummies .pcard .pimg img { object-position: center; }
.gummies .pcard .form { color: #C2408A; }
.gummies .pcard .more { color: #C2408A; }

/* ---------- factory ---------- */
.factory { background: #fff; }
.fac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.fac-img { border-radius: 30px; overflow: clip; box-shadow: var(--shadow); position: relative; }
.fac-img img { width: 100%; }
.fac-img .tag { position: absolute; bottom: 18px; inset-inline-start: 18px; background: rgba(255,255,255,.94); padding: 10px 16px; border-radius: 16px; font-weight: 700; color: var(--teal); display: flex; gap: 8px; align-items: center; }
.fac-copy p { color: var(--ink-2); margin-top: 14px; font-size: 16.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.stat { background: var(--bg); border-radius: 22px; padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--lat); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); color: var(--teal); line-height: 1.1; direction: ltr; }
.stat span { color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.lines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px; }
.line-it { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.line-it i { width: 36px; height: 36px; border-radius: 12px; background: #E6F6F2; display: grid; place-items: center; flex: none; }
.line-it svg { width: 20px; height: 20px; stroke: var(--mint); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qc { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 90px; }
.qc ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.qc li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.qc li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: var(--mint) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.cert { background: var(--teal); border-radius: 22px; padding: 18px 18px 14px; color: #fff; text-align: center; transition: transform .3s; }
.cert:hover { transform: translateY(-5px); }
.cert img { border-radius: 8px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); margin-inline: auto; width: 100%; max-width: 220px; }
.cert b { display: block; margin-top: 12px; font-family: var(--lat); font-size: 16px; }
.cert small { color: var(--mint-2); font-size: 13px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.svc { border-radius: 24px; padding: 26px; background: linear-gradient(160deg, var(--teal), var(--teal-2)); color: #fff; }
.svc h4 { font-size: 19px; margin-top: 12px; }
.svc p { color: #CFE7E4; font-size: 15px; margin-top: 6px; }
.svc svg { width: 40px; height: 40px; stroke: var(--mint-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .fac-grid, .qc { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .lines { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; margin-top: 40px; }
.form-card, .info-card { background: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow-sm); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg); transition: border-color .2s, background-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #E05561; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; inset-inline-start: -9999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; background: var(--teal); color: #fff; font-weight: 700; padding: 14px 28px; border-radius: 999px; font-size: 15.5px; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn:hover { background: var(--teal-2); transform: translateY(-2px); }
.btn.wa { background: #1FAF5A; } .btn.wa:hover { background: #18934B; }
.form-status { margin-top: 14px; font-weight: 600; font-size: 14.5px; }
.form-status.ok { color: #12945A; } .form-status.err { color: #D2414E; }
.info-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-card li { display: flex; gap: 14px; align-items: flex-start; }
.info-card li i { width: 44px; height: 44px; flex: none; border-radius: 14px; background: #E6F6F2; display: grid; place-items: center; }
.info-card li svg { width: 22px; height: 22px; stroke: var(--mint); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.info-card li b { display: block; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.info-card li a, .info-card li span { text-decoration: none; font-weight: 600; color: var(--ink); }
.map { margin-top: 18px; border-radius: 20px; overflow: clip; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 220px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .fgrid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { background: var(--teal); color: #CFE7E4; padding: 70px 0 30px; position: relative; overflow: clip; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.foot img { height: 46px; width: auto; }
.foot p { margin-top: 16px; font-size: 14.5px; max-width: 320px; }
.foot h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; font-size: 14.5px; }
.foot a:hover { color: #fff; }
.copy { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.fam-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }

/* floating whatsapp */
.wa-float { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,175,90,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- product dialog ---------- */
dialog.pm { border: 0; padding: 0; border-radius: 30px; width: min(1000px, 100% - 30px); max-height: calc(100dvh - 40px); overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0,0,0,.5); }
dialog.pm::backdrop { background: rgba(4, 30, 35, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.pm[open] { animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { dialog.pm[open] { animation: none; } }
.pm-in { display: grid; grid-template-columns: .9fr 1.1fr; }
.pm-img { background: #EEF5F4; position: relative; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.pm-body { padding: 34px 34px 30px; display: grid; gap: 14px; align-content: start; }
.pm-close { position: sticky; top: 14px; float: left; margin: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center; }
[dir="ltr"] .pm-close { float: right; }
.pm-close svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.pm-form { display: inline-block; background: #E6F6F2; color: var(--teal); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; justify-self: start; }
.pm-name { font-family: var(--lat); font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); color: var(--teal); direction: ltr; text-align: right; }
.pm-desc { color: var(--ink-2); font-size: 16px; }
.pm-ben { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pm-ben li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.pm-ben li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--mint) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pm-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-cats span { background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
details.ing { border: 1px solid var(--line); border-radius: 18px; overflow: clip; }
details.ing summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--teal); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.ing summary::-webkit-details-marker { display: none; }
details.ing summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mint); transition: transform .3s; }
details.ing[open] summary::after { transform: rotate(45deg); }
details.ing::details-content { block-size: 0; overflow: clip; transition: block-size .4s cubic-bezier(.2,.7,.2,1), content-visibility .4s allow-discrete; }
details.ing[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { details.ing::details-content { transition: none; } }
details.ing .ing-in { padding: 0 14px 14px; }
details.ing img { border-radius: 12px; width: 100%; }
details.ing p { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.pm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 820px) { .pm-in { grid-template-columns: 1fr; } .pm-img { max-height: 380px; overflow: clip; } .pm-body { padding: 24px; } }

/* toast */
.toast { position: fixed; bottom: 24px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 40px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-size: 14.5px; z-index: 100; opacity: 0; translate: 0 20px; transition: opacity .3s, translate .3s; pointer-events: none; }
.toast.show { opacity: 1; translate: 0 0; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .tile { padding: 12px; gap: 6px; border-radius: 16px; }
  .tile .ic { width: 36px; height: 36px; border-radius: 11px; }
  .tile .ic svg { width: 20px; height: 20px; }
  .tile b { font-size: 13px; }
  .tile small { font-size: 11.5px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .pcard { border-radius: 16px; }
  .pcard .pbody { padding: 10px 11px 12px; gap: 4px; }
  .pcard .pname { font-size: 13.5px; }
  .pcard .pben { font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard .more { font-size: 12px; }
  .pcard .form { font-size: 10.5px; padding: 3px 8px; top: 8px; inset-inline-start: 8px; }
}

/* hero on phones */
@media (max-width: 900px) {
  .hslide { min-height: auto; align-items: flex-start; }
  .hslide .container { text-align: center; justify-items: center; padding-block: 26px 92px; }
  .hs-art { width: min(86vw, 400px); }
  .hs-copy { display: flex; flex-direction: column; align-items: center; }
  .hs-text { margin-inline: auto; }
  .focus { justify-content: center; }
  .hctrl .container { justify-content: center; }
  .hs-art .badge { inset-inline-start: auto; inset-inline-end: -2%; bottom: 4%; padding: 7px 10px 7px 7px; }
  .hs-art .badge img { width: 44px; height: 44px; }
  .hs-art .badge span { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .fam-tab { flex-direction: column; gap: 4px; padding: 8px 2px 10px; font-size: 12px; }
  .fam-tab .dot { width: 8px; height: 8px; }
  .role { font-size: 13px; }
  .hs-title { font-size: 30px; margin-top: 12px; }
  .hs-tag { font-size: 18px; }
  .hs-text { font-size: 15px; }
  .focus li { font-size: 13px; padding: 6px 12px; }
  .hslide .fl { opacity: .55; }
}
@media (max-width: 900px) { .hslide .fl:nth-child(3), .hslide .fl:nth-child(4), .hslide .fl:nth-child(5), .hslide .fl:nth-child(6), .hslide .fl:nth-child(7) { display: none; } }

/* ---------- downloads ---------- */
.downloads { background: linear-gradient(180deg, #fff, var(--bg)); }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 44px; }
.dl-card { position: relative; overflow: clip; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dl-cover { align-self: stretch; display: grid; place-items: center; padding: 34px 24px; background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--b) 55%, #fff), var(--a)); position: relative; }
.dl-cover::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); animation: spin 40s linear infinite; }
.dl-book { position: relative; z-index: 1; display: block; width: 100%; max-width: 320px; border-radius: 8px; overflow: hidden; transform: perspective(900px) rotateY(-14deg) rotateZ(-2deg); box-shadow: 18px 26px 40px -14px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.2); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.dl-book::before { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(255,255,255,.15), transparent); z-index: 1; }
.dl-book img { display: block; width: 100%; height: auto; }
.dl-card:hover .dl-book { transform: perspective(900px) rotateY(-4deg) rotateZ(0) translateY(-6px); }
.dl-body { padding: 30px 28px; display: grid; gap: 10px; justify-items: start; }
.dl-tag { font-family: var(--lat); font-size: 12.5px; font-weight: 700; color: var(--a); background: color-mix(in srgb, var(--b) 14%, #fff); padding: 5px 12px; border-radius: 999px; }
.dl-body h3 { font-size: 23px; font-weight: 700; color: var(--ink); }
.dl-body p { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.dl-btn { margin-top: 8px; background: var(--a); }
.dl-btn:hover { background: color-mix(in srgb, var(--a) 82%, #000); }
.dl-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 980px) { .dl-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .dl-card { grid-template-columns: 1fr; } .dl-cover { padding: 30px 60px; } .dl-body { padding: 22px 20px 24px; } .dl-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .dl-cover::after { animation: none; } }

/* ---------- LTR languages (en / tr / fr) ---------- */
[dir="ltr"] { --ar: "Poppins", system-ui, sans-serif; }
[dir="ltr"] body { line-height: 1.65; }
[dir="ltr"] .pcard .pname, [dir="ltr"] .pm-name { text-align: left; }
[dir="ltr"] .pcard .more svg, [dir="ltr"] .arrow svg { transform: scaleX(-1); }
[dir="ltr"] .hs-title { letter-spacing: -.02em; line-height: 1.1; }
[dir="ltr"] .h2 { letter-spacing: -.015em; line-height: 1.2; }
[dir="ltr"] .dl-book { transform: perspective(900px) rotateY(14deg) rotateZ(2deg); }
[dir="ltr"] .dl-card:hover .dl-book { transform: perspective(900px) rotateY(4deg) translateY(-6px); }
