/* Odyris public website. Brand navy #2F3C4D comes from the logo; amber and ice come from the hero image glow. */
:root {
  --navy-950: #111823;
  --navy-900: #172130;
  --navy-800: #1f2a3a;
  --navy: #2f3c4d;
  --navy-600: #43536a;
  --ice: #8fd3f7;
  --ice-soft: #d9f0fc;
  --amber: #f39a45;
  --amber-600: #e0832c;
  --ink: #1b2430;
  --text: #3b4758;
  --muted: #6a7686;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17, 24, 35, .06), 0 8px 24px rgba(17, 24, 35, .06);
  --shadow-lg: 0 2px 4px rgba(17, 24, 35, .06), 0 18px 40px rgba(17, 24, 35, .12);
  --head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Noto Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-amber { background: var(--amber); color: #1a1206; box-shadow: 0 6px 18px rgba(243, 154, 69, .35); }
.btn-amber:hover { background: #f7aa5f; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }

.eyebrow { font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); margin-bottom: .9em; }
.eyebrow.dark { color: var(--amber-600); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.open { background: rgba(23, 33, 48, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .18); }
.nav-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a:not(.btn), .login-btn { color: rgba(255, 255, 255, .86); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn):hover, .login-btn:hover, .login-btn[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav > a.active { color: #fff; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.site-nav .btn { margin-left: 8px; }
.login { position: relative; }
.login-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.login-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.login-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 270px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.login-menu.show { opacity: 1; visibility: visible; transform: none; }
.login-menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.login-menu a:hover, .login-menu a:focus-visible { background: var(--bg-alt); }
.login-menu strong { display: block; font-family: var(--head); font-size: .95rem; }
.login-menu small { color: var(--muted); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 120px; background: var(--navy-950); }
.hero-bg { position: absolute; inset: 0; background: url(../img/hero.jpg) center 40% / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 35, .93) 0%, rgba(17, 24, 35, .78) 45%, rgba(17, 24, 35, .25) 100%),
              linear-gradient(0deg, rgba(17, 24, 35, .85) 0%, rgba(17, 24, 35, 0) 35%); }
.hero-inner { position: relative; max-width: var(--wrap); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 800; max-width: 760px; letter-spacing: -.02em; margin-bottom: .4em; }
.grad { background: linear-gradient(90deg, var(--ice) 0%, #ffd29e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .84); max-width: 640px; margin-bottom: 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { font-size: .85rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(143, 211, 247, .35); background: rgba(143, 211, 247, .08); color: var(--ice-soft); }
.hero-motto { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; align-items: center; gap: 18px;
  font-family: var(--head); font-weight: 600; letter-spacing: .08em; font-size: .85rem; color: rgba(255, 255, 255, .7); text-transform: uppercase; }
.hero-motto i { width: 8px; height: 8px; background: var(--amber); transform: rotate(45deg); }

/* ---------- facts ---------- */
.facts { background: var(--navy); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 30px 24px; border-left: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 4px; }
.facts-grid div:first-child { border-left: 0; }
.facts strong { font-family: var(--head); font-size: 2.1rem; font-weight: 800; color: var(--ice); line-height: 1.1; }
.facts span { color: rgba(255, 255, 255, .78); font-size: .93rem; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(143, 211, 247, .12), transparent 60%), var(--navy-900); color: rgba(255, 255, 255, .8); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section.dark .section-head p:last-child { color: rgba(255, 255, 255, .72); }

/* ---------- module cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { margin: 0; color: var(--text); font-size: .97rem; }
.ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%); color: var(--ice); box-shadow: 0 6px 16px rgba(47, 60, 77, .25); }
.ic svg { width: 26px; height: 26px; }

/* ---------- feature tabs ---------- */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.tab-list { display: flex; overflow-x: auto; gap: 4px; padding: 10px; background: var(--navy); scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { flex: 0 0 auto; font-family: var(--head); font-weight: 700; font-size: .93rem; color: rgba(255, 255, 255, .75); background: none; border: 0;
  padding: 11px 18px; border-radius: 10px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.tab-list button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--navy); }
.tab-panel { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 40px; }
.tab-panel[hidden] { display: none; }
.panel-intro h3 { font-size: 1.45rem; }
.panel-intro p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.ticks li { position: relative; padding-left: 30px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ice-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3c4d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { color: var(--ink); font-weight: 600; }

/* ---------- workflow ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 25px; height: 2px; background: linear-gradient(90deg, var(--ice), var(--amber)); opacity: .5; }
.flow li { position: relative; text-align: center; padding: 0 4px; }
.flow .n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; font-family: var(--head); font-weight: 800;
  font-size: 1.1rem; color: var(--navy-900); background: var(--ice); box-shadow: 0 0 0 6px var(--navy-900), 0 0 0 7px rgba(143, 211, 247, .35); }
.flow li:nth-child(n+5) .n { background: #ffc58f; }
.flow h3 { font-size: 1.02rem; margin-bottom: .35em; }
.flow p { font-size: .88rem; margin: 0; color: rgba(255, 255, 255, .68); line-height: 1.5; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; }
.why-copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.6em; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.why-item .ic { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.why-item .ic svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.why-item p { margin: 0; font-size: .93rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--amber-600); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--text); }

/* ---------- contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 154, 69, .18), transparent 70%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { color: #fff; }
.contact-copy > p { font-size: 1.08rem; }
.contact-mail { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.contact-mail > svg { width: 30px; height: 30px; color: var(--ice); flex: 0 0 auto; }
.contact-mail div { flex: 1; min-width: 0; }
.contact-mail small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; }
.contact-mail a { color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail a:hover { text-decoration: underline; }
.copy { flex: 0 0 auto; font: 600 .85rem var(--head); color: var(--ice); background: none; border: 1px solid rgba(143, 211, 247, .4); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.copy:hover { background: rgba(143, 211, 247, .12); }
.contact-form { background: #fff; color: var(--text); border-radius: 18px; padding: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-family: var(--head); font-weight: 600; font-size: .88rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: 400 1rem var(--body); color: var(--ink); width: 100%; padding: 12px 14px; border: 1px solid #cfd7e2;
  border-radius: 10px; background: #fbfcfd; transition: border-color .15s, box-shadow .15s; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(143, 211, 247, .45); background: #fff; }
.contact-form [aria-invalid="true"] { border-color: #d24b3e; box-shadow: 0 0 0 3px rgba(210, 75, 62, .15); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
.form-note.err { color: #c0392b; }
.form-note.ok { color: #1f7a4d; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.foot-brand img { width: 96px; margin-bottom: 18px; }
.foot-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer .foot-grid a { display: block; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.foot-bottom a { text-decoration: none; }

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .flow::before { display: none; }
  .tab-panel { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 960px) {
  .hero-bg { background-image: url(../img/hero-960.jpg); }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: rgba(23, 33, 48, .98); box-shadow: 0 20px 30px rgba(0, 0, 0, .25); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-header.open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a:not(.btn), .login-btn { padding: 12px; font-size: 1rem; width: 100%; }
  .site-nav > a.active { box-shadow: none; background: rgba(255, 255, 255, .08); border-radius: 8px; }
  .site-nav .btn { margin: 10px 0 0; }
  .login-menu { position: static; box-shadow: none; background: rgba(255, 255, 255, .05); transform: none; display: none; margin: 2px 0 6px; }
  .login-menu.show { display: block; }
  .login-menu a { color: #fff; }
  .login-menu a:hover { background: rgba(255, 255, 255, .08); }
  .login-menu small { color: rgba(255, 255, 255, .6); }
  .cards { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div:nth-child(3) { border-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .why, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-motto { flex-direction: column; gap: 6px; font-size: .72rem; bottom: 24px; }
  .hero-motto i { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cards, .why-grid, .ticks, .row2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .facts-grid div { padding: 22px 14px; }
  .facts strong { font-size: 1.7rem; }
  .tab-panel { padding: 26px 20px; }
  .contact-form { padding: 22px; }
  .contact-mail { flex-wrap: wrap; }
  .contact-mail div { flex-basis: calc(100% - 46px); }
  .contact-mail a { overflow-wrap: normal; }
  .copy { margin-left: 46px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
