@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C8962E;
  --gold-hover: #D9A73F;
  --dark: #0E1018;
  --white: #FFFFFF;
  --cream: #F7F5F0;
  --beige: #D2C9B8;
  --text-body: #888;
  --text-dark: #1A1A1A;
  --divider: #E0DDD5;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ HEADER ═══ */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; }
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 64px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 44px; }
.nav-link { text-decoration: none; color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500; letter-spacing: 1.8px; transition: color 0.2s; }
.nav-link:hover { color: #fff; }
.btn-contact {
  padding: 12px 30px; border: 1.5px solid var(--gold); color: var(--white);
  text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: 1.8px;
  display: inline-flex; align-items: center; gap: 10px; transition: all 0.25s;
}
.btn-contact:hover { background: var(--gold); color: var(--dark); }

/* Burger menu */
.burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; z-index: 200; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark); z-index: 150;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a { text-decoration: none; color: var(--white); font-size: 18px; font-weight: 500; letter-spacing: 2px; transition: color 0.2s; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn-contact { font-size: 14px; margin-top: 16px; }

/* ═══ HERO ═══ */
.hero { background: var(--dark); position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/bg-hero.jpg') center center / cover no-repeat; z-index: 1;
}
.hero-inner {
  max-width: 1320px; margin: 0 auto; padding: 168px 64px 100px;
  position: relative; min-height: 620px; z-index: 2;
}
.hero h1 { font-size: 52px; font-weight: 300; line-height: 1.22; color: var(--white); letter-spacing: 1.5px; margin-bottom: 30px; }
.hero h1 .gold { color: var(--gold); font-weight: 700; }
.hero h1 .dot { color: var(--gold); }
.hero-sub { font-size: 15px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.5); max-width: 390px; margin-bottom: 44px; }
.hero-buttons { display: flex; align-items: center; gap: 28px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 32px;
  background: var(--gold); color: var(--dark); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 1.8px; border-radius: 4px; transition: background 0.25s;
}
.btn-primary:hover { background: var(--gold-hover); }

/* ═══ TRUSTED ═══ */
.trusted { background: var(--white); padding: 52px 64px 56px; border-bottom: 1px solid var(--divider); }
.trusted-inner { max-width: 1320px; margin: 0 auto; text-align: center; }
.section-label-center { font-size: 11.5px; font-weight: 500; letter-spacing: 3.5px; color: #999; margin-bottom: 36px; }
.logos-grid { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-slot {
  display: flex; align-items: center; justify-content: center;
  flex: 1; height: 80px; border-right: 1px solid var(--divider);
}
.logo-slot:last-child { border-right: none; }
.logo-slot img {
  height: 64px; width: auto; max-width: 130px; object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: opacity 0.6s ease, filter 0.5s ease;
}
.logo-slot img:hover { filter: grayscale(0%) opacity(1); }
.logo-slot img.highlight { filter: grayscale(0%) opacity(1); }
.logo-slot img.fading { opacity: 0; }

/* ═══ WHAT WE DO ═══ */
.what-we-do { background: var(--cream); padding: 56px 64px 72px; }
.what-we-do-inner { max-width: 1320px; margin: 0 auto; }
.section-header { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.section-header h2 { font-size: 14px; font-weight: 700; letter-spacing: 2.5px; color: var(--text-dark); white-space: nowrap; }
.section-header .line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(200,150,46,0.1)); }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 18px; }
.card {
  border-radius: 14px; border: 3px solid var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); overflow: hidden;
  display: flex; flex-direction: column; min-height: 440px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.card-gold { background: #F9F7F3; }
.card-blue { background: #F4F6FA; }
.card-teal { background: #F5F7F5; }
.card-top { padding: 32px 28px 24px; min-height: 180px; }
.card-top img { width: 60px; height: 60px; object-fit: contain; }
.card-bottom { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.card-bottom h3 { font-size: 17px; font-weight: 800; letter-spacing: 2.5px; color: var(--text-dark); margin-bottom: 10px; }
.card-underline { width: 28px; height: 2.5px; background: var(--gold); margin-bottom: 16px; }
.card-bottom p { font-size: 14.5px; font-weight: 600; color: var(--text-body); line-height: 1.65; flex: 1; }
.card-arrow {
  width: 40px; height: 40px; border: 1.5px solid var(--divider);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); font-size: 16px; margin-top: 24px;
  cursor: pointer; transition: all 0.2s; text-decoration: none; align-self: flex-start;
}
.card-arrow:hover { border-color: var(--gold); color: var(--gold); }

/* Founder card */
.card-founder {
  background: var(--white); border-radius: 14px; border: 3px solid var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); overflow: hidden;
  position: relative; min-height: 440px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card-founder:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.card-founder-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: 1;
}
.card-founder-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  border-radius: 0 11px 11px 0;
}
.card-founder-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(to right, rgba(255,255,255,1) 38%, rgba(255,255,255,0.7) 52%, rgba(255,255,255,0) 68%);
  pointer-events: none;
}
.card-founder-text {
  padding: 32px 28px 28px; display: flex; flex-direction: column;
  width: 60%; min-height: 440px; position: relative; z-index: 3;
}
.card-founder-label { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; color: var(--gold); margin-bottom: 8px; }
.card-founder-name { font-size: 26px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.25; }
.card-founder-desc { font-size: 13px; font-weight: 400; color: var(--text-body); line-height: 1.6; flex: 1; }
.card-founder-link { font-size: 12px; font-weight: 600; color: var(--text-dark); text-decoration: none; margin-top: 16px; transition: color 0.2s; }
.card-founder-link:hover { color: var(--gold); }

/* ═══ CTA ═══ */
.cta { background: var(--dark); position: relative; overflow: hidden; padding: 96px 64px 128px; }
.cta-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/footer-bg.jpg') center center / cover no-repeat; z-index: 1;
}
.cta-bg::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(14,16,24,0.55); }
.cta-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  position: relative; z-index: 2;
}
.cta h2 { font-size: 46px; font-weight: 300; color: var(--white); line-height: 1.3; margin-bottom: 14px; letter-spacing: 0.5px; }
.cta h2 .gold { color: var(--gold); }
.cta-subtitle { font-size: 14.5px; font-weight: 300; color: rgba(255,255,255,0.4); font-style: italic; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; background: var(--gold); color: var(--dark);
  text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  border-radius: 4px; transition: background 0.25s; white-space: nowrap; flex-shrink: 0;
}
.btn-cta:hover { background: var(--gold-hover); }

/* ═══ ANIMATIONS ═══ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.d1 { transition-delay: 0.1s; }
.fade-in.d2 { transition-delay: 0.2s; }
.fade-in.d3 { transition-delay: 0.3s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .card { min-height: 360px; }
  .card-top { min-height: 140px; padding: 24px 24px 16px; }
  .card-bottom { padding: 16px 24px 24px; }
  .card-founder { min-height: 360px; }
  .card-founder-text { min-height: 360px; width: 55%; }
  .card-founder-overlay { background: linear-gradient(to right, rgba(255,255,255,1) 35%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 68%); }
  .logo-slot { height: 64px; }
  .logo-slot img { height: 52px; max-width: 100px; }
}

@media (max-width: 900px) {
  .header-inner { padding: 0 24px; }
  .nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .hero-inner { padding: 140px 24px 72px; min-height: auto; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 14px; max-width: 100%; margin-bottom: 32px; }
  .trusted { padding: 40px 24px; }
  .logos-grid { flex-wrap: wrap; }
  .logo-slot { flex: 0 0 25%; padding: 10px 0; height: 56px; border-right: 1px solid var(--divider); }
  .logo-slot:nth-child(4n) { border-right: none; }
  .logo-slot:nth-child(n+5) { border-top: 1px solid var(--divider); }
  .logo-slot img { height: 40px; max-width: 80px; }
  .what-we-do { padding: 40px 24px 48px; }
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card { min-height: 300px; }
  .card-top { min-height: 100px; padding: 20px 20px 12px; }
  .card-top img { width: 44px; height: 44px; }
  .card-bottom { padding: 12px 20px 20px; }
  .card-bottom h3 { font-size: 14px; letter-spacing: 2px; margin-bottom: 6px; }
  .card-bottom p { font-size: 13px; }
  .card-underline { margin-bottom: 10px; }
  .card-arrow { width: 34px; height: 34px; font-size: 14px; margin-top: 16px; }
  .card-founder { min-height: 300px; }
  .card-founder-text { min-height: 300px; width: 55%; padding: 24px 20px 20px; }
  .card-founder-name { font-size: 22px; margin-bottom: 10px; }
  .card-founder-desc { font-size: 12px; }
  .card-founder-link { font-size: 11px; }
  .cta { padding: 64px 24px 80px; }
  .cta h2 { font-size: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .btn-primary { padding: 13px 24px; font-size: 11px; }
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 280px; }
  .card-top { min-height: 90px; }
  .card-founder { min-height: 380px; }
  .card-founder-photo { width: 50%; }
  .card-founder-text { width: 55%; min-height: 380px; }
  .card-founder-overlay { background: linear-gradient(to right, rgba(255,255,255,1) 40%, rgba(255,255,255,0.7) 55%, rgba(255,255,255,0) 72%); }
  .logo-slot { flex: 0 0 25%; height: 50px; }
  .logo-slot img { height: 32px; max-width: 64px; }
  .cta h2 { font-size: 26px; }
  .btn-cta { padding: 14px 28px; font-size: 11px; letter-spacing: 1.5px; }
  .section-header h2 { font-size: 12px; }
}