/* ============================================================
   Special Offers — "Direct & Covered"
   Layers on top of site-chrome.css + site-pages.css (light theme).
   Reuses the --u-* palette defined in site-pages.css :root.
   ============================================================ */

.so-page { background: var(--u-bg); }

/* ---------- Hero (dark skyline video band) ---------- */
.so-hero {
  position: relative;
  min-height: clamp(460px, 74vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0b0d12;
  color: #fff;
  text-align: center;
}
.so-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.so-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,9,14,.55) 0%, rgba(8,9,14,.22) 42%, rgba(8,9,14,.82) 100%),
    radial-gradient(120% 80% at 50% 30%, transparent 40%, rgba(8,9,14,.35) 100%);
}
.so-hero__in { position: relative; z-index: 2; padding: 92px 24px; max-width: 920px; }
.so-hero .so-kick {
  display: inline-block;
  font-family: var(--u-mono);
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  color: #ffd7d3;
  background: rgba(226,75,74,.16);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 15px; border-radius: 30px;
  margin-bottom: 24px;
}
.so-hero h1 {
  font-size: clamp(2.9rem, 9vw, 6rem);
  font-weight: 800; letter-spacing: -.045em; line-height: .92;
  margin: 0;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.so-hero__tag {
  margin: 16px 0 0;
  font-size: clamp(18px, 3.6vw, 30px);
  font-weight: 700; letter-spacing: -.01em;
  background: linear-gradient(90deg, #ff8a5c, #ff5a4d);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.so-hero__sub {
  margin: 18px auto 0; max-width: 54ch;
  font-size: clamp(15px, 2vw, 18px); line-height: 1.6;
  color: rgba(255,255,255,.82);
}
.so-scrollcue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7);
  font-family: var(--u-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.so-scrollcue span {
  width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  position: relative;
}
.so-scrollcue span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  background: #fff; border-radius: 3px; transform: translateX(-50%);
  animation: soCue 1.6s ease-in-out infinite;
}
@keyframes soCue { 0%,100%{opacity:0;transform:translate(-50%,0)} 50%{opacity:1;transform:translate(-50%,7px)} }

/* ---------- Offers section ---------- */
.so-offers { max-width: 1200px; margin: 0 auto; padding: clamp(44px, 6vw, 78px) 24px; }
.so-sechead { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.so-sechead .u-kick { display: inline-block; margin-bottom: 14px; }
.so-sechead h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.9rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.05; margin: 0 0 12px; color: var(--u-ink);
}
.so-sechead p { color: var(--u-ink2); font-size: clamp(15px, 2vw, 17px); margin: 0; }

.so-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .so-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .so-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Card ---------- */
.so-card {
  background: var(--u-card);
  border: 1px solid var(--u-line);
  border-radius: 18px;
  box-shadow: var(--u-sh1);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.so-card:hover { transform: translateY(-5px); box-shadow: var(--u-sh); border-color: #e2ded6; }
.so-card__accent { height: 4px; background: linear-gradient(90deg, var(--cat, var(--u-red)), transparent 85%); }
.so-card__top { padding: 16px 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.so-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 20px;
  background: var(--cat-soft, var(--u-rsoft)); color: var(--cat, var(--u-red2));
}
.so-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.so-code {
  font-family: var(--u-mono); font-size: 10.5px; letter-spacing: .02em;
  color: var(--u-muted); background: var(--u-soft);
  border: 1px solid var(--u-line); padding: 4px 9px; border-radius: 20px;
  white-space: nowrap;
}
.so-card__body { padding: 12px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.so-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 8px 0 6px; color: var(--u-ink); }
.so-loc { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: var(--u-ink2); margin: 0; }
.so-loc svg { width: 14px; height: 14px; flex: none; margin-top: 2px; fill: var(--u-red); }
.so-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0 2px; }
.so-badge { font-size: 11px; font-weight: 600; color: var(--u-red2); background: var(--u-rsoft); border-radius: 20px; padding: 3px 10px; }
.so-specs { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--u-line); display: flex; flex-direction: column; gap: 8px; }
.so-specs li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 13px; line-height: 1.4; }
.so-specs .k { color: var(--u-muted); flex: none; }
.so-specs .v { color: var(--u-ink); font-weight: 600; text-align: right; }
.so-tail { margin-top: auto; }
.so-price { margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--u-line); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.so-price .amt { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--u-ink); }
.so-price .note { font-size: 11px; color: var(--u-muted); text-transform: uppercase; letter-spacing: .08em; }
.so-wa {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  padding: 13px 16px; border-radius: 12px; text-decoration: none;
  background: linear-gradient(135deg, #2ee06e 0%, #1aa851 52%, #109c7a 100%);
  box-shadow: 0 8px 22px rgba(17,140,100,.34), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .12s ease, box-shadow .25s ease, filter .25s ease;
}
/* Force white text/icon — beats site-pages' `.u-page a { color: red }` (0,1,1) */
.so-page a.so-wa,
.so-page a.so-wa:hover,
.so-page a.so-wa:visited { color: #fff; }
.so-wa__in { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; }
.so-wa svg { width: 20px; height: 20px; fill: #fff; }

/* Glossy light-sweep gliding across the button */
.so-wa::before {
  content: ""; position: absolute; top: -30%; left: -75%; z-index: 1;
  width: 45%; height: 160%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.62) 50%, transparent 100%);
  transform: skewX(-18deg); pointer-events: none;
  animation: soShine 4.4s ease-in-out infinite;
}
@keyframes soShine {
  0%   { left: -75%; }
  38%  { left: 130%; }
  100% { left: 130%; }   /* hold off-screen, then repeat — a periodic glint */
}
/* Stagger by grid column so the shine reads as a wave, not 23 flashes at once */
.so-grid .so-card:nth-child(3n+2) .so-wa::before { animation-delay: .9s; }
.so-grid .so-card:nth-child(3n)   .so-wa::before { animation-delay: 1.8s; }

.so-wa:hover { transform: translateY(-1px); filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(17,140,100,.52), 0 0 0 1px rgba(46,224,110,.25), inset 0 1px 0 rgba(255,255,255,.32); }
.so-wa:hover::before { animation-duration: 1.5s; }
.so-wa:active { transform: translateY(1px); }

/* Category tints */
.so-card[data-cat="Plot"]      { --cat: #c9302e; --cat-soft: #fdecea; }
.so-card[data-cat="Building"]  { --cat: #2563eb; --cat-soft: #eaf1fd; }
.so-card[data-cat="Hotel"]     { --cat: #b7791f; --cat-soft: #fbf1dd; }
.so-card[data-cat="Mixed Use"] { --cat: #7c3aed; --cat-soft: #f1ecfd; }

/* ---------- Layer-stacking reveal (progressive enhancement) ---------- */
.so-js .so-card { opacity: 0; transform: translateY(40px) scale(.965); will-change: opacity, transform; }
.so-js .so-card.is-inview {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .62s cubic-bezier(.22,1,.36,1);
}

/* ---------- Request band (dark CTA) ---------- */
.so-request {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 15% 0%, #16141b 0%, #0d0c11 55%, #08080b 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 24px;
  margin-top: clamp(24px, 4vw, 40px);
}
.so-request .so-glow {
  position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(226,75,74,.5), transparent 70%);
  pointer-events: none;
}
.so-request .so-glow2 {
  position: absolute; left: -140px; bottom: -160px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,106,61,.28), transparent 70%);
  pointer-events: none;
}
.so-request__in { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.so-request .so-kick { display: inline-block; font-family: var(--u-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #ff9d8f; margin-bottom: 16px; }
.so-request h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin: 0 0 14px; color: #fff; max-width: 20ch; }
.so-request__lead { color: #c9c7c1; font-size: clamp(15px, 2vw, 17.5px); line-height: 1.6; margin: 0; max-width: 60ch; }

.so-form { background: #fff; color: var(--u-ink); border-radius: 20px; padding: clamp(22px, 4vw, 34px); margin-top: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.so-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .so-row { grid-template-columns: 1fr; } }
.so-field { margin-bottom: 14px; }
.so-field:last-of-type { margin-bottom: 0; }
.so-field label { display: block; font-size: 13px; font-weight: 700; color: var(--u-ink); margin-bottom: 6px; }
.so-field label .req { color: var(--u-red2); }
.so-field input, .so-field textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid #d9d7d1; border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 15px; color: var(--u-ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.so-field textarea { resize: vertical; min-height: 108px; }
.so-field input:focus, .so-field textarea:focus {
  outline: none; border-color: var(--u-red); box-shadow: 0 0 0 3px var(--u-rring);
}
.so-field .hint { font-size: 12px; color: var(--u-muted); margin: 6px 0 0; }
.so-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.so-file label.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--u-soft); border: 1px dashed #cfccc4; border-radius: 12px;
  padding: 11px 16px; font-size: 14px; font-weight: 600; color: var(--u-ink2);
  transition: border-color .2s, color .2s;
}
.so-file label.btn:hover { border-color: var(--u-red); color: var(--u-red2); }
.so-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.so-file .fname { font-size: 13px; color: var(--u-muted); }
.so-submit {
  margin-top: 18px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer;
  background: linear-gradient(90deg, #e1261c, #ff6a3d);
  color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .01em;
  padding: 15px 20px; border-radius: 13px;
  box-shadow: 0 12px 28px rgba(225,38,28,.34);
  transition: transform .1s ease, box-shadow .2s ease, filter .2s ease;
}
.so-submit:hover { filter: brightness(1.05); box-shadow: 0 14px 34px rgba(225,38,28,.42); }
.so-submit:active { transform: translateY(1px); }
.so-formnote { font-size: 12.5px; color: var(--u-muted); margin: 12px 0 0; text-align: center; }

.so-alert { border-radius: 12px; padding: 12px 15px; font-size: 14px; margin-bottom: 16px; }
.so-alert.err { background: #fdecea; border: 1px solid #f4c4c0; color: #a32019; }
.so-ok {
  background: #eafaf0; border: 1px solid #b7e4c7; color: #176a3a;
  border-radius: 16px; padding: 22px 24px; margin-top: 28px; text-align: center;
}
.so-ok strong { display: block; font-size: 18px; margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  .so-js .so-card { opacity: 1 !important; transform: none !important; transition: none !important; }
  .so-scrollcue span::after { animation: none; }
  .so-wa::before { animation: none; display: none; }
}
