/* ===========================
   ME SHIELD GROUP — GLOBAL CSS
   =========================== */

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

:root {
  --navy:      #0B1C3A;
  --navy-mid:  #122348;
  --gold:      #C9A84C;
  --gold-light:#E2C97A;
  --offwhite:  #F7F5EF;
  --white:     #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid:  #4A4A6A;
  --text-light:#7A7A9A;
  --border:    rgba(201,168,76,0.25);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:   6px;
  --shadow:   0 4px 24px rgba(11,28,58,0.10);
  --shadow-lg:0 12px 40px rgba(11,28,58,0.16);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--text-dark);
  line-height: 1.65;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.22; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { color: var(--text-mid); font-size: 1rem; }

a  { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-dark { background: var(--navy); }
.section-white { background: var(--white); }

/* ── GOLD RULE ── */
.gold-rule {
  display: block;
  width: 56px; height: 3px;
  background: var(--gold);
  margin: 16px 0 28px;
}
.gold-rule.center { margin: 16px auto 28px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .22s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201,168,76,.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ── NAVIGATION ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,.2);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all .2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,.1);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .05em;
}
.lang-btn.active {
  background: var(--gold);
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO (shared base) ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 36px 30px;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(201,168,76,.1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* ── GRID ── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(201,168,76,.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 16px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
footer ul a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.footer-brand { color: var(--gold); font-weight: 600; }
.footer-disclaimer {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-top: 12px;
  line-height: 1.5;
}

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-header h2 { color: var(--navy); }
.section-dark .section-header h2 { color: var(--white); }
.section-header p { max-width: 580px; margin: 12px auto 0; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #D8D5CF;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── TESTIMONIALS ── */
.testimonial {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: .25;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.testimonial p { color: rgba(255,255,255,.8); font-style: italic; margin-bottom: 16px; }
.testimonial-name { color: var(--gold); font-weight: 600; font-size: .9rem; }

/* ── BREADCRUMB / PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.65); margin-top: 10px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ── ALERTS ── */
.alert-success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.4);
  color: #16a34a;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  display: none;
  font-size: .92rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-links { display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: var(--navy);
    padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid rgba(201,168,76,.2); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── HIDDEN LANG TEXT ── */
[data-en], [data-ht] { }
body.lang-ht [data-en] { display: none !important; }
body.lang-en [data-ht] { display: none !important; }
