/* ============================================================
   Rose IT Ltd — home page bands (v5). Loads after v5.css.
   ============================================================ */

/* ----- Hero: full-height, animated aurora in steel and brass ----- */
.v5 .hero5 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
}
.v5 .aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 50% 120%, #1a2d58 0%, var(--ink) 55%);
  overflow: hidden;
}
.v5 .aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.v5 .aurora .a1 { width: 70vw; height: 46vw; left: -10vw; bottom: -18vw; background: #2b4b8f; animation: drift-a 26s ease-in-out infinite alternate; }
.v5 .aurora .a2 { width: 56vw; height: 38vw; right: -14vw; bottom: -14vw; background: #8a6a35; opacity: 0.5; animation: drift-b 31s ease-in-out infinite alternate; }
.v5 .aurora .a3 { width: 40vw; height: 26vw; left: 32vw; bottom: 4vw; background: #6e85b0; opacity: 0.28; animation: drift-c 22s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(8vw, -4vw) scale(1.08); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-9vw, -3vw) scale(1.12); } }
@keyframes drift-c { from { transform: translate(0, 2vw) scale(0.95); } to { transform: translate(-4vw, -5vw) scale(1.1); } }
.v5 .horizon {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 170vw;
  height: 72%;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0.8;
  pointer-events: none;
}
.v5 .hero5::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(12, 26, 53, 0), var(--ink));
  z-index: -1;
}
.v5 .hero5-inner { max-width: 880px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.v5 .hero5 .eyebrow { font-size: 12px; letter-spacing: 0.22em; }
.v5 .hero5 h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--paper);
}
.v5 .hero5 h1 em { font-style: italic; color: var(--brass-bright); font-weight: 400; }
.v5 .hero5 .lede {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--steel-bright);
  max-width: 62ch;
  margin: 0;
  font-weight: 300;
}
.v5 .hero5-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 6px; }
.v5 .hero5-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.62);
}
.v5 .hero5-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); align-self: center; }
.v5 .scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.v5 .scroll-hint::after { content: ""; width: 1px; height: 38px; background: var(--grad-line); animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ----- Service cards band (dark) ----- */
.v5 .services5 {
  padding: clamp(40px, 7vw, 110px) var(--gutter) clamp(120px, 14vw, 200px);
  gap: clamp(48px, 6vw, 88px);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(110, 133, 176, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(138, 106, 53, 0.18), transparent 70%),
    var(--ink);
}
.v5 .services5::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(245, 241, 234, 0), var(--paper));
  pointer-events: none;
}
.v5 .cards5 {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}
.v5 .scard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(340px, 30vw, 460px);
  border-radius: var(--radius-card);
  background: var(--card-dark);
  border: 1px solid rgba(245, 241, 234, 0.09);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease;
}
.v5 .scard:hover { transform: translateY(-4px); border-color: rgba(214, 176, 116, 0.35); }
.v5 .scard .glow {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 60%;
  z-index: -1;
  opacity: 0.6;
  transform: translateY(-30%);
  transition: transform 0.6s var(--ease-out), opacity 0.6s ease;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(176, 138, 74, 0.42), transparent 70%),
    linear-gradient(160deg, rgba(110, 133, 176, 0.35), rgba(8, 18, 38, 0) 60%);
}
.v5 .scard:hover .glow { transform: translateY(0); opacity: 1; }
.v5 .scard .body { display: flex; flex-direction: column; flex: 1 1 auto; padding: clamp(18px, 1.6vw, 26px) clamp(18px, 1.7vw, 26px); }
.v5 .scard .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgba(35, 52, 86, 0.9);
  border: 1px solid rgba(245, 241, 234, 0.1);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}
.v5 .scard .badge svg { width: 16px; height: 16px; color: var(--brass-bright); }
.v5 .scard h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: auto 0 0;
  color: var(--paper);
  transition: transform 0.5s var(--ease-out);
}
.v5 .scard:hover h3 { transform: translateY(-6px); }
.v5 .scard ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.v5 .scard li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--steel-bright); font-weight: 300; }
.v5 .scard li svg { width: 13px; height: 13px; flex: none; margin-top: 4px; color: var(--brass); }
.v5 .scard .more {
  max-height: 0;
  opacity: 0;
  transform: translateY(14px);
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.v5 .scard:hover .more,
.v5 .scard:focus-visible .more { max-height: 96px; opacity: 1; transform: translateY(0); }
.v5 .scard .more > span > span { display: inline; margin: 0; padding: 0; background: none; }
.v5 .scard .more > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 0;
  border-radius: 12px;
  background-image: var(--grad-a);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Keyframes for the orbit disc (moved here from styles.css with the old hero) */
@keyframes spin-cw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spin-ccw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes node-pulse {
  0%, 100% { opacity: 0.4; r: 2; }
  50%      { opacity: 1;   r: 3.4; }
}

/* ----- Method: what goes wrong versus what we do (light) ----- */
.v5 .method5 { padding-top: clamp(56px, 7vw, 100px); }
.v5 .split {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 380px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.v5 .split .col { display: flex; flex-direction: column; gap: 12px; }
.v5 .disc {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 2px;
  background-image: var(--grad-a);
  justify-self: center;
  width: 100%;
}
.v5 .disc .face {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #1c315f 0%, var(--ink) 70%);
  overflow: hidden;
}
.v5 .disc svg { width: 100%; height: 100%; display: block; }
.v5 .disc .r1, .v5 .disc .r2, .v5 .disc .r3, .v5 .disc .e1 { transform-origin: 150px 150px; }
.v5 .disc .r1 { animation: spin-cw 80s linear infinite; }
.v5 .disc .r2 { animation: spin-ccw 60s linear infinite; }
.v5 .disc .r3 { animation: spin-cw 44s linear infinite; }
.v5 .disc .e1 { animation: spin-ccw 95s linear infinite; }
.v5 .disc .node { animation: node-pulse 4s ease-in-out infinite; }
.v5 .disc .caption {
  position: absolute;
  inset-inline: 0;
  bottom: 14%;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

/* ----- Delivery staircase (light, wave lines) ----- */
.v5 .delivery5 { overflow: hidden; padding-bottom: clamp(56px, 6vw, 90px); }
.v5 .delivery5 .waves { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 46%; z-index: 0; opacity: 0.9; pointer-events: none; }
.v5 .delivery5 .band-head, .v5 .delivery5 .stairs { position: relative; z-index: 1; }
.v5 .stairs {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
.v5 .pillar { display: flex; flex-direction: column; align-items: flex-start; }
.v5 .pillar:nth-child(2) { padding-bottom: clamp(24px, 3vw, 44px); }
.v5 .pillar:nth-child(3) { padding-bottom: clamp(48px, 6vw, 88px); }
.v5 .pillar:nth-child(4) { padding-bottom: clamp(72px, 9vw, 132px); }
.v5 .pillar .tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(12, 26, 53, 0.06);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.v5 .pillar .tag svg { width: 16px; height: 16px; flex: none; }
.v5 .pillar .tag small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep); margin-left: 4px; }
.v5 .pillar .drop { display: flex; gap: 18px; margin-top: 10px; padding-left: 20px; }
.v5 .pillar .drop i { width: 1px; min-height: 150px; background: var(--grad-line); flex: none; }
.v5 .pillar ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.v5 .pillar li { font-size: 15px; padding: 6px 0; color: rgba(12, 26, 53, 0.78); white-space: nowrap; }

/* ----- 3D tours (dark) ----- */
.v5 .tours5 { border-top: 1px solid var(--rule); }
.v5 .tour-grid { width: 100%; max-width: var(--container); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v5 .tour {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(320px, 30vw, 440px);
  border-radius: var(--radius-card);
  padding: 1px;
  background-image: linear-gradient(160deg, rgba(159, 183, 223, 0.5), rgba(214, 176, 116, 0.5));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.v5 .tour .inner {
  position: relative;
  border-radius: calc(var(--radius-card) - 1px);
  overflow: hidden;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.4vw, 36px);
  background: var(--ink);
}
.v5 .tour img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out), opacity 0.6s ease;
}
.v5 .tour:hover img { transform: scale(1.07); opacity: 0.85; }
.v5 .tour .inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 26, 53, 0.96) 18%, rgba(12, 26, 53, 0.35) 60%, rgba(12, 26, 53, 0.05));
}
.v5 .tour .text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.v5 .tour .text .eyebrow { color: var(--brass-bright); }
.v5 .tour h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: var(--paper); }
.v5 .tour p { margin: 0; color: var(--steel-bright); font-weight: 300; font-size: 15.5px; line-height: 1.55; max-width: 48ch; }
.v5 .tour .go { margin-top: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-bright); display: inline-flex; gap: 8px; align-items: center; }
.v5 .tour .go .arrow { transition: transform 0.35s var(--ease-out); }
.v5 .tour:hover .go .arrow { transform: translateX(5px); }

/* ----- Responsive ----- */
@media (max-width: 1180px) { .v5 .cards5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .v5 .split { grid-template-columns: 1fr; }
  .v5 .split .disc { order: -1; width: clamp(200px, 48vw, 300px); }
  .v5 .pillar li { white-space: normal; }
}
@media (max-width: 860px) {
  .v5 .cards5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5 .scard { min-height: 300px; }
  .v5 .scard .more { max-height: 96px; opacity: 1; transform: none; }
  .v5 .stairs { grid-template-columns: 1fr 1fr; align-items: start; gap: 32px 20px; }
  .v5 .pillar { padding-bottom: 0 !important; }
  .v5 .pillar .drop i { min-height: 110px; }
  .v5 .tour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .v5 .hero5 { padding: 120px var(--gutter) 100px; min-height: 92svh; }
  .v5 .hero5 h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .v5 .hero5-inner { gap: 20px; }
  .v5 .scroll-hint { display: none; }
  .v5 .cards5 { grid-template-columns: 1fr; }
  .v5 .scard { min-height: 0; }
  .v5 .scard h3 { margin-top: 22px; }
  .v5 .stairs { grid-template-columns: 1fr; }
  .v5 .pillar .tag { font-size: 16px; }
  .v5 .tour { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .v5 .aurora i, .v5 .disc .r1, .v5 .disc .r2, .v5 .disc .r3, .v5 .disc .e1, .v5 .disc .node, .v5 .scroll-hint::after { animation: none; }
}
