:root {
  --blue: #1a4e7e;
  --blue-700: #143f68;
  --navy: #0e2a47;
  --navy-900: #071b2f;
  --orange: #ff8a3d;
  --orange-strong: #f47522;
  --sky: #eaf4fb;
  --sky-strong: #d5eaf7;
  --cream: #faf8f4;
  --white: #ffffff;
  --ink: #17212b;
  --muted: #5c7185;
  --border: rgba(14, 42, 71, 0.13);
  --shadow: 0 24px 70px rgba(13, 42, 72, 0.12);
  --shadow-soft: 0 14px 45px rgba(13, 42, 72, 0.08);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --font-heading: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--orange); color: var(--navy); }

.skip-link {
  position: fixed;
  left: 18px;
  top: -70px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 108px 0; }
.section-tight { padding: 72px 0; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 999px; }
.section-title {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.section-copy { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 46px; }
.section-head .section-copy { max-width: 460px; margin: 0; }

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 4px solid rgba(255, 138, 61, .28); outline-offset: 3px; }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 13px 34px rgba(244, 117, 34, .24); }
.btn-primary:hover { background: #ff9a57; box-shadow: 0 17px 40px rgba(244, 117, 34, .32); }
.btn-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); color: white; }
.btn-secondary:hover { background: rgba(255,255,255,.14); }
.btn-outline { border-color: var(--border); color: var(--navy); background: rgba(255,255,255,.72); }
.btn-outline:hover { border-color: rgba(26,78,126,.35); background: white; }
.btn-icon { width: 18px; height: 18px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(250,248,244,.92);
  border-color: var(--border);
  box-shadow: 0 10px 34px rgba(8,31,54,.07);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; justify-content: flex-start; min-width: 72px; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-name { color: var(--navy); font-family: var(--font-heading); font-weight: 850; letter-spacing: -.035em; font-size: 1.13rem; }
.brand-name span { color: var(--blue); font-weight: 600; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 31px; margin: 0; padding: 0; }
.nav-link { color: var(--navy); font-size: .95rem; font-weight: 700; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); border-radius: 999px; transition: right .2s ease; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { width: 48px; height: 48px; display: none; place-items: center; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.7); color: var(--navy); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; width: 21px; height: 2px; background: currentColor; border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle { position: relative; }
.menu-toggle span { position: absolute; }
.menu-toggle::before { transform: translateY(-7px); }
.menu-toggle::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.hero {
  min-height: 850px;
  display: flex;
  align-items: center;
  padding: 142px 0 94px;
  color: white;
  background:
    radial-gradient(circle at 14% 22%, rgba(65,130,184,.33), transparent 34%),
    radial-gradient(circle at 91% 14%, rgba(255,138,61,.18), transparent 27%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 53%, #123c64 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  right: -270px;
  top: 70px;
  box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(470px, .93fr); align-items: center; gap: 70px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.07); border-radius: 999px; color: rgba(255,255,255,.84); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-badge-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,138,61,.13); }
.hero h1 { margin: 24px 0 24px; max-width: 760px; font-family: var(--font-heading); font-size: clamp(3.2rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 670px; margin: 0; color: rgba(255,255,255,.73); font-size: clamp(1.06rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 37px; color: rgba(255,255,255,.78); font-size: .91rem; font-weight: 700; }
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof svg { width: 18px; color: var(--orange); }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.browser {
  width: min(100%, 550px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 25px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 42px 100px rgba(0,0,0,.32);
  transform: rotate(1.7deg);
}
.browser-top { height: 47px; display: flex; align-items: center; gap: 8px; padding: 0 15px; background: #f4f6f8; border-bottom: 1px solid #e3e8ed; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dde3; }
.browser-url { flex: 1; height: 24px; margin-left: 7px; border-radius: 7px; background: white; border: 1px solid #e4e8ec; color: #8593a1; font-size: .68rem; display: flex; align-items: center; padding: 0 10px; }
.preview-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; }
.preview-logo { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 900; font-size: .82rem; }
.preview-logo img { width: 29px; height: 29px; }
.preview-links { display: flex; gap: 16px; }
.preview-links span { width: 30px; height: 5px; background: #dfe7ee; border-radius: 999px; }
.preview-hero { min-height: 290px; padding: 35px 28px 26px; background: linear-gradient(145deg, #f0f8fd, #ffffff); position: relative; overflow: hidden; }
.preview-hero::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; right: -30px; bottom: -60px; background: rgba(26,78,126,.08); box-shadow: 0 0 0 36px rgba(26,78,126,.045); }
.preview-kicker { width: 82px; height: 8px; border-radius: 999px; background: var(--orange); }
.preview-title { width: 70%; margin-top: 17px; }
.preview-title span { display: block; height: 18px; margin-bottom: 9px; border-radius: 6px; background: var(--navy); }
.preview-title span:last-child { width: 70%; }
.preview-text { width: 54%; margin-top: 17px; }
.preview-text span { display: block; height: 6px; margin-bottom: 7px; border-radius: 999px; background: #aebdcc; }
.preview-text span:nth-child(2) { width: 88%; }
.preview-button { width: 112px; height: 34px; margin-top: 21px; border-radius: 10px; background: var(--orange); }
.preview-card { position: absolute; right: 27px; top: 42px; width: 160px; height: 190px; padding: 14px; border: 1px solid rgba(26,78,126,.08); border-radius: 20px; background: white; box-shadow: 0 20px 35px rgba(18,59,96,.13); transform: rotate(4deg); z-index: 2; }
.preview-card-top { height: 85px; border-radius: 13px; background: linear-gradient(145deg, var(--blue), var(--navy)); position: relative; overflow: hidden; }
.preview-card-top::after { content: "↗"; display: grid; place-items: center; position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; color: var(--navy); background: var(--orange); font-weight: 900; }
.preview-card-line { height: 7px; margin-top: 12px; background: #dfe7ee; border-radius: 999px; }
.preview-card-line.small { width: 70%; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 20px 26px 26px; }
.preview-stat { min-height: 67px; border-radius: 13px; background: #f5f8fa; border: 1px solid #e8edf1; padding: 12px; }
.preview-stat strong { display: block; color: var(--navy); font-size: .8rem; }
.preview-stat span { display: block; width: 70%; height: 5px; margin-top: 8px; background: #cfd9e1; border-radius: 999px; }
.floating-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(7,27,47,.82); color: white; box-shadow: 0 18px 38px rgba(0,0,0,.24); backdrop-filter: blur(12px); font-size: .84rem; font-weight: 800; }
.floating-chip svg { width: 20px; color: var(--orange); }
/* Logical positioning mirrors the floating chips correctly in RTL layouts. */
.chip-one { inset-inline-start: -28px; top: 75px; }
.chip-two { inset-inline-end: -15px; bottom: 78px; }

.trust-bar { position: relative; z-index: 3; margin-top: -39px; }
.trust-inner { min-height: 78px; display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); align-items: center; gap: 20px; padding: 16px 28px; background: white; border: 1px solid var(--border); border-radius: 19px; box-shadow: var(--shadow-soft); }
.trust-intro { color: var(--navy); font-weight: 900; font-size: .92rem; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .86rem; font-weight: 750; }
.trust-item svg { width: 20px; color: var(--blue); }

.services { background: linear-gradient(180deg, var(--cream), #fff); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 300px; display: flex; flex-direction: column; padding: 28px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(14,42,71,.045); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(26,78,126,.27); box-shadow: var(--shadow-soft); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 15px; color: var(--blue); background: var(--sky); }
.service-icon svg { width: 25px; }
.service-card h3 { margin: 0; color: var(--navy); font-family: var(--font-heading); font-size: 1.35rem; letter-spacing: -.025em; }
.service-card p { margin: 14px 0 22px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue); font-weight: 850; }
.text-link svg { width: 17px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.work { background: var(--navy); color: white; overflow: hidden; position: relative; }
.work::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.work .container { position: relative; z-index: 1; }
.work .section-title { color: white; }
.work .section-copy { color: rgba(255,255,255,.68); }
.work .section-kicker { color: #9cc7e9; }
.project-grid { display: grid; gap: 24px; }
.project { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 440px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); }
.project:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.project:nth-child(even) .project-visual { order: 2; }
.project-visual { min-height: 440px; padding: 38px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(65,130,184,.28), rgba(255,255,255,.04)); position: relative; overflow: hidden; }
.project-visual::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.055); top: -110px; left: -90px; }
.project-browser { width: 92%; background: white; border-radius: 17px; overflow: hidden; box-shadow: 0 32px 65px rgba(0,0,0,.33); transform: rotate(-2.5deg); position: relative; z-index: 1; }
.project:nth-child(even) .project-browser { transform: rotate(2.5deg); }
.pb-top { height: 33px; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: #eff2f4; }
.pb-top span { width: 7px; height: 7px; border-radius: 50%; background: #cbd3da; }
.pb-screen { min-height: 300px; padding: 21px; color: var(--navy); }
.screen-restaurant { background: #fff9ef; }
.screen-fitness { background: #eef7f4; }
.screen-consulting { background: #f1f4fa; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.mock-logo { font-weight: 950; font-size: .77rem; letter-spacing: .05em; }
.mock-menu { display: flex; gap: 7px; }
.mock-menu i { display: block; width: 23px; height: 4px; border-radius: 999px; background: currentColor; opacity: .16; }
.mock-content { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 20px; }
.mock-content h4 { margin: 0; max-width: 250px; font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.04; letter-spacing: -.05em; }
.mock-content p { font-size: .58rem; color: #687889; }
.mock-button { display: inline-block; width: 76px; height: 22px; border-radius: 7px; background: var(--orange); }
.mock-image { min-height: 180px; border-radius: 15px; background: linear-gradient(145deg, #ec8a53, #6c3521); position: relative; overflow: hidden; }
.screen-fitness .mock-image { background: linear-gradient(145deg, #63a285, #183f34); }
.screen-consulting .mock-image { background: linear-gradient(145deg, #5378b8, #182c50); }
.mock-image::before, .mock-image::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-image::before { width: 120px; height: 120px; right: -25px; top: -20px; }
.mock-image::after { width: 70px; height: 70px; left: 20px; bottom: 18px; }
.project-info { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.project-tag { color: var(--orange); font-size: .77rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 900; }
.project-info h3 { margin: 14px 0 16px; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.04; letter-spacing: -.045em; }
.project-info p { margin: 0; color: rgba(255,255,255,.68); }
.project-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.project-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.76); font-size: .74rem; font-weight: 750; }
.project-note { margin-top: 28px; color: rgba(255,255,255,.48); font-size: .77rem; }

.value-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 80px; }
.value-sticky { position: sticky; top: 120px; }
.value-list { display: grid; gap: 18px; }
.value-item { display: grid; grid-template-columns: 60px 1fr; gap: 21px; padding: 25px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.65); }
.value-number { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--navy); color: white; font-family: var(--font-heading); font-weight: 900; }
.value-item h3 { margin: 2px 0 7px; color: var(--navy); font-family: var(--font-heading); font-size: 1.22rem; }
.value-item p { margin: 0; color: var(--muted); }

.process { background: var(--sky); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ""; position: absolute; left: 11%; right: 11%; top: 31px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .35; }
.process-step { position: relative; padding: 0 22px; text-align: center; }
.process-dot { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 24px; border: 7px solid var(--sky); border-radius: 50%; background: var(--blue); color: white; font-family: var(--font-heading); font-weight: 900; box-shadow: 0 0 0 1px rgba(26,78,126,.18); position: relative; z-index: 1; }
.process-step:nth-child(4) .process-dot { background: var(--orange); color: var(--navy); }
.process-step h3 { margin: 0 0 10px; color: var(--navy); font-family: var(--font-heading); font-size: 1.15rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .94rem; }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience-card { min-height: 180px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.audience-card svg { width: 27px; color: var(--orange-strong); }
.audience-card h3 { margin: 22px 0 7px; color: var(--navy); font-family: var(--font-heading); font-size: 1.08rem; }
.audience-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border: 0; background: transparent; color: var(--navy); text-align: left; font-weight: 850; }
.faq-question span:last-child { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 1.2rem; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0 0 24px; color: var(--muted); }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }

.contact { background: var(--navy-900); color: white; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; background: rgba(26,78,126,.28); right: -220px; top: -180px; box-shadow: 0 0 0 90px rgba(26,78,126,.12); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: start; }
.contact .section-title { color: white; }
.contact .section-copy { color: rgba(255,255,255,.68); }
.contact-points { display: grid; gap: 15px; margin-top: 36px; }
.contact-point { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.82); font-weight: 700; }
.contact-point svg { width: 22px; color: var(--orange); }
.contact-form { padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: rgba(255,255,255,.075); backdrop-filter: blur(12px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: rgba(255,255,255,.84); font-size: .86rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); color: white; outline: none; padding: 13px 14px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.field input, .field select { min-height: 50px; }
.field textarea { min-height: 134px; resize: vertical; }
.field select option { color: var(--ink); background: white; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(255,138,61,.1); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; }
.form-note { max-width: 280px; margin: 0; color: rgba(255,255,255,.48); font-size: .76rem; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; }

.site-footer { padding: 35px 0; background: #061525; color: rgba(255,255,255,.62); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 11px; color: white; font-weight: 900; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: .83rem; font-weight: 700; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: .8rem; }

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

.legal-page { min-height: 100vh; padding: 145px 0 90px; background: #fff; }
.legal-shell { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.legal-shell h1 { margin: 0 0 18px; color: var(--navy); font-family: var(--font-heading); font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -.05em; }
.legal-shell h2 { margin: 40px 0 10px; color: var(--navy); font-family: var(--font-heading); }
.legal-shell p, .legal-shell li { color: var(--muted); }
.legal-updated { padding-bottom: 26px; border-bottom: 1px solid var(--border); color: var(--blue) !important; font-weight: 800; }

.status-page { min-height: 100vh; display: grid; place-items: center; padding: 40px; background: linear-gradient(145deg, var(--navy-900), var(--navy)); color: white; text-align: center; }
.status-card { max-width: 620px; padding: 55px; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: rgba(255,255,255,.07); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.status-card > img { width: 116px; margin: 0 auto 27px; }
.status-card h1 { margin: 0; font-family: var(--font-heading); font-size: clamp(2.2rem, 7vw, 4.5rem); line-height: 1; }
.status-card p { color: rgba(255,255,255,.7); margin: 22px auto 29px; }

.brand-page { padding-top: 120px; }
.brand-hero { padding: 80px 0; background: linear-gradient(145deg, var(--navy-900), var(--blue)); color: white; }
.brand-hero h1 { margin: 0; font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.06em; line-height: .95; }
.brand-hero p { max-width: 650px; color: rgba(255,255,255,.72); font-size: 1.15rem; }
.swatch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.swatch { min-height: 190px; display: flex; flex-direction: column; justify-content: end; padding: 19px; border-radius: 18px; color: white; box-shadow: var(--shadow-soft); }
.swatch.light { color: var(--navy); border: 1px solid var(--border); }
.swatch strong { font-size: 1rem; }
.swatch span { font-size: .82rem; opacity: .72; }
.logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.logo-panel { min-height: 260px; display: grid; place-items: center; padding: 35px; border-radius: 24px; border: 1px solid var(--border); background: white; }
.logo-panel.dark { background: var(--navy); }
.logo-panel img { width: min(100%, 300px); border-radius: 28px; }
.logo-panel.dark { background: #081d31; }
.logo-panel.dark img { filter: none; box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.type-sample { padding: 35px; border: 1px solid var(--border); border-radius: 22px; background: white; }
.type-sample h2 { margin: 0; font-family: var(--font-heading); color: var(--navy); font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.055em; line-height: 1; }
.type-sample p { color: var(--muted); font-size: 1.12rem; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-visual { min-height: 500px; }
  .hero-copy { max-width: 760px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; gap: 45px; }
  .value-sticky { position: static; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .site-header { height: 72px; }
  body[data-page="index"] .header-actions > .btn { display: none; }
  .menu-toggle { display: grid; }

  /*
     Full-screen mobile navigation.
     backdrop-filter on the scrolled header creates a containing block for
     fixed children in some browsers. Disabling it while the menu is open
     keeps the panel attached to the viewport instead of clipping it to the
     72px header.
  */
  body.menu-open .site-header,
  body.menu-open .site-header.scrolled {
    background: rgba(250,248,244,.99);
    border-color: var(--border);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    padding: 18px 20px max(28px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream);
    box-shadow: 0 20px 45px rgba(7,27,47,.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 110;
  }
  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-list {
    width: min(100%, var(--container));
    margin-inline: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .nav-link { display: block; padding: 17px 5px; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
  .nav-link::after { display: none; }
  .hero { min-height: auto; padding-top: 122px; }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 5.4rem); }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-intro { grid-column: 1 / -1; }
  .section-head { align-items: start; flex-direction: column; }
  .project, .project:nth-child(even) { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-visual { order: 0; }
  .project-info { padding: 40px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 10px; }
  .process-grid::before { display: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .brand-name { font-size: 1rem; }
  .brand img { width: 52px; height: 52px; }
  .hero { padding-bottom: 75px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.35rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 410px; }
  .browser { transform: none; }
  .preview-hero { min-height: 235px; padding: 25px 19px; }
  .preview-card { width: 125px; height: 155px; right: 13px; top: 37px; }
  .preview-card-top { height: 65px; }
  .preview-title { width: 65%; }
  .preview-title span { height: 13px; }
  .preview-text { width: 50%; }
  .preview-stats { padding: 15px; }
  .preview-stat { min-height: 58px; padding: 8px; }
  .floating-chip { display: none; }
  .trust-bar { margin-top: -28px; }
  .trust-inner { grid-template-columns: 1fr; padding: 21px; }
  .trust-intro { grid-column: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .project-visual { min-height: 310px; padding: 22px; }
  .project-browser { width: 100%; }
  .pb-screen { min-height: 230px; }
  .mock-content { grid-template-columns: 1fr 1fr; }
  .mock-image { min-height: 130px; }
  .project-info { padding: 32px 25px; }
  .value-item { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 34px; }
  .process-step { text-align: left; display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 0; }
  .process-dot { width: 58px; height: 58px; margin: 0; }
  .process-step p { grid-column: 2; }
  .audience-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .contact-form { padding: 24px 18px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .btn { width: 100%; }
  .logo-grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: 1fr 1fr; }
  .status-card { padding: 40px 24px; }
}

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

/* Multilingual controls and supplied brand logo */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.language-switcher {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.76);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(13,42,72,.05);
}
.language-switcher svg { width: 18px; height: 18px; flex: 0 0 auto; }
.language-switcher select {
  min-width: 70px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}
.language-switcher select:focus-visible { outline: 3px solid rgba(255,138,61,.3); outline-offset: 4px; border-radius: 5px; }
.language-switcher-status { width: max-content; margin: 0 auto 24px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: white; box-shadow: none; }
.language-switcher-status select { color: white; }
.language-switcher-status option { color: var(--ink); background: white; }

/* Correct right-to-left presentation for Arabic. */
html[dir="rtl"] body {
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  text-align: right;
}
html[dir="rtl"] .hero h1,
html[dir="rtl"] .section-title,
html[dir="rtl"] .project-info h3,
html[dir="rtl"] .brand-hero h1,
html[dir="rtl"] .type-sample h2,
html[dir="rtl"] .legal-shell h1 {
  letter-spacing: 0;
}
html[dir="rtl"] .section-kicker { letter-spacing: 0; }
html[dir="rtl"] .hero::before { right: auto; left: -270px; }
html[dir="rtl"] .contact::before { right: auto; left: -220px; }
html[dir="rtl"] .browser-url { margin-left: 0; margin-right: 7px; }
html[dir="rtl"] .preview-card { right: auto; left: 28px; }
html[dir="rtl"] .faq-question { text-align: right; }
html[dir="rtl"] .btn-icon,
html[dir="rtl"] .text-link svg { transform: scaleX(-1); }
html[dir="rtl"] .nav-link::after { left: 100%; right: 0; transition: left .2s ease; }
html[dir="rtl"] .nav-link:hover::after,
html[dir="rtl"] .nav-link.active::after { left: 0; }
html[dir="rtl"] .process-grid::before { background: linear-gradient(270deg, var(--blue), var(--orange)); }
html[dir="rtl"] .field input,
html[dir="rtl"] .field textarea,
html[dir="rtl"] .field select { text-align: right; }
html[dir="rtl"] .field input[type="email"] { direction: ltr; text-align: left; }
html[dir="rtl"] .browser,
html[dir="rtl"] .project-browser { direction: rtl; }
html[dir="rtl"] .mock-menu,
html[dir="rtl"] .browser-top { direction: ltr; }
html[dir="rtl"] .footer-inner,
html[dir="rtl"] .header-inner { direction: rtl; }
html[dir="rtl"] .language-switcher select { direction: ltr; }

@media (max-width: 860px) {
  .language-switcher { min-height: 42px; padding-inline: 8px; }
  .language-switcher svg { display: none; }
  .language-switcher select { min-width: 57px; }
  body:not([data-page="index"]) .header-actions > .btn { min-height: 44px; padding-inline: 14px; font-size: .84rem; }
}

@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 7px; }
  .language-switcher { padding-inline: 6px; }
  .language-switcher select { min-width: 51px; font-size: .76rem; }
  body:not([data-page="index"]) .header-actions > .btn { display: none; }
  html[dir="rtl"] .process-step { text-align: right; }
  html[dir="rtl"] .preview-card { left: 13px; }
}

/* Header contrast over the dark hero */
.site-header:not(.scrolled) .nav-link { color: rgba(255,255,255,.88); }
.site-header:not(.scrolled) .nav-link:hover,
.site-header:not(.scrolled) .nav-link.active { color: white; }
.site-header:not(.scrolled) .brand img {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.brand img { width: 72px; height: 72px; }

/* Long French and Arabic headlines need language-aware sizing. */
html[lang="fr"] .hero h1 { font-size: clamp(3.15rem, 5.4vw, 5rem); line-height: 1.01; }
html[lang="ar"] .hero h1 { font-size: clamp(3rem, 5vw, 4.75rem); line-height: 1.1; }
html[lang="ar"] .hero-copy { line-height: 1.9; }

@media (max-width: 860px) {
  .brand img { width: 60px; height: 60px; }
  html[lang="fr"] .hero h1 { font-size: clamp(3rem, 10vw, 4.6rem); }
  html[lang="ar"] .hero h1 { font-size: clamp(2.85rem, 9.5vw, 4.3rem); }
}

@media (max-width: 640px) {
  .brand img { width: 54px; height: 54px; }
  html[lang="fr"] .hero h1 { font-size: clamp(2.65rem, 12.5vw, 3.8rem); }
  html[lang="ar"] .hero h1 { font-size: clamp(2.55rem, 11.8vw, 3.65rem); }
}

@media (max-width: 860px) {
  .site-header:not(.scrolled) .site-nav.open .nav-link {
    color: var(--navy);
  }
  .site-header:not(.scrolled) .site-nav.open .nav-link.active {
    color: var(--blue);
  }
}
