/* =========================================================
   Rising Sun Collective — Site Styles
   Palette pulls from the logo: warm gold rays, peach/pink/
   lavender sunrise gradient, paired with deep slate navy
   for structure and trust.
   ========================================================= */

:root {
  /* Structure */
  --navy: #1e2a44;
  --navy-deep: #16203a;
  --navy-soft: #2c3a5c;
  --slate: #4b566b;
  --slate-light: #7c869a;

  /* Backgrounds (warm off-white + sunrise tints from the logo) */
  --bg: #fbf8f7;
  --bg-alt: #f6f0f3;
  --surface: #ffffff;
  --peach: #f8e6da;
  --blush: #f5d6e3;
  --lavender: #dcd2f2;
  --lavender-deep: #c9bde9;

  /* Sunrise accent (matched to the logo's gold rays) */
  --gold: #c48a3a;
  --gold-hover: #ad7729;
  --gold-soft: #f3e5cf;
  --gold-deep: #9a6620;

  --border: #e8e1e3;
  --text: #1e2a44;
  --text-muted: #5c667a;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(30, 42, 68, 0.06), 0 2px 8px rgba(30, 42, 68, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 42, 68, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 42, 68, 0.16);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #d59a48, var(--gold));
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 138, 58, 0.30);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #c98d3a, var(--gold-hover));
  box-shadow: 0 6px 20px rgba(196, 138, 58, 0.40);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  border-color: rgba(30, 42, 68, 0.18);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 42, 68, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(196, 138, 58, 0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--navy); }
.brand-sub { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a:not(.btn) {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.15s;
}
.site-nav > a:not(.btn):hover { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fdf9f8 0%, var(--peach) 38%, var(--blush) 68%, var(--lavender) 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.8;
}
.hero-glow-1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255, 244, 224, 0.95), rgba(255, 244, 224, 0)); }
.hero-glow-2 { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(201, 189, 233, 0.8), rgba(201, 189, 233, 0)); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(196, 138, 58, 0.25);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196, 138, 58, 0.18); }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}
.accent-text {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), #d59a48);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}
.hero-trust li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}
.stat-value { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat-label { font-size: 11.5px; color: var(--text-muted); font-weight: 500; }

/* ---------- Audience strip ---------- */
.audience {
  background: var(--navy);
  color: #fff;
  padding: 26px 0;
}
.audience .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
}
.audience-label { font-size: 13px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.audience-list { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.audience-list li { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; display: flex; align-items: center; gap: 10px; }
.audience-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.kicker-light { color: #e6b76a; }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); color: var(--navy); margin-bottom: 18px; }
.section-intro { font-size: 17px; color: var(--text-muted); }
.section-intro-light { color: rgba(255, 255, 255, 0.72); }

/* ---------- Process timeline ---------- */
.process { background: var(--bg); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-soft));
  opacity: 0.7;
}
.step { position: relative; }
.step-marker {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 0 0 8px var(--bg), var(--shadow-sm);
}
.step-marker span { font-weight: 800; font-size: 17px; color: var(--gold-deep); letter-spacing: -0.02em; }
.step-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: calc(100% - 82px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover .step-body { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step h3 { font-size: 18px; margin-bottom: 10px; color: var(--navy); }
.step p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.step-points { display: flex; flex-direction: column; gap: 7px; padding-top: 14px; border-top: 1px dashed var(--border); }
.step-points li { font-size: 13.5px; color: var(--slate); display: flex; gap: 8px; align-items: flex-start; }
.step-points li::before { content: "→"; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ---------- Capabilities grid ---------- */
.capabilities { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(196, 138, 58, 0.4); }
.cap-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--peach), var(--lavender));
  color: var(--navy);
  margin-bottom: 20px;
}
.cap-icon svg { width: 25px; height: 25px; }
.cap-card h3 { font-size: 17.5px; margin-bottom: 10px; color: var(--navy); }
.cap-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Why section ---------- */
.why {
  background: radial-gradient(1000px 600px at 90% -10%, rgba(196, 138, 58, 0.22), transparent 60%),
              radial-gradient(800px 500px at -10% 110%, rgba(201, 189, 233, 0.25), transparent 60%),
              var(--navy-deep);
  color: #fff;
}
.why-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.why h2 { color: #fff; }
.why-copy .section-intro { margin-bottom: 32px; }
.why-grid { display: grid; gap: 16px; }
.why-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s;
}
.why-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(230, 183, 106, 0.4); }
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d59a48, var(--gold));
  color: #fff;
}
.why-icon svg { width: 25px; height: 25px; }
.why-card h3 { font-size: 18px; margin-bottom: 6px; color: #fff; }
.why-card p { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }

/* ---------- Quote form ---------- */
.quote { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.quote-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.quote-points { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.quote-points li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text-muted); }
.quote-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.quote-points strong { color: var(--navy); }
.quote-contact {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quote-contact p { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.quote-contact a { font-weight: 600; color: var(--navy); }
.quote-contact a:hover { color: var(--gold-deep); }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.hp { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field label span { color: var(--gold); }
.field small { font-size: 12px; color: var(--slate-light); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b566b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 138, 58, 0.15);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-color: #d24b4b; background: #fff7f7; }

.file-input {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  min-height: 48px;
  transition: border-color 0.15s, background 0.15s;
}
.file-input:hover { border-color: var(--gold); background: #fff; }
.file-input input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-label { font-size: 14px; color: var(--slate); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-label.has-file { color: var(--navy); font-weight: 600; }

.form-footer { margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--slate-light); margin-top: 14px; line-height: 1.55; }

.form-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}
.form-status.error { background: #fdecec; color: #9b2c2c; border: 1px solid #f5c2c2; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: #e6b76a; }
.brand-footer .brand-logo { width: 48px; height: 48px; box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.footer-tagline { margin-top: 18px; font-size: 14.5px; max-width: 320px; color: rgba(255, 255, 255, 0.6); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 6px; }
.footer-col a, .footer-col address, .footer-hours { font-size: 14.5px; font-style: normal; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }
.footer-col a:hover { color: #e6b76a; }
.footer-hours { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom { padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.disclosure { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); max-width: 900px; line-height: 1.6; }
.disclosure strong { color: rgba(255, 255, 255, 0.75); }
.copyright { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Thank-you page ---------- */
.thanks-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background: linear-gradient(165deg, #fdf9f8 0%, var(--peach) 38%, var(--blush) 68%, var(--lavender) 100%);
}
.thanks-card {
  max-width: 560px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}
.thanks-card img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 24px; object-fit: cover; }
.thanks-card h1 { font-size: 32px; color: var(--navy); margin-bottom: 14px; }
.thanks-card p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .timeline::before { display: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 44px; }
  .quote-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .hero-card { max-width: 340px; padding: 20px; }
  .hero-logo { margin-bottom: 16px; }
  .section { padding: 72px 0; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 12px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { height: 64px; }
  html { scroll-padding-top: 72px; }
  .site-nav { top: 64px; }
  .timeline, .cap-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .quote-form { padding: 24px 20px; }
  .hero-stats { gap: 8px; }
  .stat-value { font-size: 16px; }
  .stat-label { font-size: 10.5px; }
  .audience .container { justify-content: flex-start; }
  .why-card { grid-template-columns: 1fr; }
}
