:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-2: #eef6fb;
  --text: #10253d;
  --muted: #617589;
  --primary: #1769aa;
  --primary-dark: #0d4f85;
  --accent: #20a18c;
  --line: #dbe7f0;
  --dark: #0e2a45;
  --shadow: 0 18px 50px rgba(24, 63, 94, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 92px 0; }
.section { position: relative; }
.section-alt { background: var(--surface-2); }

.topbar { background: var(--dark); color: #dbeafa; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; }
.topbar a { color: #fff; font-weight: 700; }

.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247, 251, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 231, 240, 0.85);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(23, 105, 170, .22);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; color: #415970; }
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--primary); transition: .25s ease; }
.nav a:hover::after { right: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 14px;
  font-weight: 700; font-size: 15px; transition: .25s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #2588c7); color: #fff; box-shadow: 0 12px 30px rgba(23, 105, 170, .22); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(23, 105, 170, .30); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-small { min-height: 42px; padding: 0 17px; font-size: 13px; border-radius: 12px; }
.btn-large { min-height: 56px; padding: 0 28px; }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: #fff; border-radius: 12px; box-shadow: 0 4px 18px rgba(20,60,90,.08); }
.menu-toggle span { width: 21px; height: 2px; background: var(--text); display: block; margin: 5px auto; transition: .25s ease; }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,139,196,.14), transparent 68%);
  top: -240px; left: -200px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--primary); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: 12px; }
h1, h2, h3 { margin-top: 0; line-height: 1.16; letter-spacing: -0.04em; }
h1 { font-size: clamp(42px, 5vw, 66px); margin-bottom: 24px; max-width: 760px; }
h2 { font-size: clamp(32px, 4vw, 47px); margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 10px; }
.hero-text { font-size: 18px; color: var(--muted); max-width: 650px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.hero-badges span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-size: 13px; font-weight: 700; color: #35526c; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phone { margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.hero-phone a { color: var(--text); font-size: 23px; font-weight: 800; }
.hero-phone small { font-size: 12px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: 600px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.hero-card {
  position: absolute; left: -34px; bottom: 28px; width: min(365px, 82%);
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); padding: 20px 22px;
  border-radius: 18px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8);
}
.hero-card strong { display: block; font-size: 16px; margin-bottom: 4px; }
.hero-card span { color: var(--muted); font-size: 13px; }

.trust-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; font-size: 26px; color: var(--primary); }
.trust-grid span { color: var(--muted); font-size: 13px; }

.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin-bottom: 0; }
.section-head.left { text-align: left; margin: 0; }
.cards { display: grid; gap: 20px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 36px rgba(18, 58, 88, .06); transition: .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: #e8f4fb; color: var(--primary); font-weight: 800; }

.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.country-card { padding: 22px; background: #fff; border-radius: 18px; border: 1px solid var(--line); min-height: 155px; }
.country-card .flag { display: block; font-size: 28px; margin-bottom: 14px; }
.country-card strong { display: block; font-size: 17px; margin-bottom: 6px; }
.country-card span:last-child { color: var(--muted); font-size: 13px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.photo-card { margin: 0; position: relative; overflow: hidden; border-radius: 22px; min-height: 340px; }
.photo-card img { width: 100%; height: 360px; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card figcaption { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; }

.jobs-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: start; }
.text-link { display: inline-block; margin-top: 18px; color: var(--primary); font-weight: 800; }
.job-list { display: grid; gap: 14px; }
.job-item { display: flex; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.job-item > span { font-size: 26px; }
.job-item strong { font-size: 16px; }
.job-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.section-dark { background: var(--dark); color: #fff; overflow: hidden; }
.section-head.light .eyebrow { color: #74d1ff; }
.section-head.light p { color: #b9cad8; }
.timeline { max-width: 850px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 1px; background: rgba(255,255,255,.18); }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 14px 0 28px; }
.step > span { position: relative; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #2384c5, #20a18c); color: #fff; font-weight: 800; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.step p { margin: 0; color: #b9cad8; }

.b2b-wrap { background: linear-gradient(135deg, #ffffff, #eef8fc); border: 1px solid var(--line); border-radius: 30px; padding: 54px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; box-shadow: var(--shadow); }
.b2b-copy p { color: var(--muted); font-size: 17px; }
.b2b-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.b2b-points span { background: #fff; border: 1px solid var(--line); padding: 13px 15px; border-radius: 14px; font-size: 13px; font-weight: 700; }
.b2b-contact { background: var(--dark); color: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.b2b-contact > span { color: #9fb5c8; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.b2b-contact strong { font-size: 29px; margin-top: 5px; }
.b2b-contact > a:not(.btn) { font-size: 22px; font-weight: 800; margin-bottom: 22px; }

.region-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.region-tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 17px; font-weight: 700; color: #3d5870; }

.legal-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 58px; align-items: start; }
.legal-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(18,58,88,.06); }
.legal-card p { color: var(--muted); }
.legal-card p:first-child { color: var(--text); font-size: 16px; }

.contact { background: linear-gradient(180deg, #f7fbff 0%, #eaf5fb 100%); }
.contact-box { background: #fff; border-radius: 30px; border: 1px solid var(--line); padding: 50px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; box-shadow: var(--shadow); }
.contact-box p { color: var(--muted); max-width: 650px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; }
.contact-phone { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.04em; }
.contact-actions > span { color: var(--muted); margin: 4px 0 20px; }

.footer { background: #091e31; color: #dbe7f0; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; }
.footer-brand { color: #fff; }
.footer p { max-width: 430px; color: #9db2c3; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact strong { color: #fff; }
.footer-contact a { color: #d9efff; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: #89a0b3; font-size: 12px; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; display: flex; align-items: center; gap: 10px; background: #17a673; color: #fff; padding: 12px 15px; border-radius: 999px; box-shadow: 0 14px 38px rgba(10, 75, 56, .28); transition: .25s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.wa-icon { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.15); border-radius: 50%; font-size: 18px; }
.wa-text { display: flex; flex-direction: column; line-height: 1.15; }
.wa-text strong { font-size: 13px; }
.wa-text small { opacity: .88; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner > span { display: none; }
  .menu-toggle { display: block; }
  .desktop-cta { display: none; }
  .nav {
    position: absolute; left: 20px; right: 20px; top: 68px; margin: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow); padding: 10px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 12px 14px; }
  .nav a::after { display: none; }
  .hero-grid, .jobs-grid, .b2b-wrap, .legal-grid, .contact-box { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .hero-visual img { height: 480px; }
  .hero-card { left: 18px; }
  .three-col { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { gap: 34px; }
  .section-head.left { max-width: none; }
  .b2b-wrap { padding: 38px; gap: 28px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 66px 0; }
  .nav-wrap { min-height: 66px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .hero { padding-top: 56px; }
  .hero-text { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-phone { display: block; }
  .hero-phone span, .hero-phone small { display: block; }
  .hero-phone a { display: block; margin: 3px 0; font-size: 26px; }
  .hero-visual img { height: 390px; border-radius: 22px; }
  .hero-card { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .country-grid, .photo-grid { grid-template-columns: 1fr; }
  .photo-card img { height: 300px; }
  .b2b-points { grid-template-columns: 1fr; }
  .b2b-wrap, .contact-box { padding: 26px; border-radius: 22px; }
  .contact-phone { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: 11px; }
  .wa-text { display: none; }
  .wa-icon { width: 42px; height: 42px; font-size: 21px; }
}

/* Uniform corrected layout */
.equal-cards > .card { height: 100%; display: flex; flex-direction: column; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.document-card { min-height: 230px; height: 100%; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 32px rgba(18,58,88,.06); }
.document-card h3 { min-height: 46px; }
.document-card p { margin: 0; color: var(--muted); font-size: 14px; }
.doc-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #e7f6f2; color: var(--accent); font-weight: 800; margin-bottom: 18px; }
.uniform-country-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.uniform-country-grid .country-card { min-height: 180px; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; }
.uniform-country-grid .country-card strong { margin-top: 2px; }
.b2b-note { margin-top: 22px; font-weight: 700; color: var(--text) !important; }
.b2b-contact small { color: #9fb5c8; margin-top: 12px; }
.guarantee-section { background: #f7fbff; }
.guarantee-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.guarantee-grid > div:first-child p { color: var(--muted); font-size: 17px; }
.guarantee-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.guarantee-card h3 { font-size: 24px; }
.guarantee-card p { color: var(--muted); }
.guarantee-card strong { color: var(--text); }
.legal-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

@media (max-width: 980px) {
  .document-grid { grid-template-columns: repeat(2, 1fr); }
  .uniform-country-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .document-grid, .uniform-country-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 0; }
  .uniform-country-grid .country-card { min-height: 155px; }
  .guarantee-card { padding: 24px; }
}
