/* All brand values live here and in settings.json. Change them in one place. */
:root {
  --primary: #0A2EFF;
  --primary-dark: #0620C4;
  --secondary: #0B0D12;
  --accent: #6C86FF;
  --background: #FFFFFF;
  --surface: #F3F5FB;
  --text: #1A1D26;
  --muted: #565C6B;
  --font-heading: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --on-primary: #FFFFFF;
  --link: #0A2EFF;
  --line: #E4E7F0;
  --header-bg: rgba(255, 255, 255, .96);
  --dark-section: #0B0D12;
  --card-bg: #141824;
  --card-line: #232A3D;
  --footer-bg: #07080C;
  --h-weight: 400;
  --h-case: uppercase;
  --shade: 1;
  --radius: 14px;
  --btn-radius: 999px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--background); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: var(--h-weight); line-height: 1.05; margin: 0; letter-spacing: .01em; text-transform: var(--h-case); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); max-width: 18ch; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none; padding: .95rem 1.7rem; border-radius: var(--btn-radius); border: 2px solid var(--primary); letter-spacing: .02em; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 46, 255, .35); }
.btn-sm { padding: .6rem 1.2rem; font-size: .92rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--secondary); border-color: #fff; box-shadow: none; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow.dark { color: var(--link); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { border-radius: 8px; }
.brand-name { font-family: var(--font-heading); font-weight: var(--h-weight); text-transform: uppercase; font-size: 1.25rem; line-height: 1; color: var(--text); }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .3em; color: var(--link); margin-top: .25rem; }
#nav { display: flex; align-items: center; gap: 1.8rem; }
#nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; }
#nav a:not(.btn):hover { color: var(--link); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; background: var(--secondary); color: #fff; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; opacity: var(--shade); background: linear-gradient(95deg, rgba(11,13,18,.95) 0%, rgba(11,13,18,.82) 45%, rgba(11,13,18,.35) 100%); }
.hero-inner { padding-block: clamp(4rem, 10vw, 7rem); }
.hero h1 { font-size: clamp(2.8rem, 9vw, 6.6rem); max-width: 11ch; }
.hero h1 span { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40rem; color: #D9DDEA; margin: 1.5rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.tagline { margin: 2.5rem 0 0; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: #B6BCCF; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); max-width: 30rem; }

/* About */
.about { padding-block: var(--section); background: var(--background); }
.about-grid { display: grid; gap: 2.5rem; }
.about-text p { font-size: 1.08rem; color: var(--muted); }
.stats { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stats li { border-top: 3px solid var(--primary); padding-top: .8rem; }
.stats strong { display: block; font-family: var(--font-heading); font-weight: var(--h-weight); font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--text); line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--muted); }

/* Services */
.services { padding-block: var(--section); background: var(--dark-section); color: #fff; }
.services h2 { color: #fff; }
.section-lead { color: #B6BCCF; max-width: 40rem; font-size: 1.08rem; margin-top: 1.2rem; }
.cards { display: grid; gap: 1.2rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--primary); }
.card h3 { margin-bottom: .8rem; }
.card p { color: #C2C8DA; font-size: .98rem; flex-grow: 1; }
.card-icon { width: 56px; height: 56px; border-radius: calc(var(--radius) * .8); background: color-mix(in srgb, var(--accent) 18%, transparent); display: grid; place-items: center; margin-bottom: 1.3rem; }
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-photo h3, .card-photo p, .card-photo .card-link { margin-inline: 1.8rem; }
.card-photo h3 { margin-top: 1.5rem; }
.card-photo .card-link { margin-bottom: 1.8rem; }
.price { color: var(--accent) !important; font-weight: 600; flex-grow: 0 !important; margin: 0; }
.card-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.card-link::after { content: " \2192"; }
.card-link:hover { text-decoration: underline; }
.card-cta { background: var(--primary); border-color: var(--primary); justify-content: center; align-items: flex-start; }
.card-cta h3, .card-cta p { color: var(--on-primary); }
.card-cta p { flex-grow: 0; margin-bottom: 1.5rem; }
.card-cta .btn { background: #fff; color: #0B0D12; border-color: #fff; }
.card-cta .btn:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }

/* Contact */
.contact { padding-block: var(--section); background: var(--surface); }
.contact .section-lead { color: var(--muted); }
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.details { margin: 2rem 0; display: grid; gap: 1.4rem; }
.details dt { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--link); margin-bottom: .2rem; }
.details dd { margin: 0; font-size: 1.1rem; }
.details a { text-decoration-color: var(--link); text-underline-offset: 4px; overflow-wrap: anywhere; }
.hours { border-collapse: collapse; font-size: 1rem; }
.hours th { text-align: left; font-weight: 500; padding: .2rem 1.5rem .2rem 0; }
.hours td { color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(11,13,18,.15); aspect-ratio: 4 / 3; background: #dfe3ee; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #C2C8DA; padding-top: 3.5rem; }
.foot { display: grid; gap: 2rem; align-items: center; padding-bottom: 2.5rem; }
.foot-brand { display: flex; align-items: center; gap: 1rem; }
.foot-brand img { border-radius: 12px; }
.foot-brand p { margin: 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; max-width: 16rem; }
.site-footer nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.foot .btn { justify-self: start; }
.legal { border-top: 1px solid #1C2030; padding-block: 1.4rem; font-size: .85rem; }
.legal p { margin: 0; }

/* Larger screens */
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
  .foot { grid-template-columns: 1.3fr 1fr auto; }
  .foot .btn { justify-self: end; }
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  #nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--background); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); display: none; }
  #nav.open { display: flex; }
  #nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  #nav .btn { margin-top: 1rem; }
  .brand-name { font-size: 1.05rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(11,13,18,.85), rgba(11,13,18,.7)); }
  .actions .btn { flex: 1 1 100%; }
}

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