/* ============================================================
   IPR ATTORNEYS — MAIN STYLESHEET
   Palette: Deep Navy #1a2e4a | Gold #c9a84c | Off-White #f5f2eb
   Fonts: Cormorant Garamond (display) + Montserrat (body)
   ============================================================ */

:root {
  --navy: #1a2e4a;
  --navy-dark: #111e30;
  --navy-mid: #2d4a6e;
  --gold: #c9a84c;
  --gold-light: #e0c97a;
  --cream: #f5f2eb;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --border: rgba(26,46,74,0.12);
  --shadow: 0 4px 32px rgba(26,46,74,0.10);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--gold); }

.section-intro {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
}

.section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header.centered { text-align: center; margin-bottom: 4rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.full-width { width: 100%; text-align: center; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
}
.nav-links .nav-cta:hover { background: var(--gold-light); color: var(--navy-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: 1.5rem 2rem;
  gap: 1.2rem;
}
.mobile-menu a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.mobile-menu.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-dark);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(45,74,110,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 40%);
}
/* Subtle geometric pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-overlay {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(135deg, transparent 0%, rgba(201,168,76,0.04) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 100px;
}
.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.desktop-break { display: block; }
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 0.8s 0.6s ease both;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.hero-scroll-indicator span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes fadeUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }

/* ---- MARQUEE ---- */
.marquee-strip {
  background: var(--gold);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-dark);
}
.marquee-track .dot { color: var(--navy-dark); opacity: 0.5; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- ABOUT ---- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-frame {
  width: 340px;
  height: 340px;
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow);
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(201,168,76,0.4);
  border-radius: 4px;
}
.about-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.about-emblem svg { width: 100%; height: 100%; }
.about-accent-box {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--navy);
  padding: 1.5rem 2rem;
  border-radius: 2px;
  max-width: 240px;
}
.accent-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}
.about-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.85;
}
.about-pillars { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.pillar:hover { box-shadow: var(--shadow); }
.pillar-icon { font-size: 1.5rem; flex-shrink: 0; }
.pillar h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.pillar p { font-size: 0.82rem; color: var(--text-light); }

/* ---- SERVICES ---- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.04;
  line-height: 1;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { box-shadow: 0 12px 40px rgba(26,46,74,0.12); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing var(--transition);
}
.service-link:hover { letter-spacing: 0.2em; }

/* ---- WHY ---- */
.why {
  background: var(--navy-dark);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(45,74,110,0.5) 0%, transparent 60%);
  padding: 100px 0;
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
.light-p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 2.5rem; line-height: 1.85; }
.why-features-col { display: flex; flex-direction: column; gap: 2rem; padding-top: 0.5rem; }
.why-feature {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.why-feature:last-child { border-bottom: none; padding-bottom: 0; }
.why-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.why-feature h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.why-feature p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ---- TEAM ---- */
.team { background: var(--cream); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.team-avatar span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.team-bio { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem; }
.team-expertise { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.team-expertise span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(26,46,74,0.07);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

/* ---- INDUSTRIES ---- */
.industries { background: var(--white); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.industry-item:hover { background: var(--navy); border-color: var(--navy); }
.industry-item:hover span { color: var(--white); }
.industry-item:hover .industry-icon { transform: scale(1.15); }
.industry-icon { font-size: 2.25rem; transition: transform var(--transition); }
.industry-item span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
}

/* ---- CONTACT ---- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.85;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.25rem; flex-shrink: 0; }
.contact-item h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.contact-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }
.office-branches h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.branches-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.branches-list span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--navy);
  background: rgba(26,46,74,0.07);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.72rem; color: var(--text-light); text-align: center; margin-top: 1rem; }

/* ---- FOOTER ---- */
.footer { background: var(--navy-dark); padding: 60px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { height: 52px; width: auto; margin-bottom: 1rem; filter: brightness(10); }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 280px; }
.footer-links-group h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group ul li,
.footer-links-group ul a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links-group ul a:hover { color: var(--gold); }
.footer-bottom {
  padding: 2rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-bottom: 0.4rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.footer-disclaimer { font-size: 0.7rem !important; color: rgba(255,255,255,0.2) !important; max-width: 700px; margin: 0 auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-frame { width: 280px; height: 280px; }
  .about-accent-box { position: static; margin-top: 1.5rem; max-width: 100%; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero-scroll-indicator { display: none; }
  .desktop-break { display: none; }
}

/* ============================================================
   DISCLAIMER MODAL
   ============================================================ */

.disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 18, 30, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}
.disclaimer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.disclaimer-modal {
  background: var(--white);
  border-radius: 4px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(10,18,30,0.45);
  transform: translateY(30px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.disclaimer-overlay.active .disclaimer-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.disclaimer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--navy-dark);
  flex-shrink: 0;
  border-bottom: 3px solid var(--gold);
}
.disclaimer-header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.disclaimer-logo {
  height: 40px;
  width: auto;
  filter: brightness(10);
}
.disclaimer-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
}
.disclaimer-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  flex-shrink: 0;
}
.disclaimer-close:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
  color: var(--gold);
}
.disclaimer-close svg { width: 16px; height: 16px; }

/* Scrollable body */
.disclaimer-body {
  padding: 2.5rem 2.5rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  scroll-behavior: smooth;
}
.disclaimer-body::-webkit-scrollbar { width: 5px; }
.disclaimer-body::-webkit-scrollbar-track { background: var(--cream); }
.disclaimer-body::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

.disclaimer-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.disclaimer-effective {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.disclaimer-intro {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.85;
  padding: 1.25rem 1.5rem;
  background: rgba(26,46,74,0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 2px 2px 0;
}
.disclaimer-intro strong { color: var(--navy); }

.disclaimer-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* Numbered sections */
.disclaimer-section {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(26,46,74,0.07);
}
.disclaimer-section:last-of-type { border-bottom: none; }

.disclaimer-section-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.08;
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  padding-top: 0.2rem;
}
.disclaimer-section-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.disclaimer-section-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}
.disclaimer-section-body p:last-child { margin-bottom: 0; }
.disclaimer-section-body strong { color: var(--navy); font-weight: 600; }

/* Contact note */
.disclaimer-contact-note {
  background: var(--cream);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
}
.disclaimer-contact-note h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.disclaimer-contact-note p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
}
.disclaimer-contact-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.disclaimer-footer {
  padding: 1.5rem 2.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-shrink: 0;
}
.disclaimer-footer p {
  font-size: 0.75rem;
  color: var(--text-light);
  max-width: 400px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 640px) {
  .disclaimer-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .disclaimer-close { position: absolute; top: 1rem; right: 1rem; }
  .disclaimer-header { position: relative; }
  .disclaimer-body { padding: 1.5rem; }
  .disclaimer-section { gap: 1rem; }
  .disclaimer-section-num { display: none; }
  .disclaimer-footer { flex-direction: column; align-items: flex-start; }
  .disclaimer-footer .btn { width: 100%; text-align: center; }
}

/* ============================================================
   WELCOME / ENTRY POPUP
   ============================================================ */

/* Lock scroll when popup is open */
body.popup-open { overflow: hidden; }

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 15, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1);
}
.popup-overlay.hiding {
  opacity: 0;
  pointer-events: none;
}

/* Modal shell */
.popup-modal {
  display: flex;
  width: 100%;
  max-width: 860px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.15);
  transform: translateY(0) scale(1);
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  animation: popupEntry 0.55s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes popupEntry {
  from { opacity: 0; transform: translateY(36px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Left decorative panel ---- */
.popup-panel {
  width: 220px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.popup-panel-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-dark);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(45,74,110,0.8) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(201,168,76,0.12) 0%, transparent 50%);
}
/* Grid texture */
.popup-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.popup-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.popup-scales-icon {
  width: 64px;
  opacity: 0.85;
}
.popup-scales-icon svg { width: 100%; height: auto; }
.popup-panel-year {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.popup-panel-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}
.popup-panel-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.popup-panel-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
}
.popup-panel-dots span:nth-child(2) { opacity: 0.7; }
.popup-panel-dots span:nth-child(3) { opacity: 0.3; }

/* ---- Right content panel ---- */
.popup-content {
  flex: 1;
  background: var(--white);
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.popup-logo-wrap { margin-bottom: 1.5rem; }
.popup-logo { height: 46px; width: auto; }

.popup-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}
.popup-title em { font-style: italic; color: var(--gold); }

.popup-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* Decorative rule */
.popup-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.popup-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.popup-rule-line:last-child {
  background: linear-gradient(90deg, var(--border), transparent);
}
.popup-rule-diamond {
  font-size: 0.5rem;
  color: var(--gold);
}

/* Notice box */
.popup-notice {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 3px 3px 0;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.popup-notice-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.popup-notice p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.popup-notice p:last-child { margin-bottom: 0; }
.popup-notice strong { color: var(--navy); font-weight: 600; }

/* Checkbox */
.popup-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  user-select: none;
}
.popup-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.popup-custom-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.25s ease;
}
.popup-custom-check svg {
  width: 10px;
  height: 8px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.popup-checkbox-label input:checked ~ .popup-custom-check {
  background: var(--navy);
  border-color: var(--navy);
}
.popup-checkbox-label input:checked ~ .popup-custom-check svg {
  opacity: 1;
  transform: scale(1);
}
.popup-checkbox-label span:last-child {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.55;
}

/* Action buttons */
.popup-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.popup-btn-enter {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
}
.popup-btn-enter svg { width: 16px; height: 16px; transition: transform var(--transition); }
.popup-btn-enter:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}
.popup-btn-enter:hover:not(:disabled) svg { transform: translateX(4px); }
.popup-btn-enter:disabled {
  background: #e0d9cc;
  color: #b0a990;
  cursor: not-allowed;
}

.popup-btn-exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: all var(--transition);
  white-space: nowrap;
}
.popup-btn-exit:hover {
  border-color: #c00;
  color: #c00;
  background: rgba(200,0,0,0.04);
}

/* Footer note */
.popup-foot-note {
  font-size: 0.68rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}
.popup-foot-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.popup-foot-note a:hover { color: var(--gold); }

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .popup-panel { display: none; }
  .popup-content { padding: 2rem 1.75rem 1.75rem; }
  .popup-actions { flex-direction: column; }
  .popup-btn-enter, .popup-btn-exit { width: 100%; }
}
