/*
Theme Name: Magic Pharma
Description: ثيم ماجيك فارما - ACF Free — v7.0 Enhanced
Version: 7.0.0
Text Domain: magic-pharma
*/

/* ══════════════════════════════
   VARIABLES
══════════════════════════════ */
:root {
  --green:        #2e7d45;
  --green-dark:   #1a4d2a;
  --green-mid:    #3d9455;
  --green-light:  #5cb870;
  --green-pale:   #a3d4ae;
  --green-bg:     #edf7f0;
  --green-xbg:    #f4fbf6;
  --white:        #ffffff;
  --light:        #f8faf9;
  --gray:         #5a6b60;
  --gray-light:   #8a9e92;
  --dark:         #142418;
  --text:         #2a3a2f;
  --border:       #d6eadb;
  --shadow:       0 2px 16px rgba(30,77,43,.08);
  --shadow-md:    0 6px 28px rgba(30,77,43,.12);
  --shadow-lg:    0 16px 56px rgba(30,77,43,.18);
  --r:    14px;
  --r-sm: 8px;
  --r-xs: 4px;
  --tr:   all .28s cubic-bezier(.4,0,.2,1);
  --fh:   'Cairo',   sans-serif;
  --fb:   'Tajawal', sans-serif;
}

/* ══════════════════════════════
   RESET
══════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  color: var(--text);
  direction: rtl;
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: var(--tr); }
ul   { list-style: none; }

/* ══════════════════════════════
   UTILITIES
══════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.sec-head { text-align: center; margin-bottom: 52px; }
.sec-title {
  font-family: var(--fh);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--dark);
  display: inline-block;
  letter-spacing: -.02em;
}
.sec-title::after {
  content: '';
  display: block;
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  margin: 12px auto 0;
  border-radius: 4px;
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-sm);
  font-family: var(--fh); font-weight: 700; font-size: .93rem;
  cursor: pointer; transition: var(--tr); border: 2px solid transparent;
  letter-spacing: .01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(46,125,69,.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,125,69,.40);
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green) 100%);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 9px 20px; font-size: .84rem; }

/* زر الهيرو — أصغر من الـ btn العادي وعرض طبيعي */
.hero-body .btn {
  padding: 10px 24px;
  font-size: .87rem;
  align-self: flex-start;   /* يمنع امتداد العرض لـ 100% */
}

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
#mp-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-direction: row-reverse;
  padding: 12px 32px; max-width: 1280px; margin: 0 auto;
}
.site-logo img { height: 56px; width: auto; }
.logo-txt { font-family: var(--fh); font-size: 1.3rem; font-weight: 900; color: var(--dark); }

.main-nav ul {
  display: flex; align-items: center; gap: 2px;
  flex-direction: row;
}
.main-nav a {
  font-size: .9rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-sm);
  color: var(--text); display: block;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute; bottom: 4px; right: 50%; left: 50%;
  height: 2px; background: var(--green);
  border-radius: 2px;
  transition: right .25s ease, left .25s ease;
}
.main-nav a:hover::after,
.main-nav .current-menu-item a::after { right: 14%; left: 14%; }
.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--green); }

.main-nav .menu-cta a {
  background: linear-gradient(135deg, var(--green), var(--green-dark)) !important;
  color: #fff !important;
  border-radius: var(--r-sm);
  box-shadow: 0 3px 14px rgba(46,125,69,.28);
}
.main-nav .menu-cta a::after { display: none; }
.main-nav .menu-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(46,125,69,.38) !important;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: var(--tr);
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.mp-hero {
  overflow: hidden;
  background: var(--green-xbg);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  align-items: stretch;
}

/* عمود الصورة — يسار */
.hero-media { position: relative; overflow: hidden; order: 2; }
.hero-media img {
  width: 100%; height: 100%; min-height: 560px;
  object-fit: cover; display: block;
  transition: transform 8s ease;
}
.hero-media:hover img { transform: scale(1.03); }

/* شريط أخضر عمودي فاصل — جهة اليمين الآن */
.hero-media::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 5px; height: 100%;
  background: linear-gradient(180deg, var(--green-light), var(--green-dark));
  z-index: 2;
}

.hero-ph {
  background: var(--green-bg);
  width: 100%; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-mid); font-family: var(--fh); text-align: center; padding: 20px;
}

/* نقاط السلايدر */
.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer; transition: var(--tr);
  border: 2px solid rgba(255,255,255,.6);
}
.hero-dots span.active {
  background: #fff; width: 28px; border-radius: 4px;
}

/* عمود النص — يمين */
.hero-body {
  padding: 68px 40px 68px 56px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, var(--green-xbg) 60%, #fff 100%);
  position: relative; overflow: hidden;
  order: 1;
}

/* خلفية هندسية خفيفة */
.hero-body::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(92,184,112,.12) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(46,125,69,.08) 0%, transparent 50%);
  pointer-events: none;
}

/* ورقة زينة */
.hero-body::after {
  content: '';
  position: absolute; top: -8px; left: -8px;
  width: 110px; height: 160px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150'%3E%3Cpath d='M50 8 Q90 45 78 95 Q60 135 25 145 Q5 120 12 78 Q20 35 50 8Z' fill='%23a3d4ae' opacity='0.4'/%3E%3Cpath d='M50 8 Q48 78 25 145' stroke='%235cb870' stroke-width='1.5' fill='none' opacity='0.5'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  transform: rotate(8deg);
}
.hero-body .hero-leaf-bl {
  position: absolute; bottom: -12px; right: 8px;
  width: 120px; height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 80'%3E%3Cpath d='M8 72 Q55 5 102 18 Q80 65 8 72Z' fill='%23a3d4ae' opacity='0.35'/%3E%3Cpath d='M8 72 Q55 38 102 18' stroke='%235cb870' stroke-width='1.5' fill='none' opacity='0.45'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  transform: rotate(-18deg);
}

.hero-tag {
  font-family: var(--fh); font-size: 1rem; font-weight: 700;
  color: var(--green);
  margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px;
  position: relative; z-index: 1;
}
.hero-tag::before {
  content: '';
  display: inline-block; width: 28px; height: 3px;
  background: var(--green); border-radius: 3px;
}

.hero-body h1 {
  font-family: var(--fh);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900; color: var(--dark);
  line-height: 1.18; margin-bottom: 18px;
  letter-spacing: -.03em;
  position: relative; z-index: 1;
}
.hero-sub-title {
  display: block;
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  color: var(--green);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-body > p {
  color: var(--gray);
  font-size: .97rem;
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 100%;
  position: relative; z-index: 1;
}

/* ══════════════════════════════
   FEATURES
══════════════════════════════ */
.mp-features { padding: 72px 0; background: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feat-card {
  text-align: center; padding: 38px 24px 34px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--tr);
  position: relative; overflow: hidden;
}
/* شريط علوي أخضر عند الـ hover */
.feat-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: right;
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-pale);
}

.feat-ico {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: var(--tr);
  border: 2px solid transparent;
}
.feat-card:hover .feat-ico {
  background: var(--green);
  border-color: var(--green-dark);
  transform: scale(1.08);
}
.feat-card:hover .feat-ico svg { stroke: #fff; }
.feat-ico svg { width: 30px; height: 30px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: var(--tr); }
.feat-card h3 { font-family: var(--fh); font-size: 1.07rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.feat-card p  { font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.mp-about { padding: 90px 0; background: var(--light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-media { position: relative; order: 1; }
.about-media img {
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover;
  position: relative; z-index: 1;
  transition: transform .5s ease;
}
.about-media:hover img { transform: scale(1.02); }

/* إطار نقطي */
.about-media::before {
  content: '';
  position: absolute; top: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 3px dashed var(--green-pale);
  border-radius: var(--r); z-index: 0;
  transition: border-color .3s;
}
.about-media:hover::before { border-color: var(--green-light); }

/* شريط أخضر أسفل */
.about-media::after {
  content: '';
  position: absolute; bottom: -6px; left: -6px;
  width: 50%; height: 6px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 3px; z-index: 2;
}

.about-body { order: 2; }
.about-body .about-label {
  display: inline-block;
  font-family: var(--fh); font-size: .82rem; font-weight: 700;
  color: var(--green); background: var(--green-bg);
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.about-body h2 {
  font-family: var(--fh); font-size: 1.95rem; font-weight: 800;
  color: var(--dark); margin-bottom: 18px;
  letter-spacing: -.025em; line-height: 1.25;
}
.about-body .abt-txt {
  color: var(--gray); line-height: 1.9;
  margin-bottom: 28px; font-size: .97rem;
}

/* ══════════════════════════════
   PRODUCTS — كروت الأقسام
══════════════════════════════ */
.mp-products { padding: 90px 0; background: #fff; }

/* شبكة 4 كروت متساوية */
.prod-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* الكارت كاملة كـ <a> */
.prod-cat-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--tr);
  aspect-ratio: 3/4;       /* نسبة ثابتة تعطي شكل بورتريه أنيق */
  background: var(--green-bg);
}
.prod-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* الصورة تملأ الكارت كاملاً */
.prod-cat-img {
  position: absolute; inset: 0;
}
.prod-cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  display: block;
}
.prod-cat-card:hover .prod-cat-img img { transform: scale(1.08); }

/* placeholder لو مفيش صورة */
.prod-cat-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-bg), var(--green-xbg));
}
.prod-cat-ph svg { width: 56px; height: 56px; stroke: var(--green-pale); fill: none; stroke-width: 1.5; }

/* overlay تدرجي من شفاف لداكن من أسفل */
.prod-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    transparent          20%,
    rgba(10,35,15,.25)   55%,
    rgba(10,35,15,.82)  100%
  );
  transition: opacity .35s;
}
.prod-cat-card:hover .prod-cat-overlay {
  background: linear-gradient(
    180deg,
    transparent          10%,
    rgba(10,35,15,.35)   50%,
    rgba(10,35,15,.90)  100%
  );
}

/* النص فوق الـ overlay */
.prod-cat-body {
  position: absolute; bottom: 0; right: 0; left: 0;
  padding: 28px 22px 24px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(0);
  transition: var(--tr);
}

.prod-cat-name {
  font-family: var(--fh);
  font-size: 1.15rem; font-weight: 800;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.prod-cat-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .35s ease;
}
.prod-cat-card:hover .prod-cat-desc {
  max-height: 60px;
  opacity: 1;
}

/* زر "عرض المنتجات" يظهر عند الـ hover */
.prod-cat-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: .83rem; font-weight: 700;
  color: var(--green-pale);
  margin-top: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.prod-cat-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; flex-shrink: 0; }
.prod-cat-card:hover .prod-cat-cta {
  opacity: 1;
  transform: translateY(0);
}

/* رقم الكارت — زاوية علوية يسار */
.prod-cat-card::before {
  content: counter(prod-counter, decimal-leading-zero);
  counter-increment: prod-counter;
  position: absolute; top: 16px; left: 16px;
  font-family: var(--fh); font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(4px);
  padding: 3px 9px; border-radius: 20px;
  z-index: 3;
}
.prod-cats-grid { counter-reset: prod-counter; }

/* placeholder للأدمن */
.prod-cats-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  border: 2px dashed var(--border);
  border-radius: var(--r);
  color: var(--gray);
}
.prod-cats-placeholder svg {
  width: 52px; height: 52px; stroke: var(--green-pale);
  fill: none; margin: 0 auto 18px;
}
.prod-cats-placeholder p { font-size: .95rem; margin-bottom: 6px; }
.prod-cats-placeholder small { font-size: .82rem; opacity: .7; }

.prod-cta { text-align: center; margin-top: 44px; }

/* ══════════════════════════════
   EXHIBITIONS
══════════════════════════════ */
.mp-exh { padding: 90px 0; background: var(--light); }
.exh-outer { overflow: hidden; margin-top: 10px; border-radius: var(--r); }
.exh-track { display: flex; gap: 16px; transition: transform .42s cubic-bezier(.4,0,.2,1); }
.exh-slide {
  flex: 0 0 calc(25% - 12px);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--tr);
}
.exh-slide:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.exh-slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; display: block; }
.exh-slide:hover img { transform: scale(1.06); }

.exh-nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.exh-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--green); background: transparent;
  cursor: pointer; font-size: 1rem; transition: var(--tr);
  display: flex; align-items: center; justify-content: center; color: var(--green);
}
.exh-btn:hover {
  background: var(--green);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(46,125,69,.3);
}
.exh-more { text-align: center; margin-top: 28px; }

/* ══════════════════════════════
   CERTIFICATES
══════════════════════════════ */
.mp-certs { padding: 80px 0; background: #fff; }
.certs-row {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; flex-wrap: wrap; margin-top: 44px;
}
.cert-chip {
  text-align: center; padding: 24px 20px;
  border-radius: var(--r); border: 1px solid var(--border);
  transition: var(--tr); min-width: 120px;
  background: #fff; position: relative; overflow: hidden;
}
.cert-chip::before {
  content: '';
  position: absolute; bottom: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: transform .3s ease;
}
.cert-chip:hover::before { transform: scaleX(1); }
.cert-chip:hover {
  border-color: var(--green-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.cert-chip img { height: 56px; width: auto; margin: 0 auto 12px; object-fit: contain; }
.cert-chip span {
  font-family: var(--fh); font-size: .8rem; font-weight: 700;
  color: var(--dark); display: block;
}

/* ══════════════════════════════
   STATS — خلفية صورة
══════════════════════════════ */
.mp-stats {
  padding: 80px 0;
  position: relative;
  background: url('demo-images/stats-bg.jpg') center/cover no-repeat;
}
.mp-stats::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,45,22,.88) 0%, rgba(30,75,45,.82) 100%);
}
.mp-stats .container { position: relative; z-index: 1; }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-box { padding: 28px 20px; position: relative; }

/* فاصل رأسي بين الأرقام */
.stat-box:not(:last-child)::after {
  content: '';
  position: absolute; top: 20%; left: 0;
  width: 1px; height: 60%;
  background: rgba(255,255,255,.18);
}

.stat-ico {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: var(--tr);
}
.stat-box:hover .stat-ico {
  background: rgba(255,255,255,.2);
  transform: scale(1.08);
}
.stat-ico svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }

.stat-num {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 900; color: #fff;
  line-height: 1; margin-bottom: 10px;
  letter-spacing: -.03em;
}
.stat-lbl { font-size: .92rem; color: rgba(255,255,255,.8); font-weight: 500; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
#mp-footer {
  background: var(--green-dark);
  color: #fff;
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
/* خلفية زخرفية للفوتر */
#mp-footer::before {
  content: '';
  position: absolute; top: -80px; left: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(92,184,112,.06);
  pointer-events: none;
}
#mp-footer::after {
  content: '';
  position: absolute; bottom: 60px; right: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(92,184,112,.05);
  pointer-events: none;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative; z-index: 1;
}
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.foot-brand img { height: 48px; width: auto; }
.foot-brand-name { font-family: var(--fh); font-size: 1.2rem; font-weight: 900; color: #fff; }
.foot-about p { font-size: .88rem; opacity: .72; line-height: 1.8; margin-bottom: 20px; }

.foot-col h4 {
  font-family: var(--fh); font-size: .88rem; font-weight: 700;
  color: var(--green-pale); margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .06em;
}
.foot-links li { margin-bottom: 10px; }
.foot-links a {
  font-size: .88rem; opacity: .72; transition: var(--tr);
  display: flex; align-items: center; gap: 6px;
}
.foot-links a::before {
  content: '›';
  font-size: 1rem; color: var(--green-pale);
  transition: transform .2s;
  display: inline-block;
}
.foot-links a:hover {
  opacity: 1; color: var(--green-pale);
  padding-right: 4px;
}
.foot-links a:hover::before { transform: translateX(-3px); }

.foot-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: .88rem; opacity: .8;
}
.foot-contact svg {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: var(--green-pale); fill: none; stroke-width: 2; margin-top: 3px;
}

.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr);
}
.socials a:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.socials svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2; }

.foot-btm {
  padding: 20px 0; text-align: center;
  font-size: .82rem; opacity: .5;
  position: relative; z-index: 1;
}

/* ══════════════════════════════
   BACK TO TOP
══════════════════════════════ */
#mp-btt {
  position: fixed; bottom: 30px; left: 30px;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(46,125,69,.4);
  transition: var(--tr);
  opacity: 0; pointer-events: none; z-index: 998;
}
#mp-btt.show { opacity: 1; pointer-events: all; }
#mp-btt:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(46,125,69,.5);
}
#mp-btt svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ══════════════════════════════
   PAGE BANNER
══════════════════════════════ */
.mp-banner {
  background: linear-gradient(160deg, var(--green-xbg) 0%, #fff 100%);
  padding: 64px 0; text-align: center;
  border-bottom: 1px solid var(--border);
}
.mp-banner h1 {
  font-family: var(--fh); font-size: 2.2rem; font-weight: 800;
  color: var(--dark); letter-spacing: -.025em;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width:1100px){
  .prod-cats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .prod-cat-card  { aspect-ratio: 4/3; }
  .exh-slide { flex: 0 0 calc(33.33% - 11px); }
  .hero-body { padding: 52px 40px 52px 28px; }
  .about-grid { gap: 48px; }
}
@media(max-width:900px){
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img, .hero-ph { min-height: 320px; }
  .hero-media::after { display: none; }
  .hero-body { padding: 48px 30px; order: 1; }
  .hero-media { order: 2; }
  .hero-body::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-media { order: 1; }
  .about-body  { order: 2; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-box:not(:last-child)::after { display: none; }
  .foot-grid  { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px){
  .main-nav {
    display: none; width: 100%; background: #fff;
    border-top: 1px solid var(--border); padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .hdr-inner { flex-wrap: wrap; padding: 12px 20px; }
  .prod-cats-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .prod-cat-card  { aspect-ratio: 1/1; }
  .prod-cat-name  { font-size: 1rem; }
  .exh-slide { flex: 0 0 calc(50% - 8px); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-body { padding: 38px 22px; }
  .container { padding: 0 20px; }
}
@media(max-width:480px){
  .feat-grid  { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .certs-row  { gap: 14px; }
  .cert-chip  { min-width: 100px; padding: 18px 14px; }
}