/**
 * NYC TV Mounts AV service pages: landing-page styling.
 *
 * Scoped entirely under .nyctv-av-page so it never touches the theme
 * chrome (header, hero band, footer). Matches the shipped NYC TV Mounts
 * identity: navy ink, brand blue, Inter, 6px radius, the same palette the
 * embedded AV form already uses, so the page and its form read as one thing.
 *
 * The page copy and pricing are owner-locked; this file changes only how the
 * existing markup looks, never what it says.
 */

.nyctv-av-page {
  --av-ink: #0a1f33;
  --av-ink-2: #1c2733;
  --av-muted: #4a5a6b;
  --av-blue: #1a5dab;
  --av-blue-dark: #14497f;
  --av-tint: #eef4fb;
  --av-tint-2: #f5f8fc;
  --av-rule: #dbe3ec;
  --av-white: #ffffff;
  --av-shadow: 0 18px 40px -28px rgba(10, 31, 51, .38);
  --av-shadow-sm: 0 6px 18px -12px rgba(10, 31, 51, .3);

  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(8px, 3vw, 28px) clamp(18px, 5vw, 40px) clamp(56px, 8vw, 96px);
  color: var(--av-ink-2);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.08rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nyctv-av-page *,
.nyctv-av-page *::before,
.nyctv-av-page *::after { box-sizing: border-box; }

/* Prose measure: keep body text readable, never full-width. */
.nyctv-av-page section > p { max-width: 68ch; }

.nyctv-av-page h1,
.nyctv-av-page h2,
.nyctv-av-page h3 {
  color: var(--av-ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

.nyctv-av-page h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.nyctv-av-page h2 {
  font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.9rem);
  line-height: 1.15;
  font-weight: 750;
}

.nyctv-av-page h3 {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 700;
}

.nyctv-av-page a { color: var(--av-blue); text-decoration: none; }
.nyctv-av-page a:hover { color: var(--av-blue-dark); }

/* Section rhythm: generous, varied. */
.nyctv-av-page > section { margin-top: clamp(40px, 6vw, 72px); }
.nyctv-av-page > section:first-child { margin-top: clamp(20px, 3vw, 32px); }

/* ------------------------------------------------------------------ */
/* Intro block (#top): the value headline + price + primary actions.  */
/* The theme hero above shows the SEO title; this block carries the    */
/* real headline, the offer, and the action, in the first screen.      */
/* ------------------------------------------------------------------ */

.nyctv-av-page #top {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) clamp(30px, 4vw, 46px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(26, 93, 171, .07), transparent 60%),
    var(--av-tint);
  border: 1px solid var(--av-rule);
  border-radius: 14px;
}

.nyctv-av-page #top h1 { max-width: 18ch; }

.nyctv-av-page #top p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Buttons: the hero CTAs were plain text; make them real controls. */
.nyctv-av-page .nyctv-av-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1;
  border: 1.5px solid var(--av-blue);
  color: var(--av-blue);
  background: var(--av-white);
  transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s, background .18s, color .18s;
  min-height: 46px;
}
.nyctv-av-page .nyctv-av-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--av-shadow-sm);
}
.nyctv-av-page .nyctv-av-cta-primary {
  background: var(--av-blue);
  color: #fff;
  border-color: var(--av-blue);
}
.nyctv-av-page .nyctv-av-cta-primary:hover {
  background: var(--av-blue-dark);
  border-color: var(--av-blue-dark);
  color: #fff;
}
.nyctv-av-page .nyctv-av-cta-phone {
  border-color: var(--av-rule);
  color: var(--av-ink);
  background: var(--av-white);
}
.nyctv-av-page .nyctv-av-cta-phone:hover { border-color: var(--av-blue); color: var(--av-blue); }

/* ------------------------------------------------------------------ */
/* Supported-service sections (#wifi #audio #projector #controls       */
/* #outdoor): grouped into a responsive two-column band, not identical */
/* boxed cards. Each keeps its own heading, description, and action.    */
/* ------------------------------------------------------------------ */

.nyctv-av-page #wifi,
.nyctv-av-page #audio,
.nyctv-av-page #projector,
.nyctv-av-page #controls,
.nyctv-av-page #outdoor {
  margin-top: 0;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--av-white);
  border-top: 3px solid var(--av-blue);
  border-inline: 1px solid var(--av-rule);
  border-bottom: 1px solid var(--av-rule);
  display: flex;
  flex-direction: column;
}
.nyctv-av-page #wifi p,
.nyctv-av-page #audio p,
.nyctv-av-page #projector p,
.nyctv-av-page #controls p,
.nyctv-av-page #outdoor p { color: var(--av-muted); }

/* The service action link inside a service section: a compact button. */
.nyctv-av-page #wifi .nyctv-av-cta,
.nyctv-av-page #audio .nyctv-av-cta,
.nyctv-av-page #projector .nyctv-av-cta,
.nyctv-av-page #controls .nyctv-av-cta,
.nyctv-av-page #outdoor .nyctv-av-cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 0.95rem;
  min-height: 42px;
}
.nyctv-av-page #wifi p:has(.nyctv-av-cta),
.nyctv-av-page #audio p:has(.nyctv-av-cta),
.nyctv-av-page #projector p:has(.nyctv-av-cta),
.nyctv-av-page #controls p:has(.nyctv-av-cta),
.nyctv-av-page #outdoor p:has(.nyctv-av-cta) {
  margin-top: 18px;
  margin-bottom: 0;
}

@media (min-width: 720px) {
  /* Pull the five service sections into a 2-col grid via a wrapper the
     theme can't provide, using grid on the article and spanning the
     non-service sections full width. */
  .nyctv-av-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
  .nyctv-av-page > section { grid-column: 1 / -1; }
  .nyctv-av-page #wifi,
  .nyctv-av-page #audio,
  .nyctv-av-page #projector,
  .nyctv-av-page #controls,
  .nyctv-av-page #outdoor { grid-column: span 1; }
  /* Row rhythm for the service band. */
  .nyctv-av-page #wifi { margin-top: clamp(40px, 6vw, 72px); }
  .nyctv-av-page #audio { margin-top: clamp(40px, 6vw, 72px); }
}

/* ------------------------------------------------------------------ */
/* First-hour process (#first-hour): a genuine ordered sequence.       */
/* ------------------------------------------------------------------ */

.nyctv-av-page #first-hour {
  padding: clamp(26px, 3vw, 40px);
  background: var(--av-ink);
  border-radius: 14px;
  color: #dce6f1;
}
.nyctv-av-page #first-hour h2 { color: #fff; }
.nyctv-av-page #first-hour ol {
  counter-reset: step;
  list-style: none;
  margin: 8px 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .nyctv-av-page #first-hour ol { grid-template-columns: 1fr 1fr; gap: 16px 28px; }
}
.nyctv-av-page #first-hour li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  min-height: 32px;
  line-height: 1.5;
}
.nyctv-av-page #first-hour li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--av-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.nyctv-av-page #first-hour > p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #b9c9da;
  max-width: none;
}

/* ------------------------------------------------------------------ */
/* Pricing (#pricing): the decision moment. Two boroughs, big numbers. */
/* ------------------------------------------------------------------ */

.nyctv-av-page #pricing { }
.nyctv-av-page #pricing h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--av-muted);
  text-transform: none;
}
.nyctv-av-page #pricing ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nyctv-av-page #pricing ul li:first-child {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem);
  font-weight: 800;
  color: var(--av-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.nyctv-av-page #pricing ul li:not(:first-child) {
  color: var(--av-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}
/* Lay the two borough blocks (h3+ul pairs) side by side. */
.nyctv-av-page #pricing {
  display: grid;
  gap: 4px 24px;
  grid-template-columns: 1fr;
}
.nyctv-av-page #pricing > h2 { grid-column: 1 / -1; }
.nyctv-av-page #pricing > p { grid-column: 1 / -1; max-width: 68ch; color: var(--av-muted); }
@media (min-width: 620px) {
  .nyctv-av-page #pricing { grid-template-columns: 1fr 1fr; }
}
.nyctv-av-page #pricing > h3,
.nyctv-av-page #pricing > ul {
  padding: 22px 24px;
  background: var(--av-tint);
  border: 1px solid var(--av-rule);
  margin: 0;
}
.nyctv-av-page #pricing > h3 { border-bottom: 0; padding-bottom: 6px; border-radius: 12px 12px 0 0; }
.nyctv-av-page #pricing > ul { border-top: 0; padding-top: 10px; border-radius: 0 0 12px 12px; margin-bottom: 6px; }

/* ------------------------------------------------------------------ */
/* Secondary info blocks: after-hours, policies, not-included.         */
/* ------------------------------------------------------------------ */

.nyctv-av-page #after-hours,
.nyctv-av-page #policies,
.nyctv-av-page #not-included {
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 30px);
  background: var(--av-tint-2);
  border: 1px solid var(--av-rule);
  border-radius: 12px;
}
.nyctv-av-page #after-hours ul,
.nyctv-av-page #policies ul,
.nyctv-av-page #not-included ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.nyctv-av-page #after-hours li,
.nyctv-av-page #policies li,
.nyctv-av-page #not-included li {
  position: relative;
  padding-left: 26px;
  color: var(--av-ink-2);
}
.nyctv-av-page #after-hours li::before,
.nyctv-av-page #policies li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--av-blue);
}
.nyctv-av-page #not-included li::before {
  content: "\00d7";
  position: absolute;
  left: 2px;
  top: -0.05em;
  color: #97a4b2;
  font-weight: 700;
}
.nyctv-av-page #not-included { background: var(--av-white); }
.nyctv-av-page #not-included li { color: var(--av-muted); }

@media (min-width: 720px) {
  .nyctv-av-page #after-hours ul,
  .nyctv-av-page #not-included ul { grid-template-columns: 1fr 1fr; gap: 8px 28px; }
}

/* ------------------------------------------------------------------ */
/* Request section (#request): frame the embedded form.                */
/* av-forms.css styles the form itself; this frames the section.       */
/* ------------------------------------------------------------------ */

.nyctv-av-page #request {
  padding: clamp(26px, 3vw, 40px);
  background: var(--av-white);
  border: 1px solid var(--av-rule);
  border-radius: 16px;
  box-shadow: var(--av-shadow);
  scroll-margin-top: 90px;
}
.nyctv-av-page #request > p { color: var(--av-muted); }

/* ------------------------------------------------------------------ */
/* FAQ (#faq): question/answer pairs as a clean divided list, no JS.   */
/* ------------------------------------------------------------------ */

.nyctv-av-page #faq h3 {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--av-rule);
  color: var(--av-ink);
}
.nyctv-av-page #faq h3:first-of-type { margin-top: 12px; padding-top: 0; border-top: 0; }
.nyctv-av-page #faq p { color: var(--av-muted); margin-top: 6px; }

/* ------------------------------------------------------------------ */
/* Motion + accessibility                                              */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .nyctv-av-page .nyctv-av-cta { transition: none; }
  .nyctv-av-page .nyctv-av-cta:hover { transform: none; }
}

.nyctv-av-page a:focus-visible,
.nyctv-av-page .nyctv-av-cta:focus-visible {
  outline: 3px solid #63a8ee;
  outline-offset: 3px;
}
