@charset "UTF-8";

:root {
  --navy: #082f70;
  --deep-blue: #064c91;
  --blue: #087fe0;
  --bright-blue: #12a8f2;
  --pale-blue: #e8f6ff;
  --white: #ffffff;
  --yellow: #ffc928;
  --text: #082d69;
  --muted: #5e7fa8;
  --shadow: 0 18px 42px rgba(21, 105, 175, .16);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Vazirmatn, "IRANSansX", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  background: #e8f6ff;
}
button, input { font: inherit; }
button { cursor: pointer; }

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: 24px clamp(18px, 4vw, 64px) 22px;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255,255,255,.98) 0, rgba(255,255,255,.84) 25%, transparent 58%),
    linear-gradient(180deg, #d9efff 0%, #eaf7ff 50%, #d6edff 100%);
}
.sky-glow {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 6% 15%, rgba(255,255,255,.7), transparent 22%),
    radial-gradient(circle at 93% 20%, rgba(255,255,255,.6), transparent 23%);
  pointer-events: none;
}
.cloud {
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 90px;
  border-radius: 100px 100px 30px 30px;
  background: rgba(255,255,255,.38);
  filter: blur(1px);
  pointer-events: none;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  bottom: 20px;
  border-radius: 50%;
  background: inherit;
}
.cloud::before { width: 120px; height: 120px; left: 32px; }
.cloud::after { width: 82px; height: 82px; left: 130px; }
.cloud--left { top: 92px; left: -100px; transform: scale(.85); }
.cloud--right { top: 145px; right: -110px; transform: scale(1.05); }

.brand-header {
  position: relative;
  z-index: 8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 76px;
  max-width: 1440px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: white;
  font: 800 38px/1 Arial, sans-serif;
  background: linear-gradient(145deg, #18baf3 0%, #0874c9 52%, #06437f 100%);
  box-shadow: 0 8px 18px rgba(0, 104, 188, .25), inset 0 1px 2px rgba(255,255,255,.5);
  transform: rotate(-5deg);
}
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong { font-size: clamp(25px, 3vw, 36px); line-height: 1.1; font-weight: 900; letter-spacing: -.8px; }
.brand-copy small { color: #567ba5; font-size: 12px; font-weight: 600; text-align: center; }
.header-badge {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  color: #17609f;
  background: rgba(255,255,255,.55);
  box-shadow: 0 6px 18px rgba(35, 121, 183, .08);
  font-size: 12px;
  font-weight: 700;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16b77a;
  box-shadow: 0 0 0 4px rgba(22,183,122,.12);
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(760px, 62vw);
  margin: 24px auto 0;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  color: #2776b4;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(41, 123, 185, .07);
}
.eyebrow-spark {
  width: 9px; height: 9px;
  background: var(--yellow);
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(255,201,40,.14);
}
h1 {
  margin: 15px 0 0;
  color: #062e70;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: -2.2px;
  text-shadow: 0 3px 0 rgba(255,255,255,.65);
}
h1 span { white-space: nowrap; }
.title-underline {
  width: clamp(150px, 25vw, 310px);
  height: 12px;
  margin: -2px auto 11px;
  border-top: 8px solid var(--yellow);
  border-radius: 50%;
  transform: rotate(-2.2deg);
}
.intro {
  max-width: 710px;
  margin: 0 auto;
  color: #0b3675;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 650;
  line-height: 2;
  text-wrap: pretty;
}
.intro strong {
  display: inline-block;
  padding: 0 8px 2px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(110deg, #13b9f3, #0876d5);
  font-weight: 900;
}

.countdown-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  width: fit-content;
  max-width: 100%;
  margin: 19px auto 14px;
  padding: 8px 11px 8px 16px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 999px;
  color: #123b78;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 18px rgba(17, 102, 170, .12);
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 850;
}
.calendar-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #0879d2;
}
.calendar-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.days-pill {
  padding: 7px 15px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #16b9f4, #07519c);
  box-shadow: 0 4px 9px rgba(0, 93, 167, .2);
  white-space: nowrap;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  width: min(620px, 100%);
  margin: 0 auto;
  direction: rtl;
}
.time-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: clamp(90px, 10vw, 128px);
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(235,246,255,.88));
  box-shadow: 0 10px 24px rgba(24, 110, 178, .15), inset 0 1px 0 rgba(255,255,255,.9);
}
.time-value {
  color: #082e70;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.time-label {
  margin-top: 5px;
  color: #123d7c;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 850;
}

.construction-scene {
  position: relative;
  z-index: 2;
  height: clamp(300px, 36vw, 470px);
  max-width: 1600px;
  margin: 0 auto;
}
.skyline {
  position: absolute;
  z-index: -1;
  right: -5vw;
  bottom: 10px;
  left: -5vw;
  height: 95%;
  background: url("../images/skyline.svg") bottom center / 100% 100% no-repeat;
  opacity: .86;
  pointer-events: none;
}
.character {
  position: absolute;
  z-index: 3;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.character img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 13px rgba(28, 87, 130, .12));
}
.character--khakpour {
  left: clamp(-28px, 1vw, 24px);
  width: clamp(245px, 28vw, 420px);
  height: 100%;
}
.character--erfan {
  right: clamp(-25px, 1vw, 24px);
  width: clamp(235px, 27vw, 405px);
  height: 95%;
}
.character--erfan img { max-height: 100%; }

.worksite {
  position: absolute;
  z-index: 4;
  bottom: 4px;
  left: 50%;
  width: min(410px, 36vw);
  height: 210px;
  transform: translateX(-50%);
  pointer-events: none;
}
.soil-pile {
  position: absolute;
  left: 2%;
  width: 96%;
  background:
    radial-gradient(ellipse at 22% 65%, #a66b3d 0 7%, transparent 7.5%),
    radial-gradient(ellipse at 35% 50%, #c68a50 0 11%, transparent 11.5%),
    radial-gradient(ellipse at 55% 58%, #b87943 0 13%, transparent 13.5%),
    radial-gradient(ellipse at 74% 66%, #98613b 0 9%, transparent 9.5%),
    linear-gradient(160deg, #c88e53, #8f5a36);
  clip-path: polygon(0 100%, 7% 70%, 20% 48%, 31% 38%, 43% 21%, 57% 30%, 69% 17%, 82% 43%, 95% 68%, 100% 100%);
}
.soil-pile--back {
  bottom: 17px;
  height: 125px;
  opacity: .62;
  filter: blur(1px);
}
.soil-pile--front {
  bottom: 0;
  height: 86px;
  opacity: .92;
  clip-path: polygon(0 100%, 9% 50%, 18% 63%, 29% 25%, 41% 57%, 53% 32%, 66% 60%, 80% 28%, 92% 57%, 100% 100%);
}
.warning-sign {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(205px, 21vw, 280px);
  min-height: 112px;
  padding: 19px 12px 13px;
  border: 8px solid #f5b51b;
  border-radius: 13px;
  outline: 3px solid #162e49;
  color: #0c2344;
  background: linear-gradient(135deg, #ffe58a, #ffc52e 65%, #ffdf75);
  box-shadow: 0 12px 18px rgba(58, 79, 102, .2), inset 0 0 0 2px rgba(255,255,255,.45);
  transform: translateX(-50%) rotate(-1.2deg);
}
.warning-sign::before, .warning-sign::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -35px;
  width: 9px;
  height: 42px;
  background: linear-gradient(90deg, #9a6c38, #e0b46d, #79502b);
}
.warning-sign::before { right: 20%; }
.warning-sign::after { left: 20%; }
.sign-top {
  position: absolute;
  inset: -8px -8px auto;
  height: 13px;
  border-radius: 5px 5px 0 0;
  background: repeating-linear-gradient(135deg, #172d48 0 12px, #ffca2e 12px 24px);
}
.sign-bolt {
  position: absolute;
  top: 4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f6d36d;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.sign-bolt:first-child { right: 9px; }
.sign-bolt:last-child { left: 9px; }
.warning-sign strong {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.35;
  font-weight: 950;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hard-hat {
  position: absolute;
  z-index: 4;
  top: -36px;
  right: 7px;
  width: 66px;
  transform: rotate(18deg);
  filter: drop-shadow(0 5px 3px rgba(80,60,20,.22));
}
.hard-hat svg { display: block; width: 100%; }
.traffic-cone {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  width: 34px;
  height: 66px;
  background: linear-gradient(90deg, #f04d1f, #ff8c36 48%, #d83a1a);
  clip-path: polygon(45% 0, 56% 0, 100% 88%, 100% 100%, 0 100%, 0 88%);
  filter: drop-shadow(0 4px 3px rgba(87, 73, 56, .18));
}
.traffic-cone::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 39px;
  height: 12px;
  background: #fff;
  transform: skewY(-12deg);
}
.traffic-cone span {
  position: absolute;
  bottom: -5px;
  left: -7px;
  width: 48px;
  height: 8px;
  border-radius: 5px;
  background: #d34a24;
}
.traffic-cone--left { left: 5%; }
.traffic-cone--right { right: 5%; transform: scale(.9); }
.ground-line {
  position: absolute;
  z-index: 1;
  right: -20vw;
  bottom: -4px;
  left: -20vw;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(165,215,248,.5));
  box-shadow: 0 -8px 24px rgba(255,255,255,.65);
}

.partner-button {
  position: absolute;
  z-index: 8;
  bottom: 7px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: clamp(240px, 29vw, 380px);
  min-height: 70px;
  padding: 12px 26px;
  color: #fff;
  border: 3px solid rgba(255,255,255,.96);
  border-radius: 999px;
  background: linear-gradient(135deg, #18bdf4 0%, #0874c8 52%, #064584 100%);
  box-shadow: 0 10px 22px rgba(0, 87, 157, .3), inset 0 2px 2px rgba(255,255,255,.32);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  transform: translateX(-50%);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.partner-button:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 15px 27px rgba(0, 87, 157, .35), inset 0 2px 2px rgba(255,255,255,.32);
  filter: saturate(1.08);
}
.partner-button:active { transform: translateX(-50%) translateY(0); }
.partner-button svg { width: 29px; height: 29px; fill: currentColor; }
.button-arrow { font-size: 23px; opacity: .9; }

.page-footer {
  position: relative;
  z-index: 8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 5px auto 0;
  color: #6b8eaf;
  font-size: 11px;
  font-weight: 700;
}
.footer-divider { width: 4px; height: 4px; border-radius: 50%; background: #e6a91d; }

.modal-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 27, 61, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-overlay[hidden] { display: none !important; }
.partner-modal {
  position: relative;
  width: min(100%, 460px);
  padding: 34px clamp(20px, 5vw, 38px) 27px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 28px;
  background: linear-gradient(155deg, #fff, #f0f8ff);
  box-shadow: 0 28px 80px rgba(0, 26, 66, .32), inset 0 1px 0 #fff;
  text-align: center;
  animation: modal-in .24s ease-out both;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 12px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #16447e;
  border: 0;
  border-radius: 50%;
  background: #e7f3ff;
  font-size: 27px;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.modal-close:hover { background: #d4eaff; transform: rotate(90deg); }
.modal-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 9px;
  color: #0877d3;
  border-radius: 19px;
  background: linear-gradient(145deg, #e5f6ff, #cceaff);
  box-shadow: inset 0 1px 0 #fff;
}
.modal-icon svg { width: 31px; height: 31px; fill: currentColor; }
.partner-modal h2 {
  margin: 0 0 7px;
  color: #092f6e;
  font-size: 25px;
  font-weight: 950;
}
.partner-modal p {
  margin: 0 0 20px;
  color: #6682a4;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 600;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 12px;
  border: 1.5px solid #b8d8f5;
  border-radius: 14px;
  background: #fafdff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input-wrap:focus-within {
  border-color: #168de5;
  box-shadow: 0 0 0 4px rgba(22,141,229,.11);
}
.code-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #0876ce;
  border-radius: 10px;
  background: #e3f2ff;
  direction: ltr;
  font: 800 14px/1 monospace;
}
.input-wrap input {
  width: 100%;
  min-width: 0;
  height: 42px;
  color: #103d79;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}
.input-wrap input::placeholder { color: #9ab0c9; font-weight: 500; }
.form-error {
  margin: 8px 2px 0 !important;
  color: #c33b4d !important;
  text-align: right;
  font-size: 12px !important;
}
.form-error[hidden] { display: none; }
.modal-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  margin-top: 15px;
  padding: 10px 16px;
  color: #fff;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(110deg, #16a8ee, #07519b);
  box-shadow: 0 9px 18px rgba(0, 93, 170, .2);
  font-size: 15px;
  font-weight: 900;
  transition: transform .2s ease, filter .2s ease;
}
.modal-submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.modal-note {
  display: block;
  margin-top: 17px;
  color: #9aadc3;
  font-size: 10px;
  font-weight: 600;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (min-width: 1500px) {
  .hero-copy { margin-top: 34px; }
  .construction-scene { height: 480px; }
}
@media (max-width: 1050px) {
  .hero-copy { width: min(720px, 72vw); }
  .character--khakpour { width: clamp(210px, 28vw, 330px); }
  .character--erfan { width: clamp(205px, 27vw, 320px); }
  .worksite { width: min(360px, 38vw); }
}
@media (max-width: 760px) {
  .page-shell { min-height: 940px; padding: 15px 14px 16px; }
  .brand-header { min-height: 62px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 15px; font-size: 30px; }
  .brand-copy strong { font-size: 25px; }
  .brand-copy small { font-size: 10px; }
  .header-badge { display: none; }
  .hero-copy { width: 100%; margin-top: 22px; }
  .eyebrow { font-size: 11px; padding: 6px 11px; }
  h1 { margin-top: 12px; font-size: clamp(34px, 8.8vw, 48px); letter-spacing: -1.4px; }
  .title-underline { width: 160px; height: 9px; border-top-width: 6px; margin-bottom: 7px; }
  .intro { max-width: 560px; font-size: 13px; line-height: 1.9; padding: 0 5px; }
  .countdown-heading { gap: 7px; margin: 15px auto 10px; padding: 6px 8px 6px 10px; font-size: 12px; }
  .calendar-icon { width: 25px; height: 25px; }
  .calendar-icon svg { width: 21px; height: 21px; }
  .days-pill { padding: 6px 10px; }
  .countdown-grid { gap: 6px; width: min(100%, 460px); }
  .time-card { min-height: 82px; border-radius: 15px; padding: 8px 3px; }
  .time-value { font-size: clamp(26px, 7vw, 36px); }
  .time-label { margin-top: 4px; font-size: 12px; }
  .construction-scene { height: 405px; margin-top: 10px; }
  .skyline { right: -25vw; left: -25vw; height: 88%; }
  .character--khakpour { left: -24px; bottom: 53px; width: 43vw; height: 300px; }
  .character--erfan { right: -20px; bottom: 55px; width: 42vw; height: 290px; }
  .worksite { bottom: 62px; width: 190px; height: 145px; }
  .soil-pile--back { height: 82px; bottom: 12px; }
  .soil-pile--front { height: 50px; }
  .warning-sign { top: 15px; width: 155px; min-height: 78px; padding: 13px 8px 8px; border-width: 6px; outline-width: 2px; }
  .warning-sign strong { font-size: 17px; }
  .hard-hat { width: 45px; top: -25px; }
  .traffic-cone { width: 23px; height: 45px; bottom: 18px; }
  .traffic-cone::before { top: 26px; height: 9px; }
  .traffic-cone span { width: 34px; left: -5px; }
  .partner-button { bottom: 4px; min-width: 220px; min-height: 58px; padding: 9px 20px; font-size: 19px; gap: 10px; }
  .partner-button svg { width: 24px; height: 24px; }
  .page-footer { margin-top: 0; font-size: 9px; gap: 9px; }
}
@media (max-width: 390px) {
  .page-shell { min-height: 900px; }
  .construction-scene { height: 375px; }
  .character--khakpour { width: 45vw; left: -28px; height: 270px; }
  .character--erfan { width: 43vw; right: -24px; height: 265px; }
  .worksite { width: 165px; bottom: 58px; }
  .warning-sign { width: 143px; }
  .warning-sign strong { font-size: 15px; }
  .partner-button { min-width: 205px; }
  .intro { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   اصلاحات چیدمان نسخه دوم
   - صحنه ساخت‌وساز در فضای رزروشده خودش قرار می‌گیرد.
   - تابلو بالاتر از دکمه همکاران می‌ماند.
   - عرض محتوا در دسکتاپ بهتر از فضای نمایشگر استفاده می‌کند.
   - در نمایشگرهای کوتاه، صفحه به‌جای هم‌پوشانی اسکرول می‌خورد.
   ========================================================== */
.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 14px clamp(16px, 3.5vw, 60px) 14px;
  overflow-x: clip;
  overflow-y: visible;
}

.brand-header {
  flex: 0 0 auto;
  min-height: 62px;
  width: 100%;
}

.hero-copy {
  flex: 0 0 auto;
  width: min(900px, 88vw);
  margin: 8px auto 0;
}

.eyebrow {
  padding: 6px 14px;
  font-size: 12px;
}

h1 {
  margin-top: 10px;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.18;
  letter-spacing: -1.8px;
}

.title-underline {
  width: clamp(150px, 22vw, 280px);
  height: 10px;
  margin: -1px auto 8px;
  border-top-width: 7px;
}

.intro {
  max-width: 850px;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.85;
}

.countdown-heading {
  gap: 10px;
  margin: 13px auto 9px;
  padding: 6px 11px 6px 13px;
  font-size: clamp(13px, 1.15vw, 16px);
}

.countdown-grid {
  width: min(680px, 100%);
  gap: clamp(8px, 1.1vw, 13px);
}

.time-card {
  min-height: clamp(78px, 10vh, 104px);
  padding: 8px 7px;
  border-radius: 19px;
}

.time-value {
  font-size: clamp(32px, 3.5vw, 49px);
}

.construction-scene {
  flex: 1 0 auto;
  width: min(1600px, 100%);
  height: clamp(300px, 36vh, 390px);
  max-height: 390px;
  margin: 0 auto;
  isolation: isolate;
}

.skyline {
  z-index: 0;
  right: -4vw;
  bottom: 0;
  left: -4vw;
  height: 100%;
  opacity: .68;
  background-position: bottom center;
  background-size: 100% 100%;
}

.character {
  z-index: 2;
  bottom: 0;
}

.character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.character--khakpour {
  left: 0;
  width: clamp(240px, 27vw, 420px);
  height: 100%;
}

.character--erfan {
  right: 0;
  width: clamp(235px, 26vw, 405px);
  height: 100%;
}

.character--erfan img {
  max-height: 100%;
  object-position: center bottom;
}

.worksite {
  z-index: 3;
  bottom: 66px;
  width: min(500px, 34vw);
  height: 220px;
}

.warning-sign {
  top: 0;
  width: clamp(210px, 22vw, 290px);
  min-height: 116px;
  padding: 18px 12px 12px;
}

.warning-sign strong {
  font-size: clamp(20px, 2vw, 27px);
}

.hard-hat {
  top: -31px;
}

.traffic-cone {
  bottom: 19px;
}

.ground-line {
  z-index: 1;
  bottom: -66px;
}

.partner-button {
  z-index: 7;
  bottom: 0;
  min-width: clamp(245px, 27vw, 380px);
  min-height: 66px;
  font-size: clamp(20px, 2vw, 26px);
}

.page-footer {
  flex: 0 0 auto;
  margin: 2px auto 0;
  min-height: 18px;
}

@media (min-width: 1500px) {
  .hero-copy { margin-top: 5px; }
  .construction-scene { height: clamp(300px, 36vh, 390px); }
}

@media (max-height: 760px) and (min-width: 761px) {
  .page-shell { padding-top: 8px; padding-bottom: 8px; }
  .brand-header { min-height: 54px; }
  .hero-copy { margin-top: 3px; }
  .eyebrow { padding: 5px 12px; }
  h1 { margin-top: 7px; font-size: clamp(38px, 4vw, 58px); }
  .title-underline { margin-bottom: 5px; }
  .intro { font-size: 14px; line-height: 1.65; }
  .countdown-heading { margin: 8px auto 6px; }
  .time-card { min-height: 70px; }
  .time-value { font-size: 34px; }
  .construction-scene { height: 280px; min-height: 280px; }
  .worksite { bottom: 57px; transform: translateX(-50%) scale(.88); transform-origin: bottom center; }
  .partner-button { min-height: 58px; }
  .page-footer { font-size: 10px; }
}

@media (max-width: 760px) {
  .page-shell {
    min-height: 100svh;
    padding: 12px 14px 13px;
  }
  .brand-header { min-height: 56px; }
  .hero-copy { width: 100%; margin-top: 12px; }
  .eyebrow { font-size: 11px; padding: 6px 11px; }
  h1 { font-size: clamp(34px, 8.6vw, 47px); line-height: 1.22; }
  .intro { font-size: 13px; line-height: 1.8; }
  .countdown-heading { margin: 12px auto 8px; }
  .countdown-grid { width: min(100%, 460px); }
  .time-card { min-height: 78px; }
  .time-value { font-size: clamp(27px, 7vw, 36px); }
  .construction-scene {
    flex: 0 0 auto;
    width: 100%;
    height: clamp(320px, 43vh, 390px);
    max-height: none;
    margin-top: 2px;
  }
  .skyline { right: -25vw; left: -25vw; height: 94%; }
  .character--khakpour {
    left: -23px;
    bottom: 43px;
    width: clamp(150px, 43vw, 205px);
    height: 275px;
  }
  .character--erfan {
    right: -23px;
    bottom: 43px;
    width: clamp(150px, 42vw, 200px);
    height: 275px;
  }
  .worksite {
    bottom: 58px;
    width: clamp(165px, 48vw, 205px);
    height: 155px;
  }
  .soil-pile--back { height: 78px; bottom: 12px; }
  .soil-pile--front { height: 48px; }
  .warning-sign {
    top: 0;
    width: clamp(142px, 39vw, 165px);
    min-height: 78px;
    padding: 12px 7px 7px;
    border-width: 6px;
    outline-width: 2px;
  }
  .warning-sign strong { font-size: 16px; }
  .hard-hat { width: 44px; top: -23px; }
  .traffic-cone { width: 22px; height: 43px; bottom: 16px; }
  .traffic-cone::before { top: 25px; height: 8px; }
  .traffic-cone span { width: 33px; left: -5px; }
  .partner-button {
    bottom: 0;
    min-width: 215px;
    min-height: 57px;
    padding: 8px 18px;
    font-size: 18px;
    gap: 9px;
  }
  .partner-button svg { width: 23px; height: 23px; }
  .page-footer { margin-top: 0; font-size: 9px; gap: 8px; }
  .ground-line { bottom: -58px; }
}

@media (max-width: 390px) {
  .construction-scene { height: 330px; }
  .character--khakpour { left: -26px; width: 158px; height: 250px; bottom: 43px; }
  .character--erfan { right: -26px; width: 156px; height: 250px; bottom: 43px; }
  .worksite { width: 166px; height: 148px; bottom: 57px; }
  .warning-sign { width: 143px; }
  .warning-sign strong { font-size: 15px; }
  .partner-button { min-width: 205px; min-height: 54px; }
  .ground-line { bottom: -57px; }
}
