/* ─────────────────────────────────────────
   OPINING — Shared Styles
   ───────────────────────────────────────── */

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

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

:root {
  --blue: #0172AF;
  --blue-dark: #015a8c;
  --blue-light: #e0f2fb;
  --text: #111827;
  --muted: #6b7280;
  --light: #f9fafb;
  --border: #e5e7eb;
  --green: #10b981;
  --max-w: 1200px;
  --radius-btn: 999px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fafafa;
}

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

/* ── NAV ── */
nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10000;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  position: relative;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: transparent;
}
.nav-logo { display: flex; align-items: center; }
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.nav-links a { padding: 6px 8px; font-weight: 500; }
.nav-links a:hover { color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* language selector */
.nav-lang-sel { position: relative; }
.nav-lang-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  padding: 0;
}
.nav-lang-btn:hover { background: #f3f4f6; }
.lang-flag-img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; display: block; }
.nav-lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: none;
  border: none;
  padding: 4px 0 0;
  width: 42px;
  z-index: 99999;
}
.nav-lang-menu.open { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.lang-menu-item--icon.active { display: none; }
.lang-menu-item {
  display: flex; align-items: center;
  width: 100%;
  padding: 6px 24px 6px 8px;
  background: none; border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  text-align: left;
  border-radius: 2px;
  transition: background .12s;
}
.lang-menu-item:hover { background: #f3f4f6; }
.lang-menu-item--icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  flex-shrink: 0;
}
.lang-menu-item--icon:hover { background: #f3f4f6; }
.lang-menu-item--icon.active .lang-flag-img { outline: 2px solid var(--blue); outline-offset: 2px; }
.lang-item-text { display: flex; flex-direction: column; gap: 2px; }
.lang-item-top { display: flex; align-items: center; gap: 12px; }
.lang-item-name { font-size: 14px; font-weight: 500; line-height: 20px; }
.lang-item-sub { font-size: 12px; color: var(--muted); line-height: 20px; }
.lang-check { width: 9px; height: 6px; color: var(--text); opacity: 0; flex-shrink: 0; transition: opacity .15s; }
.lang-menu-item.active .lang-check { opacity: 1; }

/* footer language selector */
.footer-lang-sel { position: relative; }
.footer-lang-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--muted); padding: 4px 0;
  line-height: 1;
  transition: color .15s;
}
.footer-lang-btn:hover { color: var(--text); }
.footer-lang-btn svg { display: block; flex-shrink: 0; }
.footer-lang-menu-up {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  min-width: 210px;
  z-index: 99999;
}
.footer-lang-menu-up.open { display: flex; flex-direction: column; gap: 12px; }
.footer-bottom-right { display: flex; align-items: center; gap: 24px; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  width: 28px;
  height: 28px;
}
.ham-line {
  display: block;
  width: 18px;
  height: 2px;
  background: #242E30;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s ease;
  transform-origin: center;
}
.nav-hamburger.open .ham-top {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.open .ham-mid {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open .ham-bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* mobile nav drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 24px 24px 40px;
  background: #fff;
  gap: 4px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  color: var(--text);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .nav-mobile-actions a {
  font-size: 14px;
  font-weight: 400;
  padding: 14px 24px;
  width: 100%;
}
.nav-mobile .nav-mobile-actions .btn-hero-primary { border-bottom: none; }
.btn-hero-primary {
  background: #1b1b1b; color: #fff; font-size: 14px; font-weight: 500; line-height: 20px;
  padding: 14px 24px; border-radius: 999px;
  display: inline-flex; align-items: center;
  transition: background .15s; text-decoration: none;
}
.btn-hero-primary:hover { background: var(--blue); }
.btn-hero-secondary {
  display: inline-flex; align-items: center;
  border: 1px solid transparent; border-radius: 999px;
  outline: 1px solid var(--border); outline-offset: -1px;
  padding: 13px 24px;
  font-size: 14px; font-weight: 500; line-height: 20px; color: var(--text);
  background: #fff; transition: outline-color .15s; text-decoration: none;
}
.btn-hero-secondary:hover { outline-color: var(--blue); color: var(--blue); }
.nav-mobile .nav-mobile-actions .btn-hero-primary { color: #fff; }
.nav-mobile .nav-mobile-actions .btn-hero-secondary { justify-content: center; }
.nav-mobile .nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 32px;
}
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 16px;
}
.nav-mobile-lang-btn {
  display: flex;
  align-items: center;
}
.nav-lang-menu--mobile {
  top: 100%;
  right: auto;
  left: 0;
  flex-direction: column !important;
}
@media (max-width: 768px) {
  .nav-mobile-right { display: flex; }
  .nav-hamburger { display: flex; }
}

/* ── BUTTONS ── */
.btn-ghost { font-size: 14px; color: var(--text); padding: 8px 16px; }
.btn-primary {
  background: #1b1b1b;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  height: 42px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  height: 42px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ── SECTION WRAPPER ── */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 24px; }

.badge {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-title { font-size: 32px; font-weight: 500; letter-spacing: -0.06em; margin-bottom: 48px; }
.section-title.center { text-align: center; }

/* ── HATCH DIVIDER ── */
.hatch-divider {
  height: 99px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 51;
}
.built-by-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── FOOTER ── */
.site-footer { border-top: 1px solid #e5e7eb; background: #fff; }
.footer-hatch {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 48px;
  background: repeating-linear-gradient(45deg, transparent, transparent 6px, #e5e7eb 6px, #e5e7eb 7px);
}
.footer-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 96px 40px;
}
.footer-cols {
  display: flex;
  gap: 80px;
  margin-bottom: 56px;
  justify-content: center;
}
.footer-col h4 { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .15s; }
.footer-col ul li a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-socials { display: flex; align-items: center; gap: 24px; }
.footer-social-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; color: var(--text);
  transition: color .15s;
}
.footer-social-link:hover { color: var(--blue); }
.footer-social-link svg { flex-shrink: 0; }

/* ── FOOTER MAIN LAYOUT ── */
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; margin-bottom: 48px; }
.footer-main-left { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { display: flex; align-items: center; }
.footer-contact-items { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-contact-badge { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.footer-nav-cols { display: flex; gap: 60px; }
.footer-nav-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col ul li a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .15s; }
.footer-nav-col ul li a:hover { color: var(--blue); }

/* ── FOOTER EMAIL BTN ── */
.footer-email-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border: 1.5px dashed var(--border);
  border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 13px; font-family: inherit; color: var(--text);
  transition: border-color .15s, color .15s; text-decoration: none;
}
.footer-email-btn:hover { border-color: var(--text); }
.footer-email-btn svg { color: var(--muted); flex-shrink: 0; transition: color .15s; }
.footer-email-btn:hover svg { color: var(--text); }
.footer-email-btn.copied { border-color: var(--green); color: var(--green); }
.footer-email-btn.copied svg { color: var(--green); }

/* ── WHATSAPP STICKY ── */
.wa-sticky {
  position: fixed; bottom: 24px; right: max(24px, calc((100vw - 1200px) / 2 + 24px)); z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: transform .15s, box-shadow .15s;
}
.wa-sticky:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0,0,0,.24); }

/* ── BADGE ── */
.badge { display: inline-block; padding: 1px 5px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.badge.green { background: #d1fae5; color: #065f46; }
.badge.yellow { background: #fef3c7; color: #92400e; }
.badge.red { background: #fee2e2; color: #991b1b; }

/* ── ALT BG ── */
.bg-alt { background: #fff; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

/* ── CONTAINER BORDER ── */
.container-border {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100%);
  height: 100vh;
  pointer-events: none;
  z-index: 50;
  border-left: 1px solid #E5EDF5;
  border-right: 1px solid #E5EDF5;
}
@media (max-width: 768px) {
  .container-border { display: none; }
}

@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 768px) {
  /* nav */
  nav { padding: 0; }
  .nav-inner { padding: 0 24px; height: 72px; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { padding: 96px 24px 40px; margin: 0; border: none; border-radius: 0; box-shadow: none; }

  /* section padding */
  section { padding: 56px 24px; }

  /* section title */
  .section-title { font-size: 26px; margin-bottom: 32px; }

  /* footer */
  .footer-hatch { height: 32px; }
  .footer-body { padding: 40px 24px 32px; }
  .footer-main { flex-direction: column; gap: 40px; }
  .footer-nav-cols { flex-direction: column; gap: 32px; margin-top: 24px; }
  .wa-sticky { bottom: 24px; right: 24px; width: 60px; height: 60px; }
  .footer-bottom { flex-direction: column-reverse; border-top: none; padding-top: 0; gap: 0; align-items: flex-start; }
  .footer-copy { border-top: 1px solid var(--border); padding-top: 20px; width: 100%; }
  .footer-socials { padding-bottom: 44px; }
}

/* ── THEME TOGGLE ── */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 0;
  line-height: 1;
  transition: color .15s;
}
