/* GenieTechs — site styles
   Colours live in the :root block below; change them there. */

:root {
  --aqua: #48d1cc;
  --aqua-strong: #5fe0db;
  --aqua-ink: #0e2a2c;          /* text on aquamarine buttons */
  --aqua-soft: rgba(72, 209, 204, 0.12);
  --bg: #20262c;                /* page background (charcoal) */
  --bg-alt: #252b32;            /* dark slate */
  --surface: #39434d;           /* slate grey cards */
  --surface-2: #313a43;
  --line: rgba(208, 215, 222, 0.14);
  --line-strong: rgba(208, 215, 222, 0.28);
  --text: #ffffff;
  --text-muted: #d0d7de;
  --text-soft: #a9b4bf;
  --silver: #c3cad1;
  --danger: #ff8f84;
  --danger-bg: rgba(255, 120, 108, 0.1);
  --warn-bg: rgba(255, 206, 99, 0.1);
  --warn-line: rgba(255, 206, 99, 0.45);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.65);
  --header-h: 68px;
  --container: 1160px;
  --font: "Noto Sans", Tahoma, Verdana, "Segoe UI", sans-serif; /* fine humanist sans; Tahoma itself has no ultralight weight */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: var(--aqua-strong); }
h1, h2, h3 { color: var(--text); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 200; }
h3 { font-size: 1.125rem; font-weight: 200; }
p { margin: 0 0 1em; }
strong, b { font-weight: 300; }
body, input, select, textarea, button { font-weight: 200; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--aqua); color: var(--aqua-ink); padding: 10px 16px; border-radius: 8px; font-weight: 200; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
svg { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.35em;
  border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 200; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--aqua); color: var(--aqua-ink); }
.btn-primary:hover { background: var(--aqua-strong); color: var(--aqua-ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--aqua); color: var(--text); background: var(--aqua-soft); }
.btn-sm { min-height: 40px; padding: 0.5em 1em; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(32, 38, 44, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--aqua); stroke-width: 1.1; }
.brand-name { font-size: 1.3rem; font-weight: 200; color: var(--text); letter-spacing: -0.005em; }
.brand-name span { color: var(--aqua); }
.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-muted); text-decoration: none; font-size: 0.9688rem; font-weight: 200; }
.nav-list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-toggle { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--text); text-decoration: none; font-weight: 200; font-size: 0.9688rem; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--aqua); }
.header-phone:hover { color: var(--aqua); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; background: radial-gradient(1000px 500px at 85% 0%, rgba(72, 209, 204, 0.07), transparent 60%), var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; color: var(--aqua); font-size: 0.8125rem; font-weight: 200; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-title { font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); font-weight: 200; letter-spacing: -0.005em; margin-bottom: 0.1em; }
.hero-title span { color: var(--aqua); }
.tagline { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); color: var(--text); font-weight: 200; margin-bottom: 1.1em; }
.hero-lead { max-width: 34em; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; color: var(--text-soft); font-size: 0.9375rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.hero-media::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 42%; height: 42%; border-right: 1px solid var(--aqua); border-bottom: 1px solid var(--aqua); border-radius: 0 0 22px 0; opacity: 0.55; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section:nth-of-type(odd) { background: var(--bg); }
.section:nth-of-type(even) { background: var(--bg-alt); }
.section-head { max-width: 44rem; margin-bottom: 40px; }
.section-intro { color: var(--text-soft); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.about-copy p { max-width: 40em; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 1.6em; padding: 18px 20px; border-radius: var(--radius); background: var(--aqua-soft); border: 1px solid rgba(72, 209, 204, 0.35); color: var(--text); }
.callout svg { flex: none; width: 26px; height: 26px; color: var(--aqua); margin-top: 1px; }

/* Services */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { padding: 24px 22px; transition: border-color 0.2s ease, transform 0.2s ease; }
.service-card:hover { border-color: rgba(72, 209, 204, 0.5); transform: translateY(-2px); }
.service-card .icon { width: 40px; height: 40px; padding: 8px; color: var(--aqua); background: var(--aqua-soft); border-radius: 10px; margin-bottom: 16px; }
.service-card p { font-size: 0.9688rem; color: var(--text-soft); margin: 0; }
.note { display: flex; gap: 12px; margin: 28px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text-soft); font-size: 0.9375rem; background: rgba(0, 0, 0, 0.12); }
.note svg { flex: none; width: 22px; height: 22px; color: var(--silver); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-wide { grid-column: span 2; grid-row: span 2; }
.gallery-wide img { aspect-ratio: auto; min-height: 100%; }
.gallery-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(32, 38, 44, 0.85); color: var(--text); font-size: 0.875rem; font-weight: 200; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-bottom: 36px; }
.price-card { padding: 30px 26px; display: flex; flex-direction: column; }
.price-card p:last-child { margin: 0; color: var(--text-soft); font-size: 0.9688rem; }
.price { margin: 4px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-amount { font-size: 2.5rem; font-weight: 200; color: var(--text); letter-spacing: -0.005em; line-height: 1; }
.price-text { font-size: 1.6rem; }
.price-unit { color: var(--text-soft); font-size: 0.9375rem; }
.price-featured { border-color: var(--aqua); box-shadow: 0 0 0 1px var(--aqua), var(--shadow); position: relative; }
.price-featured .price-amount { color: var(--aqua); }
.price-card:first-child .price-amount { color: var(--aqua); }

/* Booking */
.booking-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: start; }
.booking-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.pending-note { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--text); font-size: 0.9688rem; }
.aside-contact { color: var(--text-soft); }
.booking-card { padding: 30px; }
fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 14px; color: var(--text); font-weight: 200; font-size: 1.0625rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }
label, .label { color: var(--text); font-weight: 200; font-size: 0.9688rem; margin-bottom: 6px; }
.req { color: var(--aqua); }
.optional { color: var(--text-soft); font-weight: 200; }
.hint { margin: 6px 0 0; color: var(--text-soft); font-size: 0.875rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 0; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348D1CC' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input[type="date"] { color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #8994a0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(72, 209, 204, 0.25); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: 0.875rem; font-weight: 200; }
.field-error:empty { display: none; }
.form-error { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--danger-bg); border: 1px solid rgba(255, 143, 132, 0.5); color: var(--text); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; margin: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; height: 100%; padding: 14px 16px 14px 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-alt); transition: border-color 0.15s ease, background-color 0.15s ease; position: relative; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--silver); }
.choice strong { color: var(--text); font-weight: 200; }
.choice small { color: var(--aqua); font-size: 0.9375rem; font-weight: 200; }
.choice input:checked + span { border-color: var(--aqua); background: var(--aqua-soft); }
.choice input:checked + span::before { border-color: var(--aqua); background: radial-gradient(circle, var(--aqua) 0 4px, transparent 5px); }
.choice input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; min-height: 48px; }
.slots-empty { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--text-soft); font-size: 0.9375rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--text); font-weight: 200; font-size: 0.9688rem; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.slot input:hover + span { border-color: var(--aqua); }
.slot input:checked + span { background: var(--aqua); border-color: var(--aqua); color: var(--aqua-ink); }
.slot input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.slot input:disabled + span { color: #75808b; text-decoration: line-through; background: transparent; border-style: dashed; cursor: not-allowed; }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 200; color: var(--text-muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--aqua); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.turnstile { margin-bottom: 18px; }
.form-footnote { margin: 12px 0 0; text-align: center; color: var(--text-soft); font-size: 0.875rem; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(14, 42, 44, 0.3); border-top-color: var(--aqua-ink); animation: spin 0.8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.confirmation { text-align: center; padding: 10px 4px; }
.confirmation:focus { outline: none; }
.confirm-icon { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--aqua); stroke-width: 1; }
.ref { display: inline-block; margin: 0 0 18px; padding: 8px 18px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line-strong); font-size: 1.35rem; font-weight: 200; color: var(--aqua); letter-spacing: 0.06em; }
.confirm-details { margin: 0 auto 18px; max-width: 30rem; text-align: left; }
.confirm-details div { display: grid; grid-template-columns: 9rem 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.confirm-details dt { color: var(--text-soft); }
.confirm-details dd { margin: 0; color: var(--text); }
.confirmation .pending-note { text-align: left; margin-bottom: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; min-width: 0; }
.contact-card:hover { border-color: var(--aqua); transform: translateY(-2px); }
.contact-card .icon { width: 30px; height: 30px; color: var(--aqua); margin-bottom: 10px; }
.contact-label { color: var(--text-soft); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 200; }
.contact-value { color: var(--text); font-weight: 200; font-size: 1.125rem; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #1a1f24; border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 0.9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.footer-brand { margin: 0; }
.footer-tagline { color: var(--text-soft); margin: 4px 0 0; }
.footer-contact, .footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a, .footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-contact a:hover, .footer-links a:hover { color: var(--aqua); }
.privacy { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.02); }
.privacy summary { cursor: pointer; padding: 14px 18px; color: var(--text); font-weight: 200; }
.privacy-body { padding: 0 18px 8px; color: var(--text-soft); font-size: 0.9375rem; max-width: 60rem; }
.privacy-body strong { color: var(--text-muted); }
.privacy-body h2.privacy-title { font-size: 1.25rem; margin: 6px 0 4px; color: var(--text); }
.privacy-body h3 { font-size: 1.0625rem; margin: 1.6em 0 0.5em; color: var(--text); }
.privacy-body ul { margin: 0 0 1em; padding-left: 1.25em; }
.privacy-body li { margin-bottom: 0.3em; }
.privacy-updated { color: var(--text-soft); font-size: 0.875rem; }
.todo { background: rgba(255, 206, 99, 0.18); color: #ffd98a; padding: 0 4px; border-radius: 4px; }
.copyright { margin: 22px 0 0; color: #8994a0; font-size: 0.875rem; }

/* Mobile quick bar */
.quick-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-list { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; padding: 10px 16px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 12px; font-size: 1.0625rem; }
  .header-inner { gap: 12px; }
  .main-nav { order: 3; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .hero { padding: 40px 0 52px; }
  .hero-grid, .about-grid, .booking-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media::after { display: none; }
  .booking-aside { position: static; }
  .section { padding: 64px 0; }
  .price-grid { grid-template-columns: 1fr; max-width: 34rem; margin-left: auto; margin-right: auto; }
  .price-featured { order: -1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-column: 1 / -1; grid-row: auto; }
  .gallery-wide img { aspect-ratio: 16 / 10; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .quick-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(32, 38, 44, 0.96); border-top: 1px solid var(--line); transition: transform 0.25s ease; }
  .quick-bar.is-hidden { transform: translateY(110%); }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .header-cta { display: none; }
  .main-nav { margin-left: auto; }
  .hero-actions .btn { width: 100%; }
  .field-grid, .choice-grid, .service-grid { grid-template-columns: 1fr; }
  .booking-card { padding: 22px 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .confirm-details div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Missing image fallback (only shown if a photo file is deleted) */
img.img-missing { background: var(--surface) url("../assets/icons/image-placeholder.svg") center / 56px no-repeat; min-height: 200px; }
