:root {
  --navy: #071b33;
  --blue: #013893;
  --orange: #fe6d0d;
  --ink: #191c1d;
  --cream: #f5f1ea;
  --sand: #e8ded2;
  --white: #fff;
  --muted: #666b70;
  --line: rgba(25, 28, 29, .13);
  --wrap: 1240px;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 22px 70px rgba(7, 27, 51, .14);
  --ring: 0 0 0 4px rgba(254, 109, 13, .22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--ring); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 20px 30px;
  color: var(--ink);
  background: rgba(245, 241, 234, .9);
  border-bottom: 1px solid rgba(25, 28, 29, .08);
  backdrop-filter: blur(18px);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(245, 241, 234, .98);
  box-shadow: 0 12px 34px rgba(7, 27, 51, .08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand .nex { color: var(--blue); }
.brand .brokers { margin-left: 6px; color: #000; }
.brand .x { position: relative; display: inline-block; margin-right: 8px; color: var(--blue); }
.brand .x::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 7px;
  height: 20px;
  border-radius: 1px;
  background: var(--orange);
  transform: translateY(-50%) skewX(-28deg);
}
.navlinks {
  display: flex;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.navlinks a { position: relative; opacity: .78; transition: color .2s ease, opacity .2s ease; }
.navlinks a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.navlinks a:hover, .navlinks a.is-active { color: var(--orange); opacity: 1; }
.navlinks a:hover::after, .navlinks a.is-active::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.language-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 31px;
  height: 28px;
  padding: 0 7px;
  border-radius: 999px;
  color: rgba(25, 28, 29, .68);
  font-size: .68rem;
  font-weight: 900;
}
.language-switch-link:hover, .language-switch-link.is-active { color: #fff; background: var(--orange); }

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 27, 51, .9);
}
body.language-lock { overflow: hidden; }
.language-panel {
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .34);
}
.language-kicker, .eyebrow, .section-kicker {
  color: var(--orange);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.language-panel h2, .language-panel .language-title { margin-top: 10px; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1; }
.language-panel > p:not(.language-kicker):not(.language-title) { margin: 14px 0 26px; color: var(--muted); }
.language-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.language-option {
  display: grid;
  gap: 3px;
  min-height: 72px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.language-option:hover { color: #fff; background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.language-option span { font-weight: 900; }
.language-option small { opacity: .72; font-weight: 700; }

.web-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 170px 30px 80px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.web-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.web-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 27, 51, .98) 0%, rgba(7, 27, 51, .88) 52%, rgba(7, 27, 51, .5) 100%);
}
.web-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
}
.web-hero h1 {
  max-width: 900px;
  margin-top: 18px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(4.2rem, 7.4vw, 8rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}
.hero-copy p { max-width: 520px; color: rgba(255,255,255,.82); font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { border-color: var(--orange); background: var(--orange); }
.button.primary:hover { border-color: #fff; background: #fff; color: var(--navy); }

.section { padding: clamp(78px, 10vw, 140px) 30px; }
.section.dark { color: #fff; background: var(--navy); }
.section.sand { background: var(--sand); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
  gap: clamp(36px, 7vw, 100px);
  margin-bottom: clamp(44px, 7vw, 84px);
}
.section h2 {
  max-width: 900px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(3rem, 5.6vw, 6.2rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.045em;
}
.lead { max-width: 820px; margin-top: 24px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.dark .lead { color: rgba(255,255,255,.7); }

.experience-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 22px; }
.experience-card, .quote-card {
  min-height: 390px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius);
}
.experience-card { display: grid; align-content: end; color: #fff; background: var(--orange); }
.experience-card h3 { max-width: 720px; font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1; }
.experience-card p { max-width: 700px; margin-top: 18px; color: rgba(255,255,255,.78); font-size: 1.06rem; }
.quote-card { display: grid; align-content: space-between; background: #fff; box-shadow: var(--shadow); }
.quote-mark { color: var(--orange); font-family: Georgia, serif; font-size: 6rem; line-height: .6; }
.quote-card p { margin-top: 34px; font-family: ui-serif, Georgia, serif; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1.08; }
.quote-card small { margin-top: 28px; color: var(--muted); font-weight: 800; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16); }
.service-card { min-height: 300px; padding: 38px 34px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.service-card:nth-child(2n) { border-right: 0; }
.service-number { color: var(--orange); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.service-card h3 { margin-top: 70px; font-size: clamp(1.6rem, 2.2vw, 2.3rem); line-height: 1.05; }
.service-card p { max-width: 520px; margin-top: 14px; color: rgba(255,255,255,.68); }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.55); }
.process-step { min-height: 280px; display: grid; align-content: space-between; padding: 30px; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step span { color: var(--orange); font-size: .78rem; font-weight: 900; }
.process-step h3 { font-size: 1.45rem; }
.process-step p { margin-top: 10px; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 36px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.28rem; }
.faq-item p { color: var(--muted); }

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(74px, 10vw, 130px) 30px;
  color: #fff;
  background: var(--blue);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(1, 56, 147, .98) 0%, rgba(1, 56, 147, .9) 52%, rgba(7, 27, 51, .5) 100%);
}
.final-cta::after { display: none; }
.final-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
}
.final-copy { max-width: 760px; }
.final-cta h2 { max-width: 900px; font-family: ui-serif, Georgia, serif; font-size: clamp(3.1rem, 6vw, 6.8rem); font-weight: 500; line-height: .92; letter-spacing: -.05em; }
.final-cta p { max-width: 680px; margin: 22px 0 30px; color: rgba(255,255,255,.78); font-size: 1.15rem; }
.final-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--navy);
  box-shadow: none;
}
.final-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

footer { padding: 34px 30px; color: #fff; background: #111; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-stack { display: grid; gap: 9px; }
.footer-links { display: flex; gap: 9px; flex-wrap: wrap; color: rgba(255,255,255,.78); }
.footer-links a:hover { color: var(--orange); }

.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 250;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37,211,102,.2);
  border-radius: 999px;
  color: #25d366;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}
.whatsapp-float svg { width: 44px; height: 44px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-inner, .section-head, .experience-grid { grid-template-columns: 1fr; }
  .web-hero { min-height: auto; padding-top: 100px; }
  .hero-copy { max-width: 720px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .language-options, .service-grid, .process-grid { grid-template-columns: 1fr; }
  .language-panel { border-radius: 18px; }
  .web-hero { padding: 74px 18px 64px; }
  .web-hero h1 { font-size: clamp(3.15rem, 15vw, 5rem); line-height: .92; }
  .section, .final-cta { padding-right: 18px; padding-left: 18px; }
  .section h2, .final-cta h2 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
  .experience-card, .quote-card { min-height: 320px; padding: 28px 22px; border-radius: 22px; }
  .final-cta::before { background: linear-gradient(180deg, rgba(1, 56, 147, .95), rgba(7, 27, 51, .76)); }
  .service-card { min-height: auto; padding: 30px 22px; border-right: 0; }
  .service-card h3 { margin-top: 48px; }
  .process-step { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; }
  .final-cta::after { opacity: .28; }
}

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