/* Layout idea: light studio page; copy left, a 2.5D platform scene right that bleeds past the column. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --mist: #f3f5fc;
  --line: #e2e6f3;
  --ink: #0b1033;
  --muted: #55607f;
  --blue: #2647f5;
  --cyan: #3fd2ff;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(18px, 4vw, 60px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.1vw, 3.3rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.12rem; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(38, 71, 245, .7); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(38, 71, 245, .75); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #cfd5e8; }
.btn-ghost:hover { background: var(--mist); }

/* Nav */
.nav {
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
  padding: 16px var(--gutter);
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px);
}
.wordmark { white-space: nowrap; font: 800 1.45rem/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.nav-cta b { font-weight: inherit; }
.cta-short { display: none; }
.nav-links { display: flex; gap: clamp(16px, 3vw, 40px); }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--blue); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 0.56fr) minmax(0, 1.44fr); align-items: center;
  gap: clamp(8px, 2vw, 32px);
  padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(36px, 5vw, 72px);
  background: radial-gradient(60% 70% at 78% 45%, #eef2ff 0%, rgba(238, 242, 255, 0) 70%);
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy .eyebrow { margin: 0; }
.underline {
  background: linear-gradient(90deg, var(--blue), var(--cyan)) no-repeat 0 100% / 100% 5px;
  padding-bottom: 6px; border-radius: 2px; white-space: nowrap;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

.scene-wrap { position: relative; margin-right: calc(var(--gutter) * -0.8); }
.scene { position: relative; width: min(100%, calc((100vh - 200px) * 1.591)); width: min(100%, calc((100svh - 200px) * 1.591)); margin-inline: auto; aspect-ratio: 1753 / 1102; }
.scene > * { position: absolute; }
.platform { left: 0; top: 18.603%; width: 100%; height: auto; }
.arcs { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cards { inset: 0; }
.card {
  position: absolute; height: auto; max-width: none;
  will-change: transform, opacity;
}
.plant { position: absolute; height: auto; max-width: none; }
/* Service pages */
[hidden] { display: none !important; }
.service-page { padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(56px, 8vw, 110px); max-width: calc(46rem + var(--gutter) * 2); }
.service-page h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 20px; }
.service-page .lede { max-width: 40rem; color: var(--ink); opacity: .82; }
.service-page-head { display: flex; align-items: center; gap: 14px; margin: 28px 0 16px; }
.service-page-head .eyebrow { margin: 0; }
.service-page-head .icon { margin: 0; width: 54px; height: 54px; border-radius: 14px; }
.service-page-head .icon svg { width: 28px; height: 28px; }
.back { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; color: var(--blue); padding: 6px 0; }
.back:hover { text-decoration: underline; }
.service-actions { justify-content: flex-start; margin-top: 30px; padding: 0; }
.others-title { font-size: 1.15rem; margin: clamp(40px, 6vw, 64px) 0 16px; letter-spacing: -0.01em; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 1.05rem; }
.plan .amount { font-size: 2.1rem; }
.plan-mid { border-color: var(--blue); box-shadow: 0 20px 40px -24px rgba(38, 71, 245, .55); }
.plan-single { max-width: 22rem; }
.plan-incl { font-weight: 600; }
.plan-extra, .plan-foot, .quote-note { color: var(--muted); font-size: .95rem; }
.plan-foot { margin-top: 14px; max-width: 40rem; }
.quote-note { margin-top: 18px; }
@media (max-width: 620px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  text-decoration: none; font-size: .95rem; font-weight: 500; -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:active { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (hover: hover) { .chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; } }

/* Sections */
.section { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.section-tint { background: var(--mist); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px;
  margin-bottom: clamp(24px, 4vw, 44px);
}
.section-note { color: var(--muted); max-width: 30rem; }

.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
}
.service-grid li { display: flex; }
.service {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 20px; background: #fff;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
  color: var(--ink); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.service p { color: var(--muted); font-size: .95rem; line-height: 1.45; transition: color .18s ease; }
.service-more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .92rem; color: var(--blue); transition: color .18s ease; }
.service .icon { transition: background .18s ease, color .18s ease; }
/* blue highlight: on hover with a mouse, on press with a finger */
.service:active { background: var(--blue); border-color: var(--blue); color: #fff; }
.service:active p, .service:active .service-more { color: #fff; }
.service:active .icon { background: rgba(255, 255, 255, .18); color: #fff; }
@media (hover: hover) {
  .service:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(38, 71, 245, .8); }
  .service:hover p, .service:hover .service-more { color: #fff; }
  .service:hover .icon { background: rgba(255, 255, 255, .18); color: #fff; }
}
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #e9edff; color: var(--blue); margin-bottom: 6px;
}
.icon svg { width: 24px; height: 24px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.steps p { color: var(--muted); }
.step-n {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font: 700 1rem var(--font-display); margin-bottom: 6px;
}

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; background: #fff;
  display: flex; flex-direction: column; gap: 8px;
}
.tier h3 { min-height: 2.6em; }
.tier-mid { border-color: var(--blue); box-shadow: 0 20px 40px -24px rgba(38, 71, 245, .55); }
.price { color: var(--muted); font-variant-numeric: tabular-nums; }
.amount { font: 800 2.5rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; }
.setup { color: var(--muted); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.tier .btn { margin-top: auto; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.contact .lede { margin-top: 14px; }
.details { margin: 28px 0 0; display: grid; gap: 12px; }
.details div { display: flex; gap: 14px; }
.details dt { width: 5.5rem; color: var(--muted); }
.details dd { margin: 0; font-weight: 600; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 8px; }
.form label { font-weight: 600; font-size: .92rem; margin-top: 8px; }
.form input, .form textarea {
  font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid #cfd5e8; border-radius: 10px; background: #fff; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form .btn { margin-top: 14px; }
.form-note { color: var(--muted); font-size: .92rem; }

.footer {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem;
}

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .scene-wrap { margin: 8px calc(var(--gutter) * -0.9) 0; }
  .hero .hero-actions { padding-inline: calc(var(--gutter) * 0.9); }
  .steps, .tiers, .contact { grid-template-columns: minmax(0, 1fr); }
  .tier h3 { min-height: 0; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-cta { padding: 11px 14px; font-size: .9rem; }
  .nav-cta span { display: none; }
  .wordmark { font-size: 1.15rem; }
  .nav { gap: 12px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .nav-cta { white-space: nowrap; padding: 10px 12px; font-size: .85rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service, .service p, .service .icon, .chip { transition: none; }
}
