/* ═══════════════════════════════════════════════
   BERACHA SOLICITORS — SHARED STYLESHEET
   ═══════════════════════════════════════════════ */
@import url('fonts.css');

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

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3460;
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --gold-dim: rgba(201,168,76,0.15);
  --cream: #f5f0e8;
  --text: #d4cfc7;
  --white: #ffffff;
  --off-white: #f8f6f2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); position: fixed;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
}
.cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.5); position: fixed;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s;
}

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 64px;
  transition: background .4s, padding .4s;
}
.site-nav.scrolled {
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(14px);
  padding: 14px 64px;
  border-bottom: 1px solid var(--gold-dim);
}
.nav-logo { display: flex; flex-direction: column; text-decoration: none; }
.nav-logo-main { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--white); letter-spacing: 2px; text-transform: uppercase; }
.nav-logo-sub { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 300; margin-top: 2px; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.88); text-decoration: none;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  position: relative; transition: color .3s; padding: 4px 0;
}
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 10px 26px; border: 1px solid var(--gold); color: var(--gold) !important; transition: background .3s, color .3s !important; }
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.nav-cta::after { display: none !important; }
/* Mobile hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: .3s; display: block; }
.nav-mobile { display: none; }

/* ─── PAGE HERO BANNER ─── */
.page-hero {
  height: 420px; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: var(--navy-mid);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.page-hero-bg:hover { transform: scale(1.04); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,16,32,.88) 0%, rgba(8,16,32,.55) 60%, rgba(8,16,32,.3) 100%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 70px 70px;
}
.page-hero-content { position: relative; z-index: 2; padding: 0 64px; padding-top: 80px; }
.page-hero-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.page-hero-tag-line { width: 36px; height: 1px; background: var(--gold); }
.page-hero-tag-text { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.page-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(42px, 5vw, 72px); font-weight: 300; color: var(--white); line-height: 1.1; }
.page-hero-title em { font-style: italic; color: var(--gold); }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 20px; font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,.45); }
.breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ─── MARQUEE ─── */
.marquee-bar {
  padding: 16px 0; overflow: hidden;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  background: var(--navy-mid);
}
.marquee-track { display: flex; gap: 72px; align-items: center; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: rgba(201,168,76,.78); flex-shrink: 0; }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .3; flex-shrink: 0; }

/* ─── SECTION SHARED ─── */
.section-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-tag-line { width: 28px; height: 1px; background: var(--gold); }
.section-tag-text { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 4vw, 52px); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 22px; }
.section-title em { font-style: italic; color: var(--gold); }
.section-body { font-size: 16px; line-height: 1.85; color: rgba(212,207,199,.92); font-weight: 400; margin-bottom: 18px; }

/* ─── BUTTONS ─── */
.btn-primary { padding: 16px 42px; background: var(--gold); color: var(--navy); text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; transition: background .3s, transform .3s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { padding: 16px 42px; border: 1px solid rgba(255,255,255,.25); color: var(--white); text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; transition: border-color .3s, transform .3s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ─── FOOTER ─── */
.site-footer { background: #060e1a; padding: 80px 64px 40px; border-top: 1px solid var(--gold-dim); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer-about-desc { font-size: 13px; line-height: 1.9; color: rgba(212,207,199,.68); font-weight: 300; margin-top: 14px; margin-bottom: 26px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); text-decoration: none; font-size: 13px; transition: border-color .3s, color .3s; }
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(212,207,199,.68); text-decoration: none; font-size: 13px; font-weight: 300; transition: color .3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.05); }
.footer-copy { font-size: 11px; color: rgba(212,207,199,.80); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { font-size: 11px; color: rgba(212,207,199,.80); text-decoration: none; transition: color .3s; }
.footer-legal a:hover { color: var(--gold); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }
.reveal-delay-4 { transition-delay: .6s; }

/* ─── KEYFRAMES ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes shimmer { 0%{background-position:-400px 0} 100%{background-position:400px 0} }

/* ─── MOBILE ─── */
@media(max-width: 900px) {
  .site-nav { padding: 18px 24px; }
  .site-nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8,16,30,.98); z-index: 400; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { color: var(--white); font-size: 22px; font-family: 'Cormorant Garamond', serif; text-decoration: none; letter-spacing: 2px; }
  .page-hero { height: 300px; }
  .page-hero-content { padding: 0 24px; padding-top: 80px; }
  .site-footer { padding: 60px 24px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ═══════════════════════════════════════════════
   SHARED UI COMPONENTS
   ═══════════════════════════════════════════════ */

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 100px; right: 28px; z-index: 400;
  width: 44px; height: 44px;
  background: var(--navy-mid); border: 1px solid var(--gold-dim);
  color: var(--gold); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, background .3s, transform .3s;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* ─── WHATSAPP BUTTON ─── */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.whatsapp-tooltip {
  position: absolute; right: 64px; top: 50%;
  transform: translateY(-50%);
  background: #25D366; color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: rgba(6,14,26,.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--gold-dim);
  padding: 22px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { font-size: 13px; line-height: 1.7; color: rgba(212,207,199,.88); max-width: 820px; }
.cookie-text a { color: var(--gold); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-text strong { color: var(--white); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  padding: 10px 28px; background: var(--gold); color: var(--navy);
  border: none; cursor: pointer; font-family: 'Outfit',sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  transition: background .3s;
}
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline {
  padding: 10px 22px; background: transparent;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5);
  cursor: pointer; font-family: 'Outfit',sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  transition: border-color .3s, color .3s;
}
.cookie-decline:hover { border-color: rgba(255,255,255,.4); color: var(--white); }

@media(max-width:900px){
  .cookie-banner { padding: 20px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .back-to-top { bottom: 92px; right: 16px; }
  .whatsapp-btn { right: 16px; bottom: 22px; }
}
