/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Manrope', sans-serif;
  background: #FAFAFA;
  color: #0F172A;
  overflow-x: hidden;
}

/* ─── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --ink: #0F172A;
  --mid: #334155;
  --muted: #64748B;
  --accent: #2563EB;
  --accent-light: #EFF6FF;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --border-dark: #CBD5E1;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', sans-serif;
  --nav-h: 72px;
  --max-w: 1200px;
  --section-pad: 100px;
}

/* ─── UTILITIES ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
@media(max-width:768px){ .container { padding: 0 24px; } }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: var(--accent); flex-shrink: 0;
}

.tag {
  display: inline-block; padding: 4px 12px;
  border: 1px solid var(--border-dark); border-radius: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

/* ─── SECTION HEADINGS ───────────────────────────────────────── */
.section-header { max-width: 680px; margin-bottom: 72px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-h2 {
  font-family: var(--serif); font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 16px;
}
.section-h2 em { font-style: italic; color: var(--accent); }
.section-desc { font-size: 16px; font-weight: 400; color: var(--muted); line-height: 1.7; }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  background: rgba(250,250,250,0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
@media(max-width:768px){ .nav-inner { padding: 0 24px; } }

.nav-logo { display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); }
.nav-logo-mark {
  width: 40px; height: 40px; border-radius: 6px;
  display: grid; place-items: center; flex-shrink: 0;
}
.nav-logo-mark svg { display:block; }
.nav-logo-text { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
@media(max-width:900px){ .nav-links { display:none; } }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--mid);
  text-decoration: none; transition: color 0.2s; letter-spacing: -0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 16px; }


.lang-dropdown {
  position: relative;
}

.lang-globe-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.lang-globe-btn:hover {
  color: #111;
  background: rgba(0,0,0,0.05);
}

.lang-chevron {
  transition: transform 0.2s;
}
.lang-chevron.rotated {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 4px;
  min-width: 148px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 100;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.lang-option:hover {
  background: rgba(0,0,0,0.04);
}

.lang-option.active .lang-option-code {
  font-weight: 600;
  color: #111;
}

.lang-option-code {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #111;
  width: 20px;
}

.lang-option-label {
  font-size: 13px;
  color: #666;
  flex: 1;
}

.lang-option svg {
  color: #111;
  margin-left: auto;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 4px;
  min-width: 148px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 100;
}

.lang-dropdown-menu.open {
  display: block;
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-chevron.rotated {
  transform: rotate(180deg);
}
/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--ink); color: #fff;
  border: 1.5px solid var(--ink); border-radius: 6px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em; cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn-outline-ink{
   border-color: var(--mid);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: transparent; color: var(--mid);
  border: 1.5px solid var(--border-dark); border-radius: 6px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em; cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: #fff; color: var(--ink);
  border: 1.5px solid #fff; border-radius: 6px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: #F1F5F9; transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: transparent; color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 6px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none; transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.5); color: #fff; transform: translateY(-1px); }

/* ─── PAGE HEADER (work / about / contact) ───────────────────── */
.page-header {
  padding-top: calc(var(--nav-h) + 72px); padding-bottom: 72px;
  border-bottom: 1px solid var(--border); background: var(--surface);
}
.page-header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.page-header-title {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 60px);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 12px;
}
.page-header-title em { font-style: italic; color: var(--accent); }
.page-header-desc { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 480px; }
.page-header-stat { text-align: right; flex-shrink: 0; }
@media(max-width:600px){ .page-header-stat { text-align: left; } }
.page-header-stat-num {
  font-family: var(--serif); font-size: 48px; font-weight: 400;
  letter-spacing: -0.04em; color: var(--ink); line-height: 1;
}
.page-header-stat-label { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }

/* ─── CTA STRIP ──────────────────────────────────────────────── */
.cta-strip {
  border-top: 1px solid var(--border); padding: 80px 0; background: var(--ink);
  text-align: center; position: relative; overflow: hidden;
}
.cta-strip-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 10%, transparent 100%);
}
.cta-strip-inner { position: relative; z-index: 2; }
.cta-strip h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 48px);
  font-weight: 400; font-style: italic; color: #fff; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 16px;
}
.cta-strip p { font-size: 15px; color: #94A3B8; line-height: 1.7; margin-bottom: 36px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-strip-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-header { max-width: 560px; margin-bottom: 56px; }
.faq-header-title {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 44px);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 12px;
}
.faq-header-title em { font-style: italic; color: var(--accent); }
.faq-header-desc { font-size: 15px; color: var(--muted); line-height: 1.7; }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
@media(max-width:768px){ .faq-grid { grid-template-columns: 1fr; } }
.faq-item { background: var(--surface); cursor: pointer; transition: background 0.15s; border-bottom: 1px solid var(--border); }
.faq-item:nth-last-child(1), .faq-item:nth-last-child(2) { border-bottom: none; }
@media(max-width:768px){
  .faq-item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .faq-item:last-child { border-bottom: none; }
}
.faq-item:hover { background: #F8FAFC; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px;
  font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.5; user-select: none;
  background: none; border: none; cursor: pointer; width: 100%; text-align: left;
}
.faq-question-icon { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; color: var(--muted); transition: transform 0.25s; }
.faq-item.open .faq-question-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(.22,1,.36,1), padding 0.25s; padding: 0 28px; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 28px 24px; }
.faq-answer p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ─── LANG TOGGLE ─────────────────────────────────────────── */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0; flex-shrink: 0;
}
.lang-toggle form { display: inline; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 24px; padding: 0 2px;
  background: transparent; border: none; border-radius: 0;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.05em; color: var(--muted); cursor: pointer;
  transition: color 0.15s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { color: var(--ink); font-weight: 700; }
.lang-toggle-sep {
  font-size: 10px; color: var(--border); user-select: none; padding: 0 3px; line-height: 1;
}
@media(max-width:900px) { .lang-toggle { display: none; } }

/* ─── MOBILE HAMBURGER ────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 40px; height: 40px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
@media(max-width:900px){ .hamburger { display: flex; } }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* Hide desktop CTA button in nav bar on mobile */
@media(max-width:900px){ .nav-cta-btn { display: none !important; } }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(250,250,250,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 20px 24px 28px; z-index: 99;
  flex-direction: column; gap: 0; animation: fadeIn 0.2s;
}
.mobile-menu.open { display: flex; }

.mobile-nav-links {
  list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0;
}
.mobile-nav-links li a {
  display: block;
  font-size: 13.5px; font-weight: 500; color: var(--mid); text-decoration: none;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em; transition: color 0.2s;
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a.active { color: var(--ink); }
.mobile-nav-links li a.active { font-weight: 700; }

.mobile-menu-cta { margin-top: 20px; justify-content: center; width: 100%; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: #080F1E; padding: 64px 0 32px; color: #8B9BB0; }
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 32px;
}
@media(max-width:900px){ .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }
@media(max-width:520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.footer-logo-mark { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; }
.footer-logo-text { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.footer-tagline { font-size: 13.5px; line-height: 1.65; color: #94A3B8; max-width: 260px; margin-bottom: 24px; }
.footer-contact a { display: block; font-size: 13px; color: #94A3B8; text-decoration: none; line-height: 2; transition: color 0.2s; }
.footer-location { display: block; font-size: 13px; color: #94A3B8; line-height: 2; }
.footer-contact a:hover { color: #93C5FD; }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8B9BB0; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 13.5px; color: #94A3B8; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12.5px; color: #8B9BB0; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 6px; background: rgba(255,255,255,0.06);
  display: grid; place-items: center; text-decoration: none; color: #94A3B8;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }

/* ─── WHATSAPP FLOAT BUTTON ──────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0,0,0,0.2); }

/* ─── ACCESSIBILITY ───────────────────────────────────────── */
.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;
}
