/* GeoNuclear — public site. No inline styles anywhere (strict CSP). */

:root {
  --chamber: #04130c;
  --chamber-2: #0a2316;
  --chamber-3: #12331f;
  --leaf: #0b9045;
  --leaf-bright: #22b862;
  --leaf-ink: #0a7a3b;
  --lime: #8dc63f;
  --sun: #fde10f;
  --ember: #f68721;
  --paper: #f3f6ef;
  --paper-2: #e5ece0;
  --ink: #0c1f14;
  --ink-soft: #3d5546;
  --on-dark: #eaf4ec;
  --on-dark-soft: rgba(234, 244, 236, .74);
  --line-dark: rgba(234, 244, 236, .16);
  --line-light: rgba(12, 31, 20, .16);
  --font: "Avenir Next", "Nunito Sans", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 82rem;
  --header-h: 4.5rem;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--chamber);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sun); color: var(--chamber); padding: .6rem 1rem; font-weight: 700; transition: top .15s; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- surfaces ---------- */
.on-paper  { background: var(--paper); color: var(--ink); }
.on-paper2 { background: var(--paper-2); color: var(--ink); }
.on-paper a:not(.btn), .on-paper2 a:not(.btn) { color: var(--leaf-ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 19, 12, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.bar { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); max-width: 96rem; margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand-logo { height: 2.75rem; width: auto; }

.nav ul { display: flex; gap: .25rem; }
.nav a { display: block; padding: .5rem .75rem; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--on-dark-soft); border-radius: var(--radius); transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--on-dark); background: var(--chamber-3); }
.nav a[aria-current="page"] { color: var(--on-dark); box-shadow: inset 0 -2px 0 var(--ember); border-radius: 0; }

.langs { display: flex; align-items: center; gap: .4rem; padding-left: 1rem; border-left: 1px solid var(--line-dark); }
.langs a { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; text-decoration: none; color: var(--on-dark-soft); opacity: .72; transition: opacity .15s, transform .15s, box-shadow .15s; }
.langs a:hover { opacity: 1; transform: scale(1.1); }
.langs a[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--chamber), 0 0 0 4px var(--ember); }
.langs .flag { display: block; width: 1.7rem; height: 1.7rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.langs .code { font-size: .78rem; font-weight: 800; letter-spacing: .03em; border: 1px solid var(--line-dark); border-radius: 50%; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; }

.burger { display: none; width: 2.75rem; height: 2.75rem; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 25%; right: 25%; height: 2px; background: var(--on-dark); transition: transform .2s, top .2s; }
.burger span:first-child { top: calc(50% - 5px); }
.burger span:last-child  { top: calc(50% + 3px); }
.burger[aria-expanded="true"] span:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { top: calc(50% - 1px); transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: block; }
  .langs { order: 2; border-left: 0; padding-left: 0; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100svh - var(--header-h)); overflow: auto;
    background: var(--chamber); border-bottom: 1px solid var(--line-dark);
    padding: 1rem var(--gutter) 1.5rem; display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 1rem 0; font-size: 1.35rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; color: var(--on-dark); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--ember); }
}

@media (max-width: 520px) {
  .bar { gap: .5rem; }
  .brand { min-width: 0; }
  .brand-logo { height: 2.1rem; }
  .langs { gap: .15rem; }
  .langs a { width: 2.2rem; height: 2.2rem; }
  .langs .flag { width: 1.55rem; height: 1.55rem; }
  .burger { width: 2.5rem; height: 2.5rem; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .75rem 1.75rem; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: transform .15s, background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--ember); color: var(--chamber); }
.btn-primary:hover { background: #ff9a3c; transform: translateY(-2px); }
.btn-ghost { border-color: var(--on-dark-soft); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(234, 244, 236, .08); }

/* ---------- hero (cloud chamber) ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--header-h)); min-height: max(34rem, calc(100svh - var(--header-h))); display: flex; align-items: flex-end; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 20%, #0d2f1c 0%, var(--chamber) 62%); }
.chamber { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-fade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, var(--chamber) 0%, rgba(4, 19, 12, .0) 45%),
  linear-gradient(90deg, rgba(4, 19, 12, .72) 0%, rgba(4, 19, 12, 0) 62%); }
.hero-inner { padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero h1 { font-size: clamp(3.2rem, 10.5vw, 9.5rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; max-width: 11ch; text-wrap: balance; }
.hero-sub { margin-top: 1.75rem; max-width: 36rem; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--on-dark-soft); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- intro ---------- */
.intro { padding-block: clamp(4rem, 9vw, 8rem); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro-title { font-size: clamp(1.9rem, 3.8vw, 3.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.services > div { padding-block: 1.25rem; border-top: 1px solid var(--line-light); }
.services > div:last-child { border-bottom: 1px solid var(--line-light); }
.services dt { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.services dd { margin-top: .25rem; color: var(--ink-soft); max-width: 34ch; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- areas as instrument channels ---------- */
.areas { background: var(--chamber); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.section-head p { color: var(--on-dark-soft); max-width: 34rem; }
.rows { border-top: 1px solid var(--line-dark); }
.row { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding-block: clamp(1.5rem, 3.4vw, 2.75rem); padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); border-bottom: 1px solid var(--line-dark); text-decoration: none; overflow: hidden; transition: background-color .25s; }
.row-text { display: grid; gap: .35rem; max-width: var(--max); }
.row-name { font-size: clamp(2.1rem, 6.4vw, 5.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.row-tag { color: var(--on-dark-soft); font-size: 1.05rem; }
.row-arrow { color: var(--ember); transition: transform .3s; }
.row-img { position: absolute; z-index: -1; top: 0; right: 0; height: 100%; width: min(48%, 38rem); object-fit: cover; opacity: 0; transform: translateX(2.5rem) scale(1.04);
  transition: opacity .4s, transform .6s cubic-bezier(.2, .7, .2, 1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); filter: saturate(.8) brightness(.85); }
.row:hover, .row:focus-visible { background: var(--chamber-2); }
.row:hover .row-img, .row:focus-visible .row-img { opacity: 1; transform: none; }
.row:hover .row-name, .row:focus-visible .row-name { transform: translateX(.75rem); }
.row:hover .row-arrow, .row:focus-visible .row-arrow { transform: translateX(.5rem); }
@media (hover: none) { .row-img { opacity: .35; transform: none; } }
@media (max-width: 700px) { .row-img { width: 60%; } .row-arrow { width: 1.5rem; height: 1.5rem; } }

/* ---------- brands mosaic ---------- */
.brands { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 2.25rem; }
.on-paper .section-head p, .on-paper2 .section-head p { color: var(--ink-soft); }
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.tile { background: #fff; aspect-ratio: 3 / 2; display: grid; place-items: stretch; }
.tile a, .tile > img, .tile > span { display: grid; place-items: center; padding: 1.4rem; }
.tile img { max-width: 100%; max-height: 4rem; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s, transform .25s; }
.tile a:hover img, .tile a:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }
.tile a:focus-visible { outline-offset: -4px; }
.tile-more { background: var(--paper); }
.tile-more span { font-weight: 700; color: var(--ink-soft); text-align: center; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 10vw, 8.5rem); overflow: hidden;
  background: radial-gradient(60% 120% at 85% 120%, rgba(246, 135, 33, .35), rgba(246, 135, 33, 0) 60%), var(--chamber); }
.cta-inner { display: grid; gap: 1.25rem; justify-items: start; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; max-width: 16ch; text-wrap: balance; }
.cta p { color: var(--on-dark-soft); font-size: 1.2rem; max-width: 34rem; }
.cta .btn { margin-top: .75rem; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; min-height: clamp(20rem, 52svh, 36rem); display: flex; align-items: flex-end; overflow: hidden; background: var(--chamber-2); }
.page-hero-short { min-height: clamp(14rem, 30svh, 20rem); }
.page-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.page-hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(4, 19, 12, .96) 0%, rgba(4, 19, 12, .15) 55%), linear-gradient(90deg, rgba(4, 19, 12, .88) 0%, rgba(4, 19, 12, .35) 70%, rgba(11, 144, 69, .25) 100%); }
.page-hero-inner { padding-block: clamp(2rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.8rem, 9vw, 7.5rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.page-hero-tag { margin-top: 1rem; max-width: 36rem; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--on-dark-soft); }

/* ---------- equipment ---------- */
.equipment { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.eq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.eq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.eq-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.prose { margin-top: 1.25rem; color: var(--ink-soft); max-width: 36rem; }
.prose p + p { margin-top: 1em; }
.eq-list > li { padding-block: .8rem; border-top: 1px solid var(--line-light); font-size: 1.12rem; font-weight: 600; }
.eq-list > li:last-child { border-bottom: 1px solid var(--line-light); }
.eq-group > .eq-name, .eq-group > .eq-link { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.eq-sub { margin-top: .6rem; display: grid; gap: .1rem; padding-left: 1.1rem; border-left: 1px solid var(--line-light); }
.eq-sub > li { padding-block: .25rem; font-weight: 500; color: var(--ink-soft); }
.eq-link { text-decoration-thickness: 1px; text-underline-offset: .25em; }
.eq-link::after { content: "\2197"; margin-left: .35em; font-size: .9em; opacity: .8; }
.eq-link:hover { text-decoration-thickness: 2px; }
.eq-empty { color: var(--ink-soft); font-size: 1.15rem; }
@media (max-width: 860px) { .eq-grid { grid-template-columns: 1fr; } .eq-intro { position: static; } }

.other-areas { background: var(--chamber); padding-block: 2.5rem; border-top: 1px solid var(--line-dark); }
.other-areas h2 { font-size: .95rem; font-weight: 700; color: var(--on-dark-soft); margin-bottom: .75rem; }
.other-areas ul { display: flex; flex-wrap: wrap; gap: .6rem; }
.other-areas a { display: inline-block; padding: .55rem 1.1rem; border: 1px solid var(--line-dark); border-radius: 999px; text-decoration: none; font-weight: 600; transition: background-color .15s, border-color .15s; }
.other-areas a:hover { background: var(--chamber-3); border-color: var(--leaf-bright); }

/* ---------- contact ---------- */
.contact { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.phones { display: grid; gap: 1.5rem; }
.phone-type { display: block; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.phone-num { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.phone-num:hover { color: var(--leaf-ink) !important; }
.phones li { display: flex; flex-wrap: wrap; align-items: center; column-gap: .9rem; }
.phones .phone-type { flex-basis: 100%; }
.on-paper a.phone-wa { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #128c4a; color: #fff; transition: transform .15s, background-color .15s; }
.on-paper a.phone-wa:hover { background: #0e7a3f; transform: scale(1.08); }
.info-line { margin-top: 2rem; display: grid; gap: .15rem; font-size: 1.15rem; }
.info-label { font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.contact-form h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.field label { font-weight: 700; font-size: .98rem; }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; background: #fff; color: var(--ink); border: 2px solid var(--line-light); border-radius: var(--radius); transition: border-color .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(11, 144, 69, .18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field textarea { resize: vertical; min-height: 9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-block: .25rem 1.25rem; font-size: .95rem; color: var(--ink-soft); }
.contact-form .btn { min-width: 12rem; }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; border: 1px solid; }
.notice p, .notice ul { margin-top: .25rem; }
.notice li { margin-top: .15rem; }
.notice-ok { background: #e1f3e7; border-color: var(--leaf); color: #0b3a1d; }
.notice-err { background: #fbe9e7; border-color: #b3261e; color: #5c0f0a; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.notfound { padding-block: clamp(3rem, 8vw, 6rem); }
.notfound .lead { font-size: 1.3rem; max-width: 36rem; margin-bottom: 1.75rem; }

/* ---------- footer ---------- */
.site-footer { background: #020b07; color: var(--on-dark-soft); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-col h2 { font-size: .95rem; font-weight: 700; color: var(--on-dark); margin-bottom: .85rem; }
.footer-col li + li { margin-top: .4rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-legal { padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.noscript-note { font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

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