/* ==========================================================================
   Visible on AI: the About page (/about, resources/views/pages/about.blade.php).
   Loaded by that page only, after assets/css/v3.css, whose tokens, type and blocks it uses
   (v3-h1, v3-h2, v3-lead, v3-short, v3-also__list, v3-steps, v3-work__row, v3-link, v3-btn).
   Everything here starts with .v3-ab-, or sits under one of these sections.
   ========================================================================== */

/* ---------- Who: heading, "In short" and the facts card ---------- */

.v3-ab-intro { background: #fff; }
.v3-ab-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.v3-ab-intro .v3-h1 em { color: var(--g2); font-family: "Newsreader", Georgia, "Times New Roman", serif; font-size: 1.04em; font-style: italic; font-weight: 500; letter-spacing: -0.02em; }
.v3-ab-intro .v3-lead { max-width: 46ch; }
.v3-ab-short { margin-top: clamp(32px, 4vw, 56px); grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.v3-ab-short .v3-short__text { color: var(--ink); font-size: clamp(17px, 1.3vw, 19px); }

/* The facts card: a ruled record with a green edge, the look of the audit form's card. */
.v3-ab-card {
  position: relative;
  padding: clamp(24px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 40px 80px -44px rgba(0, 90, 50, 0.3);
  overflow: hidden;
}
.v3-ab-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--g), var(--g2) 60%, rgba(0, 144, 102, 0.2)); }
.v3-ab-card__title { margin: 0 0 18px; color: var(--ink); font-family: var(--display); font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.v3-ab-card__list { margin: 0; border-top: 1px solid var(--ink); }
.v3-ab-card__list > div { display: grid; grid-template-columns: minmax(88px, 116px) minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.v3-ab-card__list dt { color: var(--body); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0.02em; }
.v3-ab-card__list dd { margin: 0; color: var(--ink); font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.v3-ab-card__list dd > a:not(.v3-ab-card__more) { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(0, 144, 102, 0.5); text-underline-offset: 3px; }
.v3-ab-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--g-ink); font-size: 13.5px; font-weight: 600; }
.v3-ab-card__list dd .v3-ab-card__more { display: flex; width: max-content; }
.v3-ab-card__more .v3-ico { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.v3-ab-card__profiles { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.v3-ab-card__profiles a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(0, 144, 102, 0.5); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .v3-ab-card__list dd a:hover { color: var(--g2); }
  .v3-ab-card__more:hover .v3-ico { transform: translate(2px, -2px); }
}

/* ---------- What: SEO, AEO and GEO, then the services ---------- */

.v3-ab-do { background: var(--mint); }
.v3-ab-defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); margin: 0; padding: 0; list-style: none; }
.v3-ab-def { padding-top: 22px; border-top: 1px solid var(--ink); }
.v3-ab-def__name { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(64px, 7.4vw, 120px); font-weight: 500; line-height: 0.9; letter-spacing: -0.055em; }
.v3-ab-def:nth-child(3) .v3-ab-def__name { color: var(--g2); }
.v3-ab-def__term { margin: 18px 0 0; color: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.v3-ab-def__text { margin: 10px 0 0; max-width: 34ch; color: var(--ink); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; }
.v3-ab-services { margin-top: clamp(56px, 7vw, 104px); }
.v3-ab-label { margin: 0 0 14px; color: var(--body); font-size: 14px; font-weight: 500; }
.v3-ab-services .v3-also__list { margin-bottom: 28px; }

/* ---------- How: the five steps on the page's one dark chapter ---------- */

.v3-ab-how { background: var(--black); color: #fff; overflow: hidden; isolation: isolate; }
.v3-ab-how .v3-h2 { color: #fff; }
.v3-ab-how .v3-lead { color: rgba(255, 255, 255, 0.72); }
.v3-ab-how .v3-link { margin-top: 30px; color: #fff; }
.v3-ab-how .v3-steps__rail { background: rgba(255, 255, 255, 0.16); }
.v3-ab-how .v3-step__dot { border-color: rgba(255, 255, 255, 0.4); background: var(--black); }
.v3-ab-how .v3-step.is-on .v3-step__dot { border-color: var(--g); background: var(--g); box-shadow: 0 0 0 6px rgba(0, 167, 89, 0.22); }
.v3-ab-how .v3-step__title { color: #fff; font-size: clamp(30px, 3.1vw, 48px); }
.v3-ab-how .v3-step__text { color: rgba(255, 255, 255, 0.72); }
.v3-ab-how .v3-step { padding-bottom: clamp(40px, 5vw, 76px); }
.v3-ab-how .v3-step:last-child { padding-bottom: 0; }
.v3-ab-step__no { margin: 0 0 10px; color: var(--g); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
  .v3-ab-how .v3-link:hover { color: var(--g); }
}

/* ---------- For whom, and the results ---------- */

.v3-ab-who { background: #fff; }
.v3-ab-inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 56px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.v3-ab-inds a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: baseline; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.v3-ab-inds__no { color: var(--g-ink); font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.v3-ab-inds__name { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; transition: color 0.2s ease; }
.v3-ab-inds .v3-ico { align-self: center; color: var(--ink); transition: transform 0.4s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .v3-ab-inds a:hover .v3-ab-inds__name { color: var(--g2); }
  .v3-ab-inds a:hover .v3-ico { transform: translate(3px, -3px); }
}
.v3-ab-results__head { margin-top: clamp(80px, 9vw, 150px); }
/* The client's name is an H3 here (an H2 on the case studies page): the same look. */
.v3-work__who h3 { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; transition: color 0.3s ease; }
@media (hover: hover) and (pointer: fine) {
  .v3-work__row a:hover h3 { color: var(--g2); }
}

/* ---------- What it costs: one ruled table ---------- */

.v3-ab-cost { background: var(--mint); }
.v3-ab-cost__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.v3-ab-cost__intro { position: sticky; top: 120px; }
.v3-ab-cost__intro .v3-link { margin-top: 28px; }
.v3-ab-table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 16px; line-height: 1.5; }
.v3-ab-table thead th { padding: 0 18px 12px 0; border-bottom: 1px solid var(--ink); color: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
.v3-ab-table tbody th, .v3-ab-table td { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.v3-ab-table tbody th { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.v3-ab-table td:last-child { color: var(--body); }
.v3-ab-table__price { white-space: nowrap; }
.v3-ab-table__price strong { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.v3-ab-table__offer { display: block; margin-top: 6px; color: var(--g-ink); font-size: 13.5px; font-weight: 600; white-space: normal; }
.v3-ab-table__offer s { color: var(--body); font-weight: 500; }
.v3-ab-table__badge { display: inline-block; margin: 0 0 0 10px; padding: 3px 9px; border-radius: 999px; background: var(--g); color: #fff; font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.35em; }
.v3-ab-table tr.is-featured th, .v3-ab-table tr.is-featured td { background: linear-gradient(90deg, rgba(0, 167, 89, 0.08), rgba(0, 167, 89, 0)); }
.v3-ab-table tr.is-featured th { box-shadow: inset 3px 0 0 var(--g); padding-left: 16px; }
.v3-ab-cost__note { margin: 20px 0 0; max-width: 64ch; color: var(--body); font-size: 14px; line-height: 1.55; }

/* ---------- Where: the office, the profiles, the parent company ---------- */

.v3-ab-where { background: #fff; }
.v3-ab-where__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.v3-ab-where__card { padding-top: 26px; border-top: 1px solid var(--ink); }
.v3-ab-where__address { margin: 0; max-width: 24ch; color: var(--ink); font-family: var(--display); font-size: clamp(28px, 3vw, 46px); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.v3-ab-where__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.v3-ab-profiles { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; padding: 0; list-style: none; }
.v3-ab-profiles a { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px; border-bottom: 1.5px solid var(--line); color: var(--ink); font-family: var(--display); font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; transition: border-color 0.3s ease, color 0.2s ease; }
.v3-ab-profiles .v3-ico { transition: transform 0.4s var(--ease); }
.v3-ab-where__parent { margin: 40px 0 0; color: var(--body); font-size: 15px; }
.v3-ab-where__parent a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 144, 102, 0.5); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .v3-ab-profiles a:hover { border-color: var(--g); color: var(--g2); }
  .v3-ab-profiles a:hover .v3-ico { transform: translate(3px, -3px); }
  .v3-ab-where__parent a:hover { color: var(--g2); }
}
/* The questions follow on the same white: no second full gap between the two. */
.v3-ab-where + .v3-faq { padding-top: 0; }

/* ---------- Smaller screens ---------- */

@media (max-width: 1099px) {
  .v3-ab-intro__grid { grid-template-columns: minmax(0, 1fr); }
  .v3-ab-card { max-width: 620px; }
}
@media (max-width: 899px) {
  .v3-ab-defs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v3-ab-def { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); column-gap: 20px; padding: 20px 0 22px; }
  .v3-ab-def__name { grid-row: 1 / span 2; font-size: clamp(52px, 13vw, 76px); }
  .v3-ab-def__term { margin-top: 4px; }
  .v3-ab-cost__grid, .v3-ab-where__grid { grid-template-columns: minmax(0, 1fr); }
  .v3-ab-cost__intro { position: static; }
  .v3-ab-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .v3-ab-short { grid-template-columns: minmax(0, 1fr); }
  .v3-ab-card__list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .v3-ab-inds { grid-template-columns: minmax(0, 1fr); }
  .v3-ab-def { grid-template-columns: minmax(0, 1fr); }
  .v3-ab-def__name { grid-row: auto; }
  /* The table becomes one block per plan. */
  .v3-ab-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .v3-ab-table, .v3-ab-table tbody, .v3-ab-table tr, .v3-ab-table th, .v3-ab-table td { display: block; }
  .v3-ab-table tr { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
  .v3-ab-table tr:first-child { border-top: 1px solid var(--ink); }
  .v3-ab-table tbody th, .v3-ab-table td { padding: 0; border: 0; }
  .v3-ab-table td { margin-top: 8px; }
  .v3-ab-table tr.is-featured { padding-left: 14px; box-shadow: inset 3px 0 0 var(--g); background: linear-gradient(90deg, rgba(0, 167, 89, 0.08), rgba(0, 167, 89, 0)); }
  .v3-ab-table tr.is-featured th, .v3-ab-table tr.is-featured td { background: none; box-shadow: none; padding-left: 0; }
  .v3-ab-where__actions .v3-btn { width: 100%; justify-content: center; }
}
