/* OxyLux Solutions — shared styles */
:root {
  --navy: #101a5c;
  --navy-deep: #0a1145;
  --gold: #b8862a;
  --gold-light: #e9c86c;
  --air: #f3f6fb;
  --white: #ffffff;
  --ink-soft: #4a5280;
  --line: #d9deec;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.lede { font-size: clamp(1.125rem, 1.8vw, 1.3rem); color: var(--ink-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.brand img { width: 48px; height: 48px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--navy); color: var(--white); text-decoration: none;
  font-weight: 600; border: 2px solid var(--navy); cursor: pointer; font-family: var(--sans); font-size: 1rem;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy-deep); color: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--air); color: var(--navy); }
.nav .btn { padding: 10px 20px; color: var(--white); }

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.band { background: var(--air); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy a { color: var(--white); }
.band-navy p { color: #c9cff0; }

/* Hero with logo waves */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 104px); }
.hero .wrap { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.waves { position: absolute; right: -4%; bottom: 0; width: min(780px, 95%); height: auto; z-index: 0; pointer-events: none; }
.waves path { fill: none; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s cubic-bezier(.4,0,.2,1) forwards; }
.waves path:nth-child(2) { animation-delay: .25s; }
.waves path:nth-child(3) { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .waves path { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

/* Split / lists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }
.facts span { color: var(--ink-soft); }
.band-navy .facts, .band-navy .facts li { border-color: rgba(255,255,255,.18); }
.band-navy .facts span { color: #c9cff0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; }
.steps h3 { margin-bottom: 6px; }

.service { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 64px); padding: 40px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--ink-soft); }

/* Forms */
form { display: grid; gap: 18px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, select, textarea {
  font: inherit; color: var(--navy); background: var(--white);
  border: 1px solid #b9c1dc; border-radius: 8px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .9rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9cff0; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: var(--white); font-size: 1.05rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 24px; font-size: .85rem; max-width: none; }

.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); background: var(--air); }

@media (max-width: 860px) {
  .split, .service, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px var(--gutter) 28px; border-bottom: 1px solid var(--line); gap: 18px; }
  .nav.open { display: flex; }
  .waves { opacity: .55; }
}

.credit { font-size: .85rem; margin: 12px 0 0; max-width: none; }
