/* GN MEDIA brand tokens. Change colors and spacing here. */
:root {
  --purple: #822DC6;
  --blue: #1D49A7;
  --black: #000000;
  --white: #FFFFFF;
  --ink: #111318;
  --muted: #4A4F5C;
  --line: #E4E6EC;
  --tint: #F6F5FA;
  --brand-gradient: linear-gradient(180deg, #004AAC 0%, #001E45 30%, #000000 55%, #2A0A3D 78%, #8D24CD 100%);
  --banner-gradient: linear-gradient(90deg, #004AAC 0%, #001E45 30%, #000000 55%, #2A0A3D 78%, #8D24CD 100%);
  --radius: 8px;
  --radius-sm: 6px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 var(--s2); color: var(--black); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 var(--s2); }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 768px) { .container { padding: 0 var(--s4); } }

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--white); color: var(--black); padding: var(--s1) var(--s2); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s2); }

.label {
  color: var(--blue); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: var(--s1);
}
.muted { color: var(--muted); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 12px var(--s3);
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 40px; padding: 8px var(--s2); font-size: 0.9375rem; }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: #6C22A8; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #EDE3F8; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.btn-row-center { justify-content: center; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

/* Header: gradient banner like the quote templates */
.site-header { background: var(--banner-gradient); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: var(--s1); padding-bottom: var(--s1); }
.brand img { width: 72px; height: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s3); }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: var(--s1) 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .brand img { width: 84px; }
}

/* Hero */
.hero { padding: var(--s5) 0 var(--s6); }
.hero-grid { display: grid; gap: var(--s4); align-items: center; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.faa-inline { display: flex; align-items: center; gap: var(--s1); margin: var(--s3) 0 0; font-weight: 600; color: var(--blue); font-size: 0.9375rem; }
@media (min-width: 900px) {
  .hero { padding: var(--s10) 0; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s6); }
}

/* Sections */
.section { padding: var(--s8) 0; }
.section-tint { background: var(--tint); }
@media (min-width: 900px) { .section { padding: var(--s12) 0; } }

/* Offers */
.offer { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .offer { grid-template-columns: 1fr 1.2fr; gap: var(--s8); align-items: start; } }
.price { display: flex; align-items: baseline; gap: var(--s1); flex-wrap: wrap; margin-bottom: var(--s2); }
.price .amount { color: var(--purple); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.price .unit { color: var(--muted); font-weight: 500; }
.option .price .amount { font-size: 1.5rem; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); margin-bottom: var(--s2); }
.card h3 { margin-bottom: var(--s2); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding-left: var(--s4); margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 6.6-6.6 1.4 1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.addons { margin: 0; }
.addons div { display: flex; justify-content: space-between; gap: var(--s2); padding: 12px 0; border-top: 1px solid var(--line); }
.addons div:first-child { border-top: 0; padding-top: 0; }
.addons dd { margin: 0; color: var(--purple); font-weight: 700; white-space: nowrap; }

.faa-badge {
  display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3);
  padding: var(--s2); border-radius: var(--radius); color: var(--white); background: var(--banner-gradient);
}
.faa-badge strong { display: block; }
.faa-badge span { font-size: 0.9375rem; opacity: .92; }

.subhead { margin-top: var(--s3); }
.option-grid { display: grid; gap: var(--s2); }
@media (min-width: 600px) { .option-grid { grid-template-columns: 1fr 1fr; } .option-grid .card { margin-bottom: 0; } }

.tool-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.tool-list li { padding: 6px 12px; border-radius: var(--radius-sm); background: #EAF0FB; color: var(--blue); font-size: 0.875rem; font-weight: 600; }
.about-logo { background: var(--white); }

/* Gallery */
.gallery-title { margin-top: var(--s5); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { gap: 12px; } .gallery-main { grid-template-columns: repeat(3, 1fr); } .gallery-more { grid-template-columns: repeat(4, 1fr); } }
.gallery-main li:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .gallery-main li:first-child { grid-column: span 2; grid-row: span 2; } }
.tile { display: block; height: 100%; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); }
.tile img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gallery-main li:first-child .tile img { aspect-ratio: auto; }
.tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }

/* About */
.about { display: grid; gap: var(--s4); align-items: center; }
.about p { max-width: 38em; }
.about-logo { width: 160px; border-radius: var(--radius); }
@media (min-width: 768px) { .about { grid-template-columns: 200px 1fr; gap: var(--s6); } .about-logo { width: 200px; } }

/* Contact */
.contact { text-align: center; max-width: 720px; }
.contact p:not(.label) { color: var(--muted); }
.service-area { margin-top: var(--s4); font-weight: 600; color: var(--ink) !important; }

/* Footer */
.site-footer { background: var(--banner-gradient); color: var(--white); padding: var(--s5) 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--s1); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }
.site-footer .small { font-size: 0.875rem; opacity: .9; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 0, .94); color: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox figure { margin: 0; max-width: calc(100vw - 32px); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: var(--s2); font-size: 0.9375rem; opacity: .9; padding: 0 var(--s6); }
.lb-btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn:focus-visible { outline-color: var(--white); }
.lb-close { top: var(--s2); right: var(--s2); }
.lb-prev { left: var(--s1); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--s1); top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) { .lb-prev { left: var(--s3); } .lb-next { right: var(--s3); } }
.nowrap { white-space: nowrap; }
