/* ============================================================
   Air Duct Polyurethane Page
   Scoped page styles + header/footer compatibility layer
   File path: assets/css/airduct.css
   ============================================================ */

@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700 950;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

.airduct-page {
  --ad-brand: #263b8f;
  --ad-brand-2: #1c75bc;
  --ad-accent: #f59e0b;
  --ad-gold: #ffc451;
  --ad-green: #20c46b;
  --ad-ink: #0b1320;
  --ad-text: #334155;
  --ad-muted: #64748b;
  --ad-line: rgba(38, 59, 143, 0.14);
  --ad-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);

  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ad-ink);
  direction: rtl;
  text-align: right;
  font-family: "Vazirmatn", "Vazir", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.9;
}

.airduct-page *,
.airduct-page *::before,
.airduct-page *::after {
  box-sizing: border-box;
  font-family: inherit;
}

.airduct-page a {
  text-decoration: none;
}

.airduct-page img {
  max-width: 100%;
  height: auto;
}

.airduct-page button,
.airduct-page a {
  -webkit-tap-highlight-color: transparent;
}

.airduct-page :focus-visible {
  outline: 3px solid rgba(255, 196, 81, 0.85);
  outline-offset: 3px;
}

/* ============================================================
   Shared Header
   ============================================================ */

#site-header {
  position: relative;
  z-index: 1100;
}

.airduct-page #header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(
    180deg,
    rgba(3, 10, 24, 0.97) 0%,
    rgba(3, 10, 24, 0.82) 62%,
    rgba(3, 10, 24, 0.42) 100%
  );
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.airduct-page #header.header-scrolled {
  padding: 9px 0;
  background: rgba(5, 13, 28, 0.97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.airduct-page #header > .container {
  min-height: 48px;
  gap: 16px;
}

.airduct-page #header .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.airduct-page #header .logo img {
  display: block;
  width: auto;
  max-height: 40px;
  object-fit: contain;
}

.airduct-page #header .navbar {
  position: static;
  flex: 1 1 auto;
  justify-content: center;
  padding: 0;
}

.airduct-page #header .navbar > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.airduct-page #header .navbar li {
  position: relative;
  margin: 0;
  padding: 0;
}

.airduct-page #header .navbar a,
.airduct-page #header .navbar a:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  border-radius: 9px;
  color: #ffffff !important;
  background: transparent;
  font-size: 0.79rem !important;
  font-weight: 700 !important;
  line-height: 1.7;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.airduct-page #header .navbar a i {
  font-size: 0.64rem;
  transition: transform 0.18s ease;
}

.airduct-page #header .navbar a:hover,
.airduct-page #header .navbar a.active,
.airduct-page #header .navbar a[aria-current="page"] {
  color: var(--ad-gold) !important;
}

.airduct-page #header .navbar .nav-consult-link,
.airduct-page #header .navbar .nav-consult-link:focus {
  padding: 7px 14px !important;
  color: #111827 !important;
  background: var(--ad-gold);
  box-shadow: 0 8px 22px rgba(255, 196, 81, 0.2);
}

.airduct-page #header .navbar .nav-consult-link:hover {
  color: #111827 !important;
  background: #ffd36d;
}

.airduct-page #header .language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.airduct-page #header .language-switch img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.airduct-page #header .mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.airduct-page #header .mobile-nav-toggle i {
  font-size: 1.65rem;
  line-height: 1;
}

/* Desktop dropdown */
.airduct-page #header .navbar .dropdown > ul {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  z-index: 1200;
  display: block;
  min-width: 255px;
  max-width: 340px;
  margin: 0;
  padding: 9px 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  background: rgba(5, 13, 28, 0.98);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.airduct-page #header .navbar .dropdown:hover > ul,
.airduct-page #header .navbar .dropdown:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.airduct-page #header .navbar .dropdown:hover > a i,
.airduct-page #header .navbar .dropdown:focus-within > a i {
  transform: rotate(180deg);
}

.airduct-page #header .navbar .dropdown > ul > li,
.airduct-page #header .navbar .dropdown > ul > li > a {
  width: 100%;
}

.airduct-page #header .navbar .dropdown > ul > li > a,
.airduct-page #header .navbar .dropdown > ul > li > a:focus {
  justify-content: flex-start;
  padding: 8px 16px !important;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.77rem !important;
  font-weight: 600 !important;
  line-height: 1.8;
  text-align: right;
}

.airduct-page #header .navbar .dropdown > ul > li > a:hover,
.airduct-page #header .navbar .dropdown > ul > li > a.active {
  color: var(--ad-gold) !important;
  background: rgba(255, 196, 81, 0.09);
}

body.mobile-nav-open {
  overflow: hidden;
}

/* ============================================================
   Page Hero
   ============================================================ */

.ad-main {
  padding-top: 0 !important;
  overflow: hidden;
}

.ad-hero {
  position: relative;
  display: flex;
  min-height: 64vh;
  align-items: center;
  overflow: hidden;
  padding: 106px 0 56px;
  isolation: isolate;
}

.ad-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 10, 24, 0.92) 0%, rgba(14, 44, 78, 0.76) 42%, rgba(8, 19, 38, 0.3) 100%),
    radial-gradient(circle at 14% 22%, rgba(245, 158, 11, 0.22), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(28, 117, 188, 0.28), transparent 36%),
    url("../img/bg/air-duct-pu-foam.png") center / cover no-repeat;
  transform: scale(1.01);
}

.ad-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 92%);
}

.ad-hero__container {
  position: relative;
  z-index: 2;
}

.ad-hero__glass,
.ad-hero__insight,
.ad-decision-tree,
.ad-pathway-cta {
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.ad-hero__glass {
  max-width: 780px;
  padding: clamp(23px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.065)),
    radial-gradient(circle at 10% 0%, rgba(255, 196, 81, 0.13), transparent 34%);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ad-eyebrow,
.ad-section-label,
.ad-pathway-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem !important;
  font-weight: 900;
  line-height: 1.7;
}

.ad-eyebrow {
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.ad-hero h1 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.8rem) !important;
  font-weight: 950;
  line-height: 1.75 !important;
  letter-spacing: -0.45px;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.3);
}

.ad-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.91rem !important;
  font-weight: 500;
  line-height: 2;
  text-align: right;
}

.ad-hero__actions,
.ad-pathway-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ad-btn,
.ad-pathway-btn {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem !important;
  font-weight: 900;
  line-height: 1.7;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ad-btn:hover,
.ad-pathway-btn:hover {
  transform: translateY(-2px);
}

.ad-btn--primary,
.ad-pathway-btn--primary {
  border-color: rgba(255, 196, 81, 0.38);
  color: #101828 !important;
  background: linear-gradient(90deg, var(--ad-accent), var(--ad-gold));
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.2);
}

.ad-btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09);
}

.ad-btn--whatsapp,
.ad-pathway-btn--whatsapp {
  border-color: rgba(32, 196, 107, 0.38);
  color: #ffffff !important;
  background: rgba(32, 196, 107, 0.16);
}

.ad-btn--whatsapp i,
.ad-pathway-btn--whatsapp i {
  color: #62f0aa;
}

.ad-hero__micro-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ad-hero__micro-nav a {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.46);
  font-size: 0.72rem !important;
  font-weight: 700;
}

.ad-hero__micro-nav a:hover {
  color: var(--ad-gold);
  background: rgba(255, 255, 255, 0.12);
}

.ad-hero__insight {
  max-width: 470px;
  margin-inline: auto;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.ad-hero__insight strong {
  display: block;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 0.9rem !important;
  font-weight: 950;
  line-height: 1.8;
}

.ad-hero__flow {
  display: grid;
  gap: 8px;
}

.ad-hero__flow b {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem !important;
  font-weight: 900;
}

.ad-hero__flow i {
  width: 1px;
  height: 12px;
  margin-inline: auto;
  background: rgba(255, 196, 81, 0.62);
}

.ad-hero__insight small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem !important;
  line-height: 1.85;
}

/* ============================================================
   Page Sections
   ============================================================ */

.ad-section {
  position: relative;
  overflow: hidden;
  padding: 52px 0;
}

.ad-section-label,
.ad-pathway-badge {
  margin-bottom: 8px;
  border: 1px solid rgba(38, 59, 143, 0.12);
  color: var(--ad-brand);
  background: rgba(38, 59, 143, 0.065);
}

.ad-section h2,
.ad-section-head h2 {
  margin: 0 0 14px;
  color: #101828;
  font-size: clamp(1.08rem, 1.55vw, 1.42rem) !important;
  font-weight: 950;
  line-height: 1.8 !important;
  letter-spacing: -0.38px;
}

.ad-lead,
.ad-muted,
.ad-section-head p {
  margin: 0;
  color: #475569;
  font-size: 0.82rem !important;
  font-weight: 500;
  line-height: 1.95;
  text-align: right;
}

.ad-lead {
  margin-bottom: 10px;
  color: #25324a;
  font-size: 0.9rem !important;
  font-weight: 700;
}

.ad-section-head {
  max-width: 850px;
  margin: 0 auto 25px;
  text-align: center;
}

.ad-section-head .ad-section-label {
  margin-inline: auto;
}

.ad-section-head p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ad-position {
  background:
    radial-gradient(circle at 10% 12%, rgba(38, 59, 143, 0.055), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ad-tree-section {
  background:
    radial-gradient(circle at 84% 10%, rgba(28, 117, 188, 0.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.ad-decision-tree {
  padding: 20px;
  border: 1px solid rgba(38, 59, 143, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52)),
    radial-gradient(circle at 10% 10%, rgba(255, 196, 81, 0.12), transparent 30%);
  box-shadow: var(--ad-shadow);
}

.ad-tree-node,
.ad-tree-flow span,
.ad-tree-result {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 18px;
  font-size: 0.78rem !important;
  font-weight: 900;
  line-height: 1.62;
  text-align: center;
}

.ad-tree-node {
  border: 1px solid rgba(38, 59, 143, 0.12);
  color: #17325f;
  background: rgba(255, 255, 255, 0.74);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ad-tree-node:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.32);
  background: #ffffff;
}

.ad-tree-node--root {
  width: min(100%, 420px);
  margin: 0 auto 18px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ad-brand), var(--ad-brand-2));
  box-shadow: 0 12px 24px rgba(38, 59, 143, 0.16);
}

.ad-tree-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.ad-tree-branches::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: rgba(38, 59, 143, 0.22);
}

.ad-tree-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.ad-tree-flow span {
  border: 1px solid rgba(245, 158, 11, 0.14);
  color: #17325f;
  background: rgba(245, 158, 11, 0.08);
}

.ad-tree-result {
  margin-top: 12px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  color: #101828;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(255, 255, 255, 0.7), rgba(28, 117, 188, 0.1));
}

.ad-quality {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.ad-factor-card {
  height: 100%;
  min-height: 168px;
  padding: 16px;
  border: 1px solid rgba(38, 59, 143, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    radial-gradient(circle at 88% 0%, rgba(245, 158, 11, 0.08), transparent 32%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ad-factor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.ad-factor-card > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ad-brand), var(--ad-brand-2));
  font-size: 0.82rem !important;
  font-weight: 950;
}

.ad-factor-card h3 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 0.9rem !important;
  font-weight: 950;
  line-height: 1.72;
}

.ad-factor-card p {
  margin: 0;
  color: var(--ad-muted);
  font-size: 0.78rem !important;
  line-height: 1.84;
  text-align: right;
}

.ad-table-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(38, 59, 143, 0.05), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ad-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(38, 59, 143, 0.1);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.ad-decision-table {
  width: 100%;
}

.ad-decision-table th {
  padding: 14px 16px;
  border-color: rgba(38, 59, 143, 0.08) !important;
  color: #17325f;
  background: #f7faff;
  font-size: 0.78rem !important;
  font-weight: 900;
  line-height: 1.8;
}

.ad-decision-table td {
  padding: 14px 16px;
  border-color: rgba(38, 59, 143, 0.07) !important;
  color: #526174;
  font-size: 0.76rem !important;
  font-weight: 500;
  line-height: 1.9;
}

.ad-decision-table strong {
  color: #101828;
  font-weight: 950;
}

.ad-troubleshooting {
  background: #ffffff;
}

.ad-problem-lines {
  position: relative;
  display: grid;
  gap: 10px;
  padding-right: 22px;
}

.ad-problem-lines::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 7px;
  bottom: 10px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--ad-brand), rgba(255, 196, 81, 0.85));
}

.ad-problem-lines a {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(38, 59, 143, 0.1);
  border-radius: 16px;
  color: #17325f;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.ad-problem-lines a:hover {
  transform: translateX(-3px);
  border-color: rgba(245, 158, 11, 0.28);
}

.ad-problem-lines a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -21px;
  width: 12px;
  height: 12px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--ad-gold);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.34);
}

.ad-problem-lines strong {
  color: #101828;
  font-size: 0.82rem !important;
  font-weight: 950;
  line-height: 1.7;
}

.ad-problem-lines span {
  color: var(--ad-muted);
  font-size: 0.76rem !important;
  font-weight: 500;
  line-height: 1.8;
}

.ad-related {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.ad-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ad-link-grid a {
  min-height: 112px;
  padding: 15px;
  border: 1px solid rgba(38, 59, 143, 0.1);
  border-radius: 18px;
  color: #17325f;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ad-link-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.ad-link-grid strong {
  display: block;
  margin-bottom: 7px;
  color: #101828;
  font-size: 0.82rem !important;
  font-weight: 950;
  line-height: 1.7;
}

.ad-link-grid span {
  display: block;
  color: var(--ad-muted);
  font-size: 0.74rem !important;
  line-height: 1.85;
}

.ad-final-cta {
  position: relative;
  padding: 56px 0;
  border-top: 1px solid rgba(38, 59, 143, 0.08);
  background:
    radial-gradient(circle at 8% 24%, rgba(38, 59, 143, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.ad-pathway-cta {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 38px;
  padding: 24px;
  border: 1px solid rgba(38, 59, 143, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.55)),
    radial-gradient(circle at 8% 0%, rgba(255, 196, 81, 0.12), transparent 30%);
  box-shadow: var(--ad-shadow);
}

.ad-pathway-cta__content {
  padding-right: 22px;
  border-right: 3px solid var(--ad-brand);
}

.ad-pathway-cta__content h2 {
  margin: 0 0 12px;
  color: #0f1f3d;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem) !important;
  font-weight: 950;
  line-height: 1.8;
}

.ad-pathway-cta__content p {
  max-width: 820px;
  margin: 0;
  color: #526174;
  font-size: 0.82rem !important;
  line-height: 2;
  text-align: right;
}

.ad-pathway-cta__actions {
  display: grid;
  margin-top: 0;
}

.ad-pathway-btn {
  border-color: rgba(38, 59, 143, 0.22);
  color: #ffffff !important;
  background: #172033;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.ad-pathway-btn:hover {
  color: #101828 !important;
  background: #f8fbff;
}

/* ============================================================
   Shared Footer
   ============================================================ */

#site-footer {
  min-height: 1px;
}

.sepehr-donya-footer {
  padding: 48px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  background: #07111f;
}

.sepehr-donya-footer .sd-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.sepehr-donya-footer .sd-footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.sepehr-donya-footer .sd-footer-logo img {
  width: auto;
  max-height: 44px;
}

.sepehr-donya-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem !important;
  line-height: 2;
  text-align: right;
}

.sepehr-donya-footer h3 {
  margin: 0 0 12px;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  line-height: 1.8;
}

.sepehr-donya-footer nav > a,
.sepehr-donya-footer section > a:not(.sd-footer-logo),
.sepehr-donya-footer .sd-footer-bottom > a {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  line-height: 1.8;
}

.sepehr-donya-footer a:hover {
  color: var(--ad-gold) !important;
}

.sepehr-donya-footer .sd-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.sepehr-donya-footer .sd-footer-social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 50%;
  color: #07111f !important;
  background: var(--ad-gold);
}

.sepehr-donya-footer .sd-footer-social a:hover {
  color: #07111f !important;
  background: #ffd36d;
}

.sepehr-donya-footer .sd-footer-phone {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7) !important;
}

.sepehr-donya-footer .sd-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem !important;
}

.sepehr-donya-footer .sd-footer-bottom > a {
  margin: 0;
  color: var(--ad-gold) !important;
  font-size: 0.75rem !important;
}

/* Back to top */
.airduct-page .back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1050;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  color: #101828;
  background: var(--ad-gold);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.airduct-page .back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.airduct-page .back-to-top i {
  font-size: 1.45rem;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1199.98px) {
  .airduct-page #header .navbar > ul {
    display: none;
  }

  .airduct-page #header .navbar {
    flex: 0 0 auto;
    margin-right: auto;
  }

  .airduct-page #header .mobile-nav-toggle {
    display: inline-flex;
  }

  .airduct-page #header .navbar.navbar-mobile {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: block;
    width: 100%;
    margin: 0;
    padding: 76px 16px 16px;
    background: rgba(5, 13, 28, 0.97);
  }

  .airduct-page #header .navbar.navbar-mobile > ul {
    position: relative;
    display: block;
    width: min(100%, 620px);
    max-height: calc(100vh - 96px);
    margin: 0 auto;
    padding: 14px;
    overflow-y: auto;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  }

  .airduct-page #header .navbar.navbar-mobile li {
    width: 100%;
  }

  .airduct-page #header .navbar.navbar-mobile a,
  .airduct-page #header .navbar.navbar-mobile a:focus {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px !important;
    color: #101828 !important;
    font-size: 0.82rem !important;
  }

  .airduct-page #header .navbar.navbar-mobile a:hover,
  .airduct-page #header .navbar.navbar-mobile a.active,
  .airduct-page #header .navbar.navbar-mobile a[aria-current="page"] {
    color: #101828 !important;
    background: #fff1c2;
  }

  .airduct-page #header .navbar.navbar-mobile .nav-consult-link {
    margin-top: 8px;
    justify-content: center;
    background: var(--ad-gold);
  }

  .airduct-page #header .navbar.navbar-mobile .mobile-nav-toggle {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1350;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.12);
  }

  .airduct-page #header .navbar.navbar-mobile .dropdown > ul {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin: 2px 0 8px;
    padding: 5px;
    border: 0;
    border-radius: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #f4f7fb;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .airduct-page #header .navbar.navbar-mobile .dropdown > ul.dropdown-active {
    display: block;
  }

  .airduct-page #header .navbar.navbar-mobile .dropdown > ul a,
  .airduct-page #header .navbar.navbar-mobile .dropdown > ul a:focus {
    justify-content: flex-start;
    padding: 8px 12px !important;
    color: #334155 !important;
    background: transparent;
    font-size: 0.77rem !important;
  }

  .airduct-page #header .navbar.navbar-mobile .dropdown > ul a:hover,
  .airduct-page #header .navbar.navbar-mobile .dropdown > ul a.active {
    color: #101828 !important;
    background: #e8eef7;
  }

  .airduct-page #header .navbar.navbar-mobile .dropdown > a[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .ad-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-tree-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .ad-hero {
    min-height: auto;
    padding: 96px 0 48px;
  }

  .ad-hero__insight {
    max-width: 100%;
  }

  .ad-tree-branches {
    grid-template-columns: repeat(2, 1fr);
  }

  .ad-problem-lines a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ad-pathway-cta {
    grid-template-columns: 1fr;
  }

  .ad-pathway-cta__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sepehr-donya-footer .sd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .ad-decision-table thead {
    display: none;
  }

  .ad-decision-table,
  .ad-decision-table tbody,
  .ad-decision-table tr,
  .ad-decision-table td {
    display: block;
    width: 100%;
  }

  .ad-decision-table tr {
    padding: 10px 0;
    border-bottom: 1px solid rgba(38, 59, 143, 0.1);
  }

  .ad-decision-table tr:last-child {
    border-bottom: 0;
  }

  .ad-decision-table td {
    position: relative;
    display: grid;
    grid-template-columns: minmax(110px, 34%) 1fr;
    gap: 12px;
    padding: 8px 14px;
    border: 0 !important;
  }

  .ad-decision-table td::before {
    content: attr(data-label);
    color: #17325f;
    font-weight: 900;
  }

  .ad-pathway-cta__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .airduct-page #header {
    padding: 10px 0;
  }

  .airduct-page #header > .container {
    gap: 10px;
  }

  .airduct-page #header .logo img {
    max-height: 34px;
  }

  .airduct-page #header .language-switch {
    width: 32px;
    height: 32px;
  }

  .airduct-page #header .navbar {
    margin-right: 0;
  }

  .ad-hero__glass,
  .ad-hero__insight {
    border-radius: 18px;
  }

  .ad-hero h1 {
    font-size: 1.16rem !important;
  }

  .ad-hero__actions,
  .ad-hero__micro-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ad-btn {
    width: 100%;
  }

  .ad-section {
    padding: 42px 0;
  }

  .ad-tree-branches,
  .ad-tree-flow,
  .ad-link-grid {
    grid-template-columns: 1fr;
  }

  .ad-tree-branches::before {
    display: none;
  }

  .ad-pathway-cta {
    padding: 18px;
  }

  .ad-pathway-cta__content {
    padding-right: 14px;
  }

  .sepehr-donya-footer .sd-footer-grid,
  .sepehr-donya-footer .sd-footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .airduct-page *,
  .airduct-page *::before,
  .airduct-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
