/* ── VARIABLES ── */
:root {
  --ink: #0a0a0a;
  --chalk: #fafaf8;
  --smoke: #f0efec;
  --stone: #6b6860;
  --accent: #1a6b4a;
  --accent-light: #e8f5ee;
  --accent-glow: #22c55e;
  --warm: #f5f0e8;
  --red-soft: #dc4a3f;
  --orange-soft: #e8943a;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --max-w: 1200px;
  --content-w: 720px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--chalk); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.85rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.55rem; }
.lr-mark { width: 30px; height: 30px; background: var(--accent); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.72rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-center { display: flex; gap: 0.6rem; align-items: center; }
.nav-link { font-size: 0.84rem; font-weight: 500; color: var(--stone); padding: 0.5rem 0.8rem; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover { color: var(--ink); background: rgba(0,0,0,0.03); }
.nav-link-brief { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 0.9rem; font-weight: 400; color: rgba(10,10,10,0.65); padding: 0.5rem 0.85rem; border-radius: 8px; transition: all 0.2s; letter-spacing: 0.01em; }
.nav-link-brief:hover { color: var(--ink); background: rgba(10,10,10,0.05); }
.nav-dropdown { position: relative; }
.nav-dropdown-content { display: none; position: absolute; top: 100%; left: 0; padding-top: 0.5rem; min-width: 260px; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-content { display: block; }
.nav-dropdown-inner { background: white; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 0.5rem; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.nav-dropdown-item { display: block; padding: 0.65rem 0.85rem; border-radius: 8px; font-size: 0.84rem; font-weight: 500; color: var(--ink); transition: all 0.15s; }
.nav-dropdown-item:hover { background: var(--accent-light); color: var(--accent); }
.nav-dropdown-item.active { background: var(--accent-light); color: var(--accent); }
.nav-dropdown-item span { display: block; font-size: 0.72rem; color: var(--stone); font-weight: 400; margin-top: 0.15rem; }
.nav-active, .nav-link.active { color: var(--ink); font-weight: 600; }
.btn-nav { background: var(--ink); color: white; padding: 0.6rem 1.4rem; border-radius: 8px; font-size: 0.84rem; font-weight: 600; transition: all 0.25s; }
.btn-nav:hover { background: #222; transform: translateY(-1px); }

/* ── HAMBURGER + DRAWER ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; z-index: 1001; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.nav-drawer-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.5); opacity: 0; transition: opacity 0.3s; }
.nav-drawer-panel { position: absolute; top: 0; right: 0; width: min(320px, 85vw); height: 100%; background: white; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); padding: 5rem 1.5rem 2rem; overflow-y: auto; }
.nav-drawer.open { pointer-events: all; }
.nav-drawer.open .nav-drawer-backdrop { opacity: 1; }
.nav-drawer.open .nav-drawer-panel { transform: translateX(0); }
.nav-drawer-link { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); padding: 0.85rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); text-decoration: none; }
.nav-drawer-link:hover { color: var(--accent); }
.nav-drawer-group-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin: 1.25rem 0 0.5rem; }
.nav-drawer-sub { display: block; font-size: 0.9rem; font-weight: 500; color: var(--stone); padding: 0.5rem 0 0.5rem 0.75rem; border-bottom: 1px solid rgba(0,0,0,0.04); text-decoration: none; }
.nav-drawer-sub:hover { color: var(--accent); }
.nav-drawer-cta { display: block; margin-top: 1.5rem; background: var(--ink); color: white; text-align: center; padding: 0.9rem 1.5rem; border-radius: 10px; font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.nav-drawer-cta:hover { background: #222; }
.nav-drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.nav-drawer-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--stone); line-height: 1; }
.nav-drawer-section { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin: 1.25rem 0 0.5rem; display: block; }

/* ── BUTTONS ── */
.btn-primary { background: var(--accent); color: white; padding: 1rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 600; font-family: var(--sans); border: none; cursor: pointer; transition: all 0.25s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-primary:hover { background: #155a3e; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,107,74,0.25); }
.btn-secondary { background: transparent; color: var(--ink); padding: 1rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 600; border: 2px solid rgba(0,0,0,0.12); transition: all 0.25s; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-glow { background: var(--accent); color: white; padding: 1rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 700; font-family: var(--sans); border: none; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-glow:hover { background: var(--accent-glow); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(34,197,94,0.3); }
.btn-outline-light { background: transparent; color: white; padding: 1rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 600; border: 2px solid rgba(255,255,255,0.15); transition: all 0.25s; }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.4); }
.btn-submit { width: 100%; padding: 1rem; margin-top: 0.5rem; background: var(--accent); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; font-family: var(--sans); cursor: pointer; transition: all 0.25s; }
.btn-submit:hover { background: var(--accent-glow); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(34,197,94,0.25); }
.btn-submit:disabled, .form-submit:disabled, .newsletter-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── SECTION TYPOGRAPHY ── */
.section-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.section-h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.section-h2 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.section-sub { color: var(--stone); font-size: 1rem; line-height: 1.6; max-width: 600px; margin-bottom: 3rem; }

/* ── FORMS ── */
.lead-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; }
.lead-form h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.lead-form .form-sub { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: white; font-family: var(--sans); font-size: 0.88rem; transition: border-color 0.2s; outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group select:focus { border-color: var(--accent-glow); }
.form-group select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form-group select option { background: var(--ink); color: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-note { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-align: center; margin-top: 0.75rem; }
.form-error { font-size: 0.82rem; color: #f87171; text-align: center; margin-top: 0.75rem; line-height: 1.5; }
.form-error a { color: #f87171; text-decoration: underline; }

/* ── FOOTER ── */
footer { padding: 4rem 2.5rem 2.5rem; background: #050505; color: rgba(255,255,255,0.6); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .lr-mark { background: rgba(26,107,74,0.6); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer-col h5 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-partners { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-partner-logo { height: 22px; opacity: 0.5; transition: opacity 0.3s; display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.6); }
.footer-partner-logo:hover { opacity: 0.6; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); transition: background 0.2s, color 0.2s; text-decoration: none; }
.footer-social a:hover { background: rgba(255,255,255,0.12); color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; }

/* ── CASE CARD BODY ── */
.case-card-body { padding: 1.5rem; }
.case-card-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.case-card-body p { font-size: 0.85rem; color: var(--stone); line-height: 1.55; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease-out both; }
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── COOKIE BANNER ── */
#lr-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
  background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: 'Outfit', sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.75);
  transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  box-sizing: border-box;
}
#lr-cookie-banner.lr-visible { transform: translateY(0); }
#lr-cookie-banner p { margin: 0; flex: 1; line-height: 1.4; }
#lr-cookie-banner .lr-cb-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
#lr-cookie-banner .lr-btn-accept { background: #1a6b4a; color: #fff; border: none; border-radius: 6px; padding: 0.45rem 1.1rem; font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
#lr-cookie-banner .lr-btn-accept:hover { background: #1f7d57; }
#lr-cookie-banner .lr-btn-decline { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 0.45rem 1.1rem; font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
#lr-cookie-banner .lr-btn-decline:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.75); }
#lr-cookie-banner .lr-btn-close { background: transparent; border: none; color: rgba(255,255,255,0.35); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.3rem; margin-left: 0.25rem; transition: color 0.2s; }
#lr-cookie-banner .lr-btn-close:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-center { display: none !important; }
  .btn-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #lr-cookie-banner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  #lr-cookie-banner .lr-btn-close { position: absolute; top: 0.75rem; right: 1rem; }
}
