/* Manciu și Asociații — Shared Stylesheet */

/* ═══════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════ */
:root {
  --navy:     #0B1D35;
  --blue:     #163A6B;
  --mid:      #1E5CA8;
  --gold:     #B8934A;
  --gold-lt:  #D4AA6A;
  --light:    #F3F6FB;
  --muted:    #6B7A94;
  --border:   #D8E2F0;
  --white:    #FFFFFF;
  --text:     #111827;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(11,29,53,.08);
  --shadow-md: 0 8px 28px rgba(11,29,53,.12);
  --shadow-lg: 0 20px 60px rgba(11,29,53,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════════════ */
.label {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.label::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--gold); }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; color: var(--navy); line-height: 1.15;
}
.lead { font-size: 1rem; color: var(--muted); line-height: 1.85; max-width: 540px; }

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(11,29,53,0);
  transition: background .4s, box-shadow .4s;
}
#nav.solid {
  background: rgba(11,29,53,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}

.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-emblem {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--gold);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  display: grid; place-items: center;
}
.nav-emblem-inner { width: 14px; height: 14px; border: 2px solid var(--navy); border-radius: 50%; }
.nav-brand-text { line-height: 1.2; }
.nav-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--white); }
.nav-brand-sub { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  font-size: .75rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-menu .nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 8px 22px; font-weight: 600; margin-left: 6px;
  transition: background .2s, transform .2s;
}
.nav-menu .nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

.nav-lang {
  display: flex; gap: 2px; margin-left: 10px;
  border-left: 1px solid rgba(255,255,255,.12); padding-left: 12px;
}
.nav-lang a { font-size: .7rem; color: rgba(255,255,255,.4); padding: 5px 8px; border-radius: 3px; }
.nav-lang a.on { color: var(--gold); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 120% 80% at 110% 40%, rgba(30,92,168,.25) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at -10% 90%, rgba(184,147,74,.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, #0F2644 50%, #163A6B 100%);
  display: flex; align-items: center;
  padding: 140px clamp(20px,5vw,72px) 100px;
  position: relative; overflow: hidden;
}

/* grid lines bg */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  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: 72px 72px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 100%);
}

/* vertical accent line */
.hero::before {
  content: '';
  position: absolute; left: clamp(20px,5vw,72px); top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, rgba(184,147,74,.4), transparent);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(184,147,74,.35); background: rgba(184,147,74,.08);
  color: var(--gold); font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 50px;
  margin-bottom: 28px;
  animation: up .7s ease both;
}
.hero-pill::before { content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 600; color: var(--white); line-height: 1.1;
  margin-bottom: 24px;
  animation: up .7s .08s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }

.hero-desc {
  color: rgba(255,255,255,.62); font-size: 1rem; line-height: 1.85;
  max-width: 500px; margin-bottom: 40px;
  animation: up .7s .16s ease both;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: up .7s .24s ease both; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; font-size: .85rem; letter-spacing: .05em; padding: 14px 32px; border-radius: var(--r-sm); transition: background .2s, transform .2s, box-shadow .2s; display: inline-block; }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,147,74,.35); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 500; padding: 14px 32px; border-radius: var(--r-sm); transition: border-color .2s, background .2s; display: inline-block; }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }

.hero-kpis {
  display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap;
  animation: up .7s .32s ease both;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.kpi-val { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; color: var(--white); line-height: 1; }
.kpi-val sup { font-size: 1.4rem; color: var(--gold); vertical-align: super; }
.kpi-lbl { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 4px; }

/* Hero sidebar card */
.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 28px;
  backdrop-filter: blur(12px);
  animation: up .7s .4s ease both;
}
.hero-card-hd { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75); font-size: .75rem;
  padding: 6px 13px; border-radius: 50px;
  transition: background .2s, border-color .2s, color .2s;
  cursor: default;
}
.chip:hover { background: rgba(184,147,74,.15); border-color: rgba(184,147,74,.35); color: var(--gold); }
.hero-sep { height: 1px; background: rgba(255,255,255,.08); margin: 22px 0; }
.hero-contact { display: flex; align-items: center; gap: 14px; }
.hero-contact-ico { width: 40px; height: 40px; background: var(--gold); border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.hero-contact-ico svg { width: 18px; height: 18px; fill: var(--navy); }
.hero-contact-info p { font-size: .72rem; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; }
.hero-contact-info a { color: var(--white); font-weight: 600; font-size: .95rem; }

/* ═══════════════════════════════════════════════════
   SECTIONS COMMON
═══════════════════════════════════════════════════ */
.section { padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 72px); }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-visual { position: relative; }
.about-photo-frame {
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
}
.about-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 80%, rgba(184,147,74,.15) 0%, transparent 55%);
}
.about-photo-frame svg-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.about-quote {
  position: absolute; bottom: 28px; left: 28px; right: 28px;
  background: rgba(11,29,53,.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md);
  padding: 20px 22px;
}
.about-quote blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--white); line-height: 1.6; }
.about-quote cite { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 10px; font-style: normal; }

.about-badge {
  position: absolute; top: -18px; right: -18px;
  width: 108px; height: 108px;
  background: var(--gold); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px rgba(184,147,74,.45);
}
.about-badge-n { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1; }
.about-badge-t { font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-align: center; padding: 0 8px; margin-top: 2px; }

.about-text { }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: #3D4E68; line-height: 1.85; margin-bottom: 14px; font-size: .95rem; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.pillar {
  padding: 18px; border-radius: var(--r-md);
  background: var(--light); border: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.pillar:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.pillar-ico { width: 34px; height: 34px; background: var(--navy); border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.pillar-ico svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h4 { font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.pillar p { font-size: .76rem; color: var(--muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
.section-light { background: var(--light); }

.services-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 24px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.svc {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.svc::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mid), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c2d3ea; }
.svc:hover::after { transform: scaleX(1); }
.svc-n { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 14px; }
.svc h3 { font-size: .92rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.svc p { font-size: .8rem; color: var(--muted); line-height: 1.7; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .78rem; font-weight: 600; color: var(--mid); letter-spacing: .04em; transition: gap .2s; }
.svc:hover .svc-link { gap: 10px; color: var(--gold); }

/* ═══════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════ */
.team-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 24px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.member {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.member-photo {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue) 100%);
}
.member-photo img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center;
  display: block;
  transition: transform .4s ease;
  filter: grayscale(15%);
}
.member:hover .member-photo img { transform: scale(1.04); filter: grayscale(0%); }

.member-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,53,.7) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.member:hover .member-photo-overlay { opacity: 1; }

.member-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 50px;
}

.member-info { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.member-details { border-top: 1px solid var(--border); padding-top: 14px; flex: 1; }
.member-founder .member-details { border-color: rgba(255,255,255,.1); }
.member-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; line-height: 1.2; }
.member-bar-year { font-size: .72rem; color: var(--gold); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }

.member-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.mtag { background: var(--light); border: 1px solid var(--border); color: var(--mid); font-size: .68rem; font-weight: 500; padding: 3px 9px; border-radius: 50px; }

.member-details { border-top: 1px solid var(--border); padding-top: 14px; }
.member-detail { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; color: var(--muted); margin-bottom: 6px; line-height: 1.5; }
.member-detail strong { color: var(--navy); min-width: 70px; flex-shrink: 0; font-weight: 600; }

.member-email-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: .74rem; font-weight: 600;
  color: var(--mid); border: 1.5px solid var(--border);
  padding: 7px 14px; border-radius: var(--r-sm);
  transition: border-color .2s, color .2s, background .2s;
  align-self: flex-start;
}
.member-email-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,147,74,.06); }
.member-email-btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

/* founder special */
/* .member-founder photo uses same aspect-ratio as others */
.member-founder .member-info { background: var(--navy); }
.member-founder .member-name { color: var(--white); }
.member-founder .member-bar-year { color: var(--gold-lt); }
.member-founder .member-details { border-color: rgba(255,255,255,.1); }
.member-founder .member-detail { color: rgba(255,255,255,.55); }
.member-founder .member-detail strong { color: rgba(255,255,255,.9); }
.member-founder .member-email-btn { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
.member-founder .member-email-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,147,74,.08); }
.member-founder .mtag { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════════════
   RNPM BAND
═══════════════════════════════════════════════════ */
.rnpm {
  background: linear-gradient(135deg, var(--navy) 0%, #163A6B 100%);
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.rnpm::before {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background: radial-gradient(ellipse at 80% 50%, rgba(30,92,168,.4) 0%, transparent 60%);
  pointer-events: none;
}
.rnpm-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.rnpm .label::before { background: var(--gold); }
.rnpm h2 { color: var(--white); margin-top: 12px; margin-bottom: 20px; }
.rnpm p { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.8; }
.rnpm-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.rnpm-info { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 32px; }
.rnpm-info h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 16px; }
.rnpm-list { list-style: none; }
.rnpm-list li { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.65); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.rnpm-list li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.rnpm-list li:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; margin-top: 52px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.ci { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico { width: 46px; height: 46px; background: var(--navy); border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; }
.ci-ico svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ci-lbl { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.ci-val { font-size: .95rem; font-weight: 600; color: var(--navy); }
.ci-val a { color: inherit; transition: color .2s; }
.ci-val a:hover { color: var(--mid); }
.ci-val small { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); margin-top: 2px; }

.schedule-card { background: var(--navy); border-radius: var(--r-md); padding: 22px 24px; }
.schedule-card h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
.schedule-row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.schedule-row:last-child { border: none; }
.schedule-row span { color: rgba(255,255,255,.5); }
.schedule-row strong { color: var(--white); }

.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.contact-form-wrap h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--navy); margin-bottom: 28px; }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif; font-size: .88rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--mid); box-shadow: 0 0 0 3px rgba(30,92,168,.1);
}
.fg textarea { resize: vertical; min-height: 110px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-btn { width: 100%; padding: 13px; background: var(--navy); color: var(--white); border: none; border-radius: var(--r-sm); font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 600; letter-spacing: .05em; cursor: pointer; transition: background .2s; }
.form-btn:hover { background: var(--blue); }
.form-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer {
  background: #070F1D;
  padding: 64px clamp(20px,5vw,72px) 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-about p { font-size: .84rem; color: rgba(255,255,255,.38); line-height: 1.8; margin-top: 16px; max-width: 270px; }
.social-row { display: flex; gap: 8px; margin-top: 22px; }
.soc { width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; color: rgba(255,255,255,.45); font-size: .72rem; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.soc:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-col h5 { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; max-width: 1200px; margin: 0 auto; }
.footer-bottom p, .footer-bottom a { font-size: .76rem; color: rgba(255,255,255,.25); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.r { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.r.vis { opacity: 1; transform: translateY(0); }
.r1 { transition-delay: .08s; }
.r2 { transition-delay: .16s; }
.r3 { transition-delay: .24s; }
.r4 { transition-delay: .32s; }

/* ═══════════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════════ */
#top-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 190;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--navy); border: 1px solid rgba(255,255,255,.12);
  cursor: pointer; display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s;
  box-shadow: var(--shadow-md);
}
#top-btn.show { opacity: 1; pointer-events: auto; }
#top-btn:hover { transform: translateY(-3px); }
#top-btn svg { width: 16px; height: 16px; stroke: var(--white); fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(11,29,53,.98); padding: 20px; gap: 4px; z-index: 199; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; font-size: .8rem; }
  .nav-burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-badge { display: none; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  .rnpm-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pillars { grid-template-columns: 1fr; }
  .hero-kpis { gap: 24px; }
}

/* ═══════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════ */
#blog { background: var(--light); }
.blog-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c2d3ea; }

.blog-img { height: 180px; overflow: hidden; background: linear-gradient(145deg, var(--navy), var(--blue)); flex-shrink: 0; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.blog-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.blog-img-placeholder span {
  font-family: 'Cormorant Garamond', serif; font-size: 4rem;
  font-weight: 700; color: rgba(255,255,255,.12); position: relative; z-index: 1;
}

.blog-body { padding: 20px 22px 16px; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.blog-cat {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); background: rgba(184,147,74,.1); border: 1px solid rgba(184,147,74,.25);
  padding: 3px 10px; border-radius: 50px;
}
.blog-date { font-size: .72rem; color: var(--muted); }
.blog-body h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600;
  color: var(--navy); line-height: 1.35; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-body p { font-size: .8rem; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.blog-footer { padding: 14px 22px 18px; border-top: 1px solid var(--border); }
.blog-read {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 600; color: var(--mid);
  transition: gap .2s, color .2s;
}
.blog-read svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.blog-card:hover .blog-read { color: var(--gold); gap: 10px; }
.blog-card:hover .blog-read svg { transform: translateX(3px); }

.blog-all-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--mid);
  border: 1.5px solid var(--border); padding: 9px 20px;
  border-radius: var(--r-sm); transition: border-color .2s, color .2s, background .2s;
  text-decoration: none;
}
.blog-all-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,147,74,.06); }
.blog-all-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 1100px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .blog-grid { grid-template-columns: 1fr; } }



/* ═══════════════════════════════════════════════════
   ARTICLE PAGES
═══════════════════════════════════════════════════ */
/* ── ARTICLE READING FORMAT ───────────────────────── */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 clamp(20px,5vw,48px); }

.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 130px clamp(20px,5vw,72px) 72px;
  position: relative; overflow: hidden;
}
.article-hero::before {
  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: 72px 72px; pointer-events: none;
}
.article-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 0 clamp(20px,5vw,72px); }

.article-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 500; text-decoration: none; margin-bottom: 28px; transition: color .2s; }
.article-back:hover { color: var(--gold-lt); }
.article-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.article-cat-badge { display: inline-block; margin-bottom: 16px; background: rgba(184,147,74,.15); border: 1px solid rgba(184,147,74,.3); color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; }
.article-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem,3.5vw,2.8rem); font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: 24px; }
.article-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.article-meta-item { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.55); }
.article-meta-item svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.article-cover { width: 100%; max-height: 480px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ── ARTICLE BODY ── */
.article-body { padding: 56px 0 80px; background: var(--white); }

/* ── TYPOGRAPHY ── */
.article-content { font-family: 'Inter', sans-serif; font-size: 1.02rem; line-height: 1.88; color: #1a2333; }

/* Lead paragraph */
.article-content > p:first-child {
  font-size: 1.12rem; line-height: 1.8; color: #2d3d55;
  border-left: 3px solid var(--gold); padding-left: 20px;
  margin-bottom: 2em; font-style: italic;
}

.article-content p { margin-bottom: 1.5em; color: #2d3748; }

/* Headings */
.article-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 600; color: var(--navy);
  margin: 2.5em 0 .7em; padding-bottom: .4em;
  border-bottom: 2px solid var(--light);
  line-height: 1.2;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--blue);
  margin: 2em 0 .6em; letter-spacing: .01em;
}
.article-content h4 { font-size: .98rem; font-weight: 700; color: var(--navy); margin: 1.6em 0 .5em; }

/* Lists */
.article-content ul, .article-content ol {
  margin: .8em 0 1.6em 0; padding-left: 0; list-style: none;
}
.article-content li {
  padding: .5em 0 .5em 1.8em; position: relative;
  border-bottom: 1px solid #f0f4f8; color: #2d3748;
  font-size: .97rem; line-height: 1.7;
}
.article-content li:last-child { border-bottom: none; }
.article-content ul li::before {
  content: ''; position: absolute; left: 0; top: 1em;
  width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
}
.article-content ol { counter-reset: item; }
.article-content ol li::before {
  content: counter(item) '.'; counter-increment: item;
  position: absolute; left: 0; top: .5em;
  font-size: .8rem; font-weight: 700; color: var(--mid); min-width: 20px;
}

/* Emphasis and strong */
.article-content strong { color: var(--navy); font-weight: 700; }
.article-content em { font-style: italic; color: #4a5568; }
.article-content a { color: var(--mid); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(30,92,168,.3); transition: border-color .2s, color .2s; }
.article-content a:hover { color: var(--gold); border-color: var(--gold); }

/* Blockquote */
.article-content blockquote {
  margin: 2em 0; padding: 20px 28px;
  background: var(--light); border-left: 4px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; font-size: 1.02rem; color: #3d4e68; line-height: 1.75;
}

/* Callout / highlight box for legal references */
.article-content .legal-ref {
  background: #f0f7ff; border: 1px solid #c8dff8;
  border-radius: var(--r-md); padding: 18px 22px; margin: 1.5em 0;
  font-size: .9rem; color: #2c4a6e; line-height: 1.7;
}

/* In-line code (for legal article numbers) */
.article-content code {
  background: var(--light); color: var(--navy);
  padding: 2px 8px; border-radius: 4px; font-size: .88em;
  font-family: 'Inter', sans-serif; font-weight: 600;
}

/* Author box */
.article-author-box {
  display: flex; align-items: center; gap: 18px;
  background: var(--navy); border-radius: var(--r-md);
  padding: 24px 28px; margin: 48px 0 32px;
}
.article-author-ico { width: 52px; height: 52px; flex-shrink: 0; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--navy); }
.article-author-name { font-weight: 600; color: var(--white); font-size: .95rem; }
.article-author-firm { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 3px; }

/* Nav prev/next */
.article-nav { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.art-nav-btn { max-width: 48%; flex: 1; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 14px 18px; font-size: .82rem; font-weight: 500; color: var(--navy); text-decoration: none; line-height: 1.4; transition: border-color .2s, color .2s, background .2s; }
.art-nav-btn:hover { border-color: var(--mid); color: var(--mid); background: var(--light); }
.art-nav-next { text-align: right; }

/* Related */
.related-section { background: var(--light); padding: 64px clamp(20px,5vw,72px); }
.related-inner { max-width: 1200px; margin: 0 auto; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }

/* Reading progress bar */
.reading-progress {
  position: fixed; top: 68px; left: 0; right: 0; height: 3px;
  background: rgba(0,0,0,.1); z-index: 199;
}
.reading-progress-bar { height: 100%; background: var(--gold); width: 0%; transition: width .1s; }

/* TOC */
.article-toc {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 26px; margin: 0 0 2.5em;
}
.article-toc-title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.article-toc ol { margin: 0; padding-left: 0; list-style: none; counter-reset: toc; }
.article-toc li { counter-increment: toc; padding: 6px 0 6px 24px; border: none; font-size: .88rem; }
.article-toc li::before { content: counter(toc) '.'; position: absolute; left: 0; font-weight: 700; color: var(--mid); font-size: .78rem; top: 8px; }
.article-toc a { color: var(--blue); border: none; font-weight: 500; }
.article-toc a:hover { color: var(--gold); border: none; }

@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .article-nav { flex-direction: column; } .art-nav-btn { max-width: 100%; } }

/* ── Article cover image — fixed, non-distorting ── */
.article-cover {
  width: 100%;
  background: var(--navy);
  overflow: hidden;
  line-height: 0;
  max-height: 420px;
}
.article-cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(.95);
}


/* ── ARTICLE COVER IMAGE — FULL WIDTH, FIXED HEIGHT ── */
.article-cover-wrap {
  width: 100%;
  overflow: hidden;
  background: #0a1628;
  line-height: 0;
}
.article-cover-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
/* Legacy selectors — keep for backward compat */
.article-cover img,
.article-hero-img-wrap img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block !important;
}
.article-cover,
.article-hero-img-wrap {
  width: 100% !important;
  overflow: hidden !important;
  background: #0a1628 !important;
  line-height: 0 !important;
  max-height: 420px !important;
}


/* ── CONTACT FORM FEEDBACK ──────────────────────────────────────────────── */
.cf-feedback {
  margin-top: 14px;
  min-height: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.cf-success {
  display: block;
  background: #eaf7ef;
  border: 1px solid #6fcf97;
  border-left: 4px solid #27ae60;
  color: #1a6636;
  padding: 12px 16px;
  border-radius: 6px;
}
.cf-error {
  display: block;
  background: #fdf0f0;
  border: 1px solid #e0a0a0;
  border-left: 4px solid #c0392b;
  color: #8b1a1a;
  padding: 12px 16px;
  border-radius: 6px;
}
#cf-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
