:root {
  --primary: #2BB5A0;
  --deep: #1A5C4E;
  --accent: #3ECFB8;
  --teal: var(--primary);
  --teal-deep: var(--deep);
  --teal-accent: var(--accent);
  --dark: #0F1F1C;
  --muted: #5a726c;
  --line: rgba(26, 92, 78, 0.12);
  --bg: #f3faf8;
  --bg2: #e8f6f2;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 31, 28, 0.08);
  --radius: 18px;
  --font: "Vazirmatn", "IRANSans", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(62, 207, 184, 0.18), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(43, 181, 160, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--white) 40%, var(--bg2) 100%);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}
a { color: var(--teal-deep); text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--teal); }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); max-width: 100%; margin: 0 auto; }
main { overflow-x: hidden; max-width: 100%; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.anim-fade-up { animation: fadeUp .7s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .3s; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 1.05rem; color: var(--teal-deep); }
.brand-text span { font-size: .78rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: flex; gap: .4rem; align-items: center; }
.lang-switch .flag-link {
  width: 40px; height: 28px; border-radius: 7px; overflow: hidden;
  border: 1px solid var(--line); display: grid; place-items: center;
  background: #fff; padding: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lang-switch .flag-link img {
  width: 28px; height: 20px; object-fit: cover; border-radius: 3px;
}
.lang-switch .flag-link .flag-emoji { display: none; font-size: 1.1rem; line-height: 1; }
.lang-switch .flag-link.active {
  border-color: var(--primary); box-shadow: 0 0 0 2px rgba(43,181,160,.25);
  transform: scale(1.05);
}
.lang-switch .flag-link:hover { transform: scale(1.06); }
.user-welcome {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(43,181,160,.08); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem .55rem .45rem 1.05rem;
}
[dir="rtl"] .user-welcome { padding: .45rem 1.05rem .45rem .55rem; }
.user-welcome-text {
  display: flex; flex-direction: column; gap: .2rem; line-height: 1.35; font-size: .8rem;
  padding-inline: .15rem .25rem;
}
.user-welcome-label { color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.user-welcome strong { color: var(--deep); font-size: .92rem; font-weight: 800; }
.btn-icon-logout {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--deep);
  background: #fff; border: 1px solid var(--line);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-icon-logout:hover {
  background: var(--primary); color: #fff; transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(43,181,160,.3);
}
.btn-login svg { flex-shrink: 0; }
.search-mini form { display: flex; }
.search-mini input {
  border: 1px solid var(--line); border-radius: 999px 0 0 999px;
  padding: .45rem .9rem; min-width: 140px; font-family: inherit;
}
[dir="rtl"] .search-mini input { border-radius: 0 999px 999px 0; }
.search-mini button {
  border: 0; background: var(--teal); color: #fff; padding: 0 .9rem;
  border-radius: 0 999px 999px 0; cursor: pointer; font-family: inherit;
}
[dir="rtl"] .search-mini button { border-radius: 999px 0 0 999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.2rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; box-shadow: 0 8px 20px rgba(43,181,160,.28); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--teal-deep); }
.btn-sm { padding: .4rem .85rem; font-size: .85rem; }

.nav-wrap { border-top: 1px solid var(--line); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; padding: .35rem 0 .55rem; list-style: none; margin: 0; }
.main-nav > li { position: relative; display: flex; align-items: center; }
.main-nav > li > a {
  display: block; padding: .55rem .85rem; border-radius: 10px; color: var(--dark); font-weight: 600; font-size: .95rem; line-height: 1.4;
}
.main-nav > li > a:hover, .main-nav > li:hover > a:not(.nav-d115-btn) { background: rgba(43,181,160,.1); color: var(--teal-deep); }
.dropdown {
  display: none; position: absolute; top: calc(100% - 2px); inset-inline-start: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: .4rem; z-index: 120;
}
.main-nav > li:hover .dropdown,
.main-nav > li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--dark); }
.dropdown a:hover { background: var(--bg2); }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: .45rem .7rem; }
.nav-item-d115 { margin-inline-start: .35rem; }
.nav-d115-btn {
  position: relative;
  display: inline-flex !important; align-items: center; gap: .45rem;
  padding: .38rem 1rem .42rem .38rem !important; border-radius: 999px !important;
  min-width: 0; height: auto !important; box-sizing: border-box; justify-content: flex-start;
  color: #15233f !important; font-weight: 700 !important; font-size: .95rem !important; line-height: 1.4 !important;
  background:
    linear-gradient(120deg, rgba(15,39,72,.045), rgba(180,30,45,.05) 55%, rgba(15,39,72,.03)),
    #fff !important;
  border: 1px solid rgba(21,35,63,.1) !important;
  box-shadow: 0 2px 10px rgba(15,31,28,.05);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease !important;
  white-space: nowrap;
}
[dir="rtl"] .nav-d115-btn { padding: .38rem .38rem .42rem 1rem !important; }
.nav-d115-btn::after {
  content: ""; position: absolute; inset-inline: 14%; bottom: 0; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f2748 0%, #5c1a3a 48%, #c62828 100%);
  opacity: .5; pointer-events: none;
  transition: opacity .2s ease, inset-inline .2s ease;
}
.nav-d115-btn img {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: #fff; padding: 2px; box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(21,35,63,.08);
}
.nav-d115-btn span { display: inline-block; line-height: 1.4; }
.nav-d115-btn:hover,
.main-nav > li.nav-item-d115:hover > a.nav-d115-btn {
  color: #0b162c !important;
  border-color: rgba(198,40,40,.18) !important;
  background:
    linear-gradient(120deg, rgba(15,39,72,.07), rgba(180,30,45,.08) 55%, rgba(15,39,72,.04)),
    #fff !important;
  box-shadow: 0 6px 18px rgba(15,31,28,.09);
  transform: translateY(-1px); filter: none;
}
.nav-d115-btn:hover::after,
.main-nav > li.nav-item-d115:hover > a.nav-d115-btn::after {
  opacity: .85; inset-inline: 10%;
}
.pbanner-d115 h1 {
  font-family: "Lalezar", "Vazirmatn", Tahoma, sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: .02em;
  line-height: 1.15;
  text-shadow: 0 10px 36px rgba(0,0,0,.35), 0 2px 0 rgba(255,122,26,.35);
}
.pbanner-d115 .pbanner-eyebrow {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-weight: 700; font-size: .9rem; letter-spacing: 0;
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4);
}
.pbanner-d115 p {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 600; max-width: 720px;
}

/* Page banner */
.page-banner {
  position: relative; min-height: 220px; display: grid; place-items: center;
  background:
    linear-gradient(120deg, rgba(15,31,28,.78), rgba(26,92,78,.55)),
    url('../img/logo.png') center/cover no-repeat;
  color: #fff; text-align: center; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15,31,28,.25));
}
.page-banner .inner { position: relative; z-index: 1; padding: 2.5rem 1rem; animation: fadeUp .6s ease; }
.page-banner h1 { margin: 0 0 .4rem; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.page-banner p { margin: 0; opacity: .9; }
.banner-eyebrow {
  display: inline-block; margin: 0 0 .55rem; padding: .2rem .75rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  font-size: .78rem; letter-spacing: .04em; opacity: .95;
}
.banner-slogan { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; margin: .35rem auto 0; }

/* Hero slider */
.hero { position: relative; min-height: min(78vh, 640px); overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center top;
  display: grid; align-items: end;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(15,31,28,.78));
  color: #fff; padding: 3.5rem 0 2.5rem;
}
.hero-slide h2 { font-size: clamp(1.7rem, 4vw, 3rem); margin: 0 0 .5rem; }
.hero-slide p { max-width: 560px; opacity: .92; }
.hero-dots { position: absolute; bottom: 1rem; inset-inline-start: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: .4rem; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-dots button.active { background: var(--teal-accent); transform: scale(1.25); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-head { text-align: center; margin-bottom: 2rem; animation: fadeUp .6s ease; }
.section-head h2 { margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--teal-deep); }
.section-head p { margin: 0 auto; max-width: 640px; color: var(--muted); }

.service-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.service-card {
  background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1rem; text-align: center; transition: transform .3s ease, box-shadow .3s ease;
  animation: fadeUp .6s ease both;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .icon {
  width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 18px;
  background: linear-gradient(145deg, var(--teal-accent), var(--teal-deep));
  display: grid; place-items: center; color: #fff; font-size: 1.4rem; font-weight: 700;
  animation: softPulse 3.5s ease-in-out infinite;
}
.service-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.product-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px;
  gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.product-rail::-webkit-scrollbar { display: none; }
.product-marquee {
  overflow: hidden; width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.product-track {
  display: flex; flex-wrap: nowrap; align-items: stretch; gap: 1rem; width: max-content;
  animation: productScroll 38s linear infinite;
}
.product-marquee:hover .product-track { animation-play-state: paused; }
@keyframes productScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.product-slide {
  flex: 0 0 220px; width: 220px; display: flex; flex-direction: column;
  scroll-snap-align: unset;
}
.product-card, .card-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start; transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.product-card:hover, .card-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .thumb, .card-item .thumb {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--bg2), #d7efe9); object-fit: cover; width: 100%;
}
.product-card .body, .card-item .body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-card h3, .card-item h3 {
  margin: 0 0 .35rem; font-size: 1rem; line-height: 1.35; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-marquee .product-card .body,
.product-marquee .product-card h3,
.product-marquee .product-card .meta {
  text-align: right; direction: rtl;
}
.meta { color: var(--muted); font-size: .85rem; }

.partners-marquee {
  overflow: hidden; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-track {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 1rem; width: max-content;
  animation: partnersScroll 32s linear infinite;
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-slide {
  flex: 0 0 auto; width: 160px; height: 88px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  display: grid; place-items: center; padding: .7rem 1rem; color: var(--dark);
  transition: border-color .25s ease, box-shadow .25s ease, filter .25s ease;
  filter: grayscale(.3); opacity: .92;
}
.partner-slide:hover { filter: none; opacity: 1; border-color: rgba(255,122,26,.4); box-shadow: 0 8px 22px rgba(15,31,28,.08); color: var(--dark); }
.partner-slide img { max-height: 52px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partners {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center;
}
.partners a {
  width: 150px; height: 80px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: grid; place-items: center; padding: .65rem; transition: transform .25s ease, box-shadow .25s ease;
}
.partners a:hover { transform: scale(1.04); box-shadow: 0 8px 22px rgba(15,31,28,.08); }
.partners img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }

/* Shop / hospital */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; }
.filters {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; height: fit-content;
}
.filters a { display: block; padding: .45rem .5rem; border-radius: 8px; margin-bottom: .2rem; }
.filters a.active, .filters a:hover { background: rgba(43,181,160,.12); }
.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 1.1rem;
  align-items: stretch;
}
.shop-grid .product-card { min-height: 100%; }
.price-tag {
  display: inline-block; margin-top: .5rem; color: var(--teal-deep); font-weight: 700; font-size: .95rem;
}

/* Org chart */
.org-chart-wrap {
  width: 100%; overflow-x: visible; overflow-y: visible;
  padding: .5rem 0 1.25rem;
}
.org-chart {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; width: 100%; max-width: 100%; padding: .5rem .25rem 1rem;
}
.org-level {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 1rem; width: 100%; position: relative; z-index: 1;
}
.org-level-1, .org-level-2 { justify-content: center; flex-wrap: wrap; }
.org-level-1 .org-node { width: min(260px, 100%); }
.org-level-2 .org-node { width: min(240px, 100%); }
/* فقط ردیف معاون‌ها: یک خط، بدون اسکرول */
.org-level-3 {
  flex-wrap: nowrap;
  justify-content: center;
  gap: .45rem;
  width: 100%;
}
.org-level-staff { gap: .85rem; flex-wrap: wrap; }
.org-branch { display: flex; flex-direction: column; align-items: center; width: 100%; }
.org-connector { flex-shrink: 0; }
.org-connector-v {
  width: 2px; height: 28px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px; opacity: .85;
  box-shadow: 0 0 10px rgba(43,181,160,.35);
}
.org-connector-h {
  width: min(72%, 560px); height: 2px; margin-bottom: 1rem;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  position: relative; opacity: .75;
}
.org-connector-h::before {
  content: ""; position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
  width: 2px; height: 14px; background: var(--primary);
}
.org-node {
  width: min(200px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 1.1rem .85rem 1rem; text-align: center;
  color: var(--dark); display: flex; flex-direction: column; align-items: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: fadeUp .65s ease both;
  box-shadow: 0 4px 18px rgba(15,31,28,.04);
}
.org-node strong { display: block; font-size: .95rem; margin-bottom: .2rem; color: var(--deep); }
.org-node .meta { font-size: .78rem; line-height: 1.35; }
.org-photo {
  display: block; width: 86px; height: 86px; margin: 0 auto .7rem;
  border-radius: 50%; padding: 3px;
  background: linear-gradient(145deg, var(--accent), var(--primary), var(--deep));
  transition: transform .28s ease, box-shadow .28s ease;
}
.org-photo img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; background: var(--bg2);
}
.org-node:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,181,160,.2), 0 14px 36px rgba(26,92,78,.16);
  color: var(--dark);
}
.org-node:hover .org-photo {
  transform: scale(1.06);
  box-shadow: 0 0 22px rgba(62,207,184,.55);
}
.org-node.level-1 {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(43,181,160,.14), 0 12px 32px rgba(26,92,78,.1);
}
.org-node.level-1 .org-photo { width: 96px; height: 96px; }
.org-node.level-2 { border-color: rgba(62,207,184,.55); }
.org-node.level-3 {
  width: auto; flex: 1 1 0; min-width: 0; max-width: 170px;
  padding: .85rem .4rem .75rem;
}
.org-level-3 .org-photo { width: 70px; height: 70px; }
.org-level-3 .org-node strong { font-size: .82rem; }
.org-level-3 .org-node .meta { font-size: .7rem; }
.about-team-actions {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem;
}
.about-intro {
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.about-intro-text { max-width: 820px; margin: 0 auto; color: var(--dark); }
.mission-vision-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem;
}
.mv-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mv-panel:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,31,28,.1); }
.mission-panel {
  background:
    linear-gradient(160deg, rgba(43,181,160,.08), transparent 55%),
    #fff;
}
.mv-icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--deep)); color: #fff;
  font-size: 1.1rem; margin-bottom: .9rem;
}
.mv-panel h3 { margin: 0 0 .75rem; color: var(--deep); font-size: 1.25rem; }
.mv-rich { max-width: none; margin: 0; color: var(--dark); }
.mv-rich p:first-child { margin-top: 0; }
.album-card .body { display: flex; flex-direction: column; gap: .25rem; }

/* Team profile */
.profile-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 2rem;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: 2rem; box-shadow: var(--shadow);
  background-image:
    radial-gradient(500px 220px at 0% 0%, rgba(62,207,184,.14), transparent 60%),
    radial-gradient(400px 200px at 100% 100%, rgba(43,181,160,.1), transparent 55%);
}
.profile-visual { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.profile-photo-ring {
  width: 220px; height: 220px; border-radius: 50%; padding: 5px;
  background: linear-gradient(145deg, var(--accent), var(--primary), var(--deep));
  box-shadow: 0 12px 36px rgba(26,92,78,.2);
}
.profile-photo {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; background: var(--bg2);
}
.profile-qr-block {
  text-align: center; padding: .85rem; background: rgba(255,255,255,.9);
  border: 1px solid var(--line); border-radius: 16px;
}
.profile-qr { width: 160px; height: 160px; margin: 0 auto .5rem; border-radius: 10px; }
.profile-name { margin: 0 0 .35rem; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--deep); }
.profile-title { margin: 0 0 .75rem; color: var(--muted); font-size: 1.05rem; }
.profile-dept {
  display: inline-block; margin-bottom: 1rem; padding: .25rem .7rem;
  border-radius: 999px; background: rgba(43,181,160,.12); color: var(--deep);
  font-size: .85rem; font-weight: 600;
}
.profile-bio { max-width: none; margin: 0 0 1.25rem; }
.profile-contact { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.contact-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--deep); font-size: .9rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-chip:hover {
  transform: scale(1.03); border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(43,181,160,.18); color: var(--deep);
}
.chip-icon { opacity: .75; }
.profile-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

/* Hospital tiles */
.hospital-tiles {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: .5rem;
}
.hospital-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .55rem; padding: 1.35rem .85rem 1.2rem;
  background: linear-gradient(180deg, #fff, rgba(232,246,242,.65));
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--dark); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  min-height: 150px;
}
.hospital-tile strong { font-size: 1rem; color: var(--deep); }
.hospital-tile .meta {
  font-size: .75rem; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.hospital-tile:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,181,160,.15), var(--shadow);
  color: var(--dark);
}
.hospital-tile-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(145deg, var(--accent), var(--deep));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px rgba(26,92,78,.22);
  position: relative;
}
.hospital-tile-icon::before {
  content: ""; width: 26px; height: 26px; background: currentColor;
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}
.ht-hospital::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 21V3h16v18h-6v-6h-4v6H4zm7-11h2V8h2V6h-2V4h-2v2H9v2h2v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 21V3h16v18h-6v-6h-4v6H4zm7-11h2V8h2V6h-2V4h-2v2H9v2h2v2z'/%3E%3C/svg%3E");
}
.ht-pet::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 14c-2.5 0-6 1.2-6 3.5V19h12v-1.5c0-2.3-3.5-3.5-6-3.5zm0-2a3 3 0 100-6 3 3 0 000 6zM6.5 10a1.75 1.75 0 100-3.5A1.75 1.75 0 006.5 10zm11 0a1.75 1.75 0 100-3.5A1.75 1.75 0 0017.5 10zM8 6.5A1.5 1.5 0 108 3.5 1.5 1.5 0 008 6.5zm8 0A1.5 1.5 0 1016 3.5 1.5 1.5 0 0016 6.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 14c-2.5 0-6 1.2-6 3.5V19h12v-1.5c0-2.3-3.5-3.5-6-3.5zm0-2a3 3 0 100-6 3 3 0 000 6zM6.5 10a1.75 1.75 0 100-3.5A1.75 1.75 0 006.5 10zm11 0a1.75 1.75 0 100-3.5A1.75 1.75 0 0017.5 10zM8 6.5A1.5 1.5 0 108 3.5 1.5 1.5 0 008 6.5zm8 0A1.5 1.5 0 1016 3.5 1.5 1.5 0 0016 6.5z'/%3E%3C/svg%3E");
}
.ht-lab::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6v2h-1v4.6l4.8 8.4A2 2 0 0117.1 21H6.9a2 2 0 01-1.7-3l4.8-8.4V5H9V3zm3 7.2L8.3 16.5h7.4L12 10.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6v2h-1v4.6l4.8 8.4A2 2 0 0117.1 21H6.9a2 2 0 01-1.7-3l4.8-8.4V5H9V3zm3 7.2L8.3 16.5h7.4L12 10.2z'/%3E%3C/svg%3E");
}
.ht-pension::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 8h-2v9h-6v-6H11v6H5v-9H3l9-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 8h-2v9h-6v-6H11v6H5v-9H3l9-8z'/%3E%3C/svg%3E");
}
.ht-groom::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.5 2L9 6.5 4.5 8 9 9.5 7.5 14 12 10.5 16.5 14 15 9.5 19.5 8 15 6.5 16.5 2 12 5.5 7.5 2zM4 16h16v2H4v-2zm2 3h12v2H6v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.5 2L9 6.5 4.5 8 9 9.5 7.5 14 12 10.5 16.5 14 15 9.5 19.5 8 15 6.5 16.5 2 12 5.5 7.5 2zM4 16h16v2H4v-2zm2 3h12v2H6v-2z'/%3E%3C/svg%3E");
}
.ht-cafe::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h13a3 3 0 010 6h-1v2a5 5 0 01-5 5H9a5 5 0 01-5-5V4zm13 2v2a1 1 0 000-2h0zM5 19h12v2H5v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h13a3 3 0 010 6h-1v2a5 5 0 01-5 5H9a5 5 0 01-5-5V4zm13 2v2a1 1 0 000-2h0zM5 19h12v2H5v-2z'/%3E%3C/svg%3E");
}
.survey-wrap { max-width: 720px; }
.survey-desc { color: var(--muted); margin-bottom: 1.25rem; }

/* Map */
.map-box {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  min-height: 360px; background: #dfecea; position: relative;
}
#agentsMap { width: 100%; height: 420px; }
.branch-list { display: grid; gap: .8rem; }
.branch-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem;
}

/* Content */
.prose { max-width: 820px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.video-player {
  background: #0F1F1C; border-radius: 16px; overflow: hidden; min-height: 0;
  box-shadow: 0 14px 40px rgba(15,31,28,.18);
}
.video-player video { width: 100%; aspect-ratio: 16/9; max-height: none; height: auto; background: #000; display: block; }
.d115-play-section.section { padding: .75rem 0 2rem; }
.d115-play-section .container { width: min(1400px, 96%); }
.d115-play-layout {
  display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, .7fr); gap: .85rem; align-items: stretch;
}
.video-meta { padding: .85rem 1rem 1rem; color: #fff; }
.video-meta strong { display: block; font-size: 1.1rem; margin-bottom: .25rem; }
.video-meta p { margin: 0 0 .35rem; opacity: .85; font-size: .9rem; line-height: 1.55; }
.video-list {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .65rem;
  max-height: none; overflow: auto; box-shadow: 0 10px 28px rgba(15,31,28,.06);
}
.video-list h3 { margin: .2rem .4rem 0.8rem; font-size: 1rem; color: var(--deep); display: flex; justify-content: space-between; gap: .5rem; }
.video-list h3 em { font-style: normal; color: var(--orange); font-weight: 800; }
.video-list a {
  display: grid; grid-template-columns: 88px 1fr; gap: .7rem; align-items: center;
  padding: .55rem; border-radius: 14px; color: var(--dark); margin-bottom: .35rem;
  background: transparent; border: 0;
}
.video-list a img { width: 88px; height: 56px; object-fit: cover; border-radius: 10px; background: #eee; }
.video-list a strong { display: block; font-size: .9rem; line-height: 1.35; }
.video-list a.active, .video-list a:hover { background: #fff5ec; color: var(--orange); }
.video-empty { min-height: 280px; display: grid; place-items: center; color: #9bb; }

/* Forms */
.form-card {
  max-width: 460px; margin: 2rem auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.form-card label { display: block; margin: .7rem 0 .3rem; font-weight: 600; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px; font-family: inherit;
}
.alert { padding: .8rem 1rem; border-radius: 12px; margin: 1rem 0; }
.alert-error { background: #ffe8e8; color: #8a1f1f; }
.alert-info { background: #e7f8f3; color: var(--teal-deep); }

/* Footer */
.site-footer {
  margin-top: 3rem; background: linear-gradient(180deg, #12352e, var(--dark)); color: #e8f6f2; padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; }
.site-footer h4 { margin: 0 0 .8rem; color: var(--teal-accent); }
.site-footer a { color: #d7efe9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; opacity: .85;
}
.footer-map-teaser {
  border-radius: 14px; overflow: hidden; min-height: 140px;
  background: linear-gradient(135deg, rgba(43,181,160,.3), rgba(15,31,28,.5)), #1A5C4E;
  display: grid; place-items: center; text-align: center; padding: 1rem;
}

@media (max-width: 1100px) {
  .hospital-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .nav-item-d115 { margin-inline-start: 0; }
  .nav-d115-btn { width: auto; min-width: 0; }
  .masonry { columns: 2 200px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-wrap { display: none; }
  .nav-wrap.open { display: block; }
  .main-nav { flex-direction: column; }
  .nav-item-d115 { margin-inline-start: 0; margin-top: .35rem; }
  .nav-d115-btn, [dir="rtl"] .nav-d115-btn { width: 100%; height: auto; min-height: 36px; justify-content: center; padding: .45rem 1rem !important; }
  .dropdown { position: static; display: none; box-shadow: none; }
  .main-nav > li.open .dropdown { display: block; }
  .service-grid, .grid-3, .grid-2, .footer-grid, .d115-play-layout { grid-template-columns: 1fr; }
  .video-list { max-height: none; }
  .brand-text span { display: none; }
  .search-mini input { min-width: 90px; }
  .hospital-tiles { grid-template-columns: repeat(2, 1fr); }
  .org-chart { width: 100%; min-width: 0; }
  .org-level-3 { flex-wrap: nowrap; gap: .3rem; }
  .org-node.level-3 { max-width: none; padding: .7rem .25rem .65rem; }
  .org-level-3 .org-photo { width: 56px; height: 56px; }
  .org-level-staff { flex-wrap: wrap; justify-content: center; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .user-welcome-text { max-width: 110px; overflow: hidden; }
  .user-welcome strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .profile-photo-ring { width: 180px; height: 180px; }
}
@media (max-width: 420px) {
  .hospital-tiles { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .hospital-tile { min-height: 130px; padding: 1rem .6rem; }
}

/* =====================================================================
   v2 — vibrant theme, banners, cards, CTAs
   ===================================================================== */
:root {
  --orange: #FF7A1A;
  --orange-2: #FFB347;
  --coral: #FF5A5F;
  --amber: #F5A524;
  --violet: #7C5CFF;
  --blue: #2F80ED;
  --sky: #56CCF2;
  --grad-orange: linear-gradient(135deg, #FF9A3D 0%, #FF7A1A 45%, #FF5A5F 100%);
  --grad-teal: linear-gradient(135deg, #3ECFB8 0%, #2BB5A0 45%, #1A5C4E 100%);
}

/* Buttons */
.btn-primary {
  background: var(--grad-teal); color: #fff;
  box-shadow: 0 10px 24px rgba(43,181,160,.32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(43,181,160,.42); }
.btn-ghost { background: #fff; border: 1.5px solid rgba(26,92,78,.22); }
.btn-ghost:hover { border-color: var(--primary); color: var(--deep); }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: .98rem; color: #fff;
  background: var(--grad-orange); background-size: 160% 160%; background-position: 0 50%;
  box-shadow: 0 12px 28px rgba(255,122,26,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s ease, box-shadow .25s ease, background-position .5s ease;
}
.btn-cta:hover {
  color: #fff; transform: translateY(-2px); background-position: 100% 50%;
  box-shadow: 0 18px 36px rgba(255,90,95,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-cta-outline {
  background: #fff; color: var(--orange); box-shadow: 0 8px 22px rgba(15,31,28,.06);
  border: 2px solid rgba(255,122,26,.45);
}
.btn-cta-outline:hover { background: var(--grad-orange); color: #fff; border-color: transparent; }
.btn-cta-white { background: #fff; color: var(--orange); box-shadow: 0 10px 26px rgba(0,0,0,.15); }
.btn-cta-white:hover { color: var(--coral); background: #fff; }
.btn-cta-ghost-white { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.7); box-shadow: none; }
.btn-cta-ghost-white:hover { background: rgba(255,255,255,.22); }
.center-actions { text-align: center; margin-top: 1.75rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Login button */
.btn-login {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .95rem .3rem .3rem; border-radius: 999px;
  height: 36px; box-sizing: border-box;
  background: var(--grad-orange); color: #fff; font-weight: 700; font-size: .88rem;
  box-shadow: 0 8px 20px rgba(255,122,26,.3);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
[dir="rtl"] .btn-login { padding: .3rem .3rem .3rem .95rem; }
.btn-login:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255,90,95,.38); }
.btn-login-icon {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.25);
  display: grid; place-items: center;
}

/* Flags */
.lang-switch { background: #f2f7f6; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch .flag-link {
  width: auto; height: 30px; padding: 0 .55rem 0 .4rem; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .35rem; background: transparent;
  font-size: .75rem; font-weight: 700; color: var(--muted);
}
.lang-switch .flag-link img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-switch .flag-link.active { background: #fff; color: var(--deep); box-shadow: 0 2px 8px rgba(15,31,28,.12); transform: none; }
.lang-switch .flag-link:hover { transform: none; color: var(--deep); }

/* Section heads */
.section-kicker {
  display: inline-block; margin-bottom: .55rem; padding: .25rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  color: var(--deep); background: rgba(43,181,160,.12);
}
.kicker-orange { color: #d65a00; background: rgba(255,122,26,.12); }
.kicker-amber { color: #a86a00; background: rgba(245,165,36,.15); }
.kicker-violet { color: #5a3fd6; background: rgba(124,92,255,.12); }
.kicker-blue { color: #1f62c4; background: rgba(47,128,237,.12); }
.section-head-start { text-align: start; }
.section-head-start p { margin: 0; }
.section-tint { background: linear-gradient(180deg, rgba(232,246,242,.7), rgba(255,255,255,0)); }
.section-warm { background: linear-gradient(180deg, #fff7ef, rgba(255,255,255,0)); }
.section-cool { background: linear-gradient(180deg, #f2f5ff, rgba(255,255,255,0)); }
.section-dark { background: linear-gradient(160deg, #0F1F1C, #12352e 60%, #1A5C4E); color: #e8f6f2; }
.empty-note { grid-column: 1 / -1; text-align: center; padding: 2rem; }

/* Page banner — نسبت ۳۶۰۰×۱۳۲۰، بدون گرادیانت رنگی */
.pbanner {
  position: relative; overflow: hidden; color: #fff;
  width: 100%;
  aspect-ratio: 3600 / 1320;
  min-height: 0;
  max-height: none;
  display: flex; align-items: flex-end;
}
.pbanner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  background-color: #1a1a1a; transform: none; animation: none;
}
/* فقط تیره خنثی برای خوانایی متن — بدون نارنجی/بنفش/آبی */
.pbanner-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,.12) 100%);
}
[dir="rtl"] .pbanner-shade {
  background: linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,.12) 100%);
}
.pbanner-orb { display: none !important; }
.pbanner-inner {
  position: relative; z-index: 2;
  padding: clamp(1.1rem, 2.8vw, 2.4rem) 0 clamp(1.6rem, 3.5vw, 3.2rem);
  animation: fadeUp .7s ease both;
}
.pbanner-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .82rem; opacity: .9; margin-bottom: .75rem; }
.pbanner-crumbs a { color: #fff; opacity: .85; }
.pbanner-crumbs a:hover { opacity: 1; color: #fff; }
.pbanner-crumbs strong { font-weight: 600; }
.pbanner-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .65rem;
  padding: .3rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px);
}
.pbanner-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
a.pbanner-eyebrow-link { color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
a.pbanner-eyebrow-link:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.55); color: #fff; transform: translateY(-1px); }
.pbanner h1 {
  margin: 0 0 .5rem; font-size: clamp(1.55rem, 3.6vw, 2.75rem); line-height: 1.25; font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.pbanner p { margin: 0; max-width: 680px; font-size: clamp(.9rem, 1.5vw, 1.08rem); opacity: .93; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.pbanner-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 48px; color: #f6fbfa; z-index: 2; }
.pb-orange, .pb-amber, .pb-violet, .pb-blue, .pb-teal { /* تم رنگی بنر غیرفعال */ }

/* Legacy banner — بدون گرادیانت رنگی */
.page-banner {
  width: 100%;
  aspect-ratio: 3600 / 1320;
  min-height: 0;
  background: #1a1a1a;
  background-size: cover;
  background-position: center center;
}
.page-banner h1 { font-size: clamp(1.55rem, 3.6vw, 2.75rem); font-weight: 800; }

/* Hero */
.hero { min-height: min(84vh, 680px); background: #0F1F1C; }
.hero-img {
  position: absolute; inset: 0; background-size: cover; background-position: center top;
  transform: scale(1.04); transition: transform 7s ease;
}
.hero-slide.active .hero-img { transform: scale(1); }
.hero-slide .overlay {
  position: relative; z-index: 1; padding: 0 0 4.5rem;
  background: linear-gradient(0deg, rgba(10,25,22,.92) 0%, rgba(10,25,22,.45) 45%, rgba(10,25,22,0) 75%);
  min-height: 100%; display: flex; align-items: flex-end;
}
[dir="rtl"] .hero-slide .overlay { background: linear-gradient(0deg, rgba(10,25,22,.92) 0%, rgba(10,25,22,.45) 45%, rgba(10,25,22,0) 75%); }
.hero-content { max-width: 1180px; }
.hero-slide.active .hero-content > * { animation: fadeUp .8s ease both; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .3s; }
.hero-kicker {
  display: inline-block; padding: .3rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255,122,26,.9); color: #fff; margin-bottom: .9rem;
}
.hero-slide h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.25; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero-slide p { font-size: clamp(1rem, 1.7vw, 1.2rem); max-width: 620px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.2rem;
  padding: .45rem .5rem .45rem 1.4rem; border-radius: 999px;
  background: var(--grad-orange); color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: 0 14px 34px rgba(255,122,26,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
[dir="rtl"] .btn-hero { padding: .45rem 1.4rem .45rem .5rem; }
.btn-hero:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px rgba(255,90,95,.5); }
.btn-hero-arrow {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--orange);
  display: grid; place-items: center; transition: transform .25s ease;
}
[dir="rtl"] .btn-hero-arrow svg { transform: scaleX(-1); }
.btn-hero:hover .btn-hero-arrow { transform: translateX(4px); }
[dir="rtl"] .btn-hero:hover .btn-hero-arrow { transform: translateX(-4px); }
.hero-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: background .2s ease, transform .2s ease;
}
.hero-nav:hover { background: var(--orange); border-color: var(--orange); }
.hero-prev { left: 1.2rem; }
.hero-next { right: 1.2rem; }
[dir="rtl"] .hero-prev { left: auto; right: 1.2rem; }
[dir="rtl"] .hero-next { right: auto; left: 1.2rem; }
[dir="rtl"] .hero-nav svg { transform: scaleX(-1); }
.hero-dots { bottom: 1.6rem; }
.hero-dots button { width: 10px; height: 10px; transition: width .3s ease, background .3s ease; }
.hero-dots button.active { width: 30px; border-radius: 999px; background: var(--orange); transform: none; }

/* Home pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pillar-card {
  position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3/4;
  color: #fff; box-shadow: 0 14px 36px rgba(15,31,28,.12); isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pillar-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.pillar-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(10,25,22,.88) 100%);
  transition: background .35s ease;
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(15,31,28,.22); color: #fff; }
.pillar-card:hover img { transform: scale(1.08); }
.pillar-hospital:hover .pillar-shade { background: linear-gradient(180deg, rgba(255,122,26,.15) 10%, rgba(140,40,0,.9) 100%); }
.pillar-commerce:hover .pillar-shade { background: linear-gradient(180deg, rgba(47,128,237,.15) 10%, rgba(10,40,100,.9) 100%); }
.pillar-food:hover .pillar-shade { background: linear-gradient(180deg, rgba(245,165,36,.15) 10%, rgba(110,65,0,.9) 100%); }
.pillar-pharma:hover .pillar-shade { background: linear-gradient(180deg, rgba(124,92,255,.15) 10%, rgba(40,20,110,.9) 100%); }
.pillar-technical:hover .pillar-shade { background: linear-gradient(180deg, rgba(62,207,184,.15) 10%, rgba(10,70,60,.92) 100%); }
.pillar-num {
  position: absolute; top: .9rem; inset-inline-start: .9rem; font-weight: 800; font-size: .85rem;
  padding: .2rem .6rem; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
}
.pillar-body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.pillar-body strong { font-size: 1.15rem; font-weight: 800; }
.pillar-sum {
  font-size: .82rem; opacity: .88; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pillar-go {
  margin-top: .3rem; display: inline-flex; align-items: center; gap: .35rem; width: fit-content;
  font-size: .8rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.18);
  transition: background .25s ease;
}
.pillar-card:hover .pillar-go { background: var(--orange); }

/* Product cards — fixed media frame for any source image size */
.product-card { display: flex; flex-direction: column; color: var(--dark); }
.product-card:hover { color: var(--dark); }
.pc-media {
  position: relative; width: 100%; height: 220px; flex: 0 0 220px;
  display: grid; place-items: center; padding: 1.1rem;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #eef8f5 70%, #e3f3ee 100%);
  overflow: hidden;
}
.pc-media img {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  transition: transform .35s ease; filter: drop-shadow(0 10px 14px rgba(15,31,28,.12));
}
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-origin {
  position: absolute; top: .6rem; inset-inline-start: .6rem; font-size: .7rem; font-weight: 700;
  padding: .15rem .55rem; border-radius: 999px; background: rgba(43,181,160,.15); color: var(--deep);
}
.pc-origin.is-ext { background: rgba(255,122,26,.14); color: #c45200; }
.product-card .body { border-top: 1px solid var(--line); }

/* Partners */
.partners a { width: 170px; height: 96px; border-radius: 18px; filter: grayscale(.35); opacity: .9; }
.partners a:hover { filter: none; opacity: 1; border-color: rgba(255,122,26,.4); }
.partners img { max-height: 60px; }

/* Map */
.map-box-fancy { border-radius: 24px; box-shadow: 0 18px 44px rgba(15,31,28,.12); border: 0; }
.map-float {
  position: absolute; z-index: 500; top: 1rem; inset-inline-start: 1rem;
  display: flex; align-items: center; gap: .6rem; padding: .55rem 1rem .55rem .6rem;
  background: rgba(255,255,255,.95); border-radius: 999px; box-shadow: 0 10px 26px rgba(15,31,28,.15);
  font-weight: 600; font-size: .9rem; color: var(--deep);
}
.map-float-count {
  min-width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-orange); color: #fff; font-weight: 800;
}

/* Media cards */
.media-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); color: var(--dark); box-shadow: 0 6px 22px rgba(15,31,28,.05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.media-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,31,28,.14); border-color: rgba(255,122,26,.35); color: var(--dark); }
.media-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg2); display: block; }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-card-img.media-card-img-fill { aspect-ratio: 16/9; min-height: 180px; }
.media-card-img.media-card-img-fill img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-card-img.is-logo { display: grid; place-items: center; background: #fff; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.media-card-img.is-logo img { width: auto; height: auto; max-height: 90px; object-fit: contain; }
.media-card:hover .media-card-img img { transform: scale(1.07); }
.media-card-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.media-card-body strong { font-size: 1.05rem; color: var(--deep); }
.media-card-go { margin-top: .3rem; font-size: .82rem; font-weight: 700; color: var(--orange); }

/* Hospital */
.hosp-stats { position: relative; z-index: 3; margin-top: -2.2rem; }
.hosp-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
  background: #fff; border-radius: 22px; padding: .8rem; box-shadow: 0 18px 44px rgba(15,31,28,.12);
}
.hstat { display: flex; flex-direction: column; justify-content: center; padding: .7rem 1rem; border-radius: 16px; background: #fff7ef; }
.hstat b { font-size: 1.5rem; font-weight: 800; color: var(--orange); line-height: 1.2; }
.hstat span { font-size: .82rem; color: var(--muted); }
.hstat-cta { flex-direction: row; align-items: center; gap: .8rem; background: var(--grad-orange); color: #fff; }
.hstat-cta:hover { color: #fff; filter: brightness(1.05); }
.hstat-cta b { color: #fff; font-size: 1.15rem; }
.hstat-cta small { display: block; opacity: .9; font-size: .78rem; }
.pulse-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; flex-shrink: 0; animation: pulseRing 1.6s ease-out infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.area-card {
  position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3.2;
  color: #fff; isolation: isolate; box-shadow: 0 14px 34px rgba(120,40,0,.12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.area-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(60,18,0,.88) 100%); transition: background .35s ease; }
.area-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(255,90,0,.25); color: #fff; }
.area-card:hover img { transform: scale(1.08); }
.area-card:hover .area-shade { background: linear-gradient(180deg, rgba(255,122,26,.15) 0%, rgba(150,40,0,.92) 100%); }
.area-icon.hospital-tile-icon {
  position: absolute; top: 1rem; inset-inline-start: 1rem; width: 52px; height: 52px; border-radius: 16px;
  background: var(--grad-orange); box-shadow: 0 10px 24px rgba(255,90,0,.4);
}
.area-body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.area-body strong { font-size: 1.25rem; font-weight: 800; }
.area-sum { font-size: .85rem; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.area-go { font-size: .82rem; font-weight: 700; color: var(--orange-2); }

.clinic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.clinic-card {
  display: flex; gap: .9rem; align-items: center; padding: .7rem; background: #fff; border-radius: 18px;
  border: 1px solid rgba(255,122,26,.15); color: var(--dark); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.clinic-card:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 14px 30px rgba(255,122,26,.16); color: var(--dark); }
.clinic-thumb { width: 86px; height: 86px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: #fff1e4; }
.clinic-thumb img { width: 100%; height: 100%; object-fit: cover; }
.clinic-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.clinic-body strong { color: #b84800; }
.clinic-body .meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; }

.emergency-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin: 1rem 0; padding: 2rem 2.2rem; border-radius: 26px; color: #fff;
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(255,255,255,.25), transparent 60%),
    var(--grad-orange);
  box-shadow: 0 22px 50px rgba(255,90,0,.3);
}
.emergency-band h3 { margin: 0 0 .3rem; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.emergency-band p { margin: 0; opacity: .92; }
.emergency-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

.shop-toolbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.4rem; }
.chip-row {
  display: flex; gap: .5rem; flex-wrap: wrap;
  max-width: 100%;
}
.chip, button.chip, a.chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font-family: inherit; font-size: .86rem; font-weight: 600; color: var(--dark); line-height: 1.4;
  cursor: pointer; appearance: none; -webkit-appearance: none; text-decoration: none;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.active { background: var(--grad-orange); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(255,122,26,.3); }
.is-hidden, [hidden] { display: none !important; }
.shop-search { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; min-width: 260px; }
.shop-search input { flex: 1; border: 0; padding: .6rem 1rem; font-family: inherit; outline: none; background: transparent; }
.shop-search button { border: 0; background: var(--grad-orange); color: #fff; width: 46px; cursor: pointer; display: grid; place-items: center; }

/* Brand cards */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.brand-card {
  display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center;
  padding: 1.4rem 1rem 1.2rem; background: #fff; border-radius: 22px; border: 1px solid var(--line);
  color: var(--dark); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.brand-card:hover { transform: translateY(-6px); border-color: rgba(47,128,237,.45); box-shadow: 0 18px 40px rgba(47,128,237,.16); color: var(--dark); }
.brand-logo {
  width: 100%; height: 110px; display: flex; align-items: center; justify-content: center;
  background: #f4f8f6; border-radius: 16px; padding: 1rem 1.1rem; box-sizing: border-box;
  overflow: hidden;
}
.brand-logo img {
  display: block; width: 100%; height: 100%;
  max-width: 100%; max-height: 78px;
  object-fit: contain; object-position: center;
}
.brand-visit { font-size: .78rem; font-weight: 700; color: var(--blue); padding: .2rem .7rem; border-radius: 999px; background: rgba(47,128,237,.08); }
.brand-hero {
  display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 2rem; margin-bottom: 1.5rem;
  background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.brand-hero img { max-height: 120px; width: auto; object-fit: contain; }
.brand-hero span { font-weight: 700; color: var(--blue); }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: .9rem; }
.dl-columns .dl-grid { grid-template-columns: 1fr; }
.dl-card {
  display: flex; align-items: center; gap: .9rem; padding: .85rem; background: #fff; border-radius: 18px;
  border: 1px solid var(--line); color: var(--dark); box-shadow: 0 4px 16px rgba(15,31,28,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-width: 0; max-width: 100%;
}
.dl-card:hover { transform: translateY(-3px); border-color: rgba(255,90,95,.4); box-shadow: 0 14px 30px rgba(255,90,95,.14); color: var(--dark); }
.dl-icon {
  position: relative; width: 56px; height: 64px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #FF6B6B, #E03131);
  box-shadow: 0 8px 18px rgba(224,49,49,.3);
}
.dl-mag .dl-icon { background: linear-gradient(145deg, #A996FF, #7C5CFF); box-shadow: 0 8px 18px rgba(124,92,255,.3); }
.dl-icon em {
  position: absolute; bottom: -6px; font-style: normal; font-size: .62rem; font-weight: 800;
  background: #fff; color: #E03131; padding: 0 .35rem; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.dl-mag .dl-icon em { color: var(--violet); }
.dl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.dl-body strong { font-size: .95rem; }
.dl-btn {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .9rem; border-radius: 999px;
  background: var(--grad-orange); color: #fff; font-size: .82rem; font-weight: 700; flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(255,122,26,.3); transition: transform .2s ease;
}
.dl-card:hover .dl-btn { transform: scale(1.05); }

/* Factories */
.factory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1.1rem; }
.factory-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); color: var(--dark); box-shadow: 0 6px 22px rgba(15,31,28,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.factory-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(15,31,28,.15); color: var(--dark); }
.factory-img { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.factory-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.factory-card:hover .factory-img img { transform: scale(1.07); }
.badge-build {
  position: absolute; top: .8rem; inset-inline-start: .8rem; font-style: normal; font-size: .75rem; font-weight: 800;
  padding: .25rem .7rem; border-radius: 999px; color: #5a3b00;
  background: repeating-linear-gradient(45deg, #FFD666 0 10px, #FFC53D 10px 20px); box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
.factory-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.factory-body strong { font-size: 1.08rem; color: var(--deep); }
.factory-mgr { font-size: .8rem; color: var(--orange); font-weight: 600; }

.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: -4.5rem; position: relative; z-index: 3; }
.feature {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.2rem; border-radius: 22px; background: #fff;
  box-shadow: 0 16px 40px rgba(110,65,0,.12); border-top: 4px solid var(--amber);
}
.feature b { font-size: 1.05rem; color: #7a4b00; }
.feature span { font-size: .85rem; color: var(--muted); }
.feature .feature-ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: .3rem;
  background: linear-gradient(145deg, #FFD666, #F5A524);
}

/* Tabs */
.tab-buttons { display: inline-flex; gap: .3rem; padding: .3rem; background: #fff; border-radius: 999px; border: 1px solid var(--line); margin: 0 auto 1.4rem; }
.tabs { text-align: center; }
.tab-pane { display: none; text-align: start; }
.tab-pane.active { display: block; animation: fadeUp .4s ease; }
.tab-btn {
  border: 0; background: transparent; padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-weight: 700; color: var(--muted); display: inline-flex; gap: .45rem; align-items: center;
}
.tab-btn em { font-style: normal; font-size: .75rem; background: rgba(0,0,0,.06); padding: 0 .45rem; border-radius: 999px; }
.tab-btn.active { background: linear-gradient(135deg, #A996FF, #7C5CFF); color: #fff; box-shadow: 0 8px 18px rgba(124,92,255,.3); }
.tab-btn.active em { background: rgba(255,255,255,.25); }

/* Dampezeshk 115 */
.d115-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.6rem; }
.d115-head h3 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.d115-head p { margin: .2rem 0 0; opacity: .85; }
.d115-badge {
  width: 84px; height: 84px; border-radius: 24px; flex-shrink: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: var(--grad-orange); color: #fff;
  box-shadow: 0 14px 30px rgba(255,90,0,.4); line-height: 1;
}
.d115-badge b { font-size: 1.8rem; font-weight: 900; }
.d115-badge small { font-size: .72rem; opacity: .9; margin-top: .2rem; }
.d115-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: .9rem; margin-bottom: 1.6rem; }
.d115-cat {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; display: block; color: #fff; isolation: isolate;
  border: 1px solid rgba(255,255,255,.12); cursor: pointer; width: 100%; padding: 0; font: inherit; text-align: inherit; background: #12352e;
}
.d115-cat.is-filter { appearance: none; -webkit-appearance: none; }
.d115-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.d115-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.8)); }
.d115-cat span { position: absolute; bottom: .7rem; inset-inline-start: .9rem; font-weight: 800; font-size: 1.05rem; }
.d115-cat:hover { color: #fff; }
.d115-cat:hover img { transform: scale(1.08); }
.d115-cat.active { outline: 3px solid var(--orange); outline-offset: 2px; box-shadow: 0 10px 26px rgba(255,122,26,.35); }
.d115-cat[data-cat="all"] {
  display: grid; place-items: center; aspect-ratio: auto; min-height: 72px;
  background: var(--grad-orange); border-color: transparent;
  box-shadow: 0 10px 24px rgba(255,122,26,.35);
}
.d115-cat[data-cat="all"] span { position: static; color: #fff; font-weight: 800; }
.d115-cat[data-cat="all"].active { outline: 3px solid #fff; outline-offset: 2px; }
.d115-empty { text-align: center; padding: 1.5rem; color: #cde; }
.d115-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.d115-video { display: flex; flex-direction: column; gap: .55rem; color: #e8f6f2; }
.d115-video:hover { color: #fff; }
.d115-thumb { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; display: block; background: #0b1714; }
.d115-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s ease, opacity .3s ease; }
.d115-video:hover .d115-thumb img { transform: scale(1.06); opacity: 1; }
.d115-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,122,26,.92); color: #fff; box-shadow: 0 0 0 8px rgba(255,122,26,.25);
  transition: transform .25s ease;
}
.d115-video:hover .d115-play { transform: translate(-50%, -50%) scale(1.1); }
.d115-thumb em { position: absolute; bottom: .5rem; inset-inline-end: .5rem; font-style: normal; font-size: .75rem; font-weight: 700; background: rgba(0,0,0,.7); padding: .1rem .45rem; border-radius: 6px; direction: ltr; }
.section-dark .btn-cta { box-shadow: 0 12px 30px rgba(255,122,26,.35); }

/* Page layout */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.page-main { min-width: 0; }
.page-figure { margin: 0 0 1.5rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg2); }
.page-figure img { width: 100%; height: auto; max-height: 560px; min-height: 220px; object-fit: cover; display: block; }
.page-lead { font-size: 1.15rem; font-weight: 600; color: var(--deep); border-inline-start: 4px solid var(--orange); padding-inline-start: 1rem; margin: 0 0 1.2rem; }
.prose-rich { font-size: 1.02rem; line-height: 2.1; }
.prose-rich img { border-radius: 16px; max-width: 100%; height: auto; }
.prose-rich p { margin: 0 0 1rem; }
.prose-rich h2, .prose-rich h3, .prose-rich h4 { color: var(--deep); margin: 1.8rem 0 .8rem; line-height: 1.6; }
.prose-rich figure.image { display: table; margin: 1.6rem auto; max-width: 100%; }
.prose-rich figure.image img { display: block; box-shadow: 0 14px 34px rgba(15,31,28,.12); }
.prose-rich figure.image figcaption { display: table-caption; caption-side: bottom; text-align: center; font-size: .88rem; color: var(--muted, #6b7a77); padding-top: .55rem; }
.prose-rich > p > img:only-child { display: block; margin: 1.4rem auto; box-shadow: 0 14px 34px rgba(15,31,28,.12); }
.prose-rich img[style*="float: left"], .prose-rich img.align-left { margin: .3rem 0 1rem 1.4rem; }
.prose-rich img[style*="float: right"], .prose-rich img.align-right { margin: .3rem 1.4rem 1rem 0; }
.prose-rich blockquote { margin: 1.4rem 0; padding: .9rem 1.2rem; border-inline-start: 4px solid var(--orange); background: #fff6ee; border-radius: 12px; }
.prose-rich table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.prose-rich td, .prose-rich th { border: 1px solid var(--line); padding: .55rem .8rem; }
.prose-rich th { background: #f6faf9; }
.prose-rich video, .prose-rich iframe { max-width: 100%; border-radius: 16px; display: block; margin: 1.4rem auto; }
.prose-rich ul, .prose-rich ol { padding-inline-start: 1.4rem; margin: 0 0 1rem; }
.prose-rich::after { content: ""; display: block; clear: both; }
.page-side { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 1rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem; box-shadow: 0 6px 22px rgba(15,31,28,.05); }
.side-card h4 { margin: 0 0 .7rem; color: var(--deep); }
.side-manager { display: flex; gap: .8rem; align-items: center; }
.side-manager small { display: block; color: var(--muted); }
.side-manager strong { display: block; }
.side-manager em { display: block; margin-top: .25rem; font-style: normal; font-size: .78rem; font-weight: 700; color: var(--orange); }
.side-manager-link { color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.side-manager-link:hover { border-color: rgba(255,122,26,.45); box-shadow: 0 10px 24px rgba(255,122,26,.12); transform: translateY(-2px); color: inherit; }
.side-manager .side-avatar, .side-manager .side-avatar img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; background: #eef3f1;
}
.side-avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(43,181,160,.25); }
.side-avatar img { width: 100%; height: 100%; object-fit: cover; }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.side-links a { display: block; padding: .5rem .7rem; border-radius: 10px; color: var(--dark); font-size: .92rem; }
.side-links a:hover { background: #fff3e8; color: var(--orange); }

/* Gallery */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding-top: .6rem; }
.album-tile {
  position: relative; display: block; aspect-ratio: 4/3; border-radius: 22px; color: #fff; isolation: isolate;
  transition: transform .35s ease;
}
.album-stack, .album-stack::before {
  position: absolute; inset: 0; border-radius: 22px; z-index: -3; content: "";
  background: linear-gradient(135deg, #FFB347, #FF7A1A); transform: rotate(-4deg) translateY(-6px); opacity: .55;
  transition: transform .35s ease;
}
.album-stack::before { background: linear-gradient(135deg, #3ECFB8, #2BB5A0); transform: rotate(7deg); opacity: .8; }
.album-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; z-index: -2;
  box-shadow: 0 16px 36px rgba(15,31,28,.18);
}
.album-shade { position: absolute; inset: 0; border-radius: 22px; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(10,25,22,.85)); }
.album-body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.album-body strong { font-size: 1.15rem; font-weight: 800; }
.album-go {
  display: inline-flex; align-items: center; gap: .35rem; width: fit-content; font-size: .8rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  transition: background .25s ease;
}
.album-tile:hover { transform: translateY(-6px); color: #fff; }
.album-tile:hover .album-stack { transform: rotate(-7deg) translateY(-10px); }
.album-tile:hover .album-go { background: var(--orange); }
.masonry { columns: 3 260px; column-gap: 1rem; }
.masonry-item { position: relative; display: block; margin-bottom: 1rem; border-radius: 18px; overflow: hidden; break-inside: avoid; box-shadow: 0 8px 24px rgba(15,31,28,.1); }
.masonry-item img { width: 100%; transition: transform .5s ease; }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-cap { position: absolute; inset-inline: 0; bottom: 0; padding: .7rem .9rem; color: #fff; font-size: .85rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); }
.gallery-equal {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 1rem;
}
.gallery-tile {
  position: relative; display: block; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(15,31,28,.1); background: #eef5f2;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-tile:hover img { transform: scale(1.05); }
.file-drop {
  display: block; position: relative; margin-top: .35rem; cursor: pointer; overflow: hidden;
}
.file-drop-input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%;
  cursor: pointer; margin: 0; padding: 0; border: 0;
}
.file-drop-ui {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center;
  padding: 1.35rem 1rem; border: 1.5px dashed rgba(255,122,26,.45); border-radius: 18px; background: #fff8f1;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.file-drop:hover .file-drop-ui, .file-drop.is-drag .file-drop-ui {
  border-color: var(--orange); background: #fff3e8; box-shadow: 0 8px 22px rgba(255,122,26,.12);
}
.file-drop-icon { color: var(--orange); }
.file-drop-ui strong { font-size: .95rem; color: var(--deep); }
.file-drop-name { color: var(--muted); font-size: .8rem; }
.file-drop.has-file .file-drop-ui { border-style: solid; background: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,12,10,.92); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lightbox button:hover { background: var(--orange); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .lb-close { right: auto; left: 1rem; }
[dir="rtl"] .lb-prev { left: auto; right: 1rem; }
[dir="rtl"] .lb-next { right: auto; left: 1rem; }
.lb-cap { position: absolute; bottom: 1.2rem; color: #fff; opacity: .85; }

/* Footer */
.site-footer {
  position: relative; margin-top: 5rem; padding-top: 3.5rem;
  background: linear-gradient(180deg, #12352e 0%, #0b1a17 100%);
  overflow-x: hidden; max-width: 100%;
}
.footer-wave { position: absolute; top: -58px; left: 0; width: 100%; height: 60px; color: #12352e; line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; }
.footer-logo img { height: 64px; width: auto; background: #fff; border-radius: 16px; padding: .4rem .7rem; }
.footer-slogan { opacity: .85; margin: .7rem 0 .85rem; font-size: .92rem; line-height: 1.55; max-width: 28ch; }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s ease, transform .2s ease; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: .8; }
.footer-links a:hover { transform: translateX(-3px); }
[dir="ltr"] .footer-links a:hover { transform: translateX(3px); }
.footer-contact-col h4 { margin-bottom: .55rem; }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; }
.footer-contact li {
  display: flex; gap: .45rem; align-items: center; margin: 0; font-size: .86rem; line-height: 1.35;
}
.footer-contact a { font-weight: 600; color: #fff; font-size: .86rem; }
.footer-contact a:hover { color: var(--orange-2); }
.footer-contact .fc-address { align-items: flex-start; opacity: .88; font-size: .8rem; line-height: 1.45; }
.fc-icon {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(62,207,184,.12); color: var(--accent);
}
.footer-map-mini {
  display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-map-mini:hover { color: #fff; background: rgba(255,122,26,.16); border-color: rgba(255,122,26,.35); transform: translateY(-1px); }
.fmm-icon {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255,122,26,.18); color: var(--orange-2);
}
.fmm-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; flex: 1; }
.fmm-text strong { font-size: .88rem; font-weight: 700; line-height: 1.3; }
.fmm-text small { font-size: .78rem; opacity: .78; }
.fmm-text small b { color: var(--orange-2); font-weight: 800; margin-inline-end: .15rem; }
.fmm-go { opacity: .55; font-size: 1.1rem; }
.footer-bottom { align-items: center; }
.footer-credit {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-weight: 600;
}
.footer-credit:hover { background: var(--grad-orange); border-color: transparent; color: #fff; }

/* Soft minimal button (team profile etc.) */
.btn-soft {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
  color: var(--deep); background: #fff; border: 1px solid rgba(15,31,28,.12);
  box-shadow: 0 4px 14px rgba(15,31,28,.06); transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-soft:hover {
  color: var(--orange); border-color: rgba(255,122,26,.45); transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,122,26,.15);
}
.profile-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; align-items: center; }
.branch-phone { font-weight: 700; color: var(--orange); }
.branch-phone:hover { color: var(--coral); }
.branch-filters .chip.active { background: var(--grad-orange); color: #fff; border-color: transparent; }

/* Leaflet popups — site font + Persian digits */
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper.twora-leaflet-popup,
.twora-leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 16px; box-shadow: 0 14px 36px rgba(15,31,28,.18); padding: 0;
  font-family: "Vazirmatn", "IRANSans", Tahoma, sans-serif !important;
}
.twora-leaflet-popup .leaflet-popup-content {
  margin: .85rem 1rem; font-family: "Vazirmatn", "IRANSans", Tahoma, sans-serif !important;
  font-size: .9rem; line-height: 1.65; color: #12352e;
}
.twora-map-popup { text-align: right !important; direction: rtl; }
.twora-map-popup strong { display: block; font-size: .98rem; margin-bottom: .35rem; color: #0b1a17; text-align: right; }
.twora-map-popup p { margin: 0 0 .45rem; color: #4a635c; font-size: .86rem; text-align: right; }
.twora-map-popup .tmp-phone {
  display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: #ff7a1a;
  font-family: "Vazirmatn", "IRANSans", Tahoma, sans-serif !important;
}
.twora-map-popup .tmp-phone:hover { color: #ff5a5f; }
.article-hero-fig { margin: 0 0 1.4rem; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.article-hero-fig img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.article-body .inline-fig { margin: 1.2rem 0; border-radius: 18px; overflow: hidden; }
.article-body .inline-fig img { width: 100%; display: block; max-height: 360px; object-fit: cover; }
.factory-detail { max-width: 920px; }
.factory-hero-fig { margin: 0 0 1.6rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.factory-hero-fig img { width: 100%; max-height: 440px; object-fit: cover; display: block; }

/* Auth / OTP */
.auth-section { padding-top: 1.5rem; }
.auth-shell { max-width: min(480px, 100%); margin: 0 auto; }
.contact-form-shell { max-width: min(640px, 100%); }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 1.8rem 1.7rem 1.6rem;
  box-shadow: 0 18px 48px rgba(15,31,28,.1);
  background-image: radial-gradient(circle at 100% 0%, rgba(255,122,26,.08), transparent 45%);
  max-width: 100%;
  overflow: hidden;
}
.auth-card-head { margin-bottom: 1.2rem; }
.auth-badge {
  display: inline-flex; padding: .2rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 800;
  background: rgba(255,122,26,.12); color: #c45200; margin-bottom: .65rem;
}
.auth-card-head h2 { margin: 0 0 .45rem; color: var(--deep); font-size: 1.45rem; }
.auth-card-head p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.auth-form label { display: block; margin: .85rem 0 .35rem; font-weight: 700; color: var(--deep); font-size: .9rem; }
.auth-form input[type="tel"],
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="file"],
.auth-form select,
.auth-form textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px;
  font-family: inherit; font-size: 1rem; background: #fbfefe; transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus {
  outline: 0; border-color: rgba(255,122,26,.55); box-shadow: 0 0 0 4px rgba(255,122,26,.12); background: #fff;
}
.auth-input-wrap { position: relative; }
.auth-input-wrap .auth-input-icon {
  position: absolute; inset-inline-start: .9rem; top: 50%; transform: translateY(-50%); color: var(--orange); opacity: .85;
}
.auth-input-wrap input { padding-inline-start: 2.6rem; letter-spacing: .04em; font-weight: 700; }
.auth-submit { width: 100%; margin-top: 1.25rem; justify-content: center; }
.auth-back { display: block; text-align: center; margin-top: 1rem; font-weight: 600; color: var(--muted); }
.auth-back:hover { color: var(--orange); }
.otp-boxes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 1.2rem 0 .4rem;
}
.otp-digit {
  width: 100% !important; height: 64px; text-align: center; font-size: 1.55rem !important; font-weight: 800 !important;
  border-radius: 16px !important; border: 1.5px solid var(--line) !important; background: #fff7ef !important;
  color: var(--deep) !important; padding: 0 !important;
}
.otp-digit:focus {
  border-color: var(--orange) !important; box-shadow: 0 0 0 4px rgba(255,122,26,.16) !important; background: #fff !important;
}
.chip-row .chip.active { background: var(--grad-orange); color: #fff; border-color: transparent; }

/* Product detail — fixed image frame for every product */
.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.pd-media {
  position: sticky; top: 140px; width: 100%; max-width: 480px; height: 480px;
  border-radius: 28px; display: grid; place-items: center; padding: 2rem;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #eef8f5 65%, #dff2ec 100%); box-shadow: var(--shadow);
  overflow: hidden;
}
.pd-media img {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  filter: drop-shadow(0 18px 24px rgba(15,31,28,.18));
}
.pd-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.chip-orange { border-color: rgba(255,122,26,.4); color: #c45200; background: #fff5ec; }
.pd-title { margin: 0 0 .8rem; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--deep); }
.pd-price { display: inline-block; margin-top: 1rem; font-size: 1.2rem; padding: .4rem 1rem; border-radius: 12px; background: #fff5ec; color: var(--orange); }
@media (max-width: 980px) {
  .product-detail { grid-template-columns: 1fr; }
  .pd-media { position: static; max-width: 420px; height: 420px; margin: 0 auto; width: 100%; }
}

/* Responsive v2 */
@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .clinic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .hosp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .page-side { position: static; }
  .d115-videos { grid-template-columns: repeat(2, 1fr); }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip { grid-template-columns: 1fr; margin-top: -3rem; }
}
@media (max-width: 720px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-card { aspect-ratio: 3/3.6; }
  .pillar-sum { display: none; }
  .area-grid, .clinic-grid, .album-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .d115-videos { grid-template-columns: 1fr; }
  .hero-nav { display: none; }
  .hero-slide .overlay { padding-bottom: 3.5rem; }
  .pbanner-inner { padding: clamp(.85rem, 3vw, 1.5rem) 0 clamp(1.2rem, 4vw, 2rem); }
  .pbanner h1 { font-size: clamp(1.25rem, 5.5vw, 1.85rem); }
  .pbanner p { font-size: .88rem; max-width: 100%; }
  .emergency-band { padding: 1.5rem; }
  .shop-search { min-width: 0; width: 100%; }
  .chip-row {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    padding-bottom: .3rem; width: 100%; max-width: 100%;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex-shrink: 0; }
  .btn-login-text { display: none; }
  .btn-login, [dir="rtl"] .btn-login { padding: .3rem; }
  .lang-switch .flag-link .flag-code { display: none; }
  .lang-switch .flag-link { padding: 0 .4rem; }
  .dl-card { flex-wrap: wrap; }
  .auth-card { padding: 1.35rem 1.1rem 1.25rem; border-radius: 22px; }
  .pbanner-d115 h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .header-top { gap: .55rem; }
  .brand img { height: 44px; }
  .search-mini { order: 5; flex: 1 1 100%; }
  .search-mini form { width: 100%; }
  .search-mini input { flex: 1; width: 100%; min-width: 0; }
  .partners a { width: 140px; height: 84px; }
  .partner-slide { width: 140px; height: 78px; }
  .pc-media { height: 200px; flex-basis: 200px; }
  .pd-media { height: 300px; }
  .tab-buttons { display: flex; width: 100%; }
  .tab-btn { flex: 1; justify-content: center; padding: .55rem .6rem; }
}
@media (max-width: 420px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { aspect-ratio: 16/10; }
  .hosp-stats-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
}
