/* =====================================================
   Elariq — Premium Influencer Marketing Agency
   Dark navy + gold accent design system
   ===================================================== */

:root {
  /* Palette derived from the Elariq logo: deep navy + ivory + champagne */
  --navy-950: #07172f;
  --navy-900: #0a1c39;
  --navy-800: #0d2347;
  --navy-700: #142d56;
  --navy-600: #1d3a6b;
  --line: rgba(243, 236, 224, 0.08);
  --line-2: rgba(243, 236, 224, 0.16);
  --text: #f3ece0;
  --muted: #a8b3cc;
  --gold: #c9b489;       /* soft champagne */
  --gold-2: #e3d3a8;     /* warm ivory highlight */
  --gold-soft: rgba(201, 180, 137, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 14px 40px -14px rgba(201, 180, 137, 0.35);
  --font-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--container), 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background .3s var(--ease), color .3s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, #e7d8b1 0%, #c9b489 100%);
  color: #0a1c39; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(201, 180, 137, .5); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.04); border-color: var(--gold); color: var(--gold-2); }
.btn.full { width: 100%; padding: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: all .4s var(--ease);
  backdrop-filter: blur(0);
}
.navbar.scrolled {
  background: rgba(7, 13, 27, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: 64px; height: 64px; border-radius: 12px;
  object-fit: contain; object-position: left;
  background: transparent;
  display: block;
}
.logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405; font-family: var(--font-display); font-weight: 700;
}
.logo-text { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .04em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: .92rem; color: var(--muted); position: relative;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: .88rem; }

.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(29, 58, 107, .55), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 180, 137, .10), transparent 50%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 70px; align-items: center;
}
.hero-copy { text-align: left; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  padding: 8px 16px; border: 1px solid var(--gold-soft);
  border-radius: 999px; background: var(--gold-soft);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 1.05; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: italic;
}
.hero-sub {
  font-size: 1.08rem; color: var(--muted);
  max-width: 540px; margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; margin-top: 70px;
  padding-top: 36px; border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-2);
}
.hero-stats span { font-size: .82rem; color: var(--muted); letter-spacing: .05em; }

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-2);
  aspect-ratio: 4 / 5;
  background: var(--navy-800);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
}
.hero-visual:hover img { transform: scale(1.06); }
.hero-tag {
  position: absolute; left: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 999px;
  background: rgba(7, 23, 47, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
}
.hero-tag strong {
  display: block; font-family: var(--font-display);
  font-size: 1rem; color: var(--gold-2); line-height: 1.1;
}
.hero-tag span { font-size: .76rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.dark-band { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 14px; margin-bottom: 18px;
}
.section-lead { color: var(--muted); font-size: 1.04rem; }
.section-lead.center { text-align: center; }

/* ---------- About ---------- */
.grid-2 {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 80px; align-items: center;
}
.check-list { list-style: none; margin-top: 28px; }
.check-list li {
  padding: 12px 0; padding-left: 32px; position: relative;
  border-bottom: 1px solid var(--line); color: var(--text);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center; font-size: .75rem;
}

.about-visual {
  position: relative; height: 460px;
  display: grid; place-items: center;
}
.about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute; z-index: 2;
  background: rgba(15, 26, 54, 0.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  padding: 18px 22px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-2); }
.float-card span { font-size: .78rem; color: var(--muted); }
.card-a { top: 8%; left: 0; animation: float 6s ease-in-out infinite; }
.card-b { bottom: 8%; right: 0; animation: float 7s ease-in-out infinite reverse; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.gold-dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Services ---------- */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
  padding: 36px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,180,106,.07), rgba(255,255,255,0));
}
.svc-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold-2);
  display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 22px;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 600; margin-bottom: 10px;
}
.service-card p { color: var(--muted); font-size: .94rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.steps li {
  position: relative; padding: 32px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--navy-800);
}
.step-num {
  font-family: var(--font-display); font-size: 2.4rem;
  color: var(--gold); display: block; margin-bottom: 12px;
  opacity: .9;
}
.steps h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .92rem; }

/* ---------- Tabs + Forms ---------- */
.tabs {
  display: inline-flex; padding: 6px;
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: 999px; margin: 0 auto 36px;
  display: flex; max-width: 420px;
}
.tab {
  flex: 1; padding: 12px 20px; border: 0; cursor: pointer;
  background: transparent; color: var(--muted);
  font-family: inherit; font-size: .92rem; border-radius: 999px;
  transition: all .35s var(--ease);
}
.tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405; font-weight: 500;
}
.form-card {
  display: none;
  max-width: 920px; margin: 0 auto;
  padding: 44px; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  backdrop-filter: blur(8px);
}
.form-card.active { display: block; animation: fadeUp .5s var(--ease); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.field input, .field textarea, .field select {
  background: var(--navy-900); border: 1px solid var(--line-2);
  color: var(--text); font-family: inherit; font-size: .95rem;
  padding: 14px 16px; border-radius: 12px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,180,106,.12);
}
.field.error input, .field.error textarea, .field.error select {
  border-color: #ef6b6b; box-shadow: 0 0 0 4px rgba(239,107,107,.12);
}
.form-success {
  margin-top: 20px; padding: 16px;
  background: rgba(74, 222, 128, .1);
  border: 1px solid rgba(74, 222, 128, .35);
  color: #86efac; border-radius: 12px; text-align: center;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.t-card {
  padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.t-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.t-card blockquote {
  font-family: var(--font-display); font-size: 1.1rem;
  line-height: 1.55; margin-bottom: 24px;
  position: relative; padding-left: 22px;
}
.t-card blockquote::before {
  content: """; position: absolute; left: -6px; top: -18px;
  font-size: 3.2rem; color: var(--gold); opacity: .5;
  font-family: var(--font-display);
}
.t-card figcaption strong { display: block; color: var(--text); }
.t-card figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 40px;
}
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: .92rem; }
.footer h5 {
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer a, .footer span {
  display: block; color: var(--muted); font-size: .92rem;
  padding: 6px 0; transition: color .3s var(--ease);
}
.footer a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  padding: 0; font-size: .78rem; font-weight: 600;
}
.socials a:hover { background: var(--gold); color: #1a1405; border-color: var(--gold); }
.footer-bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: .82rem;
  color: var(--muted);
}

/* Fix the earlier issue */
.footer-bottom span {
  display: flex;
  align-items: center;
}

/* Right side styling */
.footer-bottom span:last-child {
  gap: 14px;
}

/* Add separators */
.footer-bottom span:last-child a:not(:last-child)::after {
  content: "|";
  margin-left: 14px;
  color: var(--line-2);
}


/* ---------- Reveal animations ---------- */

/* ---------- Showcase ---------- */
.showcase-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 70px; align-items: center;
}
.kpi-row {
  list-style: none; display: flex; gap: 40px;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.kpi-row strong {
  display: block; font-family: var(--font-display);
  font-size: 1.8rem; color: var(--gold-2);
}
.kpi-row span { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.showcase-stack {
  position: relative; height: 520px;
}
.showcase-stack img {
  position: absolute; border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.show-a {
  width: 65%; height: 70%; top: 0; left: 0;
}
.show-b {
  width: 55%; height: 75%; bottom: 0; right: 0;
}
.showcase-stack img:hover { transform: translateY(-6px); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-2, .hero-inner, .showcase-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .showcase-stack { height: 420px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(7,13,27,.96); backdrop-filter: blur(16px);
    padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .section { padding: 80px 0; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }

  /* ---------- Mobile carousels ---------- */
  .service-grid,
  .steps,
  .testimonial-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 20px 18px;
    margin: 0 -20px;
    scroll-padding-left: 20px;
  }
  .service-grid::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .testimonial-grid::-webkit-scrollbar { display: none; }
  .service-grid > *,
  .steps > *,
  .testimonial-grid > * {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .steps { counter-reset: none; }

  /* Showcase image stack → single image friendly */
  .showcase-stack { height: 320px; }

  /* Hero visual */
  .hero-visual img { width: 100%; height: auto; }

  /* Hint that you can swipe */
  .service-grid, .steps, .testimonial-grid {
    scroll-behavior: smooth;
  }
}
/* ============ SUBPAGE HERO ============ */
.page-hero { padding: 11rem 0 4rem; text-align: center; position: relative; }
.page-hero .eyebrow { display: inline-block; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 4rem); margin: 1rem 0 1.25rem; line-height: 1.05; }
.page-hero p { max-width: 720px; margin: 0 auto; color: var(--ink-300, #c9cfdc); font-size: 1.1rem; line-height: 1.65; }
.page-section { padding: 4rem 0; }
.page-section + .page-section { padding-top: 0; }
.prose { max-width: 820px; margin: 0 auto; }
.prose p { color: var(--ink-300, #c9cfdc); line-height: 1.8; margin-bottom: 1.25rem; font-size: 1.05rem; }
.prose h3 { font-family: var(--font-serif); font-size: 1.6rem; margin: 2rem 0 1rem; }


.custom-dropdown {
  position: relative;
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.dropdown-selected {
  padding: 14px 16px;
  color: var(--text);
}

.dropdown-options {
  position: absolute;
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 6px;
  display: none;
  z-index: 10;
}

.dropdown-options div {
  padding: 12px 16px;
  transition: 0.2s;
}

.dropdown-options div:hover {
  background: var(--navy-800);
}

.dropdown-options .selected {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #0a1c39;
}
.nav-actions .btn {
  white-space: nowrap;
}
.nav-secondary {
    margin-right: 5px; /* spacing between buttons */
}