:root {
  --navy: #0f2037;
  --navy-700: #16314f;
  --slate: #42647f;
  --accent: #5b82a0;
  --accent-light: #8fb0c4;
  --ink: #16202b;
  --muted: #5b6b78;
  --bg: #ffffff;
  --bg-tint: #f6f8fa;
  --border: #e4e8ec;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 32, 55, 0.08);
  --maxw: 1180px;
  --dur: 0.6s;
  /* WebNova is a light-only brand page — no dark mode variant by design. */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 1.5px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(15,32,55,0.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,32,55,0.3); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.logo img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: 24px; flex: 1; }
.main-nav a { font-size: 0.95rem; font-weight: 600; color: var(--ink); opacity: 0.8; transition: opacity 0.2s; }
.main-nav a:hover { opacity: 1; }
.header-cta { margin-left: auto; }

.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; transition: 0.2s; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-top: 1px solid var(--border); }
.mobile-nav a { padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 12px; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
}

/* Hero */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700;
  color: var(--accent); margin: 0 0 14px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 820px; margin-left: auto; margin-right: auto; color: var(--navy); }
.hero .lead { max-width: 580px; margin: 18px auto 30px; font-size: 1.08rem; }
.nowrap { white-space: nowrap; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.trust-row { list-style: none; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 0 0 56px; font-size: 0.9rem; font-weight: 600; color: var(--navy-700); }
.trust-row li { display: flex; align-items: center; gap: 7px; }
.trust-row .icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* Form card (embedded order form, placed near the top like ditfirmasite) */
.form-card {
  max-width: 640px;
  margin: 40px auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 8px 8px 0;
  overflow: hidden;
}
.form-card-head { padding: 24px 28px 16px; text-align: center; }
.form-card-eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.form-card-head h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.form-card-head p { font-size: 0.92rem; margin: 0; }
.lead-iframe { width: 100%; height: 420px; border: 0; display: block; background: var(--bg); transition: height 0.25s ease; }

/* 3D showcase row — flex-spaced cards, gentle rotateY tilt + bow, drifts on scroll */
.arc-scene { position: relative; max-width: 1200px; margin: 56px auto 0; padding: 20px 0 100px; overflow: hidden; }
.arc-perspective {
  perspective: 1800px;
  perspective-origin: 50% 20%;
  position: relative;
}
.arc3d {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 22px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s linear;
}
.arc3d-card {
  margin: 0;
  flex: 0 0 auto;
  width: 290px;
  aspect-ratio: 1000 / 598;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: 0 16px 32px rgba(15,32,55,0.2);
  border: 1px solid rgba(15,32,55,0.08);
  transform: rotateY(var(--ry)) translateY(var(--y, 0px));
  backface-visibility: hidden;
  transition: transform 0.5s ease;
}
.arc3d-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(var(--b, 1)); }
.arc3d-center {
  width: 350px;
  box-shadow: 0 24px 48px rgba(15,32,55,0.3);
  border-color: rgba(15,32,55,0.12);
}
.arc-fade { position: absolute; top: 0; bottom: 0; width: 120px; pointer-events: none; z-index: 10; }
.arc-fade-left { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.arc-fade-right { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

@media (max-width: 760px) {
  .form-card { margin-top: 32px; border-radius: 18px; }
  .lead-iframe { height: 460px; }
  .arc3d { gap: 8px; }
  .arc3d-card { width: 108px; border-radius: 10px; }
  .arc3d-center { width: 132px; }
  .arc-fade { width: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .arc3d { transition: none; transform: none !important; }
}

/* Strip */
.strip { padding: 30px 0 70px; }
.strip-label { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.strip-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; padding: 0; margin: 0; }
.strip-list li { font-weight: 700; color: var(--navy-700); opacity: 0.6; font-size: 0.95rem; }

/* Sections */
.section { padding: 90px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: var(--navy); }
.section-lead { font-size: 1.02rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

/* Service cards */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--navy);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 0.93rem; margin: 0; }

/* Portfolio */
.portfolio-card {
  margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--bg); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.portfolio-card img { width: 100%; height: auto; aspect-ratio: 1000/598; object-fit: cover; }
.portfolio-card figcaption { padding: 14px 18px; font-weight: 700; font-size: 0.95rem; color: var(--navy); }

/* Reviews */
.review-card {
  margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.stars { color: #f2a93b; letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.review-card blockquote { margin: 0 0 20px; font-size: 0.96rem; color: var(--ink); flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--muted); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}

/* Pricing */
.pricing-grid { align-items: stretch; }
.price-card {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; display: flex; flex-direction: column; position: relative;
}
.price-card-popular { border-color: var(--navy); box-shadow: 0 16px 36px rgba(15,32,55,0.14); }
.plan-badge {
  position: absolute; top: -13px; left: 26px; background: var(--navy); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.plan-name { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 1.02rem; }
.plan-price { font-size: 1.9rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-desc { font-size: 0.9rem; margin-bottom: 22px; min-height: 42px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.plan-features li { font-size: 0.9rem; color: var(--ink); padding-left: 24px; position: relative; }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-light);
}
.plan-features li::after {
  content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 3px;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}

/* Portfolio toggle */
#portfolioMore[hidden] { display: none; }
.portfolio-more { margin-top: 22px; }
.portfolio-toggle-wrap { text-align: center; margin-top: 30px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--navy); font-size: 1rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--accent); flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0; font-size: 0.94rem; }

/* CTA section */
.cta-section { background: var(--navy); border-radius: 28px; max-width: calc(var(--maxw) - 20px); margin: 0 auto; padding: 70px 24px; }
.cta-inner { text-align: center; max-width: 560px; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #c3d1dc; }
.cta-section .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta-section .btn-primary:hover { background: var(--accent-light); color: var(--navy); }

/* Contact */
.contact-box { text-align: center; }
.contact-email { font-size: 1.6rem; font-weight: 800; color: var(--navy); display: inline-block; }
.contact-email:hover { color: var(--accent); }
.contact-note { margin-top: 10px; font-size: 0.9rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-tint); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-inner nav a { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.footer-copy { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) ease, transform var(--dur) ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.3s; }
.reveal-group .reveal:nth-child(7) { transition-delay: 0.36s; }
.reveal-group .reveal:nth-child(8) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .portfolio-card:hover, .btn-primary:hover, .btn-ghost:hover { transform: none; }
}

.js-disabled .reveal { opacity: 1; transform: none; }
