/* Ruvca Consulting – Custom CSS
   Brand: Charcoal #111111 | Amber #F59E0B | Gold #FBB824
   Tailwind CSS v4 via CDN – this file adds brand tokens + utility overrides
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --rc-navy:      #1C1C1C;
  --rc-navy-dark: #0D0D0D;
  --rc-teal:      #F59E0B;
  --rc-teal-light:#FBB824;
  --rc-teal-dim:  rgba(245,158,11,0.12);
  --rc-surface:   #111111;
  --rc-surface2:  #1A1A1A;
  --rc-text:      #F0EDE8;
  --rc-muted:     #9A9087;
  --rc-border:    rgba(245,158,11,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--rc-surface);
  color: var(--rc-text);
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography helpers ─────────────────────────────────── */
.rc-heading {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}
.rc-subheading {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-teal);
}
.rc-body { color: var(--rc-muted); line-height: 1.75; }

/* ─── Navbar ─────────────────────────────────────────────── */
#rc-nav {
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rc-border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s;
}
#rc-nav a { transition: color 0.2s; }
#rc-nav a:hover { color: var(--rc-teal); }
.nav-active { color: var(--rc-teal) !important; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rc-teal);
  color: var(--rc-navy-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--rc-teal-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--rc-teal);
  color: var(--rc-teal);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--rc-teal-dim); }

/* ─── Cards ──────────────────────────────────────────────── */
.rc-card {
  background: var(--rc-surface2);
  border: 1px solid var(--rc-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.rc-card:hover {
  border-color: var(--rc-teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(245,158,11,0.12);
}

/* ─── Section spacing ────────────────────────────────────── */
.rc-section { padding: 6rem 0; }
.rc-section-sm { padding: 4rem 0; }

/* ─── Gradient headings ──────────────────────────────────── */
.rc-gradient-text {
  background: linear-gradient(135deg, var(--rc-teal-light) 0%, var(--rc-teal) 60%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Hero animated background ──────────────────────────── */
.rc-hero {
  position: relative;
  overflow: hidden;
  background: var(--rc-navy-dark);
}
.rc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245,158,11,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(20,20,20,0.8) 0%, transparent 60%);
  pointer-events: none;
}
.rc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ─── Glow badge ─────────────────────────────────────────── */
.rc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rc-teal);
  background: var(--rc-teal-dim);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
}

/* ─── Stats strip ────────────────────────────────────────── */
.rc-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--rc-teal);
  line-height: 1;
}

/* ─── Icon circle ────────────────────────────────────────── */
.rc-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--rc-teal-dim);
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rc-teal);
  flex-shrink: 0;
}

/* ─── Dividers ───────────────────────────────────────────── */
.rc-divider { border-color: var(--rc-border); }

/* ─── Image placeholder ──────────────────────────────────── */
.rc-img-placeholder {
  background: linear-gradient(135deg, var(--rc-surface2) 0%, #231E14 100%);
  border: 1px dashed var(--rc-border);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--rc-muted);
  font-size: 0.8125rem;
  gap: 0.5rem;
  min-height: 240px;
}

/* ─── Form inputs ────────────────────────────────────────── */
.rc-input {
  width: 100%;
  background: var(--rc-surface2);
  border: 1px solid var(--rc-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--rc-text);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
}
.rc-input::placeholder { color: var(--rc-muted); }
.rc-input:focus { border-color: var(--rc-teal); box-shadow: 0 0 0 3px rgba(245,158,11,0.12); }

/* ─── Accordion / FAQ ────────────────────────────────────── */
.rc-faq-item { border-bottom: 1px solid var(--rc-border); }
.rc-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-weight: 500;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.rc-faq-btn:hover { color: var(--rc-teal); }
.rc-faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.rc-faq-answer.open { max-height: 400px; }
.rc-faq-answer p { padding-bottom: 1.25rem; color: var(--rc-muted); line-height: 1.75; }

/* ─── Blog card ──────────────────────────────────────────── */
.rc-blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rc-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Mobile nav ─────────────────────────────────────────── */
#mobile-menu {
  display: none;
  background: var(--rc-surface);
  border-top: 1px solid var(--rc-border);
}
#mobile-menu.open { display: block; }

/* ─── Cookie banner ─────────────────────────────────────── */
.rc-cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  width: min(32rem, calc(100vw - 2rem));
  padding: 1rem 1.125rem;
  background: rgba(13, 13, 13, 0.96);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 1rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rc-cookie-banner.is-hidden {
  display: none;
}

.rc-cookie-banner__content {
  flex: 1;
}

.rc-cookie-banner__title {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.rc-cookie-banner__text {
  margin: 0;
  color: var(--rc-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.rc-cookie-banner__text a {
  color: var(--rc-teal);
}

.rc-cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.rc-cookie-banner__button {
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.rc-cookie-banner__button:hover {
  transform: translateY(-1px);
}

.rc-cookie-banner__button--primary {
  background: var(--rc-teal);
  color: var(--rc-navy-dark);
}

.rc-cookie-banner__button--primary:hover {
  background: var(--rc-teal-light);
}

.rc-cookie-banner__button--secondary {
  background: transparent;
  border-color: var(--rc-border);
  color: #fff;
}

.rc-cookie-banner__button--secondary:hover {
  background: rgba(245, 158, 11, 0.1);
}

@media (max-width: 640px) {
  .rc-cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .rc-cookie-banner__actions {
    width: 100%;
  }

  .rc-cookie-banner__button {
    flex: 1;
  }
}

/* ─── Footer ─────────────────────────────────────────────── */
#rc-footer {
  background: var(--rc-navy-dark);
  border-top: 1px solid var(--rc-border);
}

/* ─── Utility ────────────────────────────────────────────── */
.container-rc {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px) {
  .container-rc { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .container-rc { padding-left: 3rem; padding-right: 3rem; }
}

.text-teal { color: var(--rc-teal); }
.bg-surface2 { background: var(--rc-surface2); }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.rc-float { animation: float 6s ease-in-out infinite; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,191,179,0.3); }
  50%       { box-shadow: 0 0 0 16px rgba(46,191,179,0); }
}
.rc-pulse { animation: pulse-glow 3s ease-in-out infinite; }

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--rc-surface); }
::-webkit-scrollbar-thumb { background: var(--rc-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--rc-teal); }
