/* Golden Star template — colours come from config.php (inline :root in index.php) */
:root {
  --gold: #d4a52c; --gold-light: #f0c75e;
  --ink: #17191c; --ink-2: #22262b; --card: #1e2126;
  --steel: #2e333a; --text: #e9e6df; --muted: #a9a59c;
  --line: color-mix(in srgb, var(--gold) 35%, transparent);
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--ink); color: var(--text); line-height: 1.6; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.icon { width: 56px; height: 56px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.star { width: 34px; height: 34px; fill: var(--gold); flex: none; }
.brand-name { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); line-height: 1.1; }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .32em; color: var(--muted); }
.nav-links { display: flex; gap: 10px; }
.btn { display: inline-block; text-decoration: none; cursor: pointer; font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; padding: 9px 18px; border-radius: 6px; border: 1.5px solid var(--gold); color: var(--gold-light); background: transparent; transition: background .2s, color .2s; white-space: nowrap; }
.btn:hover, .btn:focus-visible { background: var(--gold); color: var(--ink); outline: none; }
.btn.solid { background: var(--gold); color: var(--ink); }
.btn.solid:hover { background: var(--gold-light); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 0 56px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 60%), linear-gradient(180deg, var(--ink-2), var(--ink)); border-bottom: 1px solid var(--line); }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.hero h1 span { color: var(--gold-light); }
.rule { width: min(520px, 80%); height: 2px; margin: 22px auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero p { color: var(--muted); max-width: 640px; margin: 0 auto 14px; font-size: 1.05rem; }
.hero p.lead { color: var(--text); font-size: 1.15rem; }
.hero .btn { margin-top: 14px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; scroll-margin-top: 70px; }
.section-title { font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.3rem); text-transform: uppercase; letter-spacing: .05em; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 6px 0 40px; }
.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-img { display: block; width: 100%; max-width: 980px; margin: 32px auto 0; border-radius: var(--radius); border: 1px solid var(--line); }
.about-text { max-width: 760px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 1.05rem; }

/* ---------- Service grid ---------- */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.card-body { padding: 18px 22px 24px; border-top: 3px solid var(--gold); flex: 1; }
.card h3 { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-light); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; }

.card-media.empty { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--steel), #1a1d21); display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--gold); }
.card-media.empty span { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.card.coming { border: 1.5px dashed var(--line); background: transparent; }
.card.coming .card-media.empty { background: transparent; }
.card.coming .card-body { border-top-color: transparent; }
.card.coming h3 { color: var(--muted); }

/* ---------- Carousel ---------- */
.carousel { position: relative; aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.slide { flex: 0 0 100%; height: 100%; min-width: 0; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.55); color: #fff; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; transition: background .2s; }
.nav-btn:hover, .nav-btn:focus-visible { background: var(--gold); color: var(--ink); outline: none; }
.nav-btn.prev { left: 10px; } .nav-btn.next { right: 10px; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 26px 12px 8px; font-size: .82rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.cap-title { font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap-count { color: #ddd; flex: none; font-variant-numeric: tabular-nums; }

.jobs { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; scrollbar-width: thin; background: var(--ink-2); }
.job-pill { flex: none; font: 500 .78rem "Inter", sans-serif; color: var(--muted); background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.job-pill em { font-style: normal; opacity: .7; margin-left: 2px; }
.job-pill:hover { border-color: var(--gold); color: var(--text); }
.job-pill.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(8,9,10,.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox figure { grid-column: 2; display: grid; justify-items: center; gap: 10px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { text-align: center; font-size: .92rem; color: #ccc; padding: 0 10px; }
.lightbox figcaption strong { color: var(--gold-light); }
.lb-count { opacity: .7; margin-left: 6px; }
.lb-nav, .lb-close { background: rgba(255,255,255,.08); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 2rem; line-height: 1; justify-self: center; display: grid; place-items: center; padding-bottom: 4px; }
.lb-nav:hover, .lb-close:hover { background: var(--gold); color: var(--ink); }
.lb-nav.prev { grid-column: 1; grid-row: 1; } .lb-nav.next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 14px; right: 14px; font-size: 1.8rem; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; grid-row: 1; }
  .lb-nav { position: absolute; bottom: 18px; }
  .lb-nav.prev { left: 18px; } .lb-nav.next { right: 18px; }
  .lightbox img { max-height: calc(100vh - 160px); }
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); max-width: 980px; margin: 0 auto; align-items: start; }
.contact-layout > :only-child { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; width: 100%; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-details { display: grid; gap: 14px; }
.contact-item { background: var(--card); border-radius: var(--radius); padding: 18px 20px; border: 1px solid rgba(255,255,255,.06); overflow-wrap: anywhere; }
.contact-item h4 { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-size: .9rem; margin-bottom: 4px; }
.contact-item a { text-decoration: none; } .contact-item a:hover { color: var(--gold-light); }

.contact-form { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--ink); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 10px 12px; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.contact-form .invalid { border-color: #e06c5a; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #8fd18f; } .form-status.err { color: #f09080; }

footer { text-align: center; padding: 28px 20px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

@media (max-width: 560px) {
  .brand-name { font-size: 1.05rem; }
  .brand-name small { display: none; }
  .btn { padding: 7px 10px; font-size: .75rem; letter-spacing: .05em; }
  .nav-links { gap: 6px; }
  .hero .btn, .contact-form .btn { padding: 10px 18px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { html, .track { scroll-behavior: auto; } .card { transition: none; } }
