/* ═══════════════════════════════════════
   GLOBAL.CSS — HMC GROUP
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary */
  --navy:          #082878;
  --gold:          #D8A030;

  /* Blue Family */
  --navy-deep:     #002058;
  --navy-royal:    #003878;
  --blue-corp:     #0F4C9C;
  --blue-sky:      #4096D4;

  /* Gold & Warm */
  --gold-light:    #F2B84A;
  --gold-sand:     #E3C8A2;
  --gold-cream:    #FAEEDA;

  /* Neutrals */
  --white:         #FFFFFF;
  --off-white:     #F5F5F5;
  --charcoal:      #5F5E5A;
  --near-black:    #2C2C2A;

  /* Borders */
  --border:        rgba(8, 40, 120, 0.12);
  --border-light:  rgba(8, 40, 120, 0.06);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(8, 40, 120, 0.08);
  --shadow-md:     0 8px 24px rgba(8, 40, 120, 0.12);
  --shadow-lg:     0 16px 48px rgba(8, 40, 120, 0.16);

  /* Gradients */
  --gradient-navy: linear-gradient(135deg, #002058 0%, #4096D4 100%);
  --gradient-gold: linear-gradient(135deg, #D8A030 0%, #FAEEDA 100%);
  --gradient-corp: linear-gradient(135deg, #0F4C9C 0%, #4096D4 100%);

  /* Radius */
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;

  /* Transition */
  --transition:    all 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--near-black);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--near-black);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  transition: var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.navbar-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.navbar-logo-img--color { display: block; }
.navbar-logo-img--white { display: none; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-left: auto;
  margin-right: auto;
}

.navbar-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.navbar-links a:hover { color: var(--navy); }
.navbar-links a:hover::after,
.navbar-links a.active::after { transform: scaleX(1); }
.navbar-links a.active { color: var(--navy); font-weight: 600; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-lang {
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  font-family: 'Poppins', sans-serif;
}

.btn-lang:hover { color: var(--navy); border-color: var(--navy); }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--blue-corp);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216,160,48,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-navy:hover {
  border-color: var(--navy);
  background: var(--off-white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   TYPOGRAPHY HELPERS
══════════════════════════════════════ */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 15px;
  color: var(--charcoal);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ══════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════ */
.page-header {
  margin-top: 72px;
  height: 260px;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 72px solid rgba(216,160,48,0.07);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  left: -60px; bottom: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 48px solid rgba(64,150,212,0.06);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease both;
}

.page-header-h1 {
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.page-header-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
}

/* ══════════════════════════════════════
   IMAGE PLACEHOLDER
══════════════════════════════════════ */
.img-placeholder {
  background: var(--off-white);
  border: 2px dashed rgba(8,40,120,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  padding: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 56px 80px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-img {
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.footer-nav-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-nav-col a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  text-decoration: none;
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes floatCircle {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(20px, -15px); }
  66%  { transform: translate(-10px, 20px); }
  100% { transform: translate(0, 0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F4C9C 0%, #082878 60%, #002058 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(8, 40, 120, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
  pointer-events: none;
  color: white;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: white;
  color: white;
}

.navbar-logo-img {
  height: 64px;
}

.navbar-links a {
  font-size: 14px;
  padding: 8px 14px;
}

.btn-primary, .btn-lang {
  font-size: 14px;
  padding: 12px 26px;
}