/* Levant Solutions site. Layout and colours follow Design's mockup
   (team/design/levant-solutions/mockup.html), logo concept C. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/sora-latin-700-normal.woff2") format("woff2"); }
:root {
  --sun: #FFC21A; --sun-deep: #E0A100; --night: #0E1A2B; --night-2: #13233A;
  --ink: #14213D; --muted: #4A5670; --line: #E3E7EE; --paper: #FAF8F3; --white: #fff;
  --error: #B42318; --ok: #146C43;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; }
main { flex: 1; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--sun); color: var(--night); padding: 10px 14px; border-radius: 0 0 10px 0; font-weight: 600; z-index: 10; }
.skip:focus { left: 0; }
[id] { scroll-margin-top: 24px; }

/* header + hero share the night sky; the sun glows in from the right edge */
.sky { background: radial-gradient(circle at 100% 78%, rgba(255,194,26,.55) 0, rgba(255,194,26,.18) 22%, rgba(255,194,26,0) 46%), linear-gradient(180deg, #0B1524 0%, var(--night) 60%, #172A44 100%); color: var(--white); position: relative; overflow: hidden; }
.sky.has-sun::after { content: ""; position: absolute; right: -90px; bottom: 60px; width: 260px; height: 130px; border-radius: 260px 260px 0 0; background: var(--sun); }
.sky.has-sun::before { content: ""; position: absolute; left: 0; right: 0; bottom: 56px; height: 4px; background: rgba(255,255,255,.85); z-index: 1; }
header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; position: relative; z-index: 3; flex-wrap: wrap; }
.logo-link { display: block; line-height: 0; }
.logo { width: 190px; height: auto; display: block; }
nav { display: flex; gap: 28px; font-size: 15px; align-items: center; }
nav a { text-decoration: none; opacity: .85; padding: 6px 0; }
nav a:hover, nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sun); }
.menu { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: transparent; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.menu span, .menu span::before, .menu span::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; content: ""; }
.menu span::before { position: absolute; top: -6px; } .menu span::after { position: absolute; top: 6px; }
.hero { padding: 96px 0 168px; position: relative; z-index: 2; max-width: 640px; }
.hero.small { padding: 56px 0 72px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 18px; }
h1 { font-size: 56px; line-height: 1.08; margin: 0 0 20px; letter-spacing: -.01em; }
.hero.small h1 { font-size: 44px; margin-bottom: 0; }
.hero p { font-size: 19px; line-height: 1.6; color: #D5DBE8; margin: 0 0 32px; }
.btn { display: inline-block; background: var(--sun); color: var(--night); font-weight: 600; text-decoration: none; padding: 15px 26px; border-radius: 12px; font-size: 16px; font-family: inherit; }
.btn:hover { background: #FFCE45; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid #C9D0DC; }
.btn.ghost:hover { background: var(--white); }
.btn[disabled] { opacity: .6; cursor: default; }

section { padding: 88px 0; }
h2 { font-size: 36px; margin: 0 0 16px; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 720px; margin: 0; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.meaning { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.meaning div { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.meaning div + div { border-top: 1px solid var(--line); }
.meaning p { margin: 0; }
.meaning b { font-size: 15px; display: block; margin-bottom: 4px; }
.meaning p span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dot { flex: 0 0 34px; height: 34px; border-radius: 10px; background: #FFF3CF; display: flex; align-items: center; justify-content: center; }

.solutions { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--paper); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--night); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

.product { display: flex; align-items: center; gap: 28px; background: var(--night); color: #fff; border-radius: 24px; padding: 36px; }
.product .tile { flex: 0 0 84px; height: 84px; border-radius: 22px; background: #FFB224; display: flex; align-items: center; justify-content: center; }
.product h3, .product h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.product p { margin: 0; color: #D5DBE8; line-height: 1.6; }
.product .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px; display: block; }
.product .more { margin-left: auto; white-space: nowrap; font-weight: 600; color: var(--sun); text-decoration: none; padding: 10px 0; }
.product .more:hover { text-decoration: underline; text-underline-offset: 5px; }
.product .more::after { content: " \2192"; }
.product .status { margin-left: auto; white-space: nowrap; font-weight: 600; color: var(--sun); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 14px; }
label { font-size: 14px; font-weight: 500; display: grid; gap: 6px; }
input, textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #D5DBE5; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
textarea { min-height: 120px; resize: vertical; }
.field-error { color: var(--error); font-size: 13px; font-weight: 400; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
form .btn { border: 0; cursor: pointer; justify-self: start; }
.form-status { font-size: 15px; line-height: 1.5; border-radius: 12px; padding: 12px 14px; margin: 0; }
.form-status:empty { display: none; }
.form-status.ok { background: #E7F5EC; color: var(--ok); }
.form-status.err { background: #FDECEA; color: var(--error); }
.turnstile:empty { display: none; }

/* text pages: Legal notice, Privacy */
.doc { max-width: 760px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { line-height: 1.7; color: var(--muted); font-size: 16px; }
.doc dl { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
.doc dt, .doc dd { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.doc dt:first-of-type, .doc dt:first-of-type + dd { border-top: 0; }
.doc dt { font-weight: 600; }
.doc dd { color: var(--muted); }
.blank { display: inline-block; background: #FFF3CF; border: 1px dashed var(--sun-deep); color: #6B4E00; border-radius: 8px; padding: 2px 8px; font-size: 14px; }
.doc a { color: var(--ink); font-weight: 600; }

footer { background: var(--night); color: #A7B2C6; padding: 36px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .links { display: flex; gap: 22px; } footer a { text-decoration: none; color: #D5DBE8; padding: 6px 0; }
footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
footer .logo { width: 150px; }

@media (max-width: 720px) {
  .menu { display: flex; }
  nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 0 6px; font-size: 17px; }
  nav.open { display: flex; }
  nav a { padding: 10px 0; opacity: 1; }
  .logo { width: 156px; }
  .hero { padding: 56px 0 150px; }
  .hero.small { padding: 36px 0 52px; }
  h1 { font-size: 38px; } .hero.small h1 { font-size: 32px; } .hero p { font-size: 17px; }
  .sky.has-sun::after { width: 180px; height: 90px; right: -60px; bottom: 48px; } .sky.has-sun::before { bottom: 44px; }
  section { padding: 64px 0; } h2 { font-size: 28px; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .product { flex-direction: column; align-items: flex-start; padding: 28px; } .product .more, .product .status { margin-left: 0; }
  .doc dl { grid-template-columns: 1fr; }
  .doc dd { border-top: 0; padding-top: 0; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
