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

/* ===== Color palette ===== */
:root {
  --hero-50: #2a292b;
  --primary-100: #fef3c7;
  --primary-600: #d97706;
  --primary-700: #b45309;
  --primary-800: #92400e;
  --secondary-50: #e6dcc6;
  --secondary-200: #e6dcc6;
  --secondary-400: #e6dcc6;
  --secondary-500: #e6dcc6;
  --secondary-600: #e6dcc6;
  --secondary-700: #e6dcc6;
  --secondary-900: #e6dcc6;
  --ternary-50: #1f1e20;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
}

/* ===== x-cloak anti-flash ===== */
[x-cloak] { display: none !important; }

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; font-size: 1rem; line-height: 1.5; color: var(--gray-900); background: var(--white); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Layout utilities ===== */
.max-w-screen-xl { max-width: 1280px; }
.max-w-screen-lg { max-width: 1024px; }
.max-w-screen-md { max-width: 768px; }
.max-w-screen-sm { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-1 { margin-right: 0.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Colors ===== */
.bg-hero-50 { background-color: var(--hero-50); }
.bg-primary-100 { background-color: var(--primary-100); }
.bg-primary-700 { background-color: var(--primary-700); }
.bg-secondary-50 { background-color: var(--secondary-50); }
.bg-ternary-50 { background-color: var(--ternary-50); }
.text-white { color: var(--white); }
.text-secondary-50 { color: var(--secondary-50); }
.text-secondary-400 { color: var(--secondary-400); }
.text-secondary-500 { color: var(--secondary-500); }
.text-secondary-600 { color: var(--secondary-600); }
.text-secondary-700 { color: var(--secondary-700); }
.text-secondary-900 { color: var(--secondary-900); }
.text-primary-600 { color: var(--primary-600); }
.text-primary-700 { color: var(--primary-700); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-900 { color: var(--gray-900); }
.hover\:text-primary-800:hover { color: var(--primary-800); }
.hover\:underline:hover { text-decoration: underline; }

/* ===== Border radius ===== */
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* =================================================================
   BASE — Desktop >= 1024px
   ================================================================= */

/* ---- Header ---- */
.header { background-color: var(--hero-50); color: var(--secondary-50); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0.75rem 1.5rem; }
.header-left { display: flex; align-items: center; gap: 0.75rem; }
.header-logo { display: flex; align-items: center; gap: 0.75rem; }
.header-logo img { height: 2.25rem; width: auto; }
.header-logo span { font-size: 1.25rem; font-weight: 600; color: var(--secondary-700); }
.header-nav { display: flex; align-items: center; gap: 0.25rem; }
.header-nav a { padding: 0.5rem 0.75rem; color: var(--secondary-700); font-weight: 500; border-radius: 0.375rem; transition: background 0.2s, color 0.2s; }
.header-nav a:hover { background: rgba(230,220,198,0.1); color: var(--secondary-50); }
.header-right { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-btn { display: none; }
.lang-selector { display: flex; align-items: center; gap: 0.5rem; }
.lang-btn { background: none; border: none; color: var(--secondary-400); cursor: pointer; font-size: 0.875rem; padding: 0.25rem 0.5rem; }
.lang-btn.active { font-weight: 700; }
.lang-btn:hover { color: var(--white); }

/* ---- Hero ---- */
.hero { background: linear-gradient(135deg, var(--hero-50), var(--ternary-50)); color: var(--secondary-50); padding: 5rem 1.5rem; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem; align-items: center; max-width: 1280px; margin: 0 auto; }
.hero h1 { font-size: 3.75rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; font-weight: 300; line-height: 1.6; margin-bottom: 1.5rem; color: var(--secondary-500); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-image { display: flex; justify-content: center; }
.hero-image img { max-width: 100%; height: auto; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.25rem; font-size: 1rem; font-weight: 500; border-radius: 0.5rem; cursor: pointer; border: none; text-align: center; transition: background 0.2s; }
.btn-primary { background: var(--primary-700); color: var(--secondary-900); }
.btn-primary:hover { background: var(--primary-800); }
.btn-secondary { background: var(--secondary-700); color: var(--primary-700); }
.btn-outline { background: transparent; border: 1px solid var(--primary-700); color: var(--secondary-50); }
.btn-outline:hover { background: var(--secondary-700); color: var(--secondary-900); }

/* ---- Partners ---- */
.partners-section { background: var(--ternary-50); padding: 4rem 1.5rem; }
.partners-title { color: var(--secondary-900); font-size: 1.875rem; font-weight: 800; text-align: center; margin-bottom: 3rem; }
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; justify-items: center; max-width: 1280px; margin: 0 auto; }
.partner-logo { display: flex; justify-content: center; align-items: center; height: 4rem; max-width: 100%; padding: 0 1rem; }
.partner-logo svg, .partner-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; }
.partner-logo svg { width: auto; height: 100%; }
.partner-logo:nth-child(3) { height: 7rem; }

/* ---- Who we are ---- */
.who-we-are { background: var(--hero-50); padding: 4rem 1.5rem; }
.who-we-are-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1280px; margin: 0 auto; }
.who-we-are h2 { color: var(--secondary-900); font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1rem; }
.who-we-are p { color: var(--secondary-500); font-weight: 300; margin-bottom: 1rem; line-height: 1.6; }
.who-we-are .image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.who-we-are .image-grid img { border-radius: 0.5rem; width: 100%; }
.who-we-are .image-grid img:last-child { margin-top: 2.5rem; }

/* ---- Founders ---- */
.founders-section { background: var(--secondary-50); padding: 4rem 1.5rem; }
.founders-section > div { max-width: 1280px; margin: 0 auto; }
.founders-section > div > div { max-width: 1024px; }
.founders-section h2 { color: var(--gray-900); font-size: 2.25rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 1rem; }
.founders-section p { color: var(--gray-500); margin-bottom: 1rem; }

/* ---- Services ---- */
.services-section { background: var(--hero-50); color: var(--secondary-50); padding: 4rem 1.5rem; }
.services-section > div { max-width: 1280px; margin: 0 auto; }
.services-section h2 { color: var(--secondary-900); font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1rem; }
.services-section .subtitle { color: var(--secondary-500); font-size: 1.125rem; margin-bottom: 3rem; max-width: 768px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.5rem 2rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(230,220,198,0.08); border-radius: 1rem; transition: background 0.3s, border-color 0.3s, transform 0.3s; }
.service-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(230,220,198,0.18); transform: translateY(-2px); }
.service-icon { display: flex; justify-content: center; align-items: center; width: 3rem; height: 3rem; background: var(--primary-100); border-radius: 9999px; margin-bottom: 1rem; flex-shrink: 0; }
.service-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary-600); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }
.service-card p { color: var(--secondary-500); font-size: 0.9375rem; line-height: 1.6; }

/* ---- Meet ---- */
.meet-section { background: var(--ternary-50); color: var(--secondary-50); padding: 5rem 1.5rem; text-align: center; }
.meet-section > div { max-width: 1280px; margin: 0 auto; }
.meet-section > div > div { max-width: 640px; margin: 0 auto; }
.meet-section h2 { color: var(--secondary-900); font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1rem; }
.meet-section p { color: var(--secondary-500); margin-bottom: 1.5rem; }

/* ---- Footer ---- */
.site-footer { background: var(--hero-50); color: var(--secondary-400); padding: 4rem 1.5rem 2rem; }
.site-footer > div { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; }
.footer-logo { display: flex; align-items: center; margin-bottom: 1.5rem; gap: 0.75rem; }
.footer-logo img { width: 2.5rem; height: auto; }
.footer-logo span { font-size: 1.5rem; font-weight: 600; color: var(--secondary-900); }
.footer-description { color: var(--secondary-600); font-size: 0.875rem; line-height: 1.6; }
.site-footer h3 { color: var(--secondary-400); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; margin-bottom: 1.5rem; }
.site-footer li { margin-bottom: 0.75rem; font-size: 0.875rem; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-divider { border: none; border-top: 1px solid var(--secondary-200); margin: 2rem 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; color: var(--secondary-500); }

/* ---- Privacy ---- */
.privacy-section { background: var(--white); padding: 5rem 1.5rem; }
.privacy-section > div { max-width: 1024px; margin: 0 auto; }
.privacy-section h1 { font-size: 2.5rem; font-weight: 800; color: var(--hero-50); margin-bottom: 1rem; letter-spacing: -0.025em; }
.privacy-intro { font-size: 1.125rem; color: var(--gray-500); margin-bottom: 3rem; line-height: 1.6; }
.privacy-block { margin-bottom: 2.5rem; }
.privacy-block h2 { font-size: 1.5rem; font-weight: 700; color: var(--hero-50); margin-bottom: 0.75rem; }
.privacy-block p { color: var(--gray-800); line-height: 1.7; font-size: 1rem; }

/* =================================================================
   TABLET — 768px – 1023px
   ================================================================= */
@media (max-width: 1023px) {
  .hero { padding: 4rem 1.5rem; }
  .hero h1 { font-size: 3rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}

/* =================================================================
   MOBILE — < 768px
   ================================================================= */
@media (max-width: 767px) {
  .header-inner { flex-wrap: wrap; padding: 0.75rem 1rem; }
  .header-nav { display: none; flex-direction: column; width: 100%; padding: 0.5rem 0; }
  .header-nav.open { display: flex; animation: slideDown 0.25s ease-out; }
  .header-nav a { border-bottom: 1px solid rgba(230,220,198,0.15); padding: 0.75rem; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; color: var(--secondary-400); background: none; border: none; cursor: pointer; border-radius: 0.375rem; }
  .mobile-menu-btn:hover { background: rgba(230,220,198,0.1); }
  .mobile-menu-btn svg { width: 1.5rem; height: 1.5rem; }
  .header-right { order: 2; }

  .hero { padding: 2.5rem 1rem; }
  .hero h1 { font-size: 2rem; line-height: 1.15; }
  .hero p { font-size: 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }

  .partners-section { padding: 2.5rem 1rem; }
  .partners-title { margin-bottom: 2rem; }

  .who-we-are { padding: 2.5rem 1rem; }
  .who-we-are-grid { grid-template-columns: 1fr; gap: 2rem; }
  .who-we-are h2 { font-size: 1.875rem; }
  .who-we-are .image-grid img:last-child { margin-top: 1rem; }

  .founders-section { padding: 2.5rem 1rem; }
  .founders-section h2 { font-size: 1.875rem; }

  .services-section { padding: 2.5rem 1rem; }
  .services-section h2 { font-size: 1.875rem; }
  .services-section .subtitle { margin-bottom: 2rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 2rem 1.25rem; }
  .service-icon { width: 2.5rem; height: 2.5rem; }
  .service-icon svg { width: 1.25rem; height: 1.25rem; }

  .meet-section { padding: 3rem 1rem; }
  .meet-section h2 { font-size: 1.875rem; }

  .privacy-section { padding: 2.5rem 1rem; }
  .privacy-section h1 { font-size: 1.875rem; }
  .privacy-intro { font-size: 1rem; }
  .privacy-block h2 { font-size: 1.25rem; }

  .site-footer { padding: 2.5rem 1rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-bottom .text-right { text-align: left; width: 100%; }
}

/* =================================================================
   Animations
   ================================================================= */
.animate-fadeInLeftBig { animation: fadeInLeftBig 0.8s ease-out; }
@keyframes fadeInLeftBig {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-slideDown { animation: slideDown 0.25s ease-out; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 500px; }
}
