:root {
  --blue: #0B6FBF;
  --blue-dark: #00508F;
  --navy: #1D2B4F;
  --heading: #3A3A3A;
  --text: #717070;
  --line: #D9DDE3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Inter", system-ui, sans-serif; font-weight: 700; margin: 0; line-height: 1.2; color: var(--heading); }
p { margin: 0; }
.wrap { width: min(1140px, 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 3px solid #6CB4F0; outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px;
  background: var(--blue); color: #fff; text-decoration: none;
  padding: 12px 26px; border-radius: 999px; border: 2px solid var(--blue);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-sm { padding: 9px 22px; font-size: 13.5px; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Header */
.site-header { background: var(--navy); }
.site-header.over { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: "Inter", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.brand-mark { width: 40px; height: 40px; color: var(--blue); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-family: "Inter", sans-serif; font-weight: 500; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-cta { background: var(--blue); padding: 8px 18px; border-radius: 999px; opacity: 1; }
.lang { font: 600 13px "Inter", sans-serif; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 7px 12px; cursor: pointer; }
.lang:hover { background: rgba(255,255,255,.2); }

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: grid; place-items: center;
  text-align: center;
  padding: 130px 24px 90px;
  background:
    linear-gradient(rgba(16, 28, 60, .78), rgba(16, 28, 60, .78)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=2000&q=70") center / cover no-repeat;
  color: #fff;
}
.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -0.01em; }
.hero p { font-size: 17px; line-height: 1.8; margin: 26px auto 34px; max-width: 700px; color: #fff; }

/* Intro */
.intro { padding: 90px 0 70px; text-align: center; }
.intro p { font-family: "Inter", sans-serif; font-weight: 700; color: var(--text); font-size: clamp(22px, 2.7vw, 32px); line-height: 1.4; max-width: 760px; margin: 0 auto; }

/* Shared bar */
.bar { display: block; width: 80px; height: 3px; background: var(--blue); margin-bottom: 26px; }

/* Companies */
.companies { padding: 30px 0 60px; }
.companies h2 { font-size: 26px; color: var(--heading); margin-bottom: 40px; }
.company { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: center; padding: 50px 0; }
.company-logo { display: flex; justify-content: center; }
.company-logo img { max-width: 210px; }
.company-logo .logo-square { width: 140px; border-radius: 22px; }
.company h3 { font-size: 30px; margin-bottom: 16px; }
.company-text p { max-width: 640px; }
.company-text p + p { margin-top: 18px; }
.company-text .btn { margin-top: 26px; }

/* Founder */
.founder { padding: 70px 0 110px; }
.founder-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.founder-photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff; display: grid; place-items: center;
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 84px; letter-spacing: -0.02em;
}
.founder-text h2 { font-size: clamp(32px, 3.6vw, 42px); margin-bottom: 26px; }
.founder-text p { max-width: 560px; }
.founder-text p.strong { font-weight: 700; color: #5d5c5c; font-size: 17px; margin-bottom: 26px; }
.founder-text .btn { margin-top: 34px; }
.counters { display: flex; gap: 90px; border-top: 1px solid #999; margin-top: 40px; padding-top: 26px; }
.counters div { display: flex; flex-direction: column; }
.counters .num { font-family: "Inter", sans-serif; font-weight: 600; font-size: 54px; line-height: 1.1; color: var(--blue); }
.counters .label { font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px; color: var(--heading); margin-top: 10px; }

/* Contact */
.contact { background: var(--blue-dark); color: #fff; padding: 90px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(36px, 4.4vw, 52px); text-align: center; }
.contact-lead { text-align: center; max-width: 420px; margin: 22px auto 40px; color: #fff; }
.form { display: grid; gap: 8px; }
.form label { font-weight: 700; font-size: 15px; margin-top: 8px; }
.form .req { color: #ff6b6b; }
.form input, .form textarea {
  font: 15px "Lato", sans-serif; color: #333; width: 100%;
  background: #fff; border: 1px solid #c8ccd2; border-radius: 4px; padding: 11px 12px;
}
.form input:focus, .form textarea:focus { outline: 2px solid #6CB4F0; outline-offset: 0; }
.form .btn { justify-self: center; margin-top: 16px; background: var(--blue); }
.form .btn:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }
.form-error { background: #fff; color: #A3261A; font-weight: 700; padding: 8px 12px; border-radius: 4px; margin-top: 8px; }
.map { margin-top: 210px; }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Footer */
.site-footer { background: #fff; padding: 40px 0; font-size: 14px; color: var(--text); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: center; align-items: center; text-align: center; }
.site-footer nav { display: flex; gap: 28px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer strong { color: var(--heading); }

/* Legal pages */
.legal { padding: 70px 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 30px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--blue); }

/* Responsive */
@media (max-width: 900px) {
  .company { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .company-logo { justify-content: flex-start; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map { margin-top: 0; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .brand { font-size: 15px; }
  .hero { min-height: 520px; }
  .counters { gap: 48px; }
  .wrap { width: min(1140px, 100% - 36px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Moyfer identity */
:root { --blue: #12A39A; --blue-dark: #0F2742; --navy: #0F2742; --heading: #0F2742; --text: #5E6B78; }
.hero { background: linear-gradient(115deg, rgba(15, 39, 66, .94) 0%, rgba(15, 39, 66, .80) 55%, rgba(18, 163, 154, .55) 100%), url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=2000&q=70") center / cover no-repeat; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 120px; height: 4px; margin-left: -60px; background: var(--blue); border-radius: 4px 4px 0 0; }
.btn:hover { background: #0E857E; border-color: #0E857E; }
.intro p { color: var(--heading); }
.companies h2 { font-size: 30px; }
.company { border-bottom: 1px solid var(--line); }
.company:last-of-type { border-bottom: 0; }
.company-logo .logo-circle { width: 150px; height: 150px; max-width: none; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 14px 30px rgba(15, 39, 66, .12); }
.tag { display: inline-block; font-family: "Inter", sans-serif; font-weight: 600; font-size: 12.5px; color: var(--blue); background: rgba(18, 163, 154, .1); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.founder-photo { background: linear-gradient(160deg, #12A39A 0%, #0F2742 75%); border-radius: 12px; }
.counters { border-top-color: var(--line); }
.contact { background: radial-gradient(circle at 85% 15%, rgba(18, 163, 154, .35), transparent 45%), #0F2742; }
.form .btn:hover { color: #0F2742; }
.form .req { color: #5EE0D6; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b { font-weight: 800; font-size: 20px; letter-spacing: .06em; color: #fff; }
.wordmark small { font-size: 9.5px; font-weight: 600; letter-spacing: .42em; color: #7FE3DB; margin-top: 5px; }
.brand-mark { width: 42px; height: 42px; }
/* Split hero */
.hero { display: block; min-height: 0; text-align: left; padding: 64px 0 90px; background: linear-gradient(180deg, #F3F7F8 0%, #fff 100%); color: var(--text); }
.hero::after { display: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--heading); font-size: clamp(38px, 5vw, 62px); letter-spacing: -0.02em; margin-top: 6px; }
.hero p { color: var(--text); font-size: 18px; margin: 24px 0 34px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-group { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 14.5px; }
.hero-logos { display: flex; }
.hero-logos img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(15, 39, 66, .15); }
.hero-logos img + img { margin-left: -10px; }
.hero-photo { position: relative; }
.hero-photo > img { width: 100%; height: 560px; object-fit: cover; border-radius: 28px 28px 28px 140px; }
.hero-card { position: absolute; left: -36px; bottom: 44px; background: #fff; border-radius: 16px; padding: 16px 22px; box-shadow: 0 18px 40px rgba(15, 39, 66, .16); display: flex; flex-direction: column-reverse; }
.hero-card b { font-family: "Inter", sans-serif; font-size: 32px; color: var(--blue); line-height: 1.1; }
.hero-card span { font-size: 13.5px; color: var(--heading); font-weight: 700; }
.contact h2, .contact-lead { text-align: left; margin-left: 0; }
.contact-grid { align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo > img { height: 380px; border-radius: 22px 22px 22px 90px; }
  .hero-card { left: 16px; bottom: 16px; }
}
.contact-box { text-align: center; }
.contact h2, .contact-lead { text-align: center; margin-left: auto; margin-right: auto; }
.contact-mail { display: inline-block; font-family: "Inter", sans-serif; font-weight: 700; font-size: clamp(22px, 3.2vw, 36px); color: #fff; text-decoration: none; border-bottom: 3px solid var(--blue); padding-bottom: 6px; }
.contact-mail:hover { color: #7FE3DB; }
.founder-photo { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 24px 24px 24px 110px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo { border-radius: 50%; max-width: 360px; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), 0 18px 40px rgba(15, 39, 66, .14); }
