@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f2f2f2;
  --text-primary: #000000;
  --text-secondary: #121212;
  --text-tertiary: #666666;
  --text-light: #8e8e93;
  --border-color: #e5e5e5;
  --border-dark: #333333;
  --accent-color: #000000;
  --accent-hover: #333333;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
  
  --header-height: 110px;
}

/* --- BASE & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Hide default cursor for custom cursor experience on desktop */
}

@media (max-width: 1024px) {
  * {
    cursor: auto !important; /* Restore standard cursor for mobile/touch devices */
  }
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-primary);
}

/* --- CUSTOM CURSOR --- */
.custom-cursor {
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  opacity: 0;
}

.custom-cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--text-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
  opacity: 0;
}

/* Cursor Hover States */
.custom-cursor.hovered {
  width: 12px;
  height: 12px;
  background: #ffffff;
  mix-blend-mode: difference;
}

.custom-cursor-follower.hovered {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  mix-blend-mode: difference;
}

/* --- PAGE LOADER OVERLAY --- */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  z-index: 10000;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 1.5rem;
}

p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-secondary);
}

p.lead {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

.text-reveal-container {
  overflow: hidden;
  display: block;
}

.text-reveal {
  display: inline-block;
  transform: translateY(100%);
}

/* --- BUTTONS & INTERACTIVES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
  border: 1px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn:hover {
  color: var(--bg-primary);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-filled {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-filled::before {
  background: var(--bg-primary);
}

.btn-filled:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* Arrow Micro-Animation */
.btn-arrow {
  margin-left: 0.75rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

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

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-fast);
}

header.scrolled {
  height: 85px;
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

header.scrolled .logo-img {
  height: 52px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-item {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
}

.nav-item.active::after, .nav-item:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-quick {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-quick a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--text-primary);
  border: 2px solid var(--text-primary);
  padding: 0.65rem 1.3rem;
  transition: var(--transition-fast);
  border-radius: 4px;
}

.contact-quick a:hover {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

@media (max-width: 768px) {
  .contact-quick {
    display: none;
  }
}

/* Hamburger Menu Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  outline: none;
  z-index: 1002;
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

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

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

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

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 2rem 4rem;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-nav-overlay.active {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: auto;
}

.mobile-nav-item {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--text-primary);
  padding-left: 1rem;
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
}

.mobile-nav-footer a:first-of-type {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--text-primary);
  text-align: center;
  padding: 0.9rem;
  border: 2px solid var(--text-primary);
  border-radius: 4px;
  transition: var(--transition-fast);
  letter-spacing: 0.05em;
}

.mobile-nav-footer a:first-of-type:hover {
  background: transparent;
  color: var(--text-primary);
}

.mobile-nav-footer a:last-of-type {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  color: var(--text-tertiary);
  padding: 0.25rem 0;
}

/* --- FOOTER --- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  align-self: flex-start;
  object-fit: contain;
}

.footer-brand-desc {
  max-width: 320px;
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 0.25rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-contact-item span {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.footer-contact-item a, .footer-contact-item p {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 400;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

/* --- SECTION SYSTEM --- */
section {
  padding: 8rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

.section-light {
  background-color: var(--bg-primary);
}

.section-gray {
  background-color: var(--bg-secondary);
}

.section-dark {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.section-dark h2, .section-dark h3, .section-dark h1, .section-dark p {
  color: var(--bg-primary);
}

.section-header {
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.section-header.dark {
  border-color: var(--border-dark);
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
  }
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: block;
}

.section-desc {
  max-width: 480px;
  font-size: 1.1rem;
  color: var(--text-tertiary);
}

/* --- HERO COMPONENT --- */
.hero-sec {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-sec {
    min-height: auto;
    display: block;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-text-side {
  z-index: 10;
  margin-top: 50px;
}

.hero-title {
  margin-bottom: 2rem;
}

.hero-desc {
  margin-bottom: 3rem;
  max-width: 580px;
}

.hero-image-side {
  position: relative;
  width: 100%;
  height: clamp(350px, 50vh, 600px);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.hero-image-side.dark-border {
  border-color: var(--border-dark);
}

/* --- PARALLAX IMAGE COMPONENT --- */
.parallax-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.parallax-img {
  width: 100%;
  height: 130%; /* taller to allow parallax scroll space */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.parallax-img:hover {
  filter: grayscale(0%);
}

.mono-img {
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.mono-img:hover {
  filter: grayscale(0%);
}

/* --- GRID CARDS & HOVER EFFECTS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

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

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--text-primary);
  background: var(--text-primary);
}

.service-card:hover * {
  color: var(--bg-primary) !important;
}

.service-card-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.service-card-title {
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.service-card-desc {
  color: var(--text-tertiary);
  margin-bottom: auto;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.service-card-link {
  margin-top: 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- PORTFOLIO/SPLIT ROW --- */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 8rem;
}

.split-row:last-child {
  margin-bottom: 0;
}

.split-row.reverse {
  direction: rtl;
}

.split-row.reverse * {
  direction: ltr;
}

@media (max-width: 992px) {
  .split-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
  }
}

.split-image {
  height: clamp(350px, 45vw, 550px);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.split-title {
  margin-bottom: 1.5rem;
}

.split-desc {
  margin-bottom: 2.5rem;
  color: var(--text-tertiary);
}

/* --- CORPORATE COMPLIANCE / ACCORDIONS --- */
.compliance-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
}

@media (max-width: 992px) {
  .compliance-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.compliance-card {
  border: 1px solid var(--border-color);
  padding: 2rem;
  background: var(--bg-secondary);
}

.compliance-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.compliance-card-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
}

.compliance-card-desc {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

/* Document download buttons */
.doc-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.doc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  transition: var(--transition-smooth);
}

.doc-btn:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
}

.doc-btn-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.doc-btn-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.doc-btn-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.doc-btn-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.doc-btn:hover .doc-btn-icon {
  transform: translateY(3px);
}

/* Banner Component */
.compliance-banner-container {
  width: 100%;
  height: 448px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 6rem;
  position: relative;
}

.compliance-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.compliance-banner-container:hover .compliance-banner-img {
  filter: grayscale(0%);
}

.compliance-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
}

.compliance-banner-text {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* --- CONTACT FORM --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.form-group {
  margin-bottom: 2.5rem;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--text-light);
  pointer-events: none;
  transition: var(--transition-fast);
  font-weight: 300;
}

.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label {
  top: -1rem;
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.form-input:focus {
  border-bottom-color: var(--text-primary);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--text-primary);
  width: 16px;
  height: 16px;
  cursor: none;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.form-consent label a {
  text-decoration: underline;
  color: var(--text-primary);
}

/* --- NEWS & INSIGHTS --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

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

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

.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  transition: var(--transition-smooth);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-primary);
}

.news-card-image {
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.news-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.news-card-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.news-card-desc {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.news-card-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
}

/* --- ABOUT & LEADERSHIP --- */
.team-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

@media (max-width: 992px) {
  .team-sec {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.team-image {
  height: 600px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 600;
}

.team-bio {
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

.team-signature {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* --- MODAL POPUPS FOR LEGAL (TERMS/PRIVACY) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-primary);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--text-primary);
  padding: 4rem;
  position: relative;
  transform: translateY(50px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .modal-box {
    padding: 2.5rem 1.5rem;
  }
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: none;
  color: var(--text-primary);
}

.modal-title {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.modal-body h4 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem 0;
  text-transform: uppercase;
}

.modal-body p {
  margin-bottom: 1rem;
}

/* --- MOBILE OPTIMIZATION & COMPLIANCE SIDEBAR --- */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-color);
  padding-left: 6rem;
}

@media (max-width: 992px) {
  .contact-sidebar {
    border-left: none;
    padding-left: 0;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 95px;
  }
  
  header.scrolled {
    height: 80px;
  }
  
  .logo-img {
    height: 68px;
  }
  
  header.scrolled .logo-img {
    height: 50px;
  }
  
  section {
    padding: 4.5rem 0 !important;
  }
  
  .hero-image-side {
    height: clamp(250px, 35vh, 400px) !important;
  }
  
  .compliance-banner-container {
    height: 250px !important;
    margin-bottom: 3.5rem !important;
  }
  
  .compliance-layout {
    gap: 3rem !important;
  }
}

/* --- HERO BUTTONS RESPONSIVENESS --- */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-left: 0 !important;
    text-align: center;
  }
}
