/* ============ Design tokens ============ */
:root {
  --navy-950: #0b1220;
  --navy-900: #101a2e;
  --navy-800: #16233d;
  --navy-700: #1f3057;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --paper: #ffffff;
  --paper-alt: #f6f8fb;
  --border: #e6e9f0;

  --accent: #2f6fed;
  --accent-600: #2558c4;
  --accent-100: #e8f0ff;
  --teal: #14b8a6;
  --teal-100: #e1faf6;
  --amber: #f5a524;

  --gradient: linear-gradient(135deg, #2f6fed 0%, #14b8a6 100%);

  --font-head: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);

  --container: 1180px;
}

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 12px 18px;
  border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

.legal-content { max-width: 760px; margin: 0 auto; padding-top: 20px; }
.legal-content h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.legal-updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.2rem; margin: 36px 0 14px; }
.legal-content p, .legal-content li { color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent-600); text-decoration: underline; }

.not-found-section { min-height: 60vh; display: flex; align-items: center; }
.not-found-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.not-found-inner h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.not-found-inner .hero-cta { justify-content: center; margin-top: 28px; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-600); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent-600);
}
.btn-outline:hover { background: var(--accent-100); }
.btn-light { background: #fff; color: var(--accent-600); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.05rem; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.logo-text strong { color: var(--accent-600); font-weight: 800; }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gradient);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 130px;
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(270deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.78) 40%, rgba(11, 18, 32, 0.35) 66%, rgba(11, 18, 32, 0.05) 100%),
    url('../images/hero-header.jpg');
  background-size: cover;
  background-position: 0% center;
  color: #fff;
}
.hero-inner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.hero-copy { max-width: 560px; }
.hero .eyebrow { color: #9fc0ff; }
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 22px;
}
.hero-sub {
  color: #dbe2f0;
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  color: #dbe2f0; font-size: 0.9rem;
}
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before {
  content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}

.hero-ai-chip {
  position: absolute; right: 40px; bottom: 40px;
  background: #fff; color: var(--ink);
  padding: 10px 16px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
}
.ai-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-100);
}

/* ============ Trust bar ============ */
.trust-bar { background: var(--paper-alt); border-bottom: 1px solid var(--border); padding: 36px 0; }
.trust-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.trust-inner p { max-width: 460px; color: var(--ink-soft); font-size: 0.95rem; }
.trust-stats { display: flex; gap: 40px; }
.trust-stats div { text-align: center; }
.trust-stats strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--accent-600); }
.trust-stats span { font-size: 0.8rem; color: var(--ink-faint); }

/* ============ Cards / Services ============ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-featured {
  border: 1.5px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-100) 0%, #fff 22%);
}
.card-tag {
  position: absolute; top: -13px; left: 30px;
  background: var(--gradient); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon::before { content: ''; width: 24px; height: 24px; background-size: contain; background-repeat: no-repeat; }
.icon-design { background: var(--accent-100); }
.icon-design::before { background: radial-gradient(circle, var(--accent) 40%, transparent 41%); }
.icon-ai { background: var(--teal-100); }
.icon-ai::before { background: conic-gradient(var(--teal), var(--accent), var(--teal)); border-radius: 50%; }
.icon-support { background: #fff4e0; }
.icon-support::before { background: linear-gradient(135deg, var(--amber), #ffd27a); border-radius: 6px; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card > p { color: var(--ink-soft); margin-bottom: 18px; }
.card-list li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: 0.92rem; color: var(--ink-soft);
}
.card-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ============ Process ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-grid-3 { grid-template-columns: repeat(3, 1fr); }
.process-step {
  padding: 8px 0 0 0;
  border-top: 3px solid var(--border);
  position: relative;
}
.process-step:nth-child(1) { border-color: var(--accent); }
.process-step:nth-child(2) { border-color: var(--teal); }
.process-step:nth-child(3) { border-color: var(--accent); }
.process-step:nth-child(4) { border-color: var(--teal); }
.step-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.6rem; color: var(--ink-faint);
  display: block; margin-bottom: 12px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--ink-soft); font-size: 0.92rem; }

/* ============ Work ============ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-thumb { height: 170px; background-size: cover; background-position: center; }
.thumb-1 { background-image: url('../images/trades.jpg'); }
.thumb-2 { background-image: url('../images/wellness.jpg'); }
.thumb-3 { background-image: url('../images/services.jpg'); }
.work-body { padding: 22px; background: #fff; }
.work-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--accent-600);
}
.work-body h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.work-body p { color: var(--ink-soft); font-size: 0.9rem; }

/* ============ About ============ */
.about-grid {
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; align-items: center;
}
.about-visual { display: flex; justify-content: center; }
.about-avatar-wrap {
  width: 220px; height: 220px; border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  outline: 1px solid var(--border);
}
.about-avatar {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; max-width: 620px; }
.about-copy .btn { margin-top: 8px; }

/* ============ Testimonials ============ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.testimonial p { font-size: 1rem; color: var(--ink); margin-bottom: 16px; }
.testimonial footer { font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; }

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card-featured {
  border: 1.5px solid var(--accent);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.price span { font-size: 0.9rem; color: var(--ink-faint); font-weight: 500; margin-left: 4px; }
.price-desc { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 20px; }
.price-card ul { margin-bottom: 26px; flex-grow: 1; }
.price-card li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
  font-size: 0.92rem; color: var(--ink-soft);
}
.price-card li::before {
  content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px; font-weight: 600; font-size: 1.02rem;
  color: var(--ink);
}
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0; position: relative; margin-left: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--accent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 4px;
}
.faq-a p { color: var(--ink-soft); padding-bottom: 20px; max-width: 640px; }
.faq-item.open .faq-a { max-height: 240px; }

/* ============ CTA banner ============ */
.cta-banner {
  background: var(--gradient);
  color: #fff;
  padding: 70px 0;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,0.9); margin-bottom: 30px; font-size: 1.05rem; }

/* ============ Contact ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-info { min-width: 0; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.contact-details { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-details strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); }
.contact-details span { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }

.next-steps {
  margin-top: 34px;
  padding: 22px 24px;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.next-steps strong { display: block; margin-bottom: 12px; font-size: 0.95rem; }
.next-steps ul { display: flex; flex-direction: column; gap: 8px; }
.next-steps li { position: relative; padding-left: 20px; font-size: 0.9rem; color: var(--ink-soft); }
.next-steps li::before { content: '•'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.contact-form {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-note { margin-top: 14px; font-size: 0.9rem; color: var(--teal); min-height: 1.2em; text-align: center; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-950); color: #cbd5e1; padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 14px; max-width: 320px; color: #94a3b8; font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-icon svg { width: 18px; height: 18px; fill: #fff; }
.social-icon:hover { background: var(--accent); transform: translateY(-2px); }
.footer-logo-img { height: 34px; width: auto; }
.footer-links { display: flex; gap: 60px; }
.footer-links h4 { color: #fff; font-size: 0.85rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { color: #64748b; font-size: 0.85rem; margin-bottom: 6px; }
.footer-bottom p:last-child { margin-bottom: 0; margin-top: 12px; }

/* ============ Reveal animation ============ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero {
    padding: 70px 0 90px; min-height: 0; background-position: 0% center;
    background-image:
      linear-gradient(rgba(11, 18, 32, 0.68), rgba(11, 18, 32, 0.68)),
      url('../images/hero-header.jpg');
  }
  .hero-inner { justify-content: flex-start; }
  .hero-copy { max-width: 640px; }
}

@media (max-width: 980px) {
  .cards-grid, .process-grid, .work-grid, .testimonial-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-copy p { margin-left: auto; margin-right: auto; }
  .process-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 24px;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid, .process-grid, .work-grid, .testimonial-grid, .pricing-grid, .trust-stats { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .trust-stats { display: flex; flex-direction: row; gap: 24px; }
  .hero-copy { max-width: none; }
  .hero-ai-chip { right: 24px; bottom: 24px; font-size: 0.72rem; padding: 8px 12px; }
}
