/* NovaStart site: shared styles (index, client, admin). No web fonts, no cookies, nothing sent anywhere. */
:root {
  --bg: #ffffff; --surface: #f4f7f2; --surface-2: #eaf1e6; --ink: #111511; --muted: #4b554b; --line: #dfe6dc;
  --green: #4e9a3c; --green-2: #90e048; --on-green: #0b1a06; --frame: #111511; --shadow: 0 18px 50px rgba(17, 21, 17, .16);
  --blob-1: rgba(144, 224, 72, .35); --blob-2: rgba(78, 154, 60, .22);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e120e; --surface: #161c16; --surface-2: #1c241c; --ink: #eef3ec; --muted: #a9b5a6; --line: #263026; --green: #90e048; --green-2: #b6f07a;
    --frame: #2a332a; --shadow: 0 18px 50px rgba(0, 0, 0, .5); --blob-1: rgba(144, 224, 72, .16); --blob-2: rgba(78, 154, 60, .14); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header: room above the logo */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 56px; padding-bottom: 8px; }
@media (max-width: 640px) { .top { padding-top: 44px; } }
.logo { display: block; width: 190px; height: auto; }
.logo.dark { display: none; }
@media (prefers-color-scheme: dark) { .logo.light { display: none; } .logo.dark { display: block; } }
/* the sections of the landing page, and Get a quote (a Menu button on a phone) */
.top .links { display: flex; align-items: center; gap: 4px; }
.top .links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.top .links a:hover { color: var(--ink); background: var(--surface); }
.top .quote { background: linear-gradient(90deg, #58a048, #90e048); color: var(--on-green) !important; margin-left: 6px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 220px; display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: 0 18px 40px rgba(17, 21, 17, .16); }
.menu nav a { text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.menu nav a:hover { background: var(--surface); }
.menu nav a.quote { margin: 6px 0 0; text-align: center; border-radius: 999px; }
@media (max-width: 760px) { .top .links { display: none; } .menu { display: block; } }
.back { text-decoration: none; font-weight: 600; color: var(--muted); font-size: 15px; }
.back:hover { color: var(--ink); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 48px 0 56px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 36px; } }
.blobs { position: absolute; inset: -40px -20px auto; height: 620px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); animation: drift 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 420px; height: 420px; left: 50%; top: 10px; background: var(--blob-1); }
.blobs i:nth-child(2) { width: 360px; height: 360px; left: 8%; top: 140px; background: var(--blob-2); animation-duration: 22s; animation-delay: -6s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 10px) scale(.95); } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(144, 224, 72, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(144, 224, 72, .6); } 70% { box-shadow: 0 0 0 10px rgba(144, 224, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(144, 224, 72, 0); } }
h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.08; letter-spacing: -0.025em; margin: 18px 0 16px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #58a048, #90e048); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0; }
.for { margin: 18px 0 0; font-size: 18px; font-weight: 700; min-height: 1.6em; }
.for .word { display: inline-block; color: var(--green); border-bottom: 3px solid var(--green-2); transition: opacity .3s, transform .3s; }
.for .word.out { opacity: 0; transform: translateY(8px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, #58a048, #90e048); color: var(--on-green); font-weight: 700; text-decoration: none; padding: 13px 20px; border-radius: 999px; border: 0; font-size: 16px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(78, 154, 60, .35); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { box-shadow: 0 10px 24px rgba(17, 21, 17, .12); }
.btn:focus-visible, .tab:focus-visible, .shot:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* a phone */
.phone { position: relative; width: min(300px, 78vw); margin: 0 auto; aspect-ratio: 390 / 844; border-radius: 34px; background: var(--frame); padding: 5px; box-shadow: var(--shadow); }
.phone::before { content: none; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 29px; overflow: hidden; background: #fff; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s ease; }
.screen img.on { opacity: 1; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.dots button.on { width: 26px; border-radius: 6px; background: var(--green); }
.caption { text-align: center; margin: 10px 0 0; font-size: 14px; color: var(--muted); min-height: 1.5em; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* sections */
section { padding: 36px 0; }
h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 24px; max-width: 40em; }

/* three views (tabs) */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
@media (max-width: 420px) { .tabs { flex-wrap: nowrap; } .tab { padding: 8px 12px; font-size: 15px; } }
.tab[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 2px 8px rgba(17, 21, 17, .12); }
.view { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.view[hidden] { display: none; }
@media (max-width: 760px) { .view { grid-template-columns: 1fr; } }
.view ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.view li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.view li b { display: block; }
.view li span.t { color: var(--muted); font-size: 15px; }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #58a048, #90e048); color: var(--on-green); font-weight: 800; font-size: 14px; }
.view .phone { width: min(260px, 70vw); }
.fade { animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.grid li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17, 21, 17, .10); border-color: var(--green); }
.grid .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--green); margin-bottom: 12px; }
.grid .ic svg { width: 24px; height: 24px; }
.grid b { display: block; margin-bottom: 4px; font-size: 17px; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }

/* the real club */
.club { position: relative; overflow: hidden; border-radius: 22px; padding: 30px; background: linear-gradient(135deg, #111511, #1f2a1c); color: #eef3ec; margin: 20px 0 56px; }
.club::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(144, 224, 72, .35), transparent 70%); }
.club h2 { color: #fff; }
.club p { color: #c9d4c5; max-width: 38em; margin: 0 0 18px; }
.club .btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* galleries (client and admin pages) */
.page-head { padding: 28px 0 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding: 18px 0 8px; list-style: none; margin: 0 auto; max-width: 900px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }
.gallery li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot { display: block; border: 0; padding: 0; background: none; cursor: zoom-in; width: 100%; transition: transform .2s; }
.shot:hover { transform: translateY(-6px) rotate(-.6deg); }
.gallery .phone { width: min(240px, 100%); }
.gallery h3 { margin: 16px 0 4px; font-size: 17px; }
.gallery p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 18em; }
.switch { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 0 56px; }

/* the bigger view */
dialog.big { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog.big::backdrop { background: rgba(8, 12, 8, .82); backdrop-filter: blur(3px); }
.big .phone { width: min(380px, 86vw, calc((94vh - 70px) * 390 / 844)); }
.big .bar { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; color: #fff; }
.big .bar button { border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-weight: 700; padding: 8px 14px; cursor: pointer; }
.big .bar span { min-width: 12em; text-align: center; font-size: 14px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--muted); font-size: 13px; }
footer p { margin: 0 0 4px; }

/* show as you scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.phone, .screen { display: block; }
