:root {
  --bg: #faf9f5;
  --bg-2: #f0f3ef;
  --card: #ffffff;
  --line: #d4dfdb;
  --text: #263b40;
  --muted: #52686b;
  --accent: #006c70;
  --accent-2: #167a7c;
  --warn: #805100;
  --ok: #18714d;
  --bad: #b02d3b;
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(900px 480px at 90% 0%, rgba(116, 190, 166, .16), transparent 65%);
  background-repeat: no-repeat;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--sans); line-height: 1.17; margin: 0 0 .6em; color: #102e35; letter-spacing: -.025em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.logo { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; letter-spacing: .18em; color: #102e35; display: inline-flex; align-items: baseline; }
.logo:hover { text-decoration: none; }
.logo .cur { color: var(--accent); margin-left: .05em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); display: block; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: .5rem 1.1rem 1rem; }
.nav.open { display: block; }
.nav a { display: block; padding: .75rem 0; color: var(--text); font-family: var(--sans); font-weight: 600; border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a.cta { margin-top: .8rem; text-align: center; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; background: none; border: 0; padding: 0; gap: 1.4rem; align-items: center; }
  .nav a { border: 0; padding: .4rem 0; font-size: .95rem; }
  .nav a.cta { margin: 0; padding: .45rem 1rem; }
  .nav a.cta:hover { background: var(--accent); color: #fff; text-decoration: none; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; padding: .8rem 1.4rem; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; font-size: 1rem; text-align: center; }
.btn:hover { background: #005459; border-color: #005459; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: rgba(0, 108, 112, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* Sections */
section { padding: 3.2rem 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); color: var(--accent); font-size: .9rem; margin-bottom: .6rem; }
.eyebrow::before { content: "> "; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }

.hero { padding: 4rem 0 3.8rem; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 1rem; }
.hero-layout { display: grid; gap: 2rem; align-items: center; }
.hero-layout h1 { max-width: 13em; }
.hero-visual { display: block; background: #e0ede6; border: 1px solid #cbded4; border-radius: 22px; padding: 1rem; color: var(--text); }
.hero-visual:hover { text-decoration: none; border-color: var(--accent); }
.hero-visual-images { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.hero-visual-copy { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: 1rem .25rem .15rem; }
.hero-visual-copy strong { display: block; color: #102e35; }
.hero-visual-copy span { display: block; font-size: .88rem; color: var(--muted); }
.hero-visual-copy .visual-link { color: var(--accent); font-weight: 700; white-space: nowrap; }
@media (min-width: 860px) {
  .hero-layout { grid-template-columns: 1.25fr .75fr; gap: 3rem; }
}
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.badge { font-family: var(--mono); font-size: .82rem; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .8rem; color: var(--muted); }
a.badge:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.more { font-family: var(--mono); font-size: .82rem; color: var(--muted); align-self: center; }
.shot { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); color: var(--text); }
.shot:hover { border-color: var(--accent); text-decoration: none; }
.shot .thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; }
.shot .meta { padding: 1rem 1.2rem 1.2rem; }
.shot h3 { margin-bottom: .3em; }
.shot p { color: var(--muted); font-size: .92rem; margin-bottom: .6em; }
.shot .go { font-family: var(--mono); color: var(--accent); font-size: .9rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.two, .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 8px 25px rgba(20, 54, 51, .04); }
.card h3 { display: flex; align-items: center; gap: .5rem; }
.card .tag { font-family: var(--mono); color: var(--accent); }
.card p:last-child { margin-bottom: 0; }
.price { font-family: var(--mono); color: var(--accent); font-size: .95rem; margin-top: .8rem; }

.feature { border-color: #bfd9cf; background: linear-gradient(135deg, #e9f4ed, var(--card) 70%); }
.feature .flag { display: inline-block; font-family: var(--mono); font-size: .78rem; background: #d9ede3; color: #00575a; padding: .2rem .7rem; border-radius: 999px; margin-bottom: .7rem; font-weight: 700; }

ul.checks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.checks li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
ul.checks li::before { content: ">"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }

.split { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }

.service { scroll-margin-top: 80px; }
.service + .service { margin-top: 1.2rem; }

.cta-band { text-align: center; }
.cta-band p { margin-left: auto; margin-right: auto; }

/* Forms */
form .field { margin-bottom: 1rem; }
label { display: block; font-family: var(--mono); font-size: .9rem; margin-bottom: .3rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea, input[type=file] {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 108, 112, .2); }
textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.help { font-size: .85rem; color: var(--muted); }

.notice { border-radius: 8px; padding: .8rem 1rem; margin-bottom: 1.2rem; border: 1px solid var(--line); }
.notice.ok { border-color: var(--ok); background: rgba(52, 211, 153, .08); }
.notice.err { border-color: var(--bad); background: rgba(248, 113, 113, .08); }

/* Tickets */
.status { font-family: var(--mono); font-size: .8rem; padding: .15rem .7rem; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.status.open { color: var(--warn); border-color: var(--warn); }
.status.pending { color: var(--accent); border-color: var(--accent); }
.status.closed { color: var(--ok); border-color: var(--ok); }
.pri-urgent { color: var(--bad); }
.msg { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; background: var(--card); }
.msg.admin { border-color: var(--accent-2); }
.msg.note { border-style: dashed; border-color: var(--warn); }
.msg .meta { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.msg .body { white-space: pre-wrap; word-wrap: break-word; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: .82rem; color: var(--muted); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid #274b50; padding: 2.5rem 0; color: #c1d3d1; font-size: .92rem; background: #12363b; }
.site-footer a { color: #a7e4d7; }
.site-footer .logo, .site-footer h4 { color: #fff; }
.site-footer .cur { color: #a7e4d7; }
.foot { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .foot { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .3rem; }
.copy { margin-top: 1.5rem; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo .cur { animation: none; }
}
