/* =============================================
   SAFE WORKING PRACTICE – REDESIGNED HOMEPAGE
   CSS v1.0
   Color Palette:
     Gold:     #C9A03C / #D4A935 / #E8C254
     Dark Navy:#1B2B3A / #243447 / #2D3E50
     Purple:   #3B2E8C / #4A3AA8
     White:    #FFFFFF
     Off-white:#F7F8FA
     Grey:     #6B7280 / #9CA3AF / #E5E7EB
     Text:     #1A1A2E / #374151
   Fonts: Inter (system fallback: -apple-system, sans-serif)
============================================= */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1A2E;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- UTILITY CLASSES ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-4 { margin-top: 1.5rem; }

.hide-mobile { display: inline; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: #C9A03C;
  color: #fff;
  border-color: #C9A03C;
}
.btn-primary:hover {
  background: #b8892e;
  border-color: #b8892e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 160, 60, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: #1A1A2E;
  border-color: #C9A03C;
}
.btn-outline-dark:hover {
  background: #C9A03C;
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-compliance {
  background: #4A3AA8;
  color: #fff;
  border-color: #4A3AA8;
}
.btn-compliance:hover {
  background: #3a2c90;
  border-color: #3a2c90;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 58, 168, 0.4);
}

/* ---- SECTION TYPOGRAPHY ---- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A03C;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1A1A2E;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #6B7280;
  max-width: 540px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-title { margin-bottom: 0.75rem; }

/* =============================================
   HEADER
============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5E7EB;
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Real logo image */
.site-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer logo is on dark bg — invert the dark parts to white */
.site-logo-img--footer {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* Desktop Nav */
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #374151;
  border-radius: 5px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #C9A03C;
  background: rgba(201, 160, 60, 0.08);
}
.nav-link.active {
  font-weight: 600;
}
.nav-cta {
  background: #C9A03C;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 5px;
  margin-left: 4px;
}
.nav-cta:hover {
  background: #b8892e !important;
  color: #fff !important;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 0;
  min-width: 230px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 100;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.84rem;
  color: #374151;
  transition: all 0.2s;
}
.dropdown li a:hover { background: rgba(201,160,60,0.08); color: #C9A03C; }
.dropdown li a.active { color: #C9A03C; font-weight: 600; }
.dropdown .dropdown-divider {
  height: 0;
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 4px 12px;
  padding: 0;
  list-style: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A1A2E;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #E5E7EB;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 500px; }
.mobile-nav-list { padding: 8px 0 16px; }
.mobile-nav-list li a {
  display: block;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.mobile-nav-list li a:hover {
  color: #C9A03C;
  border-left-color: #C9A03C;
  background: rgba(201,160,60,0.05);
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background:
    linear-gradient(135deg, #1B2B3A 0%, #243447 55%, #2D3E50 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,160,60,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,58,168,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A03C;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  max-width: 680px;
  backdrop-filter: blur(4px);
}

.stat-card {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.stat-card:hover { background: rgba(255,255,255,0.08); }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #C9A03C;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: all 0.3s;
  animation: bounce 2s infinite;
}
.hero-scroll-hint a:hover { border-color: #C9A03C; color: #C9A03C; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =============================================
   SERVICES STRIP
============================================= */
.services-strip {
  background: #F7F8FA;
  border-bottom: 1px solid #E5E7EB;
  padding: 20px 0;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #374151;
  border-right: 1px solid #E5E7EB;
  transition: color 0.2s;
}
.service-item:last-child { border-right: none; }
.service-item i {
  color: #C9A03C;
  font-size: 0.9rem;
}
.service-item:hover { color: #C9A03C; }

/* =============================================
   ABOUT / HOW CAN WE HELP
============================================= */
.about-section {
  padding: 100px 0;
  background: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text .section-title { text-align: left; }
.about-text .section-eyebrow { margin-bottom: 0.5rem; }

.about-text p {
  color: #4B5563;
  font-size: 0.97rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-text p a {
  color: #C9A03C;
  font-weight: 600;
  border-bottom: 1px solid rgba(201,160,60,0.3);
  transition: border-color 0.2s;
}
.about-text p a:hover { border-bottom-color: #C9A03C; }

/* Memberships grid */
.highlights-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #E5E7EB;
}

.memberships-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.membership-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: #F7F8FA;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  transition: all 0.25s;
}
.membership-badge:hover {
  border-color: #C9A03C;
  background: #fffdf5;
  box-shadow: 0 4px 16px rgba(201,160,60,0.12);
}
.membership-badge i { color: #C9A03C; font-size: 0.95rem; margin-bottom: 2px; }
.membership-badge span { font-size: 1rem; font-weight: 700; color: #1A1A2E; }
.membership-badge small { font-size: 0.73rem; color: #6B7280; line-height: 1.4; }

.membership-badge--wide { grid-column: 1 / -1; }

/* =============================================
   COMPLIANCE BANNER
============================================= */
.compliance-banner {
  position: relative;
  background: linear-gradient(135deg, #1B2B3A 0%, #243447 60%, #2D3E50 100%);
  overflow: hidden;
  padding: 80px 0;
}

.compliance-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(74,58,168,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 50%, rgba(201,160,60,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.compliance-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.compliance-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

/* Compliance visual */
.compliance-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compliance-icon-wrap {
  position: relative;
  width: 220px;
  height: 220px;
}

.imc-logo-block {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.imc-logo {
  max-width: 160px;
  max-height: 100px;
  object-fit: contain;
  filter: brightness(1.1);
}

.compliance-circles {
  position: absolute;
  inset: -30px;
  z-index: 1;
  pointer-events: none;
}
.circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(201,160,60,0.2);
  animation: pulse-ring 3s ease-in-out infinite;
}
.circle-1 { inset: 20px; animation-delay: 0s; }
.circle-2 { inset: 5px; animation-delay: 0.8s; }
.circle-3 { inset: -10px; animation-delay: 1.6s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.03); }
}

/* Compliance content */
.compliance-eyebrow { color: rgba(201,160,60,0.9); }

.compliance-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.compliance-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* =============================================
   NEWS
============================================= */
.news-section {
  padding: 100px 0;
  background: #F7F8FA;
}

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

.news-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: rgba(201,160,60,0.3);
}

.news-card-img-link { display: block; }
.news-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img { transform: scale(1.05); }

.news-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A03C;
  background: rgba(201,160,60,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.news-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}
.news-card-title a { color: #1A1A2E; }
.news-card-title a:hover { color: #C9A03C; }

.news-card-excerpt {
  font-size: 0.83rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 14px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #F3F4F6;
  padding-top: 12px;
  margin-top: auto;
}

.news-date {
  font-size: 0.75rem;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-read-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: #C9A03C;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.news-read-more:hover { gap: 8px; }

.news-footer {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* =============================================
   BRANCHES
============================================= */
.branches-section {
  position: relative;
  background: linear-gradient(135deg, #243447 0%, #1B2B3A 100%);
  padding: 100px 0;
  overflow: hidden;
}

.branches-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,160,60,0.12) 0%, transparent 55%);
  pointer-events: none;
}

.branches-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.branches-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.branches-eyebrow { color: rgba(201,160,60,0.9); }

.branches-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.branches-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.branches-desc strong { color: #C9A03C; }

.branches-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Map placeholder */
.branches-map-placeholder {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.branches-map-icon {
  font-size: 3rem;
  color: #C9A03C;
  opacity: 0.4;
}

.branches-map-dots {
  position: absolute;
  inset: 0;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #C9A03C;
  border-radius: 50%;
  opacity: 0.7;
  transform: translate(-50%, -50%);
  animation: dot-pulse 3s ease-in-out infinite;
}
.map-dot--active {
  width: 14px;
  height: 14px;
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(201,160,60,0.25);
}

.map-dot:nth-child(2) { animation-delay: 0.3s; }
.map-dot:nth-child(3) { animation-delay: 0.6s; }
.map-dot:nth-child(4) { animation-delay: 0.9s; }
.map-dot:nth-child(5) { animation-delay: 1.2s; }
.map-dot:nth-child(6) { animation-delay: 1.5s; }
.map-dot:nth-child(7) { animation-delay: 1.8s; }
.map-dot:nth-child(8) { animation-delay: 2.1s; }
.map-dot:nth-child(9) { animation-delay: 2.4s; }
.map-dot:nth-child(10) { animation-delay: 2.7s; }

@keyframes dot-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.3); }
}

.map-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  z-index: 2;
}

/* =============================================
   SHARED PAGE HERO (used on all inner pages)
============================================= */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #1B2B3A 0%, #243447 55%, #2D3E50 100%);
  padding: 140px 0 80px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(201,160,60,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 70%, rgba(74,58,168,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #C9A03C; }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: #C9A03C; font-weight: 500; }

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: #111927;
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

/* footer logo handled by .site-logo-img--footer filter */

.footer-about {
  font-size: 0.84rem;
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: #C9A03C;
  border-color: #C9A03C;
  color: #fff;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 8px;
}
.footer-links ul li a,
.footer-services ul li a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links ul li a:hover,
.footer-services ul li a:hover { color: #C9A03C; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-list li i {
  color: #C9A03C;
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}
.footer-contact-list li a { color: rgba(255,255,255,0.6); }
.footer-contact-list li a:hover { color: #C9A03C; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-inner a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom-inner a:hover { color: #C9A03C; }

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

/* Large → medium desktop */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-services { order: 3; }
  .footer-contact { order: 4; }
}

/* Tablet */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .compliance-inner { grid-template-columns: 1fr; gap: 40px; }
  .compliance-visual { order: -1; }
  .compliance-icon-wrap { width: 160px; height: 160px; }
  .imc-logo-block { width: 160px; height: 160px; }

  .branches-inner { grid-template-columns: 1fr; gap: 40px; }
  .branches-map-placeholder { max-width: 400px; margin: 0 auto; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding-top: 60px; }
}

/* Mobile */
@media (max-width: 640px) {
  .services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .service-item { border-right: none; border-bottom: 1px solid #E5E7EB; }
  .service-item:nth-child(odd) { border-right: 1px solid #E5E7EB; }
  .service-item:last-child,
  .service-item:nth-last-child(2):not(:nth-child(even)) {
    border-bottom: none;
  }

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

  .hero-title { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .about-section { padding: 64px 0; }
  .news-section { padding: 64px 0; }
  .compliance-banner { padding: 64px 0; }
  .branches-section { padding: 64px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .branches-actions { flex-direction: column; align-items: flex-start; }

  .hide-mobile { display: none; }

  .memberships-grid { grid-template-columns: 1fr; }
  .membership-badge--wide { grid-column: 1; }

  /* logo-tagline not used with real logo image */
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.6rem; }
}
