/* ─── SHARED STYLES — Cabinet Individual de Avocatură ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --navy: #1B3A6B;
  --navy-dark: #0f2347;
  --navy-light: #2a4f8a;
  --gold: #B8952A;
  --gold-light: #d4aa3a;
  --gold-pale: #f0e4b8;
  --white: #FAFAF8;
  --cream: #F5F1E8;
  --text: #1a1a1a;
  --text-light: #5a5a5a;
  --border: rgba(184,149,42,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2% 0 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(27,58,107,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,149,42,0.3);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-seal {
  width: 40px; height: 40px;
  border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
}
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 500; letter-spacing: 0.04em; color: var(--white); display: block; }
.nav-logo-sub { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: rgba(250,250,248,0.75); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy-dark) !important; padding: 9px 20px !important; border-radius: 2px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy-dark) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 4px; }
.nav-mobile-toggle svg { width: 24px; height: 24px; }

html.lang-loading body { visibility: hidden; }

.lang-switch { display: flex; align-items: center; gap: 0; border: 1px solid rgba(184,149,42,0.4); border-radius: 2px; overflow: hidden; }
.lang-switch a.lang-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.lang-btn { background: transparent; border: none; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 0.68rem; letter-spacing: 0.08em; font-weight: 500; padding: 6px 11px; color: rgba(250,250,248,0.6); transition: background 0.2s, color 0.2s; }
.lang-switch a.lang-btn.active { background: var(--gold); color: var(--navy-dark) !important; }
.lang-btn.active { background: var(--gold); color: var(--navy-dark); }
.lang-btn:not(.active):hover { color: var(--gold-light); }
@media (max-width: 900px) {
  .lang-switch { margin: 12px 0 4px; }
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding-top: 80px;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex; align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(184,149,42,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(184,149,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; padding: 60px 5%; max-width: 1200px; margin: 0 auto; width: 100%; }
.page-hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.page-hero-eyebrow-line { width: 30px; height: 1px; background: var(--gold); }
.page-hero-eyebrow span { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.page-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--white); line-height: 1.15; }
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-breadcrumb { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: rgba(250,250,248,0.4); }
.page-breadcrumb a { color: rgba(250,250,248,0.4); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--gold); }
.page-breadcrumb span { color: rgba(250,250,248,0.6); }

/* SECTIONS */
section { padding: 90px 5%; }
.max-w { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-eyebrow-line { width: 30px; height: 1px; background: var(--gold); }
.section-eyebrow span { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--navy-light); }
.section-lead { font-size: 0.95rem; color: var(--text-light); line-height: 1.85; max-width: 560px; }

/* BUTTONS */
.btn-primary { background: var(--gold); color: var(--navy-dark); padding: 13px 30px; border: none; border-radius: 2px; font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); padding: 12px 30px; border: 1px solid rgba(27,58,107,0.3); border-radius: 2px; font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-white { background: transparent; color: var(--white); padding: 12px 30px; border: 1px solid rgba(250,250,248,0.3); border-radius: 2px; font-family: 'Jost', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }

/* WHATSAPP */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,0.2); z-index: 200; text-decoration: none; transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* COOKIE */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(15,35,71,0.97); border-top: 1px solid rgba(184,149,42,0.3); padding: 18px 5%; z-index: 300; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; backdrop-filter: blur(8px); }
.cookie-text { font-size: 0.78rem; color: rgba(250,250,248,0.65); line-height: 1.6; flex: 1; min-width: 260px; }
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--gold); color: var(--navy-dark); border: none; padding: 9px 22px; font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; border-radius: 2px; cursor: pointer; }
.cookie-decline { background: transparent; color: rgba(250,250,248,0.5); border: 1px solid rgba(250,250,248,0.2); padding: 9px 22px; font-family: 'Jost', sans-serif; font-size: 0.75rem; border-radius: 2px; cursor: pointer; }

/* FOOTER */
footer { background: var(--navy-dark); color: rgba(250,250,248,0.6); padding: 60px 5% 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding-bottom: 48px; border-bottom: 1px solid rgba(184,149,42,0.15); }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--white); margin-bottom: 6px; }
.footer-brand-sub { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-brand-desc { font-size: 0.8rem; line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(250,250,248,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(250,250,248,0.35); text-decoration: none; font-size: 0.7rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; } .reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; } .reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; } .reveal-delay-6 { transition-delay: 0.6s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  section { padding: 64px 4%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}

/* Mobile nav open state */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: rgba(15,35,71,0.98);
  padding: 24px 5%;
  gap: 20px;
  border-bottom: 1px solid rgba(184,149,42,0.25);
  z-index: 99;
}

/* Cookie bar hidden by default */
.cookie-bar { display: none; }