/* ══════════════════════════════════════════════
   Light Theme  –  Pooyesh Darou / Ozytide
   ══════════════════════════════════════════════ */

:root {
  --g-header: #366931; /* header bg                                  */
  --g-mid: #3e8042; /* medium green – titles, icons, accents      */
  --g-dark: #1d4e2b; /* dark green   – footer                      */
  --g-foot-b: #205422; /* footer-bottom bar                          */
  --g-soft: #f2f7f3; /* near-white green tint – alternate sections */
  --txt: #1a2a1e;
  --txt2: #4e6657;
  --line: rgba(62, 128, 66, 0.15);
  --sh-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
  --sh-md: 0 4px 24px rgba(0, 0, 0, 0.11);
}

html {
  overflow-x: clip;
}

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

body {
  font-family: "IranSans", "Vazirmatn", Tahoma, sans-serif;
  background: #fff;
  color: var(--txt);
  direction: rtl;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Scroll Reveal ───────────────────────────── */
.l-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.l-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.l-sec-title {
  color: var(--g-mid);
  font-size: 1.35rem;
  font-weight: 800;
  display: inline-block;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--g-mid);
  margin-bottom: 20px;
}

/* ── Header ──────────────────────────────────── */
.l-header {
  background: var(--g-header);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 200;
}
.l-menu-container {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.l-logo {
  width: 180px;
  max-width: clamp(120px, 40vw, 180px);
  height: auto;
  flex-shrink: 0;
}

.l-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
}
.l-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s;
}
.l-nav a:hover {
  border-bottom-color: #e07918;
  border-radius: 0;
}
.l-nav--lg a {
  font-size: 1.05rem;
  padding: 6px 16px;
}
.l-nav--center a {
  font-size: 1.05rem;
  padding: 6px 20px;
}

.l-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  margin-right: 8px;
}
.l-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.l-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.l-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.l-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Slider ─────────────────────────────── */
.l-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  overflow: hidden;
  background: #1b3a22;
}
.l-hero-track {
  display: flex;
  height: 100%;
  direction: ltr;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.l-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}
.l-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.l-hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.82);
  color: var(--g-mid);
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition:
    background 0.2s,
    transform 0.2s;
}
.l-hero-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}
.l-hero-btn.prev {
  right: 16px;
}
.l-hero-btn.next {
  left: 16px;
}

/* ── Audience (Values) ───────────────────────── */
.l-values-wrap {
  background: transparent;
  position: relative;
  z-index: 2;
  margin-top: -80px;
  padding-bottom: 0;
}

.l-values-label-box {
  background: var(--g-dark);
  border-radius: 20px 20px 0 0;
  padding: 24px 36px 18px;
  text-align: center;
}
.l-values-label {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.l-aud-full {
  width: 100%;
  background: var(--g-dark);
  padding: 0;
}
.l-aud-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 24px 24px;
}
.l-aud-card {
  display: flex;
  align-items: center;
  gap: 14px;
  direction: rtl;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(232, 140, 32, 0.35);
  border-radius: 12px;
  padding: 20px 22px;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.l-aud-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 140, 32, 0.85);
  box-shadow:
    0 0 24px rgba(232, 140, 32, 0.45),
    inset 0 0 20px rgba(232, 140, 32, 0.05);
}
.l-aud-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.l-aud-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.l-aud-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}
.l-aud-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* dots — داخل slider، بالای label overlap */
.l-hero-dots {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.l-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.l-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ── Section dividers ───────────────────────── */
.l-company > .container,
.l-about > .container,
.l-info > .container,
.l-storage > .container {
  border: 2px solid #e07828;
  border-radius: 16px;
  box-shadow:
    0 0 14px rgba(224, 120, 40, 0.6),
    0 0 32px rgba(224, 120, 40, 0.25),
    inset 0 0 12px rgba(224, 120, 40, 0.05);
  padding-top: 36px;
  padding-bottom: 36px;
}
.l-values-wrap {
  border-bottom: 2px solid #e07828;
}
.l-company > .container {
  background: rgba(240, 248, 242, 0.72);
  backdrop-filter: blur(4px);
}

/* ── Company ─────────────────────────────────── */
.l-company {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.l-company-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../assets/pictures/DJI_0842.jpg") center / cover no-repeat;
  z-index: 0;
  will-change: transform;
}
.l-company-parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240, 248, 242, 0.82);
  z-index: 1;
  pointer-events: none;
}
.l-company > .container {
  position: relative;
  z-index: 2;
}

.l-company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 32px;
}
.l-company-text p {
  color: var(--txt2);
  font-size: 0.91rem;
  line-height: 2;
  margin-bottom: 10px;
}
.l-company-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.l-company-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.l-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
}

.l-badges-2col {
  grid-template-columns: 1fr 1fr;
}
.l-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
  background: var(--g-soft);
  border-radius: 10px;
  padding: 14px 16px;
  border-right: 3px solid rgba(232, 140, 32, 0.6);
}
.l-badge-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--g-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.l-badge-ico svg {
  width: 22px;
  height: 22px;
}
.l-badge h4 {
  color: var(--g-mid);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.l-badge p {
  color: var(--txt2);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ── About ───────────────────────────────────── */
.l-about {
  position: relative;
  overflow: hidden;
  background: var(--g-soft);
  padding: 40px 0 64px;
}
.l-about-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../assets/images/logo-ozityde.png") center / 55% no-repeat;
  z-index: 0;
  will-change: transform;
  opacity: 0.08;
}
.l-about-parallax-overlay {
  position: absolute;
  inset: 0;
  background: var(--g-soft);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}
.l-about > .container {
  position: relative;
  z-index: 2;
}
.l-about-grid {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 44px;
  align-items: start;
}
.l-about-text p {
  color: var(--txt2);
  font-size: 0.91rem;
  line-height: 2;
  margin-bottom: 10px;
}
.l-about-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1.5px solid rgba(232, 140, 32, 0.28);
}
.l-about-photo img {
  width: 100%;
  height: clamp(240px, 38vw, 440px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Info Cards ──────────────────────────────── */
.l-info {
  position: relative;
  overflow: hidden;
  background: #daeadc;
  padding: 56px 0 64px;
}
.l-info-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../assets/logo/Pooyeshdarou_log.png") center / 55% no-repeat;
  z-index: 0;
  will-change: transform;
  opacity: 0.08;
}
.l-info-parallax-overlay {
  position: absolute;
  inset: 0;
  background: #daeadc;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}
.l-info > .container {
  position: relative;
  z-index: 2;
}
.l-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.l-info-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 28px 18px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  background: #fff;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.l-info-card:hover {
  border-color: rgba(232, 140, 32, 0.8);
  box-shadow:
    0 0 22px rgba(232, 140, 32, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}
.l-info-card-ico {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(62, 128, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-info-card-ico svg {
  width: 30px;
  height: 30px;
}
.l-info-card h3 {
  color: var(--g-mid);
  font-size: 0.98rem;
  font-weight: 700;
}
.l-info-card p {
  color: var(--txt2);
  font-size: 0.86rem;
  line-height: 1.85;
}

/* ── Storage + FAQ ───────────────────────────── */
.l-storage {
  background: var(--g-soft);
  padding: 56px 0 64px;
}
.l-storage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.l-box {
  background: #fff;
  border: 1.5px solid rgba(232, 140, 32, 0.28);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: var(--sh-sm);
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.l-box:hover {
  border-color: rgba(232, 140, 32, 0.8);
  box-shadow:
    0 0 20px rgba(232, 140, 32, 0.3),
    0 4px 14px rgba(0, 0, 0, 0.06);
}
.l-box-title {
  color: var(--g-mid);
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(232, 140, 32, 0.5);
  margin-bottom: 14px;
}

.l-faq-item {
  border-bottom: 1px solid rgba(62, 128, 66, 0.1);
}
.l-faq-btn {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: 11px 0;
  font-family: inherit;
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--txt);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
  gap: 10px;
  transition: color 0.18s;
}
.l-faq-btn:hover {
  color: var(--g-mid);
}
.l-faq-ico {
  color: var(--g-mid);
  flex-shrink: 0;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.l-faq-item.open .l-faq-ico {
  transform: rotate(180deg);
}
.l-faq-ans {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  direction: rtl;
}
.l-faq-ans > p {
  overflow: hidden;
  padding: 0 0 0;
  color: var(--txt2);
  font-size: 0.85rem;
  line-height: 1.9;
  transition: padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.l-faq-item.open .l-faq-ans {
  grid-template-rows: 1fr;
}
.l-faq-item.open .l-faq-ans > p {
  padding: 6px 0 14px;
}

.l-stor-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.l-stor-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--txt2);
  font-size: 0.89rem;
  line-height: 1.8;
}
.l-stor-list li::before {
  content: "●";
  color: var(--g-mid);
  font-size: 0.5rem;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────── */
.l-footer {
  background: linear-gradient(180deg, #1d4e2b 0%, #1a4728 60%, #163d22 100%);
  border-top: 2px solid rgba(232, 140, 32, 0.45);
  box-shadow: 0 -4px 40px rgba(0, 200, 100, 0.08);
  padding: 44px 0 0;
}
.l-footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(232, 140, 32, 0.2);
}
.l-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.l-footer-logo {
  width: min(200px, 100%);
  height: auto;
  display: block;
}

/* ستون وسط — متن درباره، center */
.l-footer-about {
  text-align: center;
}
.l-footer-about p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 2;
  margin: 0 auto;
  max-width: 420px;
}

/* ستون تماس — راست‌چین در دسکتاپ */
.l-footer-contact {
  text-align: right;
}
.l-footer-contact h4 {
  color: #e88c20;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(232, 140, 32, 0.25);
  text-shadow: 0 0 12px rgba(232, 140, 32, 0.4);
}
.l-footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  align-items: flex-start;
}
.l-footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  direction: rtl;
  text-align: right;
}
.l-footer-contact li span:first-child {
  color: #e19225;
  flex-shrink: 0;
  padding-top: 1px;
}
.l-footer-contact li span:last-child {
  text-align: right;
  white-space: normal;
}

.l-footer-bottom {
  background: var(--g-foot-b);
  text-align: center;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

/* ── Scroll top ──────────────────────────────── */
.l-scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--g-mid);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 90;
  box-shadow: var(--sh-sm);
}
.l-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .l-company-grid,
  .l-about-grid {
    grid-template-columns: 1fr;
  }
  .l-company-photo {
    order: -1;
  }
  .l-company-photo img {
    min-height: 240px;
  }
  .l-badges {
    grid-template-columns: 1fr;
  }
  .l-aud-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 16px 20px;
  }
  .l-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .l-footer-about {
    display: none;
  }
  .l-footer-contact {
    text-align: center;
  }
  .l-footer-contact ul {
    align-items: center;
  }
  .l-footer-logo {
    max-width: min(280px, 80vw);
  }
  .l-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-hero {
    min-height: 280px;
  }
  .l-values-wrap {
    margin-top: -40px;
  }
  .l-company {
    padding: 36px 0;
  }
  .l-about {
    padding: 32px 0 48px;
  }
  .l-info {
    padding: 36px 0 44px;
  }
  .l-storage {
    padding: 36px 0 44px;
  }
}

@media (max-width: 640px) {
  .l-values-wrap > .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .l-values-label-box {
    border-radius: 0;
    padding: 16px 20px 12px;
  }
  .l-info-grid,
  .l-storage-grid {
    grid-template-columns: 1fr;
  }
  .l-hero {
    height: 260px;
    min-height: unset;
  }
  .l-nav {
    display: none;
  }
  .l-nav-toggle {
    display: flex;
  }
  .l-menu-container {
    height: auto;
    padding: 12px 0;
    justify-content: space-between;
    gap: 0;
  }
  /* open: dropdown panel */
  .l-header.open {
    z-index: 300;
  }
  .l-header.open .l-menu-container {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    padding: 16px 16px 24px;
    gap: 16px;
    position: relative;
  }
  .l-header.open .l-nav-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
  }
  .l-header.open .l-logo {
    width: clamp(120px, 40vw, 180px);
    margin: 0 auto;
    display: block;
  }
  .l-header.open .l-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    padding: 0;
    gap: 4px;
    flex: unset;
    justify-content: center;
  }
  .l-nav a {
    font-size: 1rem;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
    text-align: center;
    white-space: normal;
  }
  .l-footer-inner {
    grid-template-columns: 1fr;
  }
  .l-footer-contact li span:last-child {
    white-space: normal;
  }
  .l-values-wrap {
    margin-top: -24px;
  }
  .l-hero-dots {
    bottom: 36px;
  }

  /* section padding */
  .l-company {
    padding: 28px 0;
  }
  .l-about {
    padding: 24px 0 36px;
  }
  .l-info {
    padding: 28px 0 36px;
  }
  .l-storage {
    padding: 28px 0 36px;
  }

  /* cards */
  .l-aud-card {
    padding: 14px 16px;
    gap: 10px;
  }
  .l-aud-icon {
    width: 36px;
    height: 36px;
  }
  .l-aud-title {
    font-size: 0.95rem;
  }
  .l-aud-sub {
    font-size: 0.78rem;
  }

  .l-badge {
    padding: 12px 14px;
  }
  .l-badge-ico {
    width: 36px;
    height: 36px;
  }
  .l-badge-ico svg {
    width: 18px;
    height: 18px;
  }
  .l-badge h4 {
    font-size: 0.82rem;
  }
  .l-badge p {
    font-size: 0.75rem;
  }

  .l-company-photo img {
    min-height: 200px;
  }
  .l-about-photo img {
    height: 220px;
  }

  .l-footer {
    padding: 28px 0 0;
  }
  .l-footer-inner {
    gap: 18px;
    padding-bottom: 22px;
  }

  /* page hero (subpages) */
  .l-page-hero {
    padding: 32px 0 28px;
  }
  .l-page-hero h1 {
    font-size: 1.4rem;
  }
  .l-page-hero p {
    font-size: 0.88rem;
  }
  .l-inner-section {
    padding: 36px 0;
  }
}

@media (max-width: 480px) {
  .l-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-page-hero h1 {
    font-size: 1.25rem;
  }
  .l-sec-title {
    font-size: 1.1rem;
  }
  .l-section-heading {
    font-size: 1.1rem;
  }
  .l-info-card {
    padding: 20px 14px 16px;
  }
  .l-box {
    padding: 18px 14px;
  }
}

@media (max-width: 380px) {
  .l-spec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .l-spec-card {
    padding: 12px 6px 10px;
  }
  .l-spec-emoji {
    font-size: 1.3rem;
  }
  .l-spec-name {
    font-size: 0.72rem;
  }
  .container {
    width: calc(100% - 24px);
  }
  .l-aud-row {
    padding: 12px 12px 16px;
    gap: 8px;
  }
}

/* ══════════════════════════════════════════════
   Inner Pages — Doctor & Pharmacy
   ══════════════════════════════════════════════ */

/* Page Hero (no slider) */
.l-page-hero {
  background: var(--g-dark);
  padding: 52px 0 48px;
}
.l-page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.l-page-hero h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.l-page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 520px;
}
.l-page-hero-icon {
  width: 110px;
  height: 110px;
  opacity: 0.9;
}

/* Section heading */
.l-section-heading {
  color: var(--g-mid);
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px;
}

/* Specialty cards (Doctor) */
.l-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.l-spec-card {
  background: #fff;
  border: 1.5px solid rgba(232, 140, 32, 0.25);
  border-radius: 12px;
  padding: 18px 10px 14px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.l-spec-card:hover {
  border-color: rgba(232, 140, 32, 0.7);
  background: rgba(232, 140, 32, 0.04);
  box-shadow: 0 0 14px rgba(232, 140, 32, 0.25);
}
.l-spec-card.active {
  border-color: rgba(232, 140, 32, 0.85);
  background: rgba(232, 140, 32, 0.07);
  box-shadow: 0 0 18px rgba(232, 140, 32, 0.35);
}
.l-spec-emoji {
  font-size: 1.6rem;
}
.l-spec-name {
  color: var(--txt);
  font-size: 0.8rem;
  font-weight: 600;
}


/* Video card */
.l-video-card {
  background: #e8f3ea;
  border: 2px solid rgba(224, 120, 40, 0.5);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow:
    0 0 0 4px rgba(224, 120, 40, 0.08),
    0 0 32px rgba(224, 120, 40, 0.2),
    0 8px 40px rgba(0, 0, 0, 0.12);
  margin-top: 20px;
}
.l-video-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(224, 120, 40, 0.25);
}
.l-video-card-title-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e07828, #c45e10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(224, 120, 40, 0.35);
}
.l-video-card-title-icon svg {
  width: 18px;
  height: 18px;
}
.l-video-card h2 {
  color: var(--g-dark);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  flex: 1;
}
.l-video-card video {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.l-video-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.l-video-item {
  background: #f2f7f3;
  border: 2px solid #e07828;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 3px rgba(224, 120, 40, 0.1),
    0 4px 16px rgba(224, 120, 40, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.l-video-item:hover {
  box-shadow:
    0 0 0 4px rgba(224, 120, 40, 0.18),
    0 8px 32px rgba(224, 120, 40, 0.32),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.l-video-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 12px;
  background: linear-gradient(
    90deg,
    rgba(224, 120, 40, 0.08) 0%,
    rgba(224, 120, 40, 0.03) 100%
  );
  border-bottom: 1.5px solid rgba(224, 120, 40, 0.18);
}
.l-video-header::before {
  content: "";
  display: block;
  width: 4px;
  height: 20px;
  background: #e07828;
  border-radius: 2px;
  flex-shrink: 0;
}
.l-video-label {
  color: var(--g-dark);
  font-size: 0.95rem;
  font-weight: 800;
}
.l-video-topic {
  color: var(--txt2);
  font-size: 0.85rem;
  font-weight: 600;
}
.l-video-embed {
  position: relative;
  padding: 14px;
  background: #1d3a22;
}
.l-video-embed-inner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.l-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: none;
  display: block;
}

/* Inner page section */
.l-inner-section {
  padding: 52px 0;
}
.l-inner-section.l-bg-soft {
  background: var(--g-soft);
}

@media (max-width: 900px) {
  .l-spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .l-page-hero-inner {
    grid-template-columns: 1fr;
  }
  .l-page-hero-icon {
    display: none;
  }
}

/* ── Splash Overlay ──────────────────────────── */
.l-info-grid {
  grid-template-columns: repeat(2, minmax(0, 340px)) !important;
  justify-content: center;
}

#splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  padding: 2rem 1.25rem;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
#splash::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("../assets/pictures/Pooyeshdarou_Background.png") center/cover
    no-repeat;
  filter: blur(6px);
  z-index: 0;
}
#splash > * {
  position: relative;
  z-index: 1;
}
#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sp-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}
.sp-logo {
  width: 260px;
  height: auto;
}
.sp-rule {
  width: 60px;
  height: 3px;
  background: #e07828;
  border-radius: 2px;
  opacity: 0.85;
}

.sp-main-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: 100%;
  max-width: 640px;
  background: var(--g-mid);
  border-radius: 18px;
  padding: 1.6rem 2rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 28px rgba(62, 128, 66, 0.28);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  border: 2px solid #e07828;
  font-family: inherit;
  text-align: right;
}
.sp-main-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(224, 120, 40, 0.35);
}
.sp-main-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sp-main-btn-label {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.05em;
}
.sp-main-btn-title {
  font-size: 1.25rem;
  font-weight: 800;
}
.sp-main-btn-desc {
  font-size: 0.84rem;
  opacity: 0.82;
}
.sp-main-btn-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sp-main-btn:hover .sp-main-btn-arrow {
  background: rgba(255, 255, 255, 0.3);
}

.sp-cards {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 640px;
}
.sp-card {
  flex: 1 1 160px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1.5px solid #e07828;
  border-radius: 16px;
  padding: 1.6rem 1rem 1.3rem;
  text-decoration: none;
  color: var(--txt);
  box-shadow: 0 2px 10px rgba(224, 120, 40, 0.1);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.sp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(224, 120, 40, 0.22);
  border-color: #e07828;
  color: var(--txt);
}
.sp-card-icon {
  width: 54px;
  height: 54px;
  padding: 11px;
  background: rgba(62, 128, 66, 0.09);
  border-radius: 50%;
  transition: background 0.2s;
}
.sp-card:hover .sp-card-icon {
  background: rgba(62, 128, 66, 0.16);
}
.sp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--g-dark);
}
.sp-card-desc {
  font-size: 0.78rem;
  color: var(--txt2);
  text-align: center;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 640px) {
  #splash {
    gap: 1.6rem;
    padding: 1.5rem 1rem;
  }
  .sp-logo {
    width: 200px;
  }
}

@media (max-width: 480px) {
  #splash {
    gap: 1.2rem;
    padding: 1.2rem 0.9rem;
  }
  .sp-logo {
    width: 160px;
  }
  .sp-rule {
    width: 44px;
  }

  .sp-main-btn {
    padding: 1.1rem 1.1rem;
    gap: 0.9rem;
    border-radius: 14px;
  }
  .sp-main-btn-title {
    font-size: 1rem;
  }
  .sp-main-btn-desc {
    font-size: 0.78rem;
  }
  .sp-main-btn-arrow {
    width: 36px;
    height: 36px;
  }

  .sp-cards {
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
  }
  .sp-card {
    flex: none;
    max-width: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    text-align: right;
  }
  .sp-card-icon {
    width: 44px;
    height: 44px;
    padding: 9px;
    flex-shrink: 0;
  }
  .sp-card-title {
    font-size: 0.95rem;
  }
  .sp-card-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0;
    text-align: right;
  }
}
