:root {
  --navy: #0c2a47;
  --navy-deep: #061a30;
  --blue: #1e6fbe;
  --blue-light: #4ba3e3;
  --blue-pale: #e8f2fb;
  --slate-deep: #1e2a3a;
  --slate-mid: #485468;
  --slate-light: #8997ab;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde4ed;
  --accent: #4ba3e3;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --t: 0.25s cubic-bezier(.25,.8,.25,1);
  --shadow: 0 4px 24px rgba(12, 42, 71, 0.08);
  --shadow-md: 0 12px 40px rgba(12, 42, 71, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px; line-height: 1.65; color: var(--slate-deep);
  background: #fff; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  background: var(--blue-pale); color: var(--blue);
  border: 1px solid rgba(30, 111, 190, 0.15);
  margin-bottom: 18px;
}
.chip.white {
  background: rgba(255,255,255,0.08); color: var(--blue-light);
  border: 1px solid rgba(75, 163, 227, 0.25);
}
.sec-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.5px; color: var(--navy); margin-bottom: 14px;
}
.sec-title.white { color: #fff; }
.sec-title em { font-style: italic; font-weight: 600; color: var(--blue); }
.sec-sub { font-size: 16px; color: var(--slate-mid); max-width: 680px; line-height: 1.7; }
.sec-sub.white { color: rgba(255,255,255,0.7); }
section { padding: 96px 0; position: relative; }

/* ─── NAV ───────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--t);
}
#nav.scrolled { box-shadow: 0 2px 24px rgba(12, 42, 71, 0.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 32px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 50px; width: auto; display: block; }
.nav-logo-text {
  font-weight: 700; font-size: 15px; color: var(--navy); letter-spacing: -0.3px; line-height: 1.2;
}
.nav-logo-text small {
  display: block; font-size: 11px; font-weight: 500; color: var(--slate-light);
  letter-spacing: 0.4px; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--slate-mid);
  transition: color var(--t); position: relative;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 10px 22px; border-radius: 100px;
  font-size: 13.5px; font-weight: 600;
  transition: background var(--t), transform var(--t);
}
.nav-cta:hover { background: var(--navy); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--navy); cursor: pointer; }
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--gray-200);
  padding: 24px 24px 32px; z-index: 899;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--gray-100); }
.mobile-menu li a { display: block; padding: 14px 0; font-size: 15px; font-weight: 500; color: var(--navy); }

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 92vh; padding: 140px 0 80px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--blue) 130%);
  color: #fff; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('assets/img/sections/hero.jpg');
  background-size: cover; background-position: center;
  opacity: 0.15; mix-blend-mode: screen;
}
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, transparent, #fff);
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px;
  align-items: center; width: 100%; position: relative; z-index: 2;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 68px); font-weight: 700; line-height: 1.05;
  letter-spacing: -1.5px; margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--blue-light); font-weight: 600; }
.hero p {
  font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.78);
  max-width: 540px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.2px;
  transition: background var(--t), transform var(--t);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.3); color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600;
  transition: background var(--t), border-color var(--t);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--blue-light); }

.hero-card {
  position: relative; padding: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  backdrop-filter: blur(12px);
}
.hero-card-logo {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-card-logo img { width: 68px; height: 68px; border-radius: 14px; background: #fff; padding: 6px; }
.hero-card-logo-text strong { display: block; font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 2px; }
.hero-card-logo-text span { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.hero-stat strong {
  display: block; font-size: 28px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 4px;
}
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.3px; }
.hero-features { list-style: none; }
.hero-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.85);
}
.hero-features i { color: var(--blue-light); font-size: 13px; margin-top: 4px; }

/* ─── ABOUT ─────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-inner {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-img-inner img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5;
  transition: transform 0.6s ease;
}
.about-img-inner:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: #fff; padding: 16px 22px; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 28px; color: var(--navy); font-weight: 700; line-height: 1; }
.about-badge span { font-size: 12px; color: var(--slate-mid); letter-spacing: 0.3px; }
.about-text p { color: var(--slate-mid); font-size: 15.5px; line-height: 1.8; margin-bottom: 18px; }
.about-text p strong { color: var(--navy); }
.about-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.about-field {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; background: var(--gray-50); border-radius: var(--r);
  border-left: 3px solid var(--blue);
}
.about-field i { color: var(--blue); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.about-field strong { display: block; font-size: 14px; color: var(--navy); font-weight: 600; }

/* ─── SERVICES ──────────────────────────────────────── */
.services-sec { background: var(--gray-50); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.service-card {
  background: #fff; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-img {
  height: 200px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12,42,71,0.5) 100%);
}
.service-icon {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 18px; box-shadow: var(--shadow);
}
.service-body { padding: 28px 26px 30px; flex: 1; }
.service-body h3 {
  font-size: 19px; font-weight: 700; color: var(--navy);
  margin-bottom: 12px; letter-spacing: -0.3px;
}
.service-body p {
  font-size: 14px; color: var(--slate-mid); line-height: 1.7;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--blue);
  transition: gap var(--t);
}
.service-card:hover .service-link { gap: 10px; }

/* ─── EXPERTISE ─────────────────────────────────────── */
.expertise-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px;
}
.expertise-card {
  text-align: center; padding: 36px 24px;
  border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  transition: border-color var(--t), transform var(--t);
}
.expertise-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.expertise-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-pale), #fff);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 26px; margin: 0 auto 20px;
  border: 1px solid var(--gray-200);
}
.expertise-card h4 {
  font-size: 15.5px; font-weight: 600; color: var(--navy);
  margin-bottom: 8px; letter-spacing: -0.2px;
}
.expertise-card p { font-size: 13px; color: var(--slate-mid); line-height: 1.6; }

/* ─── PARTNERS ──────────────────────────────────────── */
.partners-sec {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
}
.partners-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.partner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.partner-card:hover {
  background: rgba(255,255,255,0.07); border-color: rgba(75,163,227,0.3);
  transform: translateY(-3px);
}
.partner-name {
  font-size: 19px; font-weight: 700; color: #fff;
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.partner-tag {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  color: var(--blue-light); background: rgba(75,163,227,0.12);
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 14px;
}
.partner-card p {
  font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 16px;
}
.partner-card ul {
  list-style: none; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
}
.partner-card li {
  font-size: 12.5px; color: rgba(255,255,255,0.6); padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.partner-card li::before { content: '◆'; color: var(--blue-light); font-size: 8px; margin-top: 4px; }

/* ─── CONTACT ───────────────────────────────────────── */
.contact-sec { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; }
.offices { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.office {
  padding: 22px; border-radius: var(--r-lg);
  background: var(--gray-50); border: 1px solid var(--gray-200);
}
.contact-extras { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-extra {
  padding: 18px 20px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--blue-pale), #fff);
  border: 1px solid var(--gray-200);
}
.contact-extra h6 {
  font-size: 11.5px; font-weight: 700; color: var(--blue);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}
.contact-extra p { font-size: 13px; color: var(--slate-deep); line-height: 1.55; margin: 0; }
.contact-extra a { color: var(--navy); font-weight: 600; }
.contact-extra a:hover { color: var(--blue); }
.office h5 {
  font-size: 11.5px; font-weight: 700; color: var(--blue);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px;
}
.office p {
  font-size: 13.5px; color: var(--slate-deep); line-height: 1.55; margin-bottom: 6px;
}
.office a { font-size: 13px; color: var(--slate-mid); }
.office a:hover { color: var(--blue); }
.office-icon { color: var(--blue-light); font-size: 11px; margin-right: 4px; }
.office-quick { grid-column: 1 / -1; padding: 18px 22px; background: var(--navy); color: #fff; }
.office-quick h5 { color: var(--blue-light); }
.office-quick p { color: rgba(255,255,255,0.92); }
.office-quick a { color: rgba(255,255,255,0.7); }
.office-quick a:hover { color: var(--blue-light); }

.form-wrap {
  background: var(--gray-50); padding: 40px;
  border-radius: var(--r-xl); border: 1px solid var(--gray-200);
}
.form-wrap h3 {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.form-wrap > p {
  font-size: 14px; color: var(--slate-mid); margin-bottom: 24px;
}
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 16px; }
.fg label {
  display: block; font-size: 12px; font-weight: 600; color: var(--slate-deep);
  letter-spacing: 0.3px; margin-bottom: 6px;
}
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--r);
  font-family: inherit; font-size: 14px; color: var(--navy);
  background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,190,0.1);
}
.fg textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; background: var(--blue); color: #fff;
  border: none; padding: 14px; border-radius: 100px;
  font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background var(--t), transform var(--t);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: var(--navy); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-feedback {
  margin-top: 14px; padding: 0; font-size: 13px;
  max-height: 0; overflow: hidden; transition: max-height var(--t), padding var(--t);
}
.form-feedback.ok, .form-feedback.err, .form-feedback.wait {
  padding: 12px 14px; border-radius: var(--r); max-height: 80px;
}
.form-feedback.ok { background: #e8f6ee; color: #146c43; }
.form-feedback.err { background: #fdecea; color: #a13b35; }
.form-feedback.wait { background: var(--blue-pale); color: var(--blue); }

/* ─── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 36px;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.footer-logo img {
  height: 56px; width: auto;
  background: #fff; padding: 4px; border-radius: 10px;
}
.footer-logo-text { color: #fff; font-weight: 600; font-size: 14px; line-height: 1.3; }
.footer-logo-text small { display: block; font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.footer-desc {
  font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7;
  font-weight: 300; margin-bottom: 16px; max-width: 280px;
}
.footer-col h5 {
  font-size: 12px; font-weight: 700; color: #fff;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--blue-light); }
.fci {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6;
  margin-bottom: 12px;
}
.fci i { color: var(--blue-light); font-size: 12px; margin-top: 4px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px;
}

#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: opacity var(--t), transform var(--t), background var(--t);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  box-shadow: var(--shadow-md); z-index: 800;
}
#scrollTop.visible { opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--navy); transform: translateY(-2px); }

/* ─── ANIMATIONS ────────────────────────────────────── */
.reveal { opacity: 1; transform: none; }
body.js-anim .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
body.js-anim .reveal.in { opacity: 1; transform: none; }
body.js-anim .reveal-d1 { transition-delay: 0.1s; }
body.js-anim .reveal-d2 { transition-delay: 0.2s; }
body.js-anim .reveal-d3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid, .partners-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta:not(.ml) { display: none; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 38px; }
  section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .footer-grid, .form-row2, .offices, .about-fields, .contact-extras { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; }
  .nav-logo-text { display: none; }
}
