/* ===== FREEMASONRY — UGLE-INSPIRED GLOBAL STYLES ===== */

/* ─── CSS Variables ─── */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0D1B2A;
  --navy-light: #243B5E;
  --blue: #2E5090;
  --blue-light: #4A7ABF;
  --gold: #C5A55A;
  --gold-light: #D4BA75;
  --gold-dark: #A68B3C;
  --gold-dim: rgba(197, 165, 90, 0.15);
  --white: #FFFFFF;
  --off-white: #F7F6F2;
  --cream: #FAF8F4;
  --gray-50: #FAFAF9;
  --gray-100: #F0EFEB;
  --gray-200: #E0DDD6;
  --gray-300: #C4C0B6;
  --gray-400: #8B8780;
  --gray-500: #6B6760;
  --gray-600: #4A4740;
  --gray-700: #333130;
  --gray-800: #1F1E1D;
  --text-dark: #1A1A1A;
  --text-body: #3A3A3A;
  --text-muted: #6B6760;
  --text-light: #A0A0A0;
  --text-on-dark: #E8E6E0;
  --text-muted-dark: #A0A0A0;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-gold: 0 4px 20px rgba(197,165,90,0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--navy);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Dark section overrides */
.section-navy .section-title,
.section-dark .section-title,
.section-gradient .section-title {
  color: var(--white);
}

.section-navy .section-subtitle,
.section-dark .section-subtitle,
.section-gradient .section-subtitle {
  color: var(--text-muted-dark);
}

.section-navy .section-label,
.section-dark .section-label,
.section-gradient .section-label {
  color: var(--gold);
}

/* ─── Container ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

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

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* Dark section button overrides */
.section-navy .btn-outline,
.section-dark .btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}

.section-navy .btn-outline:hover,
.section-dark .btn-outline:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-loader { display: inline-flex; align-items: center; gap: 10px; }
.btn-loader .spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: var(--navy-deep);
}

.navbar.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.82rem !important;
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 4px !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-short {
  min-height: unset;
  padding: 140px 24px 60px;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

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

.breadcrumb .breadcrumb-sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

.breadcrumb .breadcrumb-current {
  color: var(--gold-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 35%, var(--navy-light) 70%, #2a4a7a 100%);
  z-index: 0;
}

.hero-bg.hero-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg.hero-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,27,42,0.88) 0%, rgba(27,42,74,0.82) 40%, rgba(36,59,94,0.78) 100%);
}

.hero-bg:not(.hero-bg-image)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 25% 35%, rgba(197,165,90,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(46,80,144,0.15) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(255,255,255,0.04), transparent);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(197, 165, 90, 0.35);
  border-radius: 50%;
  animation: float-particle 8s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  50% { transform: translateY(-120px) translateX(40px); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(197,165,90,0.5);
  box-shadow: 0 0 30px rgba(197,165,90,0.2), 0 0 60px rgba(197,165,90,0.08);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(197,165,90,0.15), 0 0 60px rgba(197,165,90,0.06); }
  50% { box-shadow: 0 0 40px rgba(197,165,90,0.3), 0 0 80px rgba(197,165,90,0.12); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.hero-short h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-short p {
  margin-bottom: 0;
}

/* Hero decorative divider */
.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 28px;
  border: none;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.hero .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

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

/* Hero value tabs (UGLE-style) */
.hero-values {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-value-tab {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.hero-value-tab.active,
.hero-value-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 8px;
  min-height: 1.3em;
}

/* ─── Sections ─── */
section {
  padding: 90px 0;
}

.section-light {
  background: var(--white);
}

.section-cream {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy-deep);
  color: var(--text-on-dark);
}

.section-navy {
  background: var(--navy);
  color: var(--text-on-dark);
}

.section-gradient {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--text-on-dark);
}

.section-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
}

/* ─── Cards ─── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}

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

.section-navy .card,
.section-dark .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.section-navy .card:hover,
.section-dark .card:hover {
  border-color: rgba(197,165,90,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-navy .card h3,
.section-dark .card h3 {
  color: var(--white);
}

.section-navy .card p,
.section-dark .card p {
  color: var(--text-muted-dark);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

/* ─── Stats ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 50px 0;
  text-align: center;
}

.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-item .label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.section-navy .stat-item .label,
.section-dark .stat-item .label,
.section-gradient .stat-item .label {
  color: var(--text-muted-dark);
}

/* Stats inline (for light sections) */
.stats-inline {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.stats-inline .stat-item {
  text-align: center;
}

.stats-inline .stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
}

.stats-inline .stat-item .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Benefit Cards ─── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-lg);
}

.benefit-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Dark section benefit cards */
.section-navy .benefit-card,
.section-dark .benefit-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.section-navy .benefit-card:hover,
.section-dark .benefit-card:hover {
  border-color: rgba(197,165,90,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.section-navy .benefit-card h3,
.section-dark .benefit-card h3 {
  color: var(--white);
}

.section-navy .benefit-card p,
.section-dark .benefit-card p {
  color: var(--text-muted-dark);
}

/* ─── Value Cards (horizontal layout like UGLE) ─── */
.value-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value-card {
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  transition: var(--transition);
}

.value-card:last-child {
  border-right: none;
}

.value-card:hover {
  background: var(--off-white);
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Feature Blocks (UGLE-style side-by-side) ─── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.feature-block-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-block-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.feature-block-content .subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.feature-block-content p {
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-block-image {
  position: relative;
  overflow: hidden;
}

.feature-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

/* ─── Testimonials / Quotes ─── */
.quote-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.quote-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold-dim);
  position: absolute;
  top: 10px;
  left: 16px;
  line-height: 1;
}

.quote-card p {
  font-style: italic;
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.quote-card .author {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  font-style: normal;
}

.section-navy .quote-card,
.section-dark .quote-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.section-navy .quote-card p,
.section-dark .quote-card p {
  color: var(--text-on-dark);
}

.section-navy .quote-card .author,
.section-dark .quote-card .author {
  color: var(--gold);
}

/* Member quote banner */
.member-quote {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
}

.member-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.member-quote cite {
  font-style: normal;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(13, 27, 42, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── Lightbox ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
}

/* ─── Forms ─── */
.form-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.section-navy .form-section,
.section-dark .form-section {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.section-navy .form-group label,
.section-dark .form-group label {
  color: var(--text-muted-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.12);
}

.section-navy .form-group input,
.section-navy .form-group select,
.section-navy .form-group textarea,
.section-dark .form-group input,
.section-dark .form-group select,
.section-dark .form-group textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

.section-navy .form-group input:focus,
.section-navy .form-group select:focus,
.section-navy .form-group textarea:focus,
.section-dark .form-group input:focus,
.section-dark .form-group select:focus,
.section-dark .form-group textarea:focus {
  border-color: var(--gold);
}

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

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C5A55A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"],
.form-checkbox input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* ─── "Did You Know?" Callout (UGLE style) ─── */
.callout-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 32px 0;
}

.callout-box h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.callout-box p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section-navy .callout-box,
.section-dark .callout-box {
  background: rgba(197,165,90,0.08);
}

.section-navy .callout-box p,
.section-dark .callout-box p {
  color: var(--text-on-dark);
}

/* ─── Page Header ─── */
.page-header {
  background: var(--navy);
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(197,165,90,0.06) 0%, transparent 60%);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
  position: relative;
  color: var(--white);
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.breadcrumb a {
  color: var(--gold);
}

/* ─── CTA Section ─── */
.cta-section {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(197,165,90,0.06) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 16px;
  position: relative;
  color: var(--white);
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

/* ─── Divider ─── */
.section-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0;
}

/* ─── Newsletter Signup (UGLE-style) ─── */
.newsletter-bar {
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter-bar h3 {
  font-size: 1.2rem;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.newsletter-bar p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.newsletter-bar .newsletter-input {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 400px;
}

.newsletter-bar .newsletter-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-bar .newsletter-input input:focus {
  border-color: var(--gold);
}

/* ─── Social Links (UGLE footer style) ─── */
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--white);
}

/* ─── Footer ─── */
.footer {
  background: var(--navy-deep);
  border-top: 3px solid var(--gold);
  padding: 60px 0 30px;
  color: var(--text-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand .logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-brand p {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  margin-bottom: 16px;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.footer ul li a:hover {
  color: var(--gold);
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ─── Contact Info Cards ─── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

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

.section-dark .contact-card,
.section-navy .contact-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.section-dark .contact-card h4,
.section-navy .contact-card h4 {
  color: var(--white);
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.section-dark .contact-card p,
.section-navy .contact-card p {
  color: var(--text-muted-dark);
}

.contact-card a {
  color: var(--gold-dark);
}

.section-dark .contact-card a,
.section-navy .contact-card a {
  color: var(--gold);
}

/* ─── Scroll Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-cards { grid-template-columns: repeat(2, 1fr); }
  .value-card { border-bottom: 1px solid var(--gray-200); }
  .feature-block { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: var(--transition);
    border-left: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

  .value-cards {
    grid-template-columns: 1fr;
  }

  .value-card {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1, .hero-tagline {
    font-size: 1.8rem;
  }

  .hero-short {
    padding: 120px 20px 48px;
  }

  section {
    padding: 60px 0;
  }

  .form-section {
    padding: 32px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-values {
    gap: 12px;
  }

  .hero-value-tab {
    font-size: 0.85rem;
  }

  .newsletter-bar {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-bar .newsletter-input {
    max-width: 100%;
  }

  .stats-inline {
    gap: 30px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .card {
    padding: 28px 20px;
  }

  .benefit-card {
    padding: 24px 18px;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item .num {
    font-size: 2rem;
  }

  .feature-block-content {
    padding: 28px 20px;
  }
}

/* ─── Mobile Nav Overlay ─── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

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

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ─── Selection Color ─── */
::selection {
  background: rgba(197, 165, 90, 0.25);
  color: var(--navy);
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-gold { color: var(--gold-dark); }
.text-navy { color: var(--navy); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
