/* ==========================================================================
   Taha Medical — brand stylesheet
   Brand colours taken from the official logo: Navy #00142B · Blue #0072EA
   ========================================================================== */

:root {
  --navy-950: #00142b;
  --navy-900: #021c38;
  --navy-800: #062a50;
  --navy-700: #0c3968;
  --blue: #0072ea;
  --blue-600: #0062cc;
  --blue-400: #3d95f5;
  --blue-200: #a9cffb;
  --blue-100: #dcebfd;
  --blue-50: #f0f6ff;

  --ink: #0a1a2f;
  --ink-2: #34465e;
  --muted: #667891;
  --line: #e1e8f1;
  --surface: #f5f8fc;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 20, 43, 0.06), 0 2px 8px rgba(0, 20, 43, 0.05);
  --shadow: 0 14px 34px -14px rgba(0, 20, 43, 0.22);
  --shadow-lg: 0 34px 70px -24px rgba(0, 20, 43, 0.45);

  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; margin-top: 14px; color: var(--navy-950); }
.section-title .accent { color: var(--blue); }
.section-lead { margin-top: 16px; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { box-shadow: 0 10px 24px -10px rgba(0, 114, 234, 0.75); }
.btn-primary:hover { --btn-bg: var(--blue-600); box-shadow: 0 16px 30px -12px rgba(0, 114, 234, 0.85); }
.btn-outline-light { --btn-bg: rgba(255, 255, 255, 0.04); --btn-bd: rgba(255, 255, 255, 0.28); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-bd: rgba(255, 255, 255, 0.55); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-950); --btn-bd: var(--line); }
.btn-outline:hover { --btn-bd: var(--blue); --btn-fg: var(--blue); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-950); }
.btn-light:hover { --btn-bg: var(--blue-50); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.925rem; }
.btn-block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; }
.logo svg { height: 64px; width: auto; }
.site-footer .logo svg { height: 68px; }
.logo .l-blue { fill: var(--blue); }
.logo .l-word { fill: #fff; }
.logo--dark .l-word { fill: var(--navy-950); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s, height 0.35s;
}
.site-header.is-scrolled {
  background: rgba(0, 20, 43, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.975rem; color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; color: #fff;
  align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.18);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
body.nav-open .nav-toggle .i-close { display: block; }
body.nav-open .nav-toggle .i-open { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 24px; background: rgba(0, 20, 43, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open .site-header { background: rgba(0, 20, 43, 0.98); }
  .main-nav a { padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .main-nav a.is-active::after { left: 16px; bottom: 8px; transform: none; }
  .main-nav .nav-cta { display: flex; margin-top: 10px; }
}
@media (min-width: 961px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 420px) { .site-header .logo svg { height: 48px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-950);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(140px, 16vw, 200px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 420px at 78% 38%, rgba(0, 114, 234, 0.38), transparent 70%),
    radial-gradient(520px 380px at 8% 100%, rgba(0, 114, 234, 0.18), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(40px, 6vw, 72px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s, border-color 0.2s;
}
.hero-badge:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.hero-badge .tag {
  padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.04em;
}
.hero-badge .icon { width: 16px; height: 16px; color: var(--blue-200); }
.hero h1 { margin-top: 26px; font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 .accent { color: var(--blue); display: block; }
.hero-lead { margin-top: 24px; max-width: 540px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, 0.72); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 28px; color: rgba(255, 255, 255, 0.7); font-size: 0.925rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--blue-400); width: 18px; height: 18px; }

.hero-visual { position: relative; aspect-ratio: 1 / 0.95; max-width: 580px; width: 100%; justify-self: end; }
.hv-ring { position: absolute; inset: 6% 4% 4% 6%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); }
.hv-ring::before { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); }
.hv-ring::after {
  content: ""; position: absolute; inset: 24%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 114, 234, 0.55), rgba(0, 114, 234, 0) 70%);
  filter: blur(8px);
}
.hv-main {
  position: absolute; inset: 8% 6% 8% 10%; display: grid; place-items: center;
}
.hv-main img { width: 88%; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); animation: float 7s ease-in-out infinite; }
.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; background: rgba(6, 42, 80, 0.62); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
  font-size: 0.875rem; line-height: 1.3;
}
.hv-chip strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.hv-chip span { color: rgba(255, 255, 255, 0.66); }
.hv-chip .thumb { width: 52px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.hv-chip .thumb img { max-height: 46px; width: auto; }
.hv-chip .pulse-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); }
.hv-chip .pulse-ico .icon { width: 24px; height: 24px; color: #fff; }
.hv-chip--a { left: -2%; bottom: 14%; animation: float 8s ease-in-out -2s infinite; }
.hv-chip--b { right: -1%; top: 6%; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.ecg { position: absolute; left: 0; right: 0; bottom: 70px; height: 120px; pointer-events: none; z-index: -1; }
.ecg svg { width: 100%; height: 100%; }
.ecg .ecg-base { stroke: rgba(0, 114, 234, 0.22); }
.ecg .ecg-run { stroke: var(--blue); stroke-dasharray: 260 2400; animation: ecg 5.5s linear infinite; filter: drop-shadow(0 0 6px rgba(0, 114, 234, 0.9)); }
@keyframes ecg { from { stroke-dashoffset: 2660; } to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; margin-top: 8px; }
  .hero { padding-bottom: 150px; }
}
@media (max-width: 520px) {
  .hv-chip { padding: 9px 12px 9px 9px; font-size: 0.8rem; border-radius: 14px; }
  .hv-chip strong { font-size: 0.9rem; }
  .hv-chip .thumb { width: 42px; height: 42px; }
  .hv-chip .thumb img { max-height: 36px; }
  .hv-chip .pulse-ico { width: 36px; height: 36px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- Stats (overlaps hero) ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -84px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(0, 20, 43, 0.35), 0 0 0 1px rgba(0, 20, 43, 0.04);
  overflow: hidden;
}
.stat { padding: clamp(22px, 3vw, 34px); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--navy-950); letter-spacing: -0.03em; line-height: 1; }
.stat-value sup { font-size: 0.55em; color: var(--blue); top: -0.7em; margin-left: 2px; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 0.925rem; line-height: 1.4; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Why us
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 30px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.feature:hover { transform: translateY(-4px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy-950); color: #fff; margin-bottom: 22px; position: relative;
}
.feature-icon::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 3px solid var(--surface); transition: border-color 0.35s; }
.feature:hover .feature-icon::after { border-color: #fff; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; font-weight: 600; color: var(--navy-950); }
.feature p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ==========================================================================
   Products
   ========================================================================== */
.products-section { background: var(--surface); position: relative; }
.products-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.products-head .section-head { margin-bottom: 0; }
.search {
  position: relative; flex: 0 1 340px; min-width: 240px;
}
.search input {
  width: 100%; height: 52px; padding: 0 18px 0 48px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.search input::placeholder { color: #93a1b3; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 114, 234, 0.14); }
.search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }

.filters-wrap { position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter); background: rgba(245, 248, 252, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 26px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--blue-200); color: var(--blue); }
.chip .count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 0.75rem; display: grid; place-items: center; font-weight: 600; }
.chip.is-active { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }
.chip.is-active .count { background: rgba(255, 255, 255, 0.14); color: #fff; }
.chip--new .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0, 114, 234, 0.18); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(0, 20, 43, 0.35); border-color: transparent; }
.product-card[hidden] { display: none !important; }
.pc-media {
  position: relative; aspect-ratio: 4 / 3.2; width: 100%; display: grid; place-items: center; padding: 28px;
  background:
    radial-gradient(circle at 50% 60%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(160deg, #eef4fb 0%, #e1ebf6 100%);
  overflow: hidden;
}
.pc-media::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 13%; height: 16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 20, 43, 0.22), transparent); z-index: 0;
}
.pc-media img { position: relative; z-index: 1; max-height: 100%; max-width: 100%; width: auto; object-fit: contain; transition: transform 0.5s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-badge {
  position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 8px 18px -8px rgba(0, 114, 234, 0.9);
}
.pc-cat {
  position: absolute; z-index: 2; top: 14px; right: 14px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); color: var(--ink-2); font-size: 0.75rem; font-weight: 600;
}
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.pc-brand { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.pc-title { margin-top: 6px; font-size: 1.35rem; font-weight: 600; color: var(--navy-950); }
.pc-type { margin-top: 4px; color: var(--muted); font-size: 0.925rem; line-height: 1.45; }
.pc-specs { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-specs li { padding: 4px 10px; border-radius: 8px; background: var(--blue-50); color: var(--navy-800); font-size: 0.8rem; font-weight: 500; line-height: 1.4; }
.pc-actions { margin-top: auto; padding-top: 20px; display: flex; gap: 8px; }
.pc-actions .btn { flex: 1; padding: 0 14px; }
.pc-actions .btn-outline { flex: 0 0 auto; width: 42px; padding: 0; }
.pc-actions .btn-outline .icon { width: 19px; height: 19px; }

.empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state.is-visible { display: block; }
.empty-state strong { display: block; font-family: var(--font-display); color: var(--navy-950); font-size: 1.25rem; margin-bottom: 6px; }

/* ---------- Product dialog ---------- */
.pd {
  width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden;
}
.pd::backdrop { background: rgba(0, 20, 43, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pd[open] { animation: pd-in 0.4s var(--ease); }
@keyframes pd-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.pd-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; grid-template-rows: minmax(0, 1fr); max-height: calc(100dvh - 32px); }
.pd-media {
  position: relative; display: grid; place-items: center; padding: 48px 36px;
  background: radial-gradient(circle at 50% 55%, rgba(0, 114, 234, 0.35), transparent 60%), var(--navy-950);
}
.pd-media img { max-height: 380px; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.pd-media .pc-badge { top: 20px; left: 20px; }
.pd-content { overflow-y: auto; max-height: calc(100dvh - 32px); padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0; overscroll-behavior: contain; }
.pd-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy-950); box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.pd-close:hover { transform: rotate(90deg); }
.pd-title { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; margin-top: 8px; color: var(--navy-950); }
.pd-type { margin-top: 6px; color: var(--muted); font-size: 1.05rem; }
.pd-desc { margin-top: 20px; color: var(--ink-2); }
.pd-block { margin-top: 28px; }
.pd-block h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.pd-list li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 0.95rem; }
.pd-list li + li { margin-top: 8px; }
.pd-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072EA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; padding-right: 16px; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--navy-950); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.menu-grid div { padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 0.85rem; color: var(--ink-2); line-height: 1.5; }
.menu-grid strong { display: block; font-family: var(--font-display); color: var(--navy-950); font-size: 0.925rem; margin-bottom: 2px; }
.pd-actions { position: sticky; bottom: 0; margin: 32px calc(clamp(28px, 4vw, 44px) * -1) 0; padding: 16px clamp(28px, 4vw, 44px); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1 1 200px; }
@media (max-width: 800px) {
  .pd-inner { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; }
  .pd-content { overflow: visible; max-height: none; }
  .pd-media { padding: 40px 24px 28px; }
  .pd-media img { max-height: 230px; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; display: grid; grid-template-columns: 1fr 0.8fr; grid-template-rows: auto auto; gap: 16px; }
.about-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--surface); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .am-1 { grid-row: span 2; aspect-ratio: 3 / 4; }
.about-media .am-2 { aspect-ratio: 1 / 1; }
.about-media .am-3 { aspect-ratio: 1 / 1; }
.about-media figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 12px;
  background: rgba(0, 20, 43, 0.72); backdrop-filter: blur(8px); color: #fff; font-size: 0.8rem; line-height: 1.35;
}
.about-since {
  position: absolute; left: -18px; bottom: 28px; z-index: 2; padding: 18px 22px; border-radius: 20px;
  background: var(--blue); color: #fff; box-shadow: 0 20px 40px -18px rgba(0, 114, 234, 0.9);
}
.about-since strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; }
.about-since span { font-size: 0.85rem; opacity: 0.9; }
.about-copy p + p { margin-top: 16px; }
.about-copy .section-lead { color: var(--ink-2); }
.values { margin-top: 32px; display: grid; gap: 14px; }
.value { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.value:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.value .num { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.value h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy-950); }
.value p { margin-top: 4px; color: var(--muted); font-size: 0.925rem; line-height: 1.55; }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-since { left: 12px; bottom: 12px; }
}

/* ---------- Partners marquee ---------- */
.partners { padding-block: 44px; border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.partners p { text-align: center; color: var(--muted); font-size: 0.875rem; margin-bottom: 22px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: 56px; padding-right: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: 0.02em; color: #a3b1c2; white-space: nowrap; transition: color 0.2s; }
.marquee-track span:hover { color: var(--navy-950); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding-block: clamp(56px, 8vw, 96px); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; color: #fff;
  padding: clamp(40px, 6vw, 72px); background: var(--navy-950);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(500px 300px at 100% 0%, rgba(0, 114, 234, 0.55), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(0, 114, 234, 0.25), transparent 70%);
}
.cta-card .ecg-mini { position: absolute; inset: auto 0 18px 0; height: 70px; z-index: -1; opacity: 0.5; }
.cta-card h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
.cta-card p { margin-top: 12px; color: rgba(255, 255, 255, 0.72); max-width: 560px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.c-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
a.c-card:hover { border-color: var(--blue-200); transform: translateY(-3px); box-shadow: var(--shadow); }
.c-card.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.c-ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.c-ico .icon { width: 22px; height: 22px; }
.c-card h3 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.c-card p { margin-top: 4px; color: var(--navy-950); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.c-qr { display: flex; align-items: center; gap: 18px; }
.c-qr img { width: 96px; height: 96px; border-radius: 12px; border: 1px solid var(--line); padding: 4px; background: #fff; }

.contact-form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 1.5rem; font-weight: 600; color: var(--navy-950); }
.contact-form > p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.form-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 114, 234, 0.12); }
.form-note { margin-top: 12px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; background: var(--blue-50); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .contact-cards, .form-grid { grid-template-columns: 1fr; }
  .c-card.wide { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.68); padding-top: clamp(56px, 7vw, 80px); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: 0.95rem; }
.footer-social { margin-top: 22px; display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; transition: background-color 0.2s, border-color 0.2s; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social .icon { width: 20px; height: 20px; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-links button { font-size: 0.95rem; transition: color 0.2s; text-align: left; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; font-size: 0.95rem; line-height: 1.5; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact .icon { color: var(--blue-400); margin-top: 2px; width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.875rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 600; box-shadow: 0 16px 34px -12px rgba(0, 114, 234, 0.9);
  transform: translateY(120px); transition: transform 0.45s var(--ease), background-color 0.2s;
}
.fab.is-visible { transform: none; }
.fab:hover { background: var(--blue-600); }
.fab .icon { width: 24px; height: 24px; }
@media (max-width: 560px) { .fab span { display: none; } .fab { width: 56px; padding: 0; justify-content: center; } }

/* ---------- Hero entrance (pure CSS, no JS dependency) ---------- */
.hero-in { animation: hero-in 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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