:root {
  --primary: #2083c6;
  --primary-dark: #0f5e96;
  --secondary: #4abe81;
  --secondary-dark: #2e8d5b;
  --bg: #f6fbff;
  --bg-soft: #eef6fc;
  --surface: rgba(255,255,255,0.84);
  --surface-strong: #ffffff;
  --text: #133247;
  --text-soft: #5a7182;
  --border: rgba(32,131,198,0.14);
  --shadow: 0 18px 50px rgba(32,131,198,0.12);
  --shadow-soft: 0 10px 25px rgba(18,66,92,0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1220px;
  --header-h: 84px;
}

html[data-theme="dark"] {
  --bg: #07151f;
  --bg-soft: #0c2130;
  --surface: rgba(13,33,47,0.88);
  --surface-strong: #0f2637;
  --text: #e8f4fb;
  --text-soft: #9bb5c6;
  --border: rgba(110,182,233,0.12);
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --shadow-soft: 0 10px 25px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  direction: rtl;
  background:
    radial-gradient(circle at top left, rgba(74,190,129,0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(32,131,198,0.15), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 40%, var(--bg) 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select {
  font: inherit;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -2;
  animation: floatBlob 16s ease-in-out infinite;
}
body::before {
  top: -120px;
  left: -140px;
  background: rgba(32,131,198,0.20);
}
body::after {
  right: -140px;
  bottom: 10%;
  background: rgba(74,190,129,0.18);
  animation-delay: -8s;
}

.tech-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(32,131,198,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,131,198,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.74);
  border-bottom: 1px solid rgba(255,255,255,0.45);
}
html[data-theme="dark"] .topbar {
  background: rgba(7,21,31,0.78);
  border-bottom-color: rgba(255,255,255,0.06);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
}
.brand img { width: 54px; height: 54px; }
.brand span small {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 12px 16px;
  border-radius: 999px;
  transition: .25s ease;
  color: var(--text-soft);
  font-weight: 700;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(32,131,198,0.09);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn, .hamburger {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  box-shadow: var(--shadow-soft);
}
.icon-btn:hover, .hamburger:hover { transform: translateY(-2px); }
.hamburger { display: none; }
.cta-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  border: 1px solid transparent;
}
.cta-mini small { display: block; font-size: .76rem; opacity: .9; }
.cta-call {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.cta-wa {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
}

.section {
  padding: 84px 0;
  position: relative;
}
.section-header {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-tag {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(32,131,198,0.08);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 2.8vw, 3rem);
}
.section-header p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.hero {
  padding: 42px 0 42px;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
}
.glass {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: blur(14px);
}
.hero-card {
  padding: 28px;
  overflow: hidden;
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(74,190,129,0.22), transparent 68%);
  pointer-events: none;
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1.18;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin: 18px 0 22px;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 1.04rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 26px rgba(32,131,198,0.26);
}
.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  box-shadow: 0 14px 26px rgba(74,190,129,0.22);
}
.btn-light {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
}
.hero-contact-grid,
.stats-grid,
.services-grid,
.why-grid,
.categories-grid,
.gallery-grid,
.footer-grid,
.branch-grid,
.branches-quick-grid {
  display: grid;
  gap: 18px;
}
.hero-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.72);
}
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .branch-card,
html[data-theme="dark"] .offer-card,
html[data-theme="dark"] .testimonial,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .timeline-card,
html[data-theme="dark"] .job-card {
  background: rgba(11,28,40,0.86);
}
.info-card strong, .info-card span { display: block; }
.info-card strong { font-size: 1.12rem; margin-bottom: 6px; }
.info-card span { color: var(--text-soft); }
.info-card .pill-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mini-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
  background: rgba(32,131,198,0.08);
  color: var(--primary);
}
.visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(32,131,198,0.18);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.orbit.o1 { width: 420px; height: 420px; }
.orbit.o2 { width: 320px; height: 320px; animation-direction: reverse; }
.orbit.o3 { width: 220px; height: 220px; animation-duration: 12s; }
.orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  top: 10px;
  left: 50%;
  box-shadow: 0 0 24px rgba(32,131,198,0.5);
}
.main-illustration {
  position: relative;
  width: min(100%, 560px);
  padding: 24px;
}
.pharma-building {
  position: relative;
  padding: 28px;
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.96), rgba(236,247,255,0.84)),
    linear-gradient(135deg, rgba(32,131,198,0.12), rgba(74,190,129,0.12));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pharma-building::before {
  content: "";
  position: absolute;
  inset: auto -25% -30% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(74,190,129,0.25), transparent 65%);
}
.facade {
  position: absolute;
  inset: 50px 48px 110px 48px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(236,247,255,0.8), rgba(218,237,247,0.95));
  border: 1px solid rgba(32,131,198,0.14);
  overflow: hidden;
}
.sign {
  position: absolute;
  top: 16px;
  right: 26px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(32,131,198,0.26);
}
.cross {
  position: absolute;
  left: 32px;
  top: 88px;
  width: 94px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%);
  filter: drop-shadow(0 12px 24px rgba(32,131,198,0.24));
}
.window-row {
  position: absolute;
  inset: 68px 38px 88px 164px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.window-row span,
.shelf-grid span {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(84,177,229,0.45), rgba(255,255,255,0.55));
  border: 1px solid rgba(255,255,255,0.65);
}
.shelf-grid {
  position: absolute;
  inset: auto 36px 34px 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  height: 64px;
}
.product-set {
  position: absolute;
  bottom: 12px;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.box, .bottle, .pack {
  border-radius: 18px;
  position: relative;
  background: linear-gradient(180deg, #fff, #e9f5fe);
  border: 1px solid rgba(32,131,198,0.14);
  box-shadow: var(--shadow-soft);
}
.box { width: 128px; height: 96px; }
.box::before, .bottle::before, .pack::before {
  content: "";
  position: absolute;
  inset: 18px;
  background: linear-gradient(135deg, rgba(32,131,198,0.17), rgba(74,190,129,0.12));
  border-radius: 10px;
}
.box::after, .bottle::after, .pack::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%);
}
.bottle { width: 84px; height: 138px; border-radius: 24px 24px 18px 18px; }
.bottle span {
  position: absolute;
  top: -20px;
  left: 22px;
  right: 22px;
  height: 26px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #fff, #cedeea);
  border: 1px solid rgba(32,131,198,0.14);
}
.pack { width: 182px; height: 84px; display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; }
.pack i {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: block;
}
.wave-line {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 50px;
  height: 72px;
  background: linear-gradient(90deg, transparent 0%, rgba(32,131,198,0.12) 50%, transparent 100%);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 120"><path d="M0,60 L120,60 L180,20 L240,100 L330,10 L420,75 L520,35 L600,60 L690,60 L760,24 L820,94 L900,60 L1000,60" stroke="black" stroke-width="10" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/100% 100% no-repeat;
}
.floating-chip {
  position: absolute;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  animation: drift 7s ease-in-out infinite;
}
.floating-chip.green { color: var(--secondary-dark); top: 30px; left: 18px; }
.floating-chip.blue { color: var(--primary-dark); bottom: 92px; right: 18px; animation-delay: -3s; }

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  padding: 26px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon,
.service-icon,
.why-icon,
.cat-icon,
.contact-icon,
.timeline-icon,
.job-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(32,131,198,0.16), rgba(74,190,129,0.12));
  color: var(--primary);
  font-size: 1.6rem;
  flex-shrink: 0;
}
.stat-card strong {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}
.stat-card span {
  color: var(--text-soft);
  font-weight: 700;
}

.services-grid,
.why-grid,
.categories-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card,
.why-card,
.category-card,
.job-card,
.timeline-card,
.contact-detail-card {
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before,
.why-card::before,
.category-card::before,
.job-card::before,
.timeline-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(32,131,198,0.10), transparent 68%);
  top: -35px;
  left: -35px;
}
.service-card h3,
.why-card h3,
.category-card h3,
.branch-card h3,
.offer-card h3,
.job-card h3,
.timeline-card h3,
.contact-detail-card h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
}
.service-card p,
.why-card p,
.category-card p,
.branch-card p,
.offer-card p,
.job-card p,
.timeline-card p,
.contact-detail-card p,
.form-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.offer-stage {
  position: relative;
  overflow: hidden;
}
.offer-track {
  display: flex;
  transition: transform .55s ease;
}
.offer-card {
  min-width: 100%;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.offer-card::after {
  content: "";
  position: absolute;
  inset: auto auto -60px -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(74,190,129,0.18), transparent 64%);
}
.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}
.offer-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.offer-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(32,131,198,0.22);
  cursor: pointer;
}
.offer-dot.active { background: var(--primary); }

.branch-grid,
.branches-quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.branch-card {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.branch-cover {
  position: relative;
  min-height: 180px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(32,131,198,0.95), rgba(74,190,129,0.86));
}
.branch-cover.interior {
  background: linear-gradient(135deg, rgba(32,131,198,0.95), rgba(32,131,198,0.65));
}
.branch-cover.green {
  background: linear-gradient(135deg, rgba(74,190,129,0.95), rgba(32,131,198,0.72));
}
.branch-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--primary);
}
.store-shape {
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 118px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(225,240,249,0.84));
  overflow: hidden;
}
.store-shape::before {
  content: "";
  position: absolute;
  inset: 12px 16px auto 16px;
  height: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.store-shape::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  top: 28px;
  right: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%);
}
.store-windows {
  position: absolute;
  inset: auto 16px 16px 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: 42px;
}
.store-windows span {
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(112,190,231,0.4), rgba(255,255,255,0.7));
}
.branch-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.branch-body p { min-height: 58px; }
.branch-meta {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-weight: 700;
}
.branch-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  cursor: pointer;
  transition: .2s ease;
}
.small-btn:hover { transform: translateY(-2px); }
.small-btn.primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.small-btn.secondary { color: #fff; background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }
.small-btn.full { grid-column: 1 / -1; }
.small-btn.ghost { color: var(--primary); background: rgba(32,131,198,0.08); }

.map-layout,
.contact-layout,
.timeline-layout,
.about-layout,
.page-hero-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.05fr 0.95fr;
}
.map-panel iframe {
  width: 100%;
  min-height: 440px;
  border: 0;
  border-radius: 24px;
}
.branch-list {
  display: grid;
  gap: 12px;
}
.branch-option {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: .25s ease;
}
.branch-option.active,
.branch-option:hover {
  border-color: rgba(32,131,198,0.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.branch-option strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.branch-option span { color: var(--text-soft); line-height: 1.7; display: block; }
.hours-box {
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(32,131,198,0.08), rgba(74,190,129,0.12));
  border: 1px dashed rgba(32,131,198,0.28);
}
.hours-box strong { display: block; margin-bottom: 8px; }
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  margin-top: 8px;
}
.open-badge.open { background: rgba(74,190,129,0.14); color: var(--secondary-dark); }
.open-badge.closed { background: rgba(255,114,94,0.12); color: #c14b35; }

.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-card {
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.95), rgba(226,241,251,0.88));
}
.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(32,131,198,0.12), transparent 60%),
    linear-gradient(315deg, rgba(74,190,129,0.14), transparent 55%);
}
.gallery-card .g-pharm,
.gallery-card .g-shelves,
.gallery-card .g-warehouse,
.gallery-card .g-team {
  position: absolute;
  inset: 18px;
  border-radius: 22px;
}
.g-pharm { background: linear-gradient(180deg, rgba(40,155,226,0.78), rgba(255,255,255,0.85)); }
.g-shelves { background: linear-gradient(180deg, rgba(74,190,129,0.7), rgba(255,255,255,0.88)); }
.g-warehouse { background: linear-gradient(180deg, rgba(32,131,198,0.68), rgba(255,255,255,0.92)); }
.g-team { background: linear-gradient(180deg, rgba(74,190,129,0.62), rgba(255,255,255,0.9)); }
.gallery-label {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.86);
  border-radius: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.form-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--text-soft); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
}
.field textarea { min-height: 140px; resize: vertical; }
.contact-detail-grid {
  display: grid;
  gap: 14px;
}

.footer {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, transparent, rgba(32,131,198,0.08));
}
.footer-grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.footer-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.footer-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}
.footer-links,
.footer-contact,
.footer-social {
  display: grid;
  gap: 12px;
}
.footer-note {
  margin-top: 24px;
  text-align: center;
  color: var(--text-soft);
}

.floating-wa {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  box-shadow: 0 18px 32px rgba(74,190,129,0.28);
  font-weight: 800;
  animation: bounceSoft 2.4s ease-in-out infinite;
}
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: rgba(14,33,47,0.92);
  color: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s ease;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  padding: 48px 0 12px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.branch-hero-visual,
.about-visual {
  min-height: 340px;
  display: grid;
  place-items: center;
}
.timeline-layout,
.about-layout { grid-template-columns: 1fr 1fr; }
.timeline-list {
  display: grid;
  gap: 16px;
}
.job-list { display: grid; gap: 14px; }
.hero-list, .check-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.hero-list span,
.check-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}
.notice {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(32,131,198,0.08);
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 14px;
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes floatBlob {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(36px) scale(1.06); }
}
@keyframes drift {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes bounceSoft {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1080px) {
  .hero-wrap,
  .map-layout,
  .contact-layout,
  .timeline-layout,
  .about-layout,
  .page-hero-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid,
  .services-grid,
  .why-grid,
  .categories-grid,
  .branch-grid,
  .branches-quick-grid,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 12px auto 12px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 24px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: inline-grid; }
  .nav-actions .cta-mini { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .hero { padding-top: 24px; }
  .stats-grid,
  .services-grid,
  .why-grid,
  .categories-grid,
  .branch-grid,
  .branches-quick-grid,
  .gallery-grid,
  .hero-contact-grid,
  .form-grid { grid-template-columns: 1fr; }
  .hero-card, .card, .footer-card, .form-card { padding: 22px; }
  .hero h1 { font-size: 2.2rem; }
  .floating-wa { left: 14px; right: 14px; justify-content: center; }
  .nav { padding: 10px 0; }
  .brand span { font-size: 1rem; }
  .visual { min-height: 430px; }
}

/* ===== Premium V3 Enhancements ===== */
.page-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  z-index: 120;
  background: rgba(255,255,255,0.08);
}
.page-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  box-shadow: 0 0 18px rgba(32,131,198,0.55);
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.96), rgba(235,246,253,0.98));
  transition: opacity .6s ease, visibility .6s ease;
}
html[data-theme="dark"] .preloader {
  background: radial-gradient(circle at center, rgba(12,31,44,0.98), rgba(6,16,24,0.99));
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-box {
  text-align: center;
  padding: 30px 36px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-width: min(92vw, 360px);
}
.preloader-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  position: relative;
}
.preloader-logo img {
  width: 72px;
  height: 72px;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
}
.preloader-ring,
.preloader-ring::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  content: "";
}
.preloader-ring {
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  animation: spin 1.8s linear infinite;
}
.preloader-ring::after {
  inset: 10px;
  border-left-color: var(--primary);
  border-bottom-color: var(--secondary);
  animation: spin 1.2s linear infinite reverse;
}
.preloader p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}
.loader-line {
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(32,131,198,0.08);
  overflow: hidden;
}
.loader-line span {
  display: block;
  height: 100%;
  width: 55%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: inherit;
  animation: loaderSweep 1.6s ease-in-out infinite;
}
.premium-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.premium-particles span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(32,131,198,0.32), rgba(74,190,129,0.28));
  box-shadow: 0 0 22px rgba(32,131,198,0.25);
  animation: particleFloat linear infinite;
}
.premium-particles span:nth-child(1){right:6%; top:18%; animation-duration:18s; transform:scale(1.1)}
.premium-particles span:nth-child(2){right:22%; top:68%; animation-duration:20s; animation-delay:-7s}
.premium-particles span:nth-child(3){right:44%; top:12%; animation-duration:15s; animation-delay:-3s}
.premium-particles span:nth-child(4){right:61%; top:80%; animation-duration:22s; animation-delay:-5s}
.premium-particles span:nth-child(5){right:78%; top:28%; animation-duration:16s; animation-delay:-10s}
.premium-particles span:nth-child(6){right:84%; top:60%; animation-duration:21s; animation-delay:-4s}
.premium-particles span:nth-child(7){right:12%; top:42%; animation-duration:19s; animation-delay:-12s}
.premium-particles span:nth-child(8){right:52%; top:42%; animation-duration:17s; animation-delay:-8s}
.topbar {
  border-bottom: 1px solid rgba(255,255,255,0.65);
}
.topbar::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32,131,198,0.45), rgba(74,190,129,0.4), transparent);
}
.topbar.scrolled {
  box-shadow: 0 18px 35px rgba(10,42,62,0.08);
}
.nav {
  position: relative;
}
.brand img {
  filter: drop-shadow(0 8px 18px rgba(32,131,198,0.22));
}
.nav-actions .icon-btn,
.nav-actions .hamburger,
.cta-mini,
.btn,
.small-btn,
.card,
.branch-card,
.offer-card,
.form-card,
.footer-card,
.info-card,
.gallery-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.card:hover,
.branch-card:hover,
.offer-card:hover,
.gallery-card:hover,
.footer-card:hover,
.info-card:hover,
.form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(14,60,90,0.12);
}
.hero-card,
.visual,
.card,
.branch-card,
.offer-card,
.gallery-card,
.form-card {
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 30px auto auto 6%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,190,129,0.10), transparent 70%);
  filter: blur(10px);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  opacity: .7;
}
.branch-cover {
  padding: 0;
  overflow: hidden;
}
.branch-cover-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.branch-cover .branch-badge {
  z-index: 2;
  backdrop-filter: blur(8px);
}
.design-preview {
  width: min(100%, 430px);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.8);
}
.preview-stack {
  display: grid;
  gap: 18px;
  justify-items: center;
}
.visual-note {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(32,131,198,0.08);
  color: var(--primary-dark);
  font-weight: 700;
  text-align: center;
}
.mobile-dock {
  position: fixed;
  right: 12px;
  left: 12px;
  bottom: 12px;
  z-index: 65;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 20px 35px rgba(10,42,62,0.18);
  backdrop-filter: blur(14px);
}
html[data-theme="dark"] .mobile-dock {
  background: rgba(11,28,40,0.88);
}
.mobile-dock a {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 10px 6px;
  border-radius: 16px;
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 800;
}
.mobile-dock a span:first-child { font-size: 1.15rem; }
.mobile-dock a.active,
.mobile-dock a:hover {
  color: var(--primary);
  background: rgba(32,131,198,0.08);
}
.hero-mobile-strip {
  display: none;
}
@keyframes loaderSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: .35; }
  50% { transform: translateY(-40px) translateX(-18px) scale(1.3); opacity: .9; }
  100% { transform: translateY(-90px) translateX(12px) scale(.8); opacity: .25; }
}
@media (max-width: 980px) {
  .nav-actions .cta-mini { display: none; }
  .mobile-dock { display: grid; }
  body { padding-bottom: 92px; }
  .floating-wa { bottom: 100px; }
}
@media (max-width: 720px) {
  .hero-card { padding: 18px; }
  .nav { min-height: 74px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: .94rem; }
  .brand span small { font-size: .74rem; }
  .nav-links { inset: 74px 10px auto 10px; }
  .section-header h2 { font-size: 1.8rem; }
  .hero .lead,
  .section-header p,
  .service-card p,
  .why-card p,
  .category-card p,
  .branch-card p,
  .contact-detail-card p { font-size: .95rem; }
  .branch-cover-img { height: 160px; }
}

/* ===== Ultra Premium v4 ===== */
.ultra-hero-badge {
  display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;
  background:linear-gradient(90deg, rgba(32,131,198,0.12), rgba(74,190,129,0.12));
  border:1px solid var(--border);font-weight:800;color:var(--primary);margin-bottom:14px;
}
.ultra-word {
  display:inline-block;
  min-width: 180px;
  color: var(--secondary-dark);
}
.banner-grid,.social-grid,.faq-grid,.trust-grid,.showcase-grid {
  display:grid; gap:18px;
}
.banner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.social-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.showcase-grid, .trust-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.asset-card {
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.asset-card img {
  width:100%; border-radius:20px; border:1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-soft);
}
.asset-card h3 { margin:16px 0 8px; }
.asset-card p { margin:0; color:var(--text-soft); line-height:1.8; }
.faq-grid { max-width: 980px; margin: 0 auto; }
.faq-item {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-q {
  width:100%; text-align:right; background:none; border:0; color:var(--text); cursor:pointer;
  padding:20px 22px; display:flex; align-items:center; justify-content:space-between; gap:12px;
  font-weight:800; font-size:1.02rem;
}
.faq-q i { font-style:normal; transition: transform .25s ease; color: var(--primary); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height:0; overflow:hidden; transition:max-height .32s ease; color:var(--text-soft);
}
.faq-a > div { padding:0 22px 20px; line-height:1.9; }
.float-rail {
  position: fixed; top: 50%; right: 18px; transform: translateY(-50%); z-index: 55;
  display: grid; gap: 10px;
}
.float-rail a {
  width: 52px; height: 52px; border-radius: 18px; display:grid; place-items:center;
  background: var(--surface); border:1px solid var(--border); box-shadow: var(--shadow-soft);
  color: var(--primary); font-size:1.2rem;
}
.premium-hero-stack {
  display:grid; gap:18px; justify-items:center;
}
.glow-panel {
  position: relative; overflow:hidden;
}
.glow-panel::before {
  content:""; position:absolute; inset:auto -15% -45% auto; width:260px; height:260px;
  background: radial-gradient(circle, rgba(32,131,198,0.20), transparent 68%);
}
.micro-stats {
  display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:12px; margin-top:18px;
}
.micro-stat {
  padding:16px; border-radius:18px; background: rgba(255,255,255,0.70); border:1px solid var(--border);
  text-align:center;
}
.micro-stat strong { display:block; font-size:1.4rem; margin-bottom:6px; }
.micro-stat span { color:var(--text-soft); font-weight:700; font-size:.92rem; }
@media (max-width:1080px){
  .social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .banner-grid, .showcase-grid, .trust-grid { grid-template-columns:1fr; }
  .float-rail { display:none; }
}
@media (max-width:720px){
  .social-grid { grid-template-columns:1fr; }
  .micro-stats { grid-template-columns:1fr; }
}

/* ===== Ultra Premium Plus v5 / 3D ===== */
.hero-3d-img,
.branch-3d-img,
.showcase-3d-img {
  width: 100%;
  display: block;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.85);
}
.hero-3d-wrap {
  width: min(100%, 620px);
  display: grid;
  gap: 16px;
  justify-items: center;
}
.ribbon-note {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32,131,198,0.10), rgba(74,190,129,0.14));
  border: 1px solid var(--border);
  font-weight: 800;
  color: var(--primary-dark);
}
.branch-cover-img {
  height: 220px;
}
.three-d-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}
@media (max-width: 980px){
  .three-d-grid { grid-template-columns:1fr; }
}
