/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
  color: #020617; /* slate-950 */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 72rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

/* ============ TYPOGRAPHY HELPERS ============ */
.text-coral-gradient {
  background-image: linear-gradient(90deg, #ff7a59, #ff5e8a, #ff8a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h2 {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw + 1rem, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #020617;
}
.kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #94a3b8; /* slate-400 */
}
.lede { color: #475569; font-size: 1rem; } /* slate-600 */

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: background 300ms, border-color 300ms, backdrop-filter 300ms;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom-color: #e2e8f0;
}
.nav { height: 5rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.logo { height: 3rem; width: auto; }
@media (min-width: 768px) { .logo { height: 3.5rem; } }
.nav-links { display: none; gap: 2rem; align-items: center; list-style: none; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; color: #475569; transition: color 200ms; }
.nav-links a:hover { color: #020617; }
.btn-ghost {
  border: 1px solid #cbd5e1;
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #334155;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: background 200ms;
}
.btn-ghost:hover { background: #f1f5f9; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}
.shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 45%, rgba(255,255,255,0) 85%);
}
.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #334155;
}
.eyebrow .dot { display: inline-block; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: #ff7a59; }
.display {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  max-width: 56rem;
}
.hero-inner .lede { margin-top: 1.5rem; max-width: 36rem; }
@media (min-width: 768px) { .hero-inner .lede { font-size: 1.125rem; } }
.hero-cta { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 3.5rem; padding: 0 2rem;
  background: #020617; color: #fff;
  border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500;
  transition: background 200ms;
}
.btn-primary:hover { background: #1e293b; }

.scroll-indicator {
  margin-top: 4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #94a3b8;
}
@keyframes bounce {
  0%,100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.bounce { animation: bounce 1s infinite; }

/* ============ TRUST STRIP ============ */
.trust { border-top: 1px solid #e2e8f0; background: #fff; padding: 3rem 1.5rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: center; }
@media (min-width: 768px) { .trust-row { justify-content: space-between; } }
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: #475569; }
.trust-item .ico { width: 1.25rem; height: 1.25rem; color: #ff7a59; }

/* ============ MARQUEE ============ */
.marquee-section { border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; background: #fff; padding: 2rem 0; overflow: hidden; }
.marquee { width: 100%; overflow: hidden; }
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  white-space: nowrap;
  font-weight: 600; letter-spacing: -0.02em;
  color: #64748b; /* slate-500 */
  font-size: 1rem;
  animation: marquee 30s linear infinite;
}
@media (min-width: 768px) { .marquee-track { font-size: 1.25rem; } }
.marquee-track .item { display: flex; align-items: center; gap: 3rem; }
.marquee-track .star { color: #ff7a59; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION HEAD ============ */
.section-head { max-width: 42rem; margin-bottom: 4rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-top: 1rem; }
.section-head .lede { margin-top: 1.5rem; }

/* ============ SERVICES ============ */
.services { border-top: 1px solid #e2e8f0; background: #fff; padding: 8rem 1.5rem; }
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  position: relative; overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff; padding: 2rem; border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: border-color 200ms, box-shadow 200ms;
}
.card:hover { border-color: #cbd5e1; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 0.75rem;
}
.card-icon svg { width: 1.25rem; height: 1.25rem; color: #ff7a59; }
.card h3 {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.25rem; font-weight: 600; line-height: 1.2; color: #020617;
}
.card p { margin-top: 0.75rem; font-size: 0.875rem; color: #475569; }

/* ============ HOW WE WORK ============ */
.howwework {
  position: relative; overflow: hidden;
  border-top: 1px solid #e2e8f0; background: #fff;
  padding: 8rem 1.5rem;
}
.white-veil { position: absolute; inset: 0; pointer-events: none; background: rgba(255,255,255,0.55); }
.white-veil.strong { background: rgba(255,255,255,0.65); }
.howwework .container, .contact-wrap { position: relative; z-index: 10; }
.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.step {
  border: 1px solid #e2e8f0; background: #fff;
  padding: 2rem; border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.step-n { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; color: #ff7a59; }
.step h3 {
  margin-top: 1rem; font-family: "Sora", system-ui, sans-serif;
  font-size: 1.5rem; font-weight: 600; color: #020617;
}
.step p { margin-top: 0.75rem; font-size: 0.875rem; color: #475569; }

/* ============ CONTACT ============ */
.contact { position: relative; overflow: hidden; border-top: 1px solid #e2e8f0; background: #fff; padding: 8rem 1.5rem; }
.contact-wrap { max-width: 48rem; margin: 0 auto; }
.contact-form {
  border: 1px solid #e2e8f0; background: #fff;
  padding: 2rem; border-radius: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.875rem; color: #334155; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #e2e8f0; background: #fff;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font: inherit; color: #020617;
  transition: border-color 150ms, box-shadow 150ms;
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: #020617;
  box-shadow: 0 0 0 2px rgba(2,6,23,0.15);
}
.field textarea { resize: vertical; min-height: 6rem; }
.contact-form .field:has(textarea) { margin-top: 1.25rem; }

.btn-gradient {
  margin-top: 1.5rem;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background-image: linear-gradient(90deg, #ff7a59, #ff5e8a, #ff8a3d);
  color: #fff; padding: 0.75rem 1.5rem;
  border-radius: 0.375rem; font-size: 0.875rem; font-weight: 600;
  transition: filter 200ms;
}
.btn-gradient:hover { filter: brightness(1.1); }
.btn-gradient:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============ FOOTER ============ */
.footer {
  margin-top: 6rem;
  border-top: 1px solid #e2e8f0; padding-top: 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1rem; font-size: 0.75rem; color: #64748b;
  max-width: 72rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .footer { flex-direction: row; } }
.footer-logo { height: 3rem; width: auto; }
@media (min-width: 768px) { .footer-logo { height: 3.5rem; } }
.footer-links { display: flex; gap: 1.25rem; align-items: center; }
.footer-links a:hover { color: #020617; }

/* ============ TOAST ============ */
.toast-region {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 100;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.toast {
  background: #fff; color: #020617;
  border: 1px solid #e2e8f0; border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
  min-width: 18rem;
  animation: toast-in 200ms ease-out;
}
.toast .t-title { font-weight: 600; font-size: 0.875rem; }
.toast .t-desc { font-size: 0.8125rem; color: #475569; margin-top: 0.125rem; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ REVEAL (framer-motion replacement) ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 800ms ease-out 200ms, transform 800ms ease-out 200ms; }
.reveal.in { opacity: 1; transform: translateY(0); }
