/* =========================================================
   TWENTY FOREX (24X) — Stylesheet
   Brand: gold #F1BC30 / dark navy #0E1B33
   ========================================================= */

:root {
  --gold: #F1BC30;
  --gold-dark: #C99A1F;
  --navy: #0E1B33;
  --navy-soft: #1A2A4A;
  --ink: #14181F;
  --muted: #5A6679;
  --line: #E6E8EE;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --bg-dark: #0E1B33;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(14, 27, 51, 0.08);
  --max: 1200px;
  --font: "Inter", "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: var(--font);
  font-size: 0.95rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}
.nav a.active,
.nav a:hover { color: var(--gold-dark); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.lang-switch a { color: var(--muted); padding: 0 4px; }
.lang-switch a.active { color: var(--navy); font-weight: 700; }
.client-portal {
  border: 1.5px solid var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}
.client-portal:hover {
  background: var(--navy);
  color: #fff;
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(14,27,51,0.92), rgba(26,42,74,0.88)),
    radial-gradient(circle at 80% 20%, rgba(241,188,48,0.15), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; max-width: 920px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
}
.hero-stats .stat span { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
section.alt { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header { max-width: 760px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* ---------- About teaser (grid) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.two-col .image-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  border-radius: 14px;
  padding: 40px;
  color: #fff;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.two-col .image-block::before {
  content: "";
  position: absolute;
  top: 24px; right: 24px;
  width: 80px; height: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.two-col .image-block h3 { color: var(--gold); }
.two-col .image-block p { color: rgba(255,255,255,0.8); margin: 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.service-card .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 { color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.service-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.service-card ul li { margin-bottom: 6px; }

/* ---------- References / testimonials ---------- */
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 24px;
  position: relative;
  padding: 0 20px;
}
.testimonial blockquote::before {
  content: "\201C";
  font-size: 5rem;
  color: var(--gold);
  position: absolute;
  top: -30px; left: -10px;
  font-family: var(--serif);
  line-height: 1;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 56px;
  opacity: 0.7;
}
.logos-row .client-logo {
  height: 60px;
  width: 140px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ---------- Testimonial carousel (lateral scrolling banner) ---------- */
.testimonial-carousel {
  position: relative;
  margin: 40px auto 0;
  max-width: 1100px;
}
.testimonial-track-wrap {
  overflow: hidden;
  border-radius: 14px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 100%;
  padding: 40px 60px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
}
.testimonial-slide .client-logo-img {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(14,27,51,0.06);
  border: 1px solid var(--line);
}
.testimonial-slide .client-logo-img img,
.testimonial-slide .client-logo-img svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.testimonial-slide blockquote {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 18px;
  position: relative;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  font-style: italic;
}
.testimonial-slide cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.4px;
  display: block;
}
.testimonial-slide cite strong {
  color: var(--navy);
  font-weight: 700;
  margin-right: 4px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, transform .15s;
}
.carousel-btn:hover {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-1px);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.carousel-dots button.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ---------- Regulatory bottom block ---------- */
.regulatory-block {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.regulatory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.regulatory-item h4 {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}
.regulatory-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--navy);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info p { color: var(--muted); }
.contact-info .info-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  color: var(--ink);
}
.contact-info .info-line strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  margin-bottom: 2px;
}
.contact-info .icon-dot {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 800;
}

form.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241,188,48,0.2);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-grid a { color: rgba(255,255,255,0.75); display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { color: rgba(255,255,255,0.65); margin: 0 0 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  padding: 80px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 700px; font-size: 1.1rem; }

/* ---------- Legal page ---------- */
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 40px; color: var(--navy); }
.legal-content p, .legal-content li { color: var(--muted); font-size: 0.97rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav, .nav-cta .client-portal { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .hero { padding: 80px 0 90px; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
}

@media (max-width: 900px) {
  .testimonial-slide {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 22px;
    text-align: center;
  }
  .testimonial-slide .client-logo-img { margin: 0 auto; width: 120px; height: 120px; }
  .testimonial-slide blockquote { border-left: 0; border-top: 3px solid var(--gold); padding: 18px 0 0; }
  .regulatory-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .logos-row { gap: 24px; }
  .testimonial-slide blockquote { font-size: 1.05rem; }
}
