/* ============================================
   JAIME MAGYERA — Premium Leadership Website
   Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-navy: #0a1628;
  --color-navy-light: #121f36;
  --color-navy-mid: #1a2d4a;
  --color-gold: #c9a96e;
  --color-gold-light: #dcc494;
  --color-gold-pale: #f0e6d0;
  --color-cream: #f8f6f3;
  --color-cream-dark: #efe9e0;
  --color-white: #ffffff;
  --color-teal: #2d8a8a;
  --color-teal-light: #3aadad;
  --color-charcoal: #2c2c2c;
  --color-gray: #6b7280;
  --color-gray-light: #9ca3af;
  --color-border: rgba(201, 169, 110, 0.15);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.12);
  --shadow-gold: 0 8px 30px rgba(201, 169, 110, 0.15);

  --nav-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-smooth);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--color-gray);
  max-width: 680px;
}

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-gold);
}

.text-large {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.8;
}

.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-white { color: var(--color-white); }

/* --- Page Transition Overlay --- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-navy);
  z-index: 10000;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

.page-transition.active {
  animation: pageTransition 0.8s var(--ease-out) forwards;
}

@keyframes pageTransition {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  50.01% { transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.5s var(--ease-smooth);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 246, 243, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth);
}

.nav.scrolled::before {
  opacity: 1;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-logo-title {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--color-gold);
  font-style: italic;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width 0.4s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-gold);
}

/* Nav Dark Mode — for pages with dark hero backgrounds */
.nav-dark .nav-logo-name {
  color: var(--color-white);
}

.nav-dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav-dark .nav-link:hover,
.nav-dark .nav-link.active {
  color: var(--color-gold);
}

.nav-dark .nav-menu-btn span {
  background: var(--color-white);
}

/* When scrolled, revert to light background + dark text */
.nav-dark.scrolled .nav-logo-name {
  color: var(--color-navy);
}

.nav-dark.scrolled .nav-link {
  color: var(--color-navy);
}

.nav-dark.scrolled .nav-link:hover,
.nav-dark.scrolled .nav-link.active {
  color: var(--color-gold);
}

.nav-dark.scrolled .nav-menu-btn span {
  background: var(--color-navy);
}

/* Mobile Menu */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: all 0.3s var(--ease-smooth);
  transform-origin: center;
}

.nav-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(248, 246, 243, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-smooth);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-navy);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav.open a:nth-child(8) { transition-delay: 0.45s; }

/* --- Layout Helpers --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.container-wide {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-sm {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-description {
  margin-bottom: 3rem;
}

/* --- Hero Sections --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--color-gold);
  font-style: italic;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* --- Page Heroes (Inner Pages) --- */
.page-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--color-navy);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 50%, rgba(45, 138, 138, 0.2) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  max-width: 600px;
}

.page-hero .section-label {
  color: var(--color-gold);
}

.page-hero .section-label::before {
  background: var(--color-gold);
}

/* Light variant for contact-style hero */
.page-hero-light::before {
  display: none;
}

.page-hero-light h1 {
  color: var(--color-navy);
}

.page-hero-light p {
  color: var(--color-gray);
}

.page-hero-light .section-label {
  color: var(--color-gold);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-arrow {
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: clamp(2rem, 3vw, 3rem);
  transition: all 0.5s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
}

.card h4 {
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
}

/* --- Image Treatments --- */
.img-frame {
  position: relative;
  overflow: hidden;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.img-frame:hover img {
  transform: scale(1.03);
}

.img-overlay {
  position: relative;
}

.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.4) 100%);
  pointer-events: none;
}

.img-gradient-right::after {
  background: linear-gradient(90deg, transparent 40%, var(--color-cream) 100%);
}

.img-gradient-left::after {
  background: linear-gradient(270deg, transparent 40%, var(--color-cream) 100%);
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.grid-asymmetric-reverse {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* --- Stat Blocks --- */
.stat-block {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  margin: 0.75rem auto;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-teal), var(--color-gold-pale));
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.45rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 2px var(--color-gold);
}

.timeline-year {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--color-gold);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
}

/* --- Dividers --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: clamp(2rem, 4vw, 4rem) 0;
}

.divider-gold {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* --- Quote Block --- */
.quote-block {
  position: relative;
  padding: 2.5rem 0 2.5rem 2.5rem;
  border-left: 3px solid var(--color-gold);
}

.quote-block p {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.6;
  max-width: 100%;
}

.quote-attribution {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--color-gold);
  margin-top: 1rem;
  display: block;
}

/* --- Backgrounds --- */
.bg-navy {
  background: var(--color-navy);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--color-white);
}

/* Cards inside navy sections should keep dark text on white card backgrounds */
.bg-navy .card h3, .bg-navy .card h4 {
  color: var(--color-navy);
}

.bg-navy .card p {
  color: var(--color-gray);
}

.bg-navy p {
  color: rgba(255, 255, 255, 0.7);
}

.bg-cream-dark {
  background: var(--color-cream-dark);
}

.bg-white {
  background: var(--color-white);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 50%, rgba(201, 169, 110, 0.08) 100%);
}

/* --- Decorative Elements --- */
.deco-line {
  position: absolute;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  width: 1px;
  height: 120px;
  opacity: 0.3;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.deco-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- Infographic Elements --- */
.infographic-bar {
  height: 6px;
  background: var(--color-cream-dark);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.infographic-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s var(--ease-out);
}

.infographic-bar-fill.animated {
  /* width set via inline style */
}

/* --- Counter Animation --- */
.counter {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1;
}

/* --- Footer --- */
.footer {
  background: var(--color-navy);
  padding: clamp(3rem, 5vw, 5rem) 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand .tagline {
  font-family: var(--font-accent);
  color: var(--color-gold);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 350px;
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: all 0.3s var(--ease-smooth);
}

.footer-links a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-credit a {
  color: var(--color-gold);
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: var(--color-gold-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease-smooth);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  outline: none;
  transition: all 0.3s var(--ease-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Password Screen --- */
.password-screen {
  position: fixed;
  inset: 0;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  overflow: hidden;
}

.password-screen::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.password-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.password-content h2 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
}

.password-subtitle {
  font-family: var(--font-accent);
  color: var(--color-gold);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.password-input-wrap {
  position: relative;
  width: 320px;
  margin: 0 auto 1.5rem;
}

.password-input-wrap input {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-align: center;
  outline: none;
  transition: all 0.4s var(--ease-smooth);
}

.password-input-wrap input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.1);
}

.password-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
}

.password-input-wrap.error input {
  border-color: #e74c3c;
  animation: shakeInput 0.5s var(--ease-smooth);
}

.password-input-wrap.error::after {
  content: 'Invalid passcode';
  position: absolute;
  bottom: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #e74c3c;
  opacity: 0;
  animation: fadeInError 0.3s 0.2s forwards;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

@keyframes fadeInError {
  to { opacity: 1; }
}

.password-btn {
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-navy);
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
}

.password-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.password-screen.success {
  animation: revealSite 1s 0.3s var(--ease-out) forwards;
}

@keyframes revealSite {
  0% { opacity: 1; clip-path: circle(150% at 50% 50%); }
  100% { opacity: 0; clip-path: circle(0% at 50% 50%); pointer-events: none; }
}

/* Floating particles for password screen */
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(-30px) translateX(15px); opacity: 0.5; }
  50% { transform: translateY(-60px) translateX(-10px); opacity: 0.3; }
  75% { transform: translateY(-30px) translateX(20px); opacity: 0.4; }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-light);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-asymmetric,
  .grid-asymmetric-reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
  }

  .page-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stat-block {
    padding: 1.5rem;
  }

  .quote-block {
    padding-left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .password-input-wrap {
    width: 280px;
  }
}
