/* ============ Tokens ============ */
:root {
  --bg: #0E1420;
  --bg-soft: #141B2A;
  --surface: #1A2233;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #F5F3EE;
  --text-muted: #A7ACBB;
  --text-faint: #6E7486;
  --accent: #E8A33D;
  --accent-strong: #F2B45C;
  --accent-ink: #0E1420;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Language toggle ============ */
[class^="lang-"][hidden] { display: none !important; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ============ Nav ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 20, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-border);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost {
  border-color: var(--surface-border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============ Hero ============ */
.hero {
  padding: 96px 0 88px;
}

.hero .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.hero-content { max-width: 580px; }

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(232, 163, 61, 0.14);
  color: var(--accent);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 22px;
}

.hero h1 .accent { color: var(--accent); }

.hero .sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-photo {
  flex-shrink: 0;
  width: 300px;
  height: 370px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--surface-border);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Trust strip ============ */
.trust-strip {
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--bg-soft);
}

.trust-strip .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 32px;
}

.trust-item {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item strong {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  display: block;
  margin-bottom: 2px;
}

/* ============ Section heading ============ */
.section-head {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.section-head h2 { font-size: 2.1rem; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ============ Services ============ */
.services { padding: 100px 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 34px 28px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(232, 163, 61, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}

.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 15px; }

/* ============ CTA banner ============ */
.cta-banner {
  background: var(--bg-soft);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 32px; font-size: 17px; }

/* ============ Footer ============ */
.site-footer { padding: 48px 0; }

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--accent); }

.copyright {
  font-size: 13px;
  color: var(--text-faint);
}

/* ============ Page header (sub-pages) ============ */
.page-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--surface-border);
}

.page-hero .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.page-hero-content { max-width: 600px; }

.page-hero h1 { font-size: 2.4rem; margin-bottom: 20px; }

.page-hero .sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 100%;
}

.page-photo {
  flex-shrink: 0;
  width: 240px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.page-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Detailed services ============ */
.services-detail { padding: 96px 0; }

.service-detail-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--surface-border);
}

.service-detail-row:first-of-type { padding-top: 0; }
.service-detail-row:last-of-type { border-bottom: none; }

.service-detail-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-detail-heading h3 { font-size: 20px; }

.service-detail-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-detail-row li {
  color: var(--text-muted);
  font-size: 15px;
  padding-left: 22px;
  position: relative;
}

.service-detail-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* ============ Timeline ============ */
.timeline { padding: 96px 0; background: var(--bg-soft); border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }

.timeline-list {
  display: grid;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--surface-border);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-year {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
}

.timeline-role strong { display: block; margin-bottom: 4px; font-size: 16px; }
.timeline-role span { color: var(--text-muted); font-size: 14px; }

/* ============ Skills ============ */
.skills-section { padding: 96px 0; }

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  justify-content: center;
}

.skill-tag {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
}

/* ============ Personal note ============ */
.personal-note {
  padding: 80px 0 100px;
  text-align: center;
}

.personal-note .wrap { max-width: 640px; }
.personal-note p { color: var(--text-muted); font-size: 16px; }
.personal-note h2 { font-size: 1.7rem; margin-bottom: 18px; }

/* ============ Contact page ============ */
.contact-section { padding: 96px 0 110px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: 1.5rem; margin-bottom: 18px; }
.contact-info p { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
}

.contact-detail .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(232, 163, 61, 0.35);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail a { color: var(--text); font-weight: 500; }
.contact-detail a:hover { color: var(--accent); }
.contact-detail span.label { color: var(--text-faint); font-size: 13px; display: block; }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.contact-social a {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  color: var(--text);
}

.contact-social a:hover { border-color: var(--accent); color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 36px;
}

.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row textarea { resize: vertical; min-height: 130px; }

.contact-form .btn { width: 100%; justify-content: center; border: none; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .hero .wrap { flex-direction: column-reverse; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo { width: 240px; height: 300px; }
  .service-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--surface-border);
    padding: 16px 0 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .trust-strip .wrap { justify-content: center; text-align: center; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
  .page-hero .wrap { flex-direction: column-reverse; text-align: center; }
  .service-detail-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 100px 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
