/* ============================================================
   Eleopard LLC — site styles
   Palette: ink navy, warm bone, signature amber, teal accent
   ============================================================ */

:root {
  --ink: #0b1426;
  --ink-2: #101c33;
  --ink-3: #16253f;
  --bone: #f7f5f0;
  --paper: #fdfcf9;
  --amber: #f5a623;
  --amber-deep: #d98a12;
  --teal: #2dd4bf;
  --text: #1c2434;
  --text-soft: #5a6478;
  --text-inv: #eef1f7;
  --text-inv-soft: #a7b2c7;
  --line: #e4e0d6;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --shadow: 0 18px 44px -22px rgba(11, 20, 38, 0.35);
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; }

h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.18rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--amber-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.container { width: min(1140px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep);
  margin: 0 0 0.9rem;
}

.rosette-bullet {
  width: 13px; height: 13px; flex: none; border-radius: 50%;
  border: 3.5px solid var(--amber);
  border-top-color: transparent; border-right-color: transparent;
  transform: rotate(-45deg);
}

.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; padding: 0.85rem 1.7rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(245, 166, 35, 0.7); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text-inv); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--bone); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--text-soft); font-size: 1.06rem; margin: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 38, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: 0.01em; color: var(--text-inv); text-transform: lowercase;
}
.brand-dot { color: var(--amber); }

.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a {
  color: var(--text-inv-soft); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; transition: color 0.15s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  color: var(--ink); background: var(--amber); padding: 0.5rem 1.15rem;
  border-radius: 999px; font-weight: 600; font-family: var(--font-display);
}
.site-nav .nav-cta:hover { background: var(--amber-deep); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.6rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-inv); margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.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:
    radial-gradient(1100px 520px at 82% -10%, rgba(45, 212, 191, 0.12), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 62%, var(--ink-3) 100%);
  color: var(--text-inv);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 9vw, 7rem);
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; position: relative; z-index: 1; }

.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero h1::after {
  content: ""; display: block; width: 76px; height: 5px; margin-top: 0.6rem;
  border-radius: 3px; background: linear-gradient(90deg, var(--amber), var(--teal));
}

.hero-lede { color: var(--text-inv-soft); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 0; }

.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px var(--line-dark);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
}

.hero-glow {
  position: absolute; inset: auto -20% -45% -20%; height: 60%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(245, 166, 35, 0.14), transparent 70%);
  pointer-events: none;
}

/* ---------- services ---------- */

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(245, 166, 35, 0.55); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--text-soft); margin: 0; }
.card strong { color: var(--text); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.2rem;
  display: grid; place-items: center; color: var(--amber-deep);
  background: linear-gradient(150deg, rgba(245, 166, 35, 0.16), rgba(45, 212, 191, 0.14));
  border: 1px solid rgba(245, 166, 35, 0.3);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- process / steps ---------- */

.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 33px; top: 18px; bottom: 18px; width: 2px;
  background: linear-gradient(180deg, var(--amber), var(--teal));
  opacity: 0.45; border-radius: 2px;
}

.step { display: flex; gap: 1.6rem; padding: 1.15rem 0; position: relative; }

.step-num {
  flex: none; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--ink); background: var(--amber);
  box-shadow: 0 0 0 6px var(--bone), 0 0 0 8px rgba(245, 166, 35, 0.4);
}

.step-body { padding-top: 0.55rem; }
.step-body p { color: var(--text-soft); margin: 0; }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }

.about-copy p { color: var(--text-soft); }
.about-copy h2 { color: var(--text); }

.about-points { list-style: none; margin: 1.7rem 0 0; padding: 0; display: grid; gap: 1rem; }
.about-points li { position: relative; padding-left: 1.7rem; color: var(--text-soft); }
.about-points li strong { color: var(--text); }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px;
  border-radius: 50%; border: 3px solid var(--amber);
  border-top-color: transparent; border-right-color: transparent; transform: rotate(-45deg);
}

.about-visual { margin: 0; }
.about-visual img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }

.contact-info { display: grid; gap: 1rem; }

.info-card { background: var(--ink); color: var(--text-inv); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.info-card h3 { color: var(--amber); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; }
.info-card p, .info-card address { margin: 0; font-style: normal; color: var(--text-inv); font-size: 1rem; line-height: 1.6; }
.info-card a { color: var(--teal); text-decoration: none; font-weight: 600; word-break: break-all; }
.info-card a:hover { text-decoration: underline; }
.info-card .info-sub { font-size: 0.92rem; color: var(--text-inv-soft); margin: 0.9rem 0 0; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow);
}

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.req { color: var(--amber-deep); }

.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0.75rem 0.95rem; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input.invalid, .field textarea.invalid { border-color: #d64545; }

.contact-form .btn { width: 100%; justify-content: center; }

.form-note { margin: 0.9rem 0 0; font-size: 0.88rem; color: var(--text-soft); min-height: 1.4em; }
.form-note.error { color: #d64545; }
.form-note.success { color: #1a7f6a; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--text-inv-soft); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }

.footer-brand-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(2.6rem, 6vw, 3.8rem) 0 1.6rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-links { display: flex; gap: 1.7rem; }
.footer-links a { color: var(--text-inv-soft); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--amber); }

.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-inv-soft); }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- legal pages ---------- */

.page-hero { background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: var(--text-inv); padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-hero .eyebrow { margin-bottom: 0.7rem; }
.page-hero p { color: var(--text-inv-soft); margin-top: 0.8rem; max-width: 40rem; }

.legal-body { max-width: 760px; margin: 0 auto; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.legal-body section { margin-bottom: 2.2rem; }
.legal-body h2 { font-size: 1.3rem; margin-bottom: 0.7em; }
.legal-body h3 { font-size: 1.05rem; margin: 1.4em 0 0.5em; }
.legal-body p, .legal-body li { color: var(--text-soft); }
.legal-body ul { padding-left: 1.3rem; }
.legal-body .meta { font-size: 0.9rem; color: var(--text-soft); }

/* ---------- reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img { transform: none; }
  .btn, .card { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .hero-visual img { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 40;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 0.6rem 4% 1.2rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 0.85rem 0.2rem; font-size: 1.05rem; }
  .site-nav .nav-cta { margin-top: 0.6rem; display: inline-block; width: auto; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-brand-row { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .steps::before { left: 25px; }
  .step-num { width: 52px; height: 52px; font-size: 0.9rem; }
}
