/* ============================================================
   Dr Serhan Drug Store — main stylesheet
   Breakpoints: ≤699px phone · 700–1039px tablet · ≥1040px desktop
   Works for both LTR (en) and RTL (ar) via logical properties.
   ============================================================ */

:root {
  --green-900: #123a1f;
  --green-700: #2e7d32;
  --green-600: #3d9140;
  --green-500: #4fa64f;
  /* darker than the original #72c13e for WCAG AA contrast on white */
  --green-accent: #4e9426;
  --ink: #1f2a22;
  --ink-soft: #4b564d;
  --ink-muted: #5f6b63;
  --ink-faint: #8b978d;
  --line: #e6eae6;
  --line-soft: #edf0ed;
  --bg-soft: #f5f7f5;
  --bg-section: #f6f8f6;
  --radius-card: 16px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --header-h: 132px; /* logo row + nav row, desktop */
}

html[lang="ar"] {
  --font-head: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }

input, textarea, button, select { font-family: inherit; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--green-600) !important;
  box-shadow: 0 0 0 3px rgba(61, 145, 64, .12);
}
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid rgba(61, 145, 64, .4);
  outline-offset: 3px;
}
::placeholder { color: #7e8b80; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

.skip-link {
  position: absolute; inset-inline-start: 8px; top: -48px; z-index: 2000;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-head); font-size: 14px; transition: top .15s;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #ecefec;
  box-shadow: 0 10px 30px -28px rgba(31, 42, 34, .55);
}

.header-top {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 28px);
  padding-block: 10px; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 58px; height: 58px; object-fit: contain; display: block; }
.brand-name { line-height: 1.05; }
.brand-name .brand-main {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 19px; letter-spacing: .5px; color: #333a3f;
}
.brand-name .brand-sub {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: 3.5px; color: var(--green-accent);
}
html[lang="ar"] .brand-name .brand-sub { letter-spacing: 1px; }

.header-search {
  flex: 1 1 280px; min-width: 0; display: flex; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; padding-inline-start: 18px; max-width: 560px;
}
.header-search input {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-size: 14.5px; color: var(--ink); padding: 8px 8px 8px 0;
}
.header-search button {
  width: 40px; height: 40px; flex-shrink: 0; border: none; border-radius: 50%;
  background: var(--green-600); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.header-search button:hover { background: var(--green-700); }

.header-call { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-call .icon-bubble {
  width: 38px; height: 38px; border-radius: 50%;
  background: #eaf3ea; color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
}
.header-call .call-label { display: block; font-size: 11.5px; color: var(--ink-muted); }
.header-call .call-number {
  display: block; font-size: 14.5px; font-weight: 700; color: var(--ink);
  direction: ltr; unicode-bidi: embed;
}

.lang-switch {
  flex-shrink: 0; font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px;
  color: var(--ink); background: #fff; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--green-600); color: var(--green-700); }

.header-nav-row { border-top: 1px solid #f0f2f0; }
.header-nav-row .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-nav { display: flex; align-items: center; gap: clamp(2px, 1vw, 6px); }
.site-nav a {
  position: relative; padding: 16px 14px;
  font-family: var(--font-head); font-size: 14.5px; font-weight: 600;
  color: var(--ink); white-space: nowrap; transition: color .18s;
}
.site-nav a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 8px; height: 2.5px;
  border-radius: 2px; background: var(--green-600);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .22s ease;
}
.site-nav a:hover { color: var(--green-700); }
.site-nav a[aria-current="true"] { color: var(--green-700); font-weight: 700; }
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

.nav-call {
  display: flex; align-items: center; gap: 8px; padding: 14px 0;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--green-700); flex-shrink: 0; white-space: nowrap;
}

/* ============ HAMBURGER BUTTON ============ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5.5px;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); cursor: pointer; padding: 10px;
  flex-shrink: 0; transition: background .15s, border-color .15s;
}
.hamburger:hover { background: #eaf3ea; border-color: var(--green-600); }
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}

/* ============ NAV DRAWER ============ */
.nav-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(18, 28, 20, .5);
  z-index: 1500;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s;
}
.nav-drawer-overlay.is-open { display: block; opacity: 1; }

.nav-drawer {
  position: fixed;
  top: 0; bottom: 0;
  right: 0;
  width: min(320px, 88vw);
  background: #fff;
  z-index: 1600;
  display: flex; flex-direction: column;
  box-shadow: -12px 0 50px rgba(18, 28, 20, .16);
  transform: translateX(110%);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
html[dir="rtl"] .nav-drawer {
  right: auto;
  left: 0;
  box-shadow: 12px 0 50px rgba(18, 28, 20, .16);
  transform: translateX(-110%);
}
.nav-drawer.is-open { transform: translateX(0); }
html[dir="rtl"] .nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 16px; border-bottom: 1px solid var(--line-soft);
}
.nav-drawer-head .brand img { width: 46px; height: 46px; }

.drawer-close {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); transition: background .15s, color .15s;
}
.drawer-close:hover { background: #fde8e8; color: #c0392b; border-color: #f5c0b8; }

.nav-drawer-links {
  display: flex; flex-direction: column;
  padding: 12px 12px; gap: 4px; flex: 1;
}
.nav-drawer-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  color: var(--ink); transition: background .15s, color .15s;
}
.nav-drawer-links a svg { flex-shrink: 0; color: var(--ink-faint); transition: color .15s; }
.nav-drawer-links a:hover { background: var(--bg-soft); color: var(--green-700); }
.nav-drawer-links a:hover svg { color: var(--green-600); }
.nav-drawer-links a[aria-current="true"] {
  background: #eef5ee; color: var(--green-700); font-weight: 700;
}
.nav-drawer-links a[aria-current="true"] svg { color: var(--green-600); }

.nav-drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 10px;
}
.drawer-call {
  display: flex; align-items: center; gap: 12px;
  background: #eaf3ea; border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--green-700);
}
.drawer-call svg { flex-shrink: 0; }
.drawer-call:hover { background: #d6ecda; color: var(--green-900); }
.drawer-lang-switch {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--ink); text-align: center;
}
.drawer-lang-switch:hover { border-color: var(--green-600); color: var(--green-700); }

/* ============ HERO ============ */
.hero-section { padding-top: clamp(14px, 3vw, 32px); }
.hero {
  position: relative; border-radius: 20px; overflow: hidden;
  min-height: clamp(360px, 44vw, 520px); display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 70%);
}
html[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 70%);
}
html[dir="rtl"] .hero-bg { object-position: 30% center; }
.hero-content { position: relative; z-index: 2; max-width: 560px; padding: clamp(24px, 5vw, 56px); }
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(32px, 5.4vw, 58px); line-height: 1.08;
}
.hero h1 .line-1 { display: block; color: var(--ink); }
.hero h1 .line-2 { display: block; color: var(--green-600); }
.hero p {
  margin-top: clamp(14px, 2vw, 20px); font-size: clamp(14.5px, 1.6vw, 17px);
  line-height: 1.6; color: var(--ink-soft); max-width: 430px;
}
.hero-actions { margin-top: clamp(18px, 2.6vw, 26px); display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 10px; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--green-600); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(61, 145, 64, .6);
}
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 1.5px solid #dfe4df; }
.btn-secondary:hover { border-color: var(--green-600); color: var(--green-700); }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }

.hero-badges {
  margin-top: clamp(14px, 2vw, 18px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 14px);
}
.hero-badge {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid #e4ebe4; border-radius: 14px;
  padding: clamp(10px, 1.6vw, 15px) clamp(10px, 1.8vw, 16px);
  box-shadow: 0 16px 34px -30px rgba(31, 42, 34, .55);
}
.hero-badge svg { color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
.hero-badge .badge-title {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(12px, 1.3vw, 13.5px); color: var(--ink);
}
.hero-badge .badge-sub { display: block; font-size: clamp(11px, 1.2vw, 12.5px); color: var(--ink-muted); line-height: 1.35; }

/* ============ SECTION HEADERS ============ */
.section { padding-top: clamp(48px, 6vw, 76px); }
.section-intro { text-align: center; max-width: 680px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 10px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.section-intro h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); color: var(--ink); }
.section-intro p { margin-top: 12px; font-size: 15px; color: var(--ink-muted); line-height: 1.6; }

/* ============ PRODUCTS ============ */
.products-toolbar {
  margin-top: 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.product-search {
  display: flex; align-items: center; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 2px 4px; padding-inline-start: 14px;
  flex: 1; min-width: 220px; max-width: 360px;
}
.product-search svg { color: var(--ink-faint); flex-shrink: 0; }
.product-search input {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-size: 14px; color: var(--ink); padding: 9px 10px;
}
.toolbar-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.segmented { display: flex; gap: 4px; background: #f2f5f2; border-radius: 10px; padding: 4px; }
.segmented button {
  border: none; cursor: pointer; font-family: var(--font-head);
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 7px;
  color: var(--ink-muted); background: transparent; transition: .15s;
}
.segmented button[aria-pressed="true"] {
  color: var(--green-700); background: #fff;
  box-shadow: 0 2px 6px -2px rgba(31, 42, 34, .35);
}
.sort-select {
  border: 1px solid #e0e5e0; background: #fff; border-radius: 10px;
  padding: 9px 12px; font-family: var(--font-head); font-size: 13px;
  font-weight: 600; color: var(--ink); cursor: pointer;
}
.product-count { margin-top: 16px; font-size: 13px; color: var(--ink-faint); font-family: var(--font-head); font-weight: 600; }

.product-grid {
  margin-top: 12px; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.product-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; transition: .18s;
}
.product-card:hover {
  box-shadow: 0 18px 38px -26px rgba(31, 42, 34, .55);
  transform: translateY(-3px); border-color: #dfeadf;
}
.product-media {
  aspect-ratio: 16 / 10; flex-shrink: 0;
  background: repeating-linear-gradient(45deg, #f2f5f2, #f2f5f2 11px, #ecf1ec 11px, #ecf1ec 22px);
  display: flex; align-items: center; justify-content: center; color: #a7b3a8;
}
.product-body { padding: 15px 17px; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; flex-wrap: wrap; }
.pill {
  background: #eef5ee; color: var(--green-700); font-family: var(--font-head);
  font-weight: 700; font-size: 10.5px; letter-spacing: .4px;
  padding: 4px 9px; border-radius: 999px;
}
.product-pack { font-size: 11.5px; color: var(--ink-faint); font-family: var(--font-head); font-weight: 600; }
.product-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink); }
.product-desc { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-muted); }
.product-brand {
  margin-top: auto; padding-top: 12px; font-family: var(--font-head); font-weight: 700;
  font-size: 11.5px; letter-spacing: .4px; color: var(--green-accent); text-transform: uppercase;
}
.no-results { display: none; text-align: center; padding: 48px 0; color: var(--ink-faint); font-family: var(--font-head); font-weight: 600; font-size: 15px; }

/* ============ WHY US ============ */
.why-wrap {
  background: linear-gradient(150deg, #f3f8f2 0%, #eef5ec 55%, #e9f3e6 100%);
  border: 1px solid #e2ede0; border-radius: 26px; padding: clamp(26px, 4vw, 52px);
}
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(26px, 4vw, 52px); align-items: center;
}
.why-copy h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.18; color: var(--ink); }
.why-copy h2 .hl { color: var(--green-600); }
.why-copy > p { margin-top: 16px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); max-width: 440px; }
.reason-grid {
  margin-top: 28px; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.reason-card {
  background: #fff; border: 1px solid #e6efe4; border-radius: 16px;
  padding: 20px 16px; text-align: center;
  box-shadow: 0 10px 26px -22px rgba(31, 42, 34, .5);
}
.reason-card .chip {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px;
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.reason-card .r-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.3; }
.reason-card .r-sub { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 5px; line-height: 1.45; }

.why-panel {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(155deg, var(--green-700) 0%, var(--green-600) 60%, var(--green-500) 100%);
  padding: clamp(24px, 3vw, 40px); display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 30px 60px -40px rgba(46, 125, 50, .9);
}
.why-panel::before {
  content: ""; position: absolute; inset-inline-end: -40px; top: -40px;
  width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.photo-slot {
  flex: 1; min-width: 140px; max-width: 240px; aspect-ratio: 3 / 4; border-radius: 16px;
  background: rgba(255, 255, 255, .12); border: 1px dashed rgba(255, 255, 255, .4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255, 255, 255, .75); position: relative;
}
.photo-slot span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11px; }
.why-panel-copy { flex: 1.4; min-width: 200px; position: relative; }
.why-panel-copy h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; color: #fff; }
.why-panel-copy h3 .hl { color: #d6f0c9; }
.why-panel-copy p { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.signature { margin-top: 18px; font-family: 'Dancing Script', cursive; font-size: 28px; color: #eafce0; }
html[lang="ar"] .signature { font-family: var(--font-head); font-weight: 700; font-size: 20px; }

/* ============ ABOUT / TEAM ============ */
.about-section { background: var(--bg-section); margin-top: clamp(48px, 6vw, 76px); padding-block: clamp(48px, 6vw, 76px); }
.about-lede { max-width: 720px; margin: 0 auto; text-align: center; }
.about-lede h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); line-height: 1.18; }
.about-lede p { margin-top: 18px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.team-head { text-align: center; margin-top: clamp(36px, 5vw, 54px); }
.team-head h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); color: var(--ink); margin-bottom: 8px; }
.team-head p { font-size: 14px; color: var(--ink-muted); margin-bottom: 30px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: clamp(14px, 2vw, 26px); }
.team-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 18px;
  overflow: hidden; text-align: center; padding-bottom: 20px; transition: .18s;
}
.team-card:hover { box-shadow: 0 18px 40px -28px rgba(31, 42, 34, .5); transform: translateY(-3px); }
.team-photo {
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(45deg, #eef2ee, #eef2ee 11px, #e7ede7 11px, #e7ede7 22px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--ink-faint);
}
.team-photo span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 10.5px; }
.team-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); margin-top: 15px; }
.team-role { display: block; font-size: 13px; color: var(--green-700); font-weight: 600; margin-top: 3px; }

/* ============ CONTACT ============ */
.contact-section { padding-block: clamp(48px, 6vw, 76px); }
.contact-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 22px;
  padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 60px -50px rgba(31, 42, 34, .6);
}
.contact-card > h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); color: var(--ink); }
.contact-card > p { margin-top: 8px; font-size: 15px; color: var(--ink-muted); }
.contact-grid {
  margin-top: 30px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(26px, 4vw, 48px);
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.contact-form label { display: block; }
.contact-form .field-label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #e3e8e3;
  border-radius: 10px; font-size: 14.5px; background: #fbfcfb;
}
.contact-form textarea { resize: vertical; }
.field-full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-faint); margin-top: -6px; }
.contact-info {
  background: var(--bg-section); border-radius: 16px;
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 24px;
}
.contact-info-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-row .icon-bubble {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: #eaf3ea; color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-row .info-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.contact-info-row .info-value { display: block; font-size: 13.5px; color: var(--ink-soft); white-space: pre-line; line-height: 1.55; }
.contact-info-row .info-value.ltr { direction: ltr; unicode-bidi: embed; }
html[dir="rtl"] .contact-info-row .info-value.ltr { text-align: end; }

/* ============ FOOTER ============ */
.site-footer { background: var(--green-900); color: #c7d6c9; margin-top: clamp(24px, 4vw, 40px); }
.footer-grid {
  padding-block: clamp(44px, 5vw, 64px) 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(28px, 3vw, 44px);
}
.footer-brand .brand img { width: 58px; height: 58px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .18)); }
.footer-brand .brand-main { color: #fff; font-size: 17px; }
.footer-brand .brand-sub { color: #8fd992; }
.footer-brand p { margin-top: 18px; font-size: 14px; line-height: 1.6; color: #a9bdac; max-width: 280px; }
.footer-col-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #a9bdac; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-size: 14px; color: #a9bdac; line-height: 1.7; }
.footer-contact a { color: #cfe3d1; }
.footer-contact a:hover { color: #fff; }
.footer-contact .ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { padding-block: 20px; font-size: 13px; color: #8fa793; }

/* ============ MOBILE / TABLET ============ */
@media (max-width: 1039px) {
  :root { --header-h: 76px; } /* nav row replaced by drawer */

  .header-top { min-height: 68px; padding-block: 8px; }
  .brand img { width: 52px; height: 52px; }
  .brand-name { display: none; }
  .header-call { display: none; }
  .nav-call { display: none; }
  .lang-switch { display: none; }   /* lives in drawer on mobile */
  .header-nav-row { display: none; } /* replaced entirely by drawer */
  .hamburger { display: flex; }

  .hero { min-height: auto; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 56%, rgba(255,255,255,.34) 100%);
  }
  html[dir="rtl"] .hero-overlay {
    background: linear-gradient(270deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 56%, rgba(255,255,255,.34) 100%);
  }
  .hero-content { max-width: 460px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { padding: 12px 13px; }
  .product-title { font-size: 13.5px; }
  .product-desc { font-size: 12px; }
  .product-search { max-width: 100%; }

  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { grid-template-columns: 1fr; }
}

@media (min-width: 700px) and (max-width: 1039px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-name { display: block; }
}

@media (max-width: 420px) {
  .header-search input { font-size: 13px; }
  .hero h1 { font-size: 34px; }
  .hero-badges { gap: 8px; }
  .hero-badge { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card, .team-card, .nav-drawer, .nav-drawer-overlay { transition: none; }
}
