/* AcquisirePro — Commercial sales page
   Token ufficiali Brand identity */

:root {
  --ap-navy: #0E1626;
  --ap-slate: #243247;
  --ap-gold: #C9A24B;
  --ap-gold-hover: #B38D3D;
  --ap-ivory: #F5F1EA;
  --ap-stone: #C9C3B8;
  --ap-white: #FFFFFF;
  --ap-bg: #FAFAF8;
  --ap-text: #0E1626;
  --ap-muted: #5D6470;
  --ap-border: #E3E1DC;
  --ap-success: #26834A;
  --ap-error: #B83A3A;
  --ap-radius: 8px;
  --ap-radius-lg: 12px;
  --ap-shadow: 0 2px 10px rgba(14, 22, 38, 0.06);
  --ap-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ap-wrap: 1120px;
  --ap-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ap-body {
  margin: 0;
  font-family: var(--ap-font);
  color: var(--ap-text);
  background:
    linear-gradient(180deg, #F7F4EE 0%, var(--ap-ivory) 28%, var(--ap-bg) 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

.ap-wrap {
  width: min(100% - 2rem, var(--ap-wrap));
  margin-inline: auto;
}

.ap-narrow { max-width: 40rem; }

.ap-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ap-gold);
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; color: var(--ap-navy); }

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 650;
}

.ap-lede {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ap-muted);
  max-width: 38rem;
}

.ap-note {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--ap-muted);
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--ap-radius);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.ap-btn:focus-visible {
  outline: 3px solid var(--ap-gold);
  outline-offset: 2px;
}

.ap-btn--primary {
  background: var(--ap-gold);
  color: var(--ap-navy);
}

.ap-btn--primary:hover { background: var(--ap-gold-hover); }

.ap-btn--ghost {
  background: var(--ap-white);
  border-color: var(--ap-border);
  color: var(--ap-navy);
}

.ap-btn--ghost:hover { border-color: var(--ap-stone); }

.ap-btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.ap-btn--block { width: 100%; }

/* Header */
.ap-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ap-header.is-scrolled {
  border-bottom-color: var(--ap-border);
  box-shadow: var(--ap-shadow);
}

.ap-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--ap-header-h);
  gap: 1rem;
}

.ap-logo img { width: 150px; height: auto; }

.ap-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ap-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ap-slate);
}

.ap-nav a:hover { color: var(--ap-navy); }

.ap-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  background: var(--ap-white);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ap-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ap-navy);
}

/* Sections */
.ap-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.ap-section--alt { background: rgba(255,255,255,0.45); }
.ap-section__intro { margin-bottom: 2rem; }
.ap-section__cta { margin-top: 2rem; }

.ap-hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.ap-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ap-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}

.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ap-hero__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ap-muted);
}

.ap-media-ph {
  margin: 0;
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ap-border);
  background:
    linear-gradient(145deg, #EFEAE2 0%, #E4DED4 100%);
  box-shadow: var(--ap-shadow);
}

.ap-media-ph__inner {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.5rem;
}

.ap-media-ph__mark {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ap-gold);
}

.ap-media-ph__hint {
  font-size: 0.875rem;
  color: var(--ap-muted);
}

.ap-checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.ap-checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ap-slate);
}

.ap-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ap-gold);
}

.ap-checklist--muted li { color: var(--ap-muted); }

.ap-subhead {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  color: var(--ap-navy);
}

.ap-chain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 780px) {
  .ap-chain {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
    align-items: stretch;
  }
}

.ap-chain li {
  position: relative;
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 0.9rem 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  color: var(--ap-navy);
}

@media (min-width: 780px) {
  .ap-chain li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.55rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ap-gold);
    font-weight: 700;
    z-index: 1;
  }
}

.ap-metric-path {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .ap-metric-path {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ap-metric-path li {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 0.85rem 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}

.ap-assurance {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 720px) {
  .ap-assurance { grid-template-columns: 1fr 1fr; }
}

.ap-assurance li {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}

.ap-assurance-block {
  margin-top: 1rem;
  padding: 1.35rem 1.4rem;
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  box-shadow: var(--ap-shadow);
}

.ap-assurance-block h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.ap-assurance-block p { margin: 0 0 0.85rem; color: var(--ap-slate); }
.ap-assurance-block p:last-child { margin-bottom: 0; }

.ap-assurance-block__strong {
  font-weight: 700;
  color: var(--ap-navy) !important;
  line-height: 1.55;
}

.ap-assurance-block--muted {
  background: #FAFAF8;
  box-shadow: none;
}

.ap-deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .ap-deliverables { grid-template-columns: 1fr 1fr; }
}

.ap-deliverables li {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
}

.ap-deliverables strong { color: var(--ap-navy); }
.ap-deliverables span { color: var(--ap-muted); font-size: 0.92rem; }

.ap-pipeline {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ap-pipeline li {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  background: var(--ap-white);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ap-navy);
}

.ap-flow {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .ap-flow { grid-template-columns: repeat(3, 1fr); }
}

.ap-flow li {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--ap-shadow);
  display: grid;
  gap: 0.35rem;
}

.ap-flow__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: var(--ap-navy);
  background: var(--ap-ivory);
  border-radius: var(--ap-radius);
  margin-bottom: 0.25rem;
}

.ap-flow strong { font-size: 1rem; }
.ap-flow span { font-size: 0.9rem; color: var(--ap-muted); }

.ap-process-media { margin-top: 2rem; }

.ap-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--ap-radius-lg);
  border: 1px solid var(--ap-border);
  background: var(--ap-navy);
  overflow: hidden;
  box-shadow: var(--ap-shadow);
}

.ap-video__frame--empty {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  background:
    linear-gradient(160deg, var(--ap-slate) 0%, var(--ap-navy) 100%);
  color: var(--ap-white);
}

.ap-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ap-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: var(--ap-radius);
  background: var(--ap-gold);
  color: var(--ap-navy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.ap-modes {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .ap-modes { grid-template-columns: 1fr 1fr; }
}

.ap-mode {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ap-shadow);
}

.ap-mode__path {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ap-gold);
  margin: 0 0 0.75rem;
}

.ap-mode ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--ap-slate);
  font-size: 0.95rem;
}

.ap-mode ul li::before {
  content: "– ";
  color: var(--ap-gold);
}

.ap-pricing {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .ap-pricing { grid-template-columns: 1fr 1fr; }
}

.ap-price-card {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ap-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ap-price-card__amount {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}

.ap-price-card__amount span {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ap-navy);
  letter-spacing: -0.03em;
}

.ap-price-card__amount small {
  color: var(--ap-muted);
  font-size: 0.9rem;
}

.ap-price-card__total {
  margin: 0;
  font-weight: 600;
  color: var(--ap-slate);
}

.ap-price-card__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ap-muted);
}

.ap-price-card__list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  color: var(--ap-slate);
}

.ap-price-card__list li {
  padding-left: 1rem;
  position: relative;
}

.ap-price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ap-gold);
}

.ap-price-card .ap-btn { margin-top: auto; }

.ap-tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.35rem 0 0.75rem;
}

.ap-tier-table th,
.ap-tier-table td {
  text-align: left;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--ap-border);
}

.ap-tier-table th {
  color: var(--ap-muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.ap-tier-table--wide {
  max-width: 28rem;
}

.ap-google-addon {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  box-shadow: var(--ap-shadow);
}

.ap-google-addon h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.ap-google-addon > p {
  margin: 0 0 0.75rem;
  color: var(--ap-muted);
  font-size: 0.95rem;
}

.ap-config {
  display: grid;
  gap: 1.25rem;
}

.ap-budget-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 520px) {
  .ap-budget-grid { grid-template-columns: repeat(3, 1fr); }
}

.ap-budget-opt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  background: var(--ap-white);
  cursor: pointer;
  font-size: 0.9rem;
}

.ap-budget-opt:has(input:checked) {
  border-color: var(--ap-navy);
  box-shadow: inset 0 0 0 1px var(--ap-navy);
}

.ap-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.ap-cfg-quote {
  margin-top: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  background: #FAFAF8;
}

.ap-cfg-quote__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.ap-cfg-quote__lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.ap-cfg-quote__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--ap-border);
}

.ap-cfg-quote__totals {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.ap-cfg-quote__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.ap-cfg-quote__totals dt { color: var(--ap-muted); }
.ap-cfg-quote__totals dd { margin: 0; font-weight: 600; }

.ap-cfg-quote__grand dt,
.ap-cfg-quote__grand dd {
  color: var(--ap-navy);
  font-weight: 700;
}

.ap-cfg-quote__custom {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--ap-radius);
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
}

.ap-cfg-quote__custom p { margin: 0 0 0.65rem; }
.ap-cfg-quote__custom .ap-btn { margin-top: 0.35rem; }

.ap-quote-summary {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--ap-radius);
  background: #F3F1EB;
  border: 1px solid var(--ap-border);
}

.ap-compare {
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  background: var(--ap-white);
  box-shadow: var(--ap-shadow);
}

.ap-compare__head,
.ap-compare__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.ap-compare__head {
  background: var(--ap-navy);
  color: var(--ap-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.ap-compare__row:nth-child(even) { background: #FAFAF8; }
.ap-compare__row { border-top: 1px solid var(--ap-border); font-size: 0.95rem; }

@media (max-width: 720px) {
  .ap-compare__head { display: none; }
  .ap-compare__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem;
  }
  .ap-compare__row [data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--ap-muted);
    font-size: 0.8rem;
  }
}

.ap-invest {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 800px) {
  .ap-invest { grid-template-columns: 1fr 1fr; }
}

.ap-invest__card {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.35rem;
  box-shadow: var(--ap-shadow);
}

.ap-invest__card dl { margin: 1rem 0 0; display: grid; gap: 0.75rem; }
.ap-invest__card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}
.ap-invest__card dt { color: var(--ap-muted); }
.ap-invest__card dd { margin: 0; font-weight: 600; }
.ap-invest__total { padding-top: 0.75rem; border-top: 1px solid var(--ap-border); }
.ap-invest__total dd { color: var(--ap-navy); font-size: 1.05rem; }

.ap-steps {
  list-style: none;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .ap-steps { grid-template-columns: repeat(2, 1fr); }
}

.ap-steps li {
  display: flex;
  gap: 1rem;
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.2rem;
  box-shadow: var(--ap-shadow);
}

.ap-steps__n {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ap-navy);
  color: var(--ap-white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.ap-steps p { margin: 0; color: var(--ap-muted); font-size: 0.95rem; }

.ap-crm {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ap-crm { grid-template-columns: 1fr 1fr; }
}

.ap-split-lists {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

@media (min-width: 700px) {
  .ap-split-lists { grid-template-columns: 1fr 1fr; }
}

.ap-quotes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .ap-quotes { grid-template-columns: repeat(3, 1fr); }
}

.ap-quote {
  margin: 0;
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.35rem;
  box-shadow: var(--ap-shadow);
}

.ap-quote p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--ap-slate);
}

.ap-quote footer {
  display: grid;
  gap: 0.15rem;
}

.ap-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ap-navy);
}

.ap-quote span {
  font-size: 0.875rem;
  color: var(--ap-muted);
}

.ap-faq { display: grid; gap: 0.65rem; }

.ap-faq__item {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 0 1rem;
}

.ap-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
  color: var(--ap-navy);
}

.ap-faq__item summary::-webkit-details-marker { display: none; }

.ap-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--ap-gold);
  font-weight: 700;
}

.ap-faq__item[open] summary::after { content: "–"; }

.ap-faq__a {
  padding: 0 0 1rem;
  color: var(--ap-muted);
  font-size: 0.975rem;
}

.ap-faq__a p { margin: 0; }

.ap-form-wrap { max-width: 40rem; }

.ap-form {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ap-shadow);
}

.ap-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ap-form__grid { grid-template-columns: 1fr 1fr; }
  .ap-field--full { grid-column: 1 / -1; }
}

.ap-field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.ap-form__grid .ap-field { margin-bottom: 0; }

.ap-field label,
.ap-fieldset legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ap-navy);
}

.ap-optional { font-weight: 400; color: var(--ap-muted); }

.ap-field input,
.ap-field select,
.ap-field textarea {
  min-height: 48px;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 0.65rem 0.8rem;
  font: inherit;
  background: var(--ap-white);
  color: var(--ap-text);
}

.ap-field textarea { min-height: 110px; resize: vertical; }

.ap-field input:focus-visible,
.ap-field select:focus-visible,
.ap-field textarea:focus-visible,
.ap-service-card:has(input:focus-visible) {
  outline: 3px solid rgba(201, 162, 75, 0.45);
  outline-offset: 1px;
}

.ap-field__error {
  margin: 0;
  color: var(--ap-error);
  font-size: 0.8125rem;
}

.ap-fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.ap-fieldset legend { margin-bottom: 0.65rem; }

.ap-service-cards {
  display: grid;
  gap: 0.65rem;
}

.ap-service-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  cursor: pointer;
  background: var(--ap-bg);
}

.ap-service-card:has(input:checked) {
  border-color: var(--ap-gold);
  background: #FBF7EF;
}

.ap-service-card input { margin-top: 0.2rem; }

.ap-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.ap-form__privacy {
  font-size: 0.875rem;
  color: var(--ap-muted);
  margin: 0 0 1rem;
}

.ap-form__privacy a { color: var(--ap-navy); text-decoration: underline; }

.ap-form__status {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--ap-radius);
  font-size: 0.9rem;
}

.ap-form__status.is-error {
  background: #F8EAEA;
  color: var(--ap-error);
}

.ap-footer {
  border-top: 1px solid var(--ap-border);
  padding: 2.5rem 0;
  background: var(--ap-navy);
  color: #D7D2C8;
}

.ap-footer__inner {
  display: grid;
  gap: 1.25rem;
}

.ap-footer__brand p { margin: 0.5rem 0 0; font-size: 0.9rem; }
.ap-footer__links { display: flex; flex-wrap: wrap; gap: 1rem; }
.ap-footer__links a { color: #EFEAE2; text-decoration: none; font-size: 0.9rem; }
.ap-footer__links a:hover { text-decoration: underline; }
.ap-footer__by { margin: 0; font-size: 0.8125rem; color: var(--ap-stone); }

.ap-thanks {
  min-height: calc(100dvh - var(--ap-header-h));
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.ap-thanks__inner { text-align: left; max-width: 34rem; }

@media (max-width: 860px) {
  .ap-nav-toggle { display: inline-flex; }
  .ap-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--ap-header-h);
    background: var(--ap-ivory);
    border-bottom: 1px solid var(--ap-border);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .ap-nav.is-open { display: flex; }
  .ap-header { position: sticky; }
  .ap-header__inner { position: relative; }
}

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