/* ==========================================================
   SERVICES — light, clean studio page.
   ========================================================== */
body[data-page="services"] { --service-blue: #2563eb; background: #fbfdff; color: var(--text); }
body[data-page="services"] .btn--primary { --bg: var(--service-blue); --bd: var(--service-blue); }
body[data-page="services"] .btn--primary:hover { --bg: #1d4ed8; --bd: #1d4ed8; }
.svc__eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #1d4ed8; background: #dbeafe; padding: 4px 10px; border-radius: 6px; }

/* ---------- hero ---------- */
.s-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px);
  background: radial-gradient(700px 420px at 80% 20%, rgba(24, 180, 255, .12), transparent 62%), linear-gradient(180deg, #f6f9ff, #fbfdff); }
.s-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.s-hero__pill { margin-bottom: 18px; }
.s-hero__pill { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #1d4ed8; background: #dbeafe; padding: 5px 12px; border-radius: 6px; }
.s-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; }
.s-hero h1 span { color: var(--service-blue); }
.s-hero__copy > p { margin-top: 18px; font-size: clamp(15px, 1.3vw, 17px); max-width: 44ch; color: var(--muted); }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.s-hero__cta .btn--ghost { --bg: #fff; --fg: var(--ink); --bd: var(--line); }
.s-hero__feats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; }
.s-hero__feats li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--muted); }
.s-hero__feats .ic { color: var(--blue); }
.s-hero__copy > * { animation: up .7s cubic-bezier(.2, .7, .2, 1) both; }
.s-hero__copy > :nth-child(2) { animation-delay: .06s } .s-hero__copy > :nth-child(3) { animation-delay: .12s } .s-hero__copy > :nth-child(4) { animation-delay: .18s } .s-hero__copy > :nth-child(5) { animation-delay: .24s }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* hero visual: laptop + phone + floating cards */
.hv { position: relative; aspect-ratio: 1.22; width: 100%; max-width: 600px; margin-left: auto; }
.hv__blob { position: absolute; inset: 6% 2% 2% 8%; border-radius: 46% 54% 50% 50%; background: linear-gradient(135deg, #dbeafe, #eff6ff 60%, #f1ecff); filter: blur(2px); }
.hv__laptop { position: absolute; left: 29%; top: 10%; width: 63%; }
.hv__screen { aspect-ratio: 1.6; background: #fff; border: 5px solid #1c2640; border-radius: 12px 12px 4px 4px; box-shadow: var(--shadow-2); overflow: hidden; }
.hv__base { height: 10px; margin-inline: -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#d9e0ee, #b9c4da); }
.hv__nav { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #eef2fa; }
.hv__nav i { width: 14px; height: 6px; border-radius: 3px; background: var(--blue); margin-right: auto; }
.hv__nav span { width: 16px; height: 4px; border-radius: 2px; background: #cfd9ee; }
.hv__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; padding: 12px; height: calc(100% - 22px); align-items: center; }
.hv__txt b { display: block; font-family: var(--f-display); font-size: clamp(11px, 1.7vw, 17px); line-height: 1.1; color: var(--ink); }
.hv__txt em { display: block; margin-top: 6px; font-style: normal; font-size: clamp(5px, .75vw, 8px); line-height: 1.4; color: var(--muted); }
.hv__txt u { display: inline-block; margin-top: 8px; text-decoration: none; background: var(--ink); color: #fff; font-size: clamp(5px, .7vw, 8px); font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.hv__art { position: relative; height: 100%; min-height: 40px; border-radius: 10px; background: linear-gradient(135deg, #e6f1ff, #eff6ff); }
.hv__plant { position: absolute; right: 10%; bottom: 8%; width: 22%; height: 52%; border-radius: 50% 50% 8px 8px; background: radial-gradient(circle at 50% 30%, #60a5fa 0 40%, transparent 42%), linear-gradient(#fff, #fff) bottom/70% 38% no-repeat; }
.hv__card { position: absolute; left: 12%; top: 16%; width: 50%; height: 56%; border-radius: 8px; background: #fff; box-shadow: 0 6px 14px -6px rgba(11, 26, 62, .35); }
.hv__phone { position: absolute; right: 2%; bottom: 8%; width: 17%; aspect-ratio: .5; border: 4px solid #1c2640; border-radius: 16px; background: #fff; box-shadow: var(--shadow-2); display: grid; place-items: center; padding: 6px; text-align: center; }
.hv__phone small { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(6px, 1vw, 10px); line-height: 1.2; color: var(--ink); }
.hv__phone u { display: inline-block; margin-top: 6px; text-decoration: none; background: var(--blue); color: #fff; font-size: 6px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.hv__check { position: absolute; z-index: 2; left: 0; top: 18%; width: 24%; min-width: 92px; padding: 10px 12px; display: grid; gap: 6px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1); animation: float 6s ease-in-out infinite; }
.hv__check li { display: flex; align-items: center; gap: 7px; font-size: clamp(8px, 1.1vw, 12px); font-weight: 600; color: var(--ink); }
.hv__check .ic { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: var(--blue); color: #fff; }
.hv__growth { position: absolute; z-index: 2; left: 4%; bottom: 8%; width: 28%; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1); animation: float 7s ease-in-out -2s infinite; }
.hv__growth small { display: block; font-size: clamp(7px, .95vw, 11px); color: var(--muted); }
.hv__growth b { font-family: var(--f-display); font-size: clamp(11px, 1.7vw, 18px); color: #2563eb; }
.hv__growth svg { width: 100%; height: 24px; margin-top: 4px; fill: #7fb8ff; }
.hv__growth svg rect:nth-child(n+4) { fill: var(--blue); }
.hv__tag { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1); font-size: clamp(8px, 1vw, 11px); font-weight: 700; line-height: 1.2; color: var(--ink); animation: float 6.5s ease-in-out -1s infinite; }
.hv__tag .ic { color: var(--blue); width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: #e8f1ff; }
.hv__note { position: absolute; right: -2%; top: 20%; font-size: 11px; font-weight: 600; line-height: 1.35; color: var(--ink-3); text-align: left; display: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- services ---------- */
.svc { padding-block: clamp(36px, 5vw, 64px); }
.svc__head { text-align: center; margin-bottom: clamp(22px, 3vw, 34px); }
.svc__head h2 { margin-top: 10px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
.svc__head p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.scards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scard { --tint: #e8f1ff; --accent: var(--blue); position: relative; display: flex; flex-direction: column; min-height: 324px; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.scard__vis { display: grid; place-items: center; min-height: 124px; background: #eff6ff; padding: 14px 10px 6px; }
.scard__vis svg { width: 100%; height: auto; }
.scard__go { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 4px 10px -4px rgba(11, 26, 62, .3); }
.scard__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.scard h3 { font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.scard p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.scard__cta { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.scard__cta .ic { transition: transform .18s; }
.scard__cta:hover .ic { transform: translateX(3px); }

/* ---------- process ---------- */
.proc { padding-block: clamp(20px, 3vw, 36px); }
.proc__box { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(22px, 3vw, 38px); border-radius: 18px; background: linear-gradient(120deg, #eff6ff, #f8faff 55%, #eff6ff); border: 1px solid var(--line); }
.proc__head h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.03em; }
.proc__head p { margin-top: 8px; font-size: 13.5px; color: var(--muted); max-width: 26ch; }
.proc__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.proc__steps li { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.proc__steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 24px; width: 10px; border-top: 1px solid #93c5fd; }
.proc__ic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #60a5fa, #2563eb); box-shadow: 0 8px 16px -8px #2563eb; }
.proc__ic .ic { color: #fff; }
.proc__steps small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.proc__steps h3 { font-size: 16px; margin-top: 2px; }
.proc__steps p { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ---------- featured projects ---------- */
.projects { padding-block: clamp(36px, 5vw, 64px); }
.projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.projects__head h2 { margin-top: 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.03em; }
.projects__head p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.projects__head .btn--ghost { --bg: #fff; --fg: var(--blue); --bd: var(--line); }
.projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proj { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.proj__shot { border-radius: 8px; overflow: hidden; background: #eff6ff; }
.proj__shot img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.proj__body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; }
.proj h3 { font-size: 15px; letter-spacing: -.01em; }
.proj__cat { display: inline-block; margin: 4px 0 6px; font-size: 10px; font-weight: 700; color: #1d4ed8; background: #dbeafe; padding: 2px 8px; border-radius: 999px; }
.proj p { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.proj__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.proj__link .ic { transition: transform .18s; }
.proj__link:hover .ic { transform: translateX(3px); }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(12px, 2vw, 24px) clamp(36px, 5vw, 64px); }
.cta__box { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 44px); border-radius: 18px; background: linear-gradient(110deg, #eff6ff, #eaf3ff 50%, #f5f9ff); border: 1px solid var(--line); }
.cta__plane { color: #60a5fa; transform: rotate(-12deg); }
.cta h2 { margin-top: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.cta p { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 52ch; }
.cta__act { display: grid; gap: 12px; justify-items: center; }
.cta__act ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cta__act li { display: inline-flex; align-items: center; gap: 5px; }
.cta__act .ic { color: #2563eb; }

/* ---------- contact (enquiry form) ---------- */
.contact { padding-block: clamp(40px, 6vw, 80px); background: linear-gradient(180deg, #f1f6ff, #fbfdff); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.contact h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.035em; line-height: 1.05; }
.contact__lead { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 38ch; }
.contact__list { margin-top: 28px; display: grid; gap: 14px; font-weight: 700; color: var(--ink); }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list .ic { color: var(--blue); }
.contact__list a:hover { color: var(--blue); }
.formcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.4vw, 38px); box-shadow: var(--shadow-2); color: var(--text); }
.chips { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 14px; color: var(--ink); float: left; width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--text); transition: background-color .15s, border-color .15s, color .15s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.chips input:not(:checked) + span:hover { border-color: var(--blue); }
.formcard__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.done { text-align: center; padding: 20px 0; }
.done__tick { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; margin: 0 auto 20px; }
.done h3 { font-size: 28px; margin-bottom: 10px; }
.done p { color: var(--muted); max-width: 40ch; margin-inline: auto; }
.done__act { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.done__msg { margin-top: 14px; min-height: 1.5em; font-weight: 700; color: var(--ok) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard { min-height: 370px; }
  .proc__box { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .s-hero__grid, .contact__grid { grid-template-columns: 1fr; }
  .hv { margin-inline: auto; }
  .proc__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc__steps li::after { display: none; }
  .cta__box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta p { margin-inline: auto; }
}
@media (max-width: 600px) {
  .scards, .projects__grid { grid-template-columns: 1fr; }
  .scard { min-height: 360px; }
  .proc__steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hv__check, .hv__growth, .hv__tag, .s-hero__copy > * { animation: none; } }
