/* =============================================================================
   MY SEO AGENTS - /spanish-ads layer
   Loaded after system.css (the shared v2 tokens and hp- components) by
   spanish-ads.html and its thank-you page. Holds what only this offer uses:
   the hero with the video, the fact sheet, the screen, the inclusions schedule
   with the sample report, and the request form.

   Rhythm: hero (dark) -> facts + screen (paper) -> problem, steps (dark) ->
   what you get (paper) -> agreement, fit (dark) -> FAQ (paper) -> form (dark).
   ============================================================================= */

.ads-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }

/* --------------------------------- Hero ----------------------------------- */
.ads-hero { padding-top: calc(72px + clamp(2rem, 5vw, 4.5rem)); padding-bottom: clamp(3.5rem, 7vw, 7rem); }
.ads-hero__h { font-size: clamp(2.5rem, 1.45rem + 3.6vw, 4.25rem); line-height: 1.0; letter-spacing: -0.04em; }
.ads-hero .hp-lead { margin-top: var(--s-5); max-width: 44ch; }
.ads-hero__actions { margin-top: var(--s-6); display: flex; }
/* The assurance under the button is read closely, so it sits at --smoke
   (8.33:1), not the 4.12:1 grey it used before. */
.ads-hero__note { margin-top: var(--s-4); color: var(--smoke); font-size: 0.9375rem; line-height: 1.55; max-width: 46ch; }
.ads-video { margin-top: var(--s-7); }

/* Video: the 16:9 box is reserved before anything loads, so nothing shifts. */
.vslot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-2); }
.vslot video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink-2); }
.vcap { margin-top: var(--s-3); color: var(--smoke-2); font-size: 0.875rem; line-height: 1.55; max-width: none; }
.vtext { margin-top: var(--s-2); font-size: 0.875rem; color: var(--smoke); }
.vtext summary { cursor: pointer; width: max-content; max-width: 100%; padding-block: 0.6rem; font-weight: 500; color: var(--bone); }
.vtext summary:hover { color: var(--azure-hi); }
.vtext ol { display: grid; gap: 0.35rem; padding: 0.25rem 0 0.5rem 1.2rem; list-style: decimal; color: var(--smoke); line-height: 1.55; }

/* ------------------------- Audience: the fact sheet -----------------------
   Each figure gets a row, and its caveat sits beside it at reading size: the
   limits are given the same standing as the number. */
.ads-aud { margin-top: 0; }
.ads-facts { margin-top: var(--hp-gap-head); border-top: 1px solid var(--rule-2); }
.ads-fact { display: grid; gap: var(--s-3); padding-block: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.ads-fact__n {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 1.9rem + 4.6vw, 6.25rem);
  line-height: 0.9; letter-spacing: -0.05em; color: var(--type); font-variant-numeric: tabular-nums; max-width: none;
}
.ads-fact__l { font-weight: 700; font-size: var(--t-h4); line-height: 1.3; letter-spacing: -0.012em; color: var(--type); }
.ads-fact__c { margin-top: var(--s-2); color: var(--type-soft); font-size: var(--t-body); line-height: 1.6; max-width: 52ch; }

/* The screen, drawn at its real 1920 x 540 shape in a metal bezel. */
.ads-screen { margin-top: var(--hp-gap-head); }
.ads-screen__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-6); margin-bottom: var(--s-4); }
.ads-screen__spec { font-size: var(--t-label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--type-soft); }
.ads-bezel { padding: clamp(6px, 0.9vw, 12px); border-radius: var(--r-sm); background: #1b1e24; box-shadow: var(--shadow-card); }
.ads-bezel .lcd { border-radius: calc(var(--r-sm) - 8px); }

/* The sample ad. Sized in cqw so it scales as one piece at any width. */
.lcd { container-type: inline-size; width: 100%; aspect-ratio: 1920 / 540; overflow: hidden; position: relative; background: var(--azure-deep); }
.lcd__in { position: absolute; inset: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4cqw; padding: 3cqw 3.6cqw; background: var(--azure-deep); color: #fff; }
.lcd__tag { position: absolute; top: 2cqw; left: 3.6cqw; font-family: var(--font-sans); font-weight: 700; font-size: 1.4cqw; letter-spacing: 0.14em; text-transform: uppercase; background: #fff; color: var(--azure-deep); padding: 0.35cqw 0.9cqw; border-radius: 0.5cqw; max-width: none; }
.lcd__firm { font-family: var(--font-display); font-weight: 700; font-size: 6.2cqw; line-height: 1; letter-spacing: -0.035em; max-width: none; }
.lcd__sub { margin-top: 1.2cqw; font-size: 2.2cqw; color: rgba(255, 255, 255, 0.82); max-width: none; font-weight: 500; }
.lcd__mark { width: 15cqw; height: 15cqw; border-radius: 1.6cqw; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; font-size: 1.6cqw; font-weight: 500; color: rgba(255, 255, 255, 0.85); text-align: center; line-height: 1.3; }
.lcd__qr { background: #fff; padding: 1cqw; border-radius: 1cqw; width: 20cqw; }
.lcd__qr svg { display: block; width: 100%; height: auto; }
.lcd__qrcap { font-family: var(--font-sans); font-weight: 700; font-size: 1.2cqw; color: var(--azure-deep); text-align: center; margin-top: 0.4cqw; max-width: none; letter-spacing: 0.1em; }

/* ------------------- What you get: schedule + sample report -------------- */
.ads-incl__list { margin-top: var(--hp-gap-head); border-top: 1px solid var(--rule-2); }
.ads-incl__item { display: grid; gap: var(--s-2); padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.ads-incl__item .hp-body { color: var(--type-soft); max-width: 46ch; }
.ads-incl__item a { color: var(--type); font-weight: 700; text-decoration: underline; text-decoration-color: var(--azure-deep); text-underline-offset: 0.2em; }

/* The sample report reads as a document: paper card, ruled rows, and drawn
   blanks where real counts will go. */
.ads-report {
  margin-top: var(--s-7);
  background: var(--paper-hi); border: 1px solid var(--rule); border-radius: var(--r-sm);
  box-shadow: var(--shadow-card); padding: clamp(1.5rem, 3vw, 2.5rem);
}
.ads-report .hp-h3 { margin: var(--s-4) 0 var(--s-5); }
.ads-report__row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-block: var(--s-4); border-top: 1px solid var(--rule); color: var(--type); font-weight: 500; }
.ads-blank { display: inline-block; width: 3.5rem; height: 2px; border-radius: 2px; background: var(--rule-2); }
.ads-report__note { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--rule); color: var(--type-soft); font-size: 0.9375rem; line-height: 1.55; }

/* -------------------------------- Request ---------------------------------
   The dark closer. The repeated assurances sit as a quiet list here, so the
   form, not the reassurance, carries the weight. */
#request { scroll-margin-top: 72px; }
.ads-req__aside .hp-lead { margin-top: var(--s-5); }
.ads-req__points { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-3); }
.ads-req__points li { position: relative; padding-left: 1.5rem; color: var(--smoke); font-size: var(--t-body); line-height: 1.55; max-width: 44ch; }
.ads-req__points li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.75rem; height: 1px; background: var(--smoke-2); }
.ads-req__points strong { color: var(--bone); font-weight: 700; }
.ads-req__contact { margin-top: var(--s-6); display: grid; gap: var(--s-2); color: var(--smoke); font-size: var(--t-body); }
.ads-req__contact a, .ads-req__intro a { color: var(--bone); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; }
.ads-req__contact a:hover, .ads-req__intro a:hover { color: var(--azure-hi); text-decoration-color: currentColor; }
.ads-req__intro { margin-top: var(--s-5); color: var(--smoke); font-size: 0.9375rem; line-height: 1.6; }
.ads-form { margin-top: var(--hp-gap-head); background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r-sm); padding: clamp(1.5rem, 3vw, 2.5rem); }
.ads-form .field > label { font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--bone); }

/* ------------------------------ Thank-you page ---------------------------- */
.ads-thanks { padding-top: calc(72px + clamp(3rem, 8vw, 7rem)); min-height: 70vh; }

/* ----------------------------- Desktop grid ------------------------------- */
@media (min-width: 900px) {
  .ads-hero__copy  { grid-column: 1 / span 5; align-self: center; }
  .ads-video       { grid-column: 7 / -1; margin-top: 0; align-self: center; }

  .ads-aud__head   { grid-column: 1 / span 8; }
  .ads-facts       { grid-column: 1 / -1; }
  .ads-fact        { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hp-col-gap); align-items: baseline; }
  .ads-fact__n     { grid-column: 1 / span 5; }
  .ads-fact__body  { grid-column: 7 / -1; }
  .ads-screen      { grid-column: 1 / -1; }

  .ads-incl__head  { grid-column: 1 / span 7; }
  .ads-incl__list  { grid-column: 1 / span 7; }
  .ads-incl__item  { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--hp-col-gap); align-items: baseline; }
  .ads-report      { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: start; position: sticky; top: 7.5rem; margin-top: 0; }

  .ads-req__aside  { grid-column: 1 / span 5; }
  .ads-form        { grid-column: 7 / -1; margin-top: 0; align-self: start; }
}

@media (max-width: 560px) {
  .ads-report__row { font-size: 0.9375rem; }
}
