/* ===== Local Fonts ===== */
@font-face{
  font-family: "VazirLocal";
  src: url("./assets/Vazir-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "VazirLocal";
  src: url("./assets/Vazir-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root{
  --dell-blue: #0076CE;
  --dell-blue-2: #00A3E0;
  --dell-navy: #003A70;

  --bg: #070B14;
  --text: #EAF2FF;
  --muted: rgba(234, 242, 255, .72);

  --glass: rgba(255, 255, 255, .10);
  --border: rgba(255, 255, 255, .18);
  --shadow: 0 18px 60px rgba(0,0,0,.35);

  --radius: 18px;
  --radius-lg: 24px;
  --max: 1140px;
}

/* ===== Reset (no horizontal scroll) ===== */
*,
*::before,
*::after{ box-sizing: border-box; }

html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "VazirLocal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(0,118,206,.55), transparent 55%),
    radial-gradient(900px 600px at 10% 10%, rgba(0,163,224,.35), transparent 55%),
    linear-gradient(180deg, #050812, var(--bg));
  color: var(--text);
  overflow-x: hidden; /* مهم: جلوگیری از اسکرول افقی */
  position: relative;
}

/* ===== Soft white light sweep (every 5s) ===== */
body::after{
  content:"";
  position: fixed;
  inset: -30vh -40vw;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(115deg,
      transparent 35%,
      rgba(255,255,255,.10) 45%,
      rgba(255,255,255,.18) 50%,
      rgba(255,255,255,.10) 55%,
      transparent 65%);
  filter: blur(10px);
  transform: translateX(-60vw);
  animation: sweep 5s linear infinite;
  opacity: .7;
}
@keyframes sweep{
  0%   { transform: translateX(-70vw); }
  100% { transform: translateX(70vw); }
}

/* ensure main content sits above light layer */
header, main, footer{ position: relative; z-index: 2; }

img, svg, video, iframe{
  max-width: 100%;
  height: auto;
  display: block;
}

a{ color: inherit; }
.container{
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* ===== Accessibility ===== */
.skip-link{
  position: absolute;
  inset-inline-start: 12px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.25);
  transform: translateY(-160%);
  transition: transform .2s ease;
  z-index: 999;
}
.skip-link:focus{ transform: translateY(0); }

/* ===== Topbar ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5,8,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

/* brand with logo (no box) */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.brand__logo{
  width: 60px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;   /* مهم: بدون باکس */
  border: 0;                /* مهم */
  box-shadow: none;         /* مهم */
}
.brand__text{
  display: grid;
  line-height: 1.1;
}
.brand__text strong{ font-weight: 900; letter-spacing: .2px; }
.brand__text span{ font-size: 12px; color: var(--muted); }

.topbar__actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn:active{ transform: scale(.98); }
.btn--lg{ padding: 12px 16px; }
.btn--solid{
  background: linear-gradient(135deg, var(--dell-blue), var(--dell-blue-2));
  color: #071022;
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 16px 40px rgba(0,118,206,.22);
}
.btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.btn--glass{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn--ghost:hover,
.btn--glass:hover{
  background: rgba(255,255,255,.14);
}

/* ===== Hero ===== */
.hero{ position: relative; padding: 30px 0 14px; }
.hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}
.hero__badge{
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 10px;
}
.hero__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 900;
}
.hero__subtitle{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
  font-weight: 500;
}
.hero__cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 6px;
}
.hero__highlights{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
  color: rgba(234,242,255,.88);
}
.hero__highlights a{
  color: #D7F0FF;
  text-decoration: none;
  border-bottom: 1px dashed rgba(215,240,255,.45);
}
.hero__highlights a:hover{ border-bottom-color: rgba(215,240,255,.75); }

.hero__glow{
  position: absolute;
  inset: -60px -40px auto -40px;
  height: 220px;
  background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* ===== Glass Cards ===== */
.glass-card{
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px;
  overflow: hidden;
  position: relative;
}
.glass-card::before{
  content: "";
  position: absolute;
  inset: -80px -40px auto -40px;
  height: 140px;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.20), transparent 60%);
  pointer-events: none;
}
.glass-card__title{ margin: 0 0 6px; font-size: 16px; font-weight: 900; }
.glass-card__text{ margin: 0 0 10px; color: var(--muted); line-height: 1.8; font-size: 14px; font-weight: 500; }
.glass-card__hint{ margin: 6px 0 0; color: rgba(234,242,255,.65); font-size: 13px; font-weight: 500; }
.glass-card__actions{ display: flex; flex-wrap: wrap; gap: 10px; }

.chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  text-decoration: none;
  font-weight: 900;
}
.chip--accent{
  background: rgba(0,118,206,.18);
  border-color: rgba(0,163,224,.35);
}
.link{
  color: #D7F0FF;
  text-decoration: none;
  border-bottom: 1px dashed rgba(215,240,255,.45);
  width: fit-content;
}
.link:hover{ border-bottom-color: rgba(215,240,255,.75); }

.hero__cards{ display: grid; gap: 12px; }

/* ===== Sections ===== */
.section{ padding: 18px 0 30px; }
.section--alt{
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.section__head{ display: grid; gap: 6px; margin-bottom: 14px; }
.section__title{ margin: 0; font-size: 20px; font-weight: 900; }
.section__desc{ margin: 0; color: var(--muted); line-height: 1.9; font-size: 14px; font-weight: 500; }

.grid{ display: grid; gap: 12px; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }

/* ===== Info cards ===== */
.info-card{
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.info-card__title{ margin: 0 0 10px; font-size: 15px; color: rgba(234,242,255,.9); font-weight: 900; }
.info-card__value{ margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.info-card__value a{ text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.35); }
.info-card__meta{ margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; }

/* ===== Location cards ===== */
.location-card{
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.location-card__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.location-card__title{ margin: 0; font-size: 16px; font-weight: 900; }

.pill{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.16);
  color: rgba(234,242,255,.86);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.pill--accent{
  background: rgba(0,118,206,.18);
  border-color: rgba(0,163,224,.35);
}

.location-card__address{
  margin: 10px 0 12px;
  color: rgba(234,242,255,.86);
  line-height: 2.0;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
}
.location-card__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.map-embed{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}
.map-embed iframe{ width: 100%; height: 240px; border: 0; }

/* ===== Form ===== */
.form-shell{ padding: 18px; }
.form{ display: grid; gap: 12px; }
.form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{ display: grid; gap: 8px; }
.field__label{ font-size: 13px; color: rgba(234,242,255,.88); font-weight: 900; }
.field__input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}
.field__input:focus{
  border-color: rgba(0,163,224,.60);
  box-shadow: 0 0 0 4px rgba(0,118,206,.18);
}
.field__input--textarea{ resize: vertical; min-height: 120px; }

.form__footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form__hint{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  font-weight: 500;
}
.form__hint a{ text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.35); }

/* ===== FAQ ===== */
.faq{ display: grid; gap: 10px; }
.faq__item{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.faq__q{ padding: 14px 14px; cursor: pointer; font-weight: 900; }
.faq__a{ padding: 0 14px 14px; color: rgba(234,242,255,.84); line-height: 2.0; font-size: 14px; font-weight: 500; }

/* ===== Footer ===== */
.footer{
  padding: 18px 0 86px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.footer__inner{
  display: grid;
  gap: 8px;
  color: rgba(234,242,255,.78);
  font-size: 13px;
  font-weight: 500;
}
.footer__inner a{ text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.35); }

/* ===== Mobile sticky bar ===== */
.mobile-bar{
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,8,18,.60);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mobile-bar__btn{
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}
.mobile-bar__btn--accent{
  background: linear-gradient(135deg, var(--dell-blue), var(--dell-blue-2));
  color: #071022;
  border-color: rgba(255,255,255,.08);
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .grid--3{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
  .form__row{ grid-template-columns: 1fr; }
  .mobile-bar{ display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .topbar__actions .btn--ghost{ display: none; }
}
.form-alert{
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,242,255,.92);
  line-height: 1.9;
  font-weight: 500;
}

.form-alert--success{
  border-color: rgba(0,163,224,.45);
  background: rgba(0,118,206,.14);
}

.form-alert--error{
  border-color: rgba(255,80,80,.35);
  background: rgba(255,80,80,.12);
}

.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}