/* =============================================
   Dirección A — Clínico Healthtech
   Sans geométrica, navy + teal, mucho aire.
   ============================================= */

:root {
  --a-bg: #FAFAFC;
  --a-bg-alt: #F2EEF7;           /* lavanda muy suave */
  --a-ink: #1A1230;              /* tinta profunda con matiz violeta */
  --a-ink-2: #332752;
  --a-ink-3: #6B6185;
  --a-line: #E3DEEC;
  --a-line-soft: #ECE6F3;
  --a-accent: rgb(181, 88, 255); /* corporativo TAND */
  --a-accent-dark: #8A3FD4;
  --a-accent-soft: #F0E1FF;
  --a-accent-wash: #F8F0FF;      /* fondo sutil */
  --a-warm: #FF9AB5;             /* rosa coral secundario */
  --a-warm-soft: #FFE8EE;
  --a-warm-dark: #D46A8A;
  --a-blue-soft: #EFE8F7;
  --a-white: #FFFFFF;

  --a-font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --a-font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --a-mono: "JetBrains Mono", ui-monospace, monospace;

  --a-density: 1;
}

.A-root {
  font-family: var(--a-font);
  background: var(--a-bg);
  color: var(--a-ink);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

.A-root * { box-sizing: border-box; }

.A-root a { color: inherit; text-decoration: none; }
.A-root a.A-btn { color: unset; }
.A-root a.A-btn-primary,
.A-root a.A-btn-dark,
.A-root a.A-btn-outline-light { color: var(--a-white); }
.A-root a.A-btn-white,
.A-root a.A-btn-ghost,
.A-root a.A-btn-outline,
.A-root a.A-btn-text { color: var(--a-ink); }

/* Typography */
.A-h1 {
  font-family: var(--a-font-display);
  font-size: clamp(48px, 5.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  color: var(--a-ink);
}
.A-h2 {
  font-family: var(--a-font-display);
  font-size: clamp(36px, 3.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  color: var(--a-ink);
}
.A-h3 {
  font-family: var(--a-font-display);
  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
}
.A-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--a-ink-2);
  max-width: 52ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.A-lede-sm { font-size: 16px; line-height: 1.55; color: var(--a-ink-2); margin: 0; }
.A-section-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--a-ink-3);
  max-width: 58ch;
  margin: 18px 0 0;
  text-wrap: pretty;
}

.A-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a-ink-3);
  font-family: var(--a-mono);
}
.A-eyebrow-dark { color: var(--a-ink-2); }
.A-eyebrow-light { color: rgba(255,255,255,0.8); }
.A-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--a-accent);
  box-shadow: 0 0 0 3px var(--a-accent-soft);
}

/* Buttons */
.A-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.A-btn:hover { transform: translateY(-1px); }
.A-btn-lg { padding: 16px 24px; font-size: 15px; }
.A-wa-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.A-btn-lg .A-wa-logo { width: 22px; height: 22px; }
.A-wa-logo-lg { width: 36px !important; height: 36px !important; }
.A-tool-card-num-wa {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px;
  background: #E8FAEF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.A-btn-sm { padding: 8px 14px; font-size: 13px; }
.A-btn-primary { background: var(--a-ink); color: var(--a-white); }
.A-btn-primary:hover { background: var(--a-accent-dark); }
.A-btn-dark { background: var(--a-ink); color: var(--a-white); }
.A-btn-dark:hover { background: var(--a-ink-2); }
.A-btn-ghost { background: transparent; color: var(--a-ink); border-color: var(--a-line); }
.A-btn-ghost:hover { background: var(--a-white); border-color: var(--a-ink); }
.A-btn-outline { background: var(--a-white); color: var(--a-ink); border-color: var(--a-line); }
.A-btn-outline:hover { border-color: var(--a-ink); }
.A-btn-outline-light { background: transparent; color: var(--a-white); border-color: rgba(255,255,255,0.3); }
.A-btn-outline-light:hover { border-color: var(--a-white); }
.A-btn-white { background: var(--a-white); color: var(--a-ink); }
.A-btn-white:hover { background: var(--a-accent-soft); }
.A-btn-text {
  padding: 10px 0;
  color: var(--a-ink);
  border-bottom: 1px solid var(--a-line);
  border-radius: 0;
  gap: 6px;
}
.A-root a.A-btn-text:hover { color: var(--a-accent-dark); }
.A-btn-text:hover { color: var(--a-accent-dark); border-bottom-color: var(--a-accent); transform: none; }

/* Top bar */
.A-topbar {
  background: var(--a-ink);
  color: rgba(255,255,255,0.78);
  font-size: 12.5px;
  font-family: var(--a-mono);
  letter-spacing: -0.005em;
}
.A-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.A-topbar a:hover { color: var(--a-white); }
.A-topdot { opacity: 0.4; padding: 0 6px; }

/* Nav */
.A-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--a-bg);
  border-bottom: 1px solid var(--a-line-soft);
  backdrop-filter: saturate(1.4);
}
.A-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.A-logo img { height: 56px; width: auto; display: block; }
@media (max-width: 900px) {
  .A-logo img { height: 40px; }
}
.A-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 24px;
}
.A-nav-links a {
  font-size: 14px;
  color: var(--a-ink-2);
  font-weight: 450;
  letter-spacing: -0.005em;
}
.A-nav-links a:hover { color: var(--a-ink); }
.A-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero */
.A-hero {
  padding: calc(56px * var(--a-density)) 0 calc(48px * var(--a-density));
  width: 100%;
}
.A-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.A-hero-copy { padding-right: 24px; }
.A-hero-ctas {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.A-hero-badge {
  margin-top: 44px;
  padding: 20px 24px;
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 520px;
  box-shadow: 0 1px 2px rgba(26,18,48,0.04);
}
.A-hero-badge-label {
  font-family: var(--a-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--a-accent-dark);
  padding: 7px 14px;
  background: var(--a-accent-soft);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.A-hero-badge-logo {
  height: 18px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.A-hero-badge-body { font-size: 14.5px; color: var(--a-ink-2); line-height: 1.55; }
.A-hero-badge-body em { font-style: italic; color: var(--a-ink); font-weight: 500; }

.A-hero-media {
  position: relative;
}
.A-hero-video {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--a-bg-alt);
  border: 1px solid var(--a-line-soft);
}
.A-hero-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.A-hero-video-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(26,18,48,0.92);
  color: var(--a-white);
  font-family: var(--a-mono);
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
.A-dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #B558FF;
  box-shadow: 0 0 0 3px rgba(181,88,255,0.3);
  animation: dot-pulse 1.8s infinite;
}
@keyframes dot-pulse { 50% { opacity: 0.5; } }

.A-hero-meta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.A-hero-meta-item {
  padding: 16px;
  background: var(--a-white);
  border: 1px solid var(--a-line-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.A-hero-meta-item:hover {
  border-color: var(--a-line);
  box-shadow: 0 8px 20px -14px rgba(26, 18, 48, 0.22);
  transform: translateY(-1px);
}
.A-hero-meta-k {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--a-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.A-hero-meta-k svg { color: var(--a-accent); }
.A-hero-meta-v { font-size: 12.5px; color: var(--a-ink-3); line-height: 1.35; }

.A-hero-meta-google {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.A-hero-meta-google > svg { flex-shrink: 0; }
.A-hero-meta-google-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.A-hero-meta-years {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.A-hero-meta-years-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}
.A-hero-meta-years-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.A-hero-meta-stars {
  display: inline-flex;
  gap: 1px;
  color: #FBBC05;
}
.A-hero-meta-stars svg { color: #FBBC05; }

.A-hero-strip {
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 28px 32px 32px;
  border-top: 1px solid var(--a-line-soft);
  border-bottom: 1px solid var(--a-line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.A-hero-strip-label {
  font-family: var(--a-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--a-ink-3);
  text-align: center;
}
.A-hero-strip-viewport {
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.A-hero-strip-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: A-strip-scroll 24s linear infinite;
}
.A-hero-strip:hover .A-hero-strip-track { animation-play-state: paused; }
.A-hero-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  flex-shrink: 0;
}
.A-hero-strip-item img {
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.A-hero-strip-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes A-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
@media (max-width: 700px) {
  .A-hero-strip-viewport { max-width: 100%; }
}

/* Generic section */
.A-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: calc(100px * var(--a-density)) 32px;
}
.A-section-head { max-width: 780px; margin-bottom: 56px; }
.A-section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.A-section-head-center .A-eyebrow { justify-content: center; width: 100%; }
.A-section-head-center .A-section-lede { margin-left: auto; margin-right: auto; }
.A-section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  max-width: none;
  flex-wrap: wrap;
}
.A-section-head > .A-h2 { margin-top: 16px; }

/* Services */
.A-services-body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
}
.A-services-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.A-services-tab {
  display: grid;
  grid-template-columns: 56px 1fr 18px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
  color: var(--a-ink);
}
.A-services-tab:hover { background: var(--a-white); }
.A-services-tab.is-active {
  background: var(--a-white);
  border-color: var(--a-line);
  box-shadow: 0 2px 8px rgba(26,18,48,0.04);
}
.A-services-tab-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 4px 8px rgba(26, 18, 48, 0.12));
  transition: transform .25s ease, filter .25s ease;
}
.A-services-tab:hover .A-services-tab-icon { transform: scale(1.06); }
.A-services-tab.is-active .A-services-tab-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(181, 88, 255, 0.32));
}
.A-services-tab-title {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.A-services-tab-arrow {
  display: inline-flex;
  color: var(--a-ink-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}
.A-services-tab.is-active .A-services-tab-arrow { opacity: 1; transform: translateX(0); color: var(--a-ink); }

.A-services-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 18px;
  padding: 28px;
  align-items: stretch;
}
.A-services-panel-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
  background: var(--a-bg-alt);
}
.A-services-panel-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.A-services-panel-media-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,0.96);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--a-mono);
  font-size: 11px;
  color: var(--a-ink-2);
  letter-spacing: 0.02em;
}
.A-services-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px 8px 0;
}
.A-services-panel-copy .A-h3 { margin-top: 14px; }
.A-services-panel-copy .A-lede-sm { margin-top: 14px; }
.A-services-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  border-top: 1px solid var(--a-line-soft);
  padding-top: 20px;
}
.A-services-list li {
  font-size: 14.5px;
  color: var(--a-ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.A-services-list li svg { color: var(--a-accent); flex-shrink: 0; }
.A-services-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Differentiators */
.A-diff {
  background: var(--a-bg-alt);
  max-width: none;
  padding: calc(100px * var(--a-density)) 32px;
}
.A-diff > .A-section-head,
.A-diff > .A-diff-bento { max-width: 1320px; margin-left: auto; margin-right: auto; }
/* ———— Bento grid ———— */
.A-diff-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: minmax(200px, auto) minmax(200px, auto) minmax(200px, auto);
  grid-template-areas:
    "g   img c"
    "t   img s"
    "f   img s";
  gap: 14px;
}
.A-diff-card {
  background: var(--a-bg);
  padding: 22px 22px 24px;
  position: relative;
  border: 1px solid var(--a-line-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1), box-shadow 0.32s ease, z-index 0s 0.32s;
  z-index: 0;
}
.A-diff-card:hover {
  transform: translateY(-3px);
  z-index: 2;
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1), box-shadow 0.32s ease, z-index 0s;
  box-shadow:
    0 20px 44px -22px rgba(181, 88, 255, 0.38),
    0 4px 14px -8px rgba(26, 18, 48, 0.16);
}

/* Highlight morada (Garantía) */
.A-diff-card-highlight {
  background: linear-gradient(145deg, #2B1A50 0%, var(--a-ink) 65%);
  border-color: transparent;
  color: var(--a-white);
}
.A-diff-card-highlight::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 88, 255, 0.55) 0%, transparent 70%);
  pointer-events: none;
}

/* Large — card que ocupa 2 rows (tipo "stat card" del ejemplo) */
.A-diff-card-large {
  background: linear-gradient(160deg, #FAF1FF 0%, #F0E1FF 100%);
  border-color: var(--a-accent-soft);
}
.A-diff-card-large .A-diff-title {
  margin-top: 18px;
  font-size: 21px;
  letter-spacing: -0.018em;
  padding-right: 0;
  min-height: 0;
  color: var(--a-accent-dark);
}
.A-diff-card-large .A-diff-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--a-ink-2);
  margin-top: 8px;
}

/* Mock de chat animado dentro de la card large */
.A-mock-chat {
  margin-top: 64px;
  background: var(--a-white);
  border-radius: 14px;
  padding: 12px 12px 14px;
  box-shadow: 0 14px 32px -18px rgba(26, 18, 48, 0.25), 0 2px 6px -3px rgba(26, 18, 48, 0.08);
  position: relative;
  overflow: hidden;
}
.A-mock-chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--a-line-soft);
  margin-bottom: 10px;
}
.A-mock-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a-accent), var(--a-accent-dark));
  color: var(--a-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}
.A-mock-chat-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  flex: 1;
}
.A-mock-chat-name strong {
  font-size: 12px;
  font-weight: 500;
  color: var(--a-ink);
}
.A-mock-chat-name span {
  font-size: 10px;
  color: var(--a-ink-3);
  font-family: var(--a-mono);
  letter-spacing: 0.02em;
}
.A-mock-chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: A-mock-pulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes A-mock-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.A-mock-chat-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.A-mock-bubble {
  padding: 7px 11px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.35;
  max-width: 82%;
  opacity: 0;
  transform: translateY(6px);
  animation: A-mock-bubble-in 0.4s cubic-bezier(.2,.7,.2,1) forwards;
}
.A-mock-bubble-them {
  background: #F1ECF7;
  color: var(--a-ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.A-mock-bubble-me {
  background: linear-gradient(135deg, var(--a-accent), var(--a-accent-dark));
  color: var(--a-white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.A-mock-bubble-1 { animation-delay: 0.35s; }
.A-mock-bubble-2 { animation-delay: 1.1s; }
.A-mock-bubble-typing {
  animation-delay: 1.9s;
  padding: 8px 12px;
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.A-mock-bubble-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--a-accent-dark);
  opacity: 0.5;
  animation: A-mock-typing 1.2s ease-in-out infinite;
}
.A-mock-bubble-typing span:nth-child(2) { animation-delay: 0.18s; }
.A-mock-bubble-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes A-mock-bubble-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes A-mock-typing {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-3px); opacity: 1; }
}

/* Tecnología — blanca */
.A-diff-card-accent {
  background: var(--a-bg);
  border-color: var(--a-line-soft);
}

/* Media card — video tall */
.A-diff-card-media {
  padding: 0;
  grid-area: img;
  min-height: 420px;
}
.A-diff-card-media img,
.A-diff-card-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.A-diff-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 18, 48, 0.55) 100%);
  pointer-events: none;
}
.A-diff-media-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,0.14) 0%, transparent 55%),
    linear-gradient(145deg, var(--a-accent) 0%, var(--a-accent-dark) 100%);
  opacity: 1;
  transition:
    opacity 1.05s cubic-bezier(.4, 0, .2, 1),
    transform 1.2s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  will-change: opacity, transform;
}
.A-diff-card-media .A-diff-media-cover-logo {
  position: relative;
  inset: auto;
  width: 62%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 1.2s cubic-bezier(.4, 0, .2, 1), opacity 0.9s ease;
}
.A-diff-card-media.is-revealed .A-diff-media-cover {
  opacity: 0;
  transform: scale(1.04);
}
.A-diff-card-media.is-revealed .A-diff-media-cover-logo {
  transform: scale(0.94);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .A-diff-media-cover,
  .A-diff-media-cover-logo {
    transition: opacity 0.3s linear;
    transform: none !important;
  }
}
.A-diff-media-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  background: rgba(26, 18, 48, 0.82);
  color: var(--a-white);
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.A-diff-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
  z-index: 3;
}
.A-diff-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(232, 130, 175, 0.32));
}
.A-diff-card:hover .A-diff-icon {
  transform: rotate(-4deg) scale(1.08);
}
.A-diff-card-highlight .A-diff-icon img,
.A-diff-card-dark .A-diff-icon img {
  filter: drop-shadow(0 6px 18px rgba(255, 153, 195, 0.55));
}

/* Variant: icon placed inline below the text, centered — fills the
   whitespace on shorter-text cards like "Cero juicio sobre tu historia". */
.A-diff-card-icon-bottom {
  display: flex;
  flex-direction: column;
}
.A-diff-card-icon-bottom .A-diff-title,
.A-diff-card-icon-bottom .A-diff-body {
  position: relative;
  z-index: 1;
  padding-right: 0;
}
.A-diff-icon-bottom {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  width: 88px;
  height: 88px;
  margin: 14px auto 0;
  filter: drop-shadow(0 10px 22px rgba(181, 88, 255, 0.18));
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(.22,.72,.12,1);
  pointer-events: none;
}
.A-diff-icon-bottom img {
  filter: drop-shadow(0 6px 16px rgba(181, 88, 255, 0.22));
}
.A-diff-card:hover .A-diff-icon-bottom {
  transform: rotate(-4deg) scale(1.06);
}
.A-diff-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 10px;
  padding-right: 62px;
  min-height: 58px;
  display: flex;
  align-items: flex-start;
}
.A-diff-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--a-ink-2);
  margin: 0;
}
.A-diff-card-highlight .A-diff-body,
.A-diff-card-dark .A-diff-body { color: rgba(255,255,255,0.78); }
.A-diff-card-highlight .A-diff-title,
.A-diff-card-dark .A-diff-title { color: var(--a-white); }
.A-diff-guarantee {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.A-diff-guarantee span {
  font-family: var(--a-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B558FF;
}
.A-diff-guarantee em {
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--a-white);
}

/* Tools */
.A-tools-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
.A-quoter {
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 20px;
  padding: 32px;
}
.A-quoter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--a-line-soft);
}
.A-quoter-step {
  font-family: var(--a-mono);
  font-size: 12px;
  color: var(--a-ink-3);
}
.A-quoter-body {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.A-quoter-field { display: flex; flex-direction: column; gap: 10px; }
.A-quoter-field label {
  font-size: 13px;
  color: var(--a-ink-3);
  font-weight: 500;
}
.A-quoter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.A-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--a-bg-alt);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--a-ink-2);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.A-chip:hover { background: var(--a-blue-soft); }
.A-chip.is-active {
  background: var(--a-ink);
  color: var(--a-white);
  border-color: var(--a-ink);
}

.A-quoter-result {
  background: var(--a-bg);
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 4px;
}
.A-quoter-result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--a-ink-3);
  border-bottom: 1px solid var(--a-line-soft);
}
.A-quoter-result-row strong { color: var(--a-ink); font-weight: 500; }
.A-quoter-result-monthly {
  padding: 20px 0;
  border-bottom: none;
  align-items: baseline;
}
.A-quoter-result-monthly span { color: var(--a-ink-2); font-size: 15px; }
.A-quoter-result-monthly strong {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--a-accent-dark);
  line-height: 1;
}
.A-quoter-result-monthly small { font-size: 14px; color: var(--a-ink-3); font-weight: 400; }
.A-quoter-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--a-line-soft);
  flex-wrap: wrap;
}
.A-quoter-foot {
  font-size: 12.5px;
  color: var(--a-ink-3);
  margin: 18px 0 0;
  line-height: 1.45;
}

.A-tools-side { display: flex; flex-direction: column; gap: 12px; }
.A-tool-card {
  padding: 24px;
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 16px;
}
.A-tool-card-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--a-accent-soft);
  color: var(--a-accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.A-tool-card-num-green { background: #E6F4FF; color: #2463A8; }

/* Bare variant: no box, icon shows at its natural colors */
.A-tool-card-num.A-tool-card-num-bare {
  width: 56px;
  height: 56px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 14px;
}
.A-tool-card-num.A-tool-card-num-bare img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(181, 88, 255, 0.22));
}
.A-tool-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.A-tool-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--a-ink-2);
  margin: 0 0 14px;
}
.A-tool-card-dark {
  background: var(--a-ink);
  color: var(--a-white);
  border-color: var(--a-ink);
}
.A-tool-card-dark p { color: rgba(255,255,255,0.78); }

/* Testimonials */
/* Google rating pill */
.A-test-rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.A-test-rating:hover {
  border-color: var(--a-line);
  box-shadow: 0 8px 24px -16px rgba(26, 18, 48, 0.25);
  transform: translateY(-1px);
}
.A-test-rating-logo { display: flex; align-items: center; }
.A-test-rating-info { display: flex; flex-direction: column; gap: 2px; }
.A-test-rating-score { display: inline-flex; align-items: center; gap: 8px; }
.A-test-rating-num {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--a-ink);
  line-height: 1;
}
.A-test-rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #FBBC05;
}
.A-test-rating-meta {
  font-size: 12px;
  color: var(--a-ink-3);
  letter-spacing: 0.005em;
}

/* Featured testimonial card */
.A-test-card {
  margin-top: 36px;
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 22px;
  padding: 48px 56px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  box-shadow: 0 18px 50px -32px rgba(26, 18, 48, 0.18);
}
.A-test-card::before {
  content: "\201C";
  position: absolute;
  top: 18px;
  left: 32px;
  font-family: var(--a-font-display, "Newsreader"), serif;
  font-style: italic;
  font-size: 120px;
  line-height: 1;
  color: var(--a-accent-soft);
  pointer-events: none;
}
.A-test-card-stars {
  display: inline-flex;
  gap: 3px;
  color: #FBBC05;
  margin-bottom: 18px;
  position: relative;
}
.A-test-card blockquote {
  position: relative;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--a-ink);
  margin: 0 0 36px;
  text-wrap: pretty;
}
.A-test-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--a-line-soft);
  flex-wrap: wrap;
}
.A-test-card-author { display: flex; align-items: center; gap: 14px; }
.A-test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a-accent), var(--a-accent-dark));
  color: var(--a-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -4px rgba(181, 88, 255, 0.45);
}
.A-test-card-name strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--a-ink);
  line-height: 1.3;
}
.A-test-card-name span {
  font-size: 12.5px;
  color: var(--a-ink-3);
}
.A-test-card-treatment {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.A-test-card-treatment span {
  font-family: var(--a-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a-ink-3);
}
.A-test-card-treatment strong {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--a-accent-dark);
}

/* Testimonial selector chips */
.A-test-strip {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.A-test-chip {
  padding: 12px 16px 12px 12px;
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.A-test-chip:hover { border-color: var(--a-ink-3); transform: translateY(-1px); }
.A-test-chip.is-active {
  border-color: var(--a-accent);
  box-shadow: 0 0 0 3px var(--a-accent-soft);
}
.A-test-chip-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--a-accent-soft);
  color: var(--a-accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}
.A-test-chip.is-active .A-test-chip-avatar {
  background: linear-gradient(135deg, var(--a-accent), var(--a-accent-dark));
  color: var(--a-white);
}
.A-test-chip-info { display: inline-flex; flex-direction: column; line-height: 1.2; }
.A-test-chip-name { font-weight: 500; font-size: 13.5px; color: var(--a-ink); }
.A-test-chip-treatment { font-size: 11.5px; color: var(--a-ink-3); }

/* Locations */
.A-loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.A-loc-card {
  background: var(--a-white);
  border: 1px solid var(--a-line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.A-loc-map {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #E8EEF2, #DFE8EC);
  overflow: hidden;
}
.A-loc-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,18,48,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,18,48,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.A-loc-map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 40px; height: 40px;
  border-radius: 50% 50% 50% 0;
  background: var(--a-ink);
  color: var(--a-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(26,18,48,0.2);
  rotate: -45deg;
}
.A-loc-map-pin span { rotate: 45deg; display: inline-block; }
.A-loc-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9) contrast(0.98);
}
.A-loc-card.is-soon .A-loc-map { filter: grayscale(1); opacity: 0.6; }
.A-loc-card.is-soon .A-loc-map-pin { background: var(--a-ink-3); }

.A-loc-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.A-loc-body h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.A-loc-addr { font-size: 14.5px; color: var(--a-ink-2); margin: 0; }
.A-loc-hours { font-size: 13px; color: var(--a-ink-3); margin: 0 0 8px; font-family: var(--a-mono); }
.A-loc-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.A-loc-soon {
  font-family: var(--a-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--a-ink-3);
  margin-top: 8px;
}

/* Blog + FAQ */
.A-blogfaq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.A-blogfaq-head { margin: 16px 0 28px; }
.A-blog-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--a-line-soft);
}
.A-blog-list li {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--a-line-soft);
  cursor: pointer;
  transition: padding-left .15s;
}
.A-blog-list li:hover { padding-left: 8px; }
.A-blog-tag {
  font-family: var(--a-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--a-accent-dark);
}
.A-blog-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--a-ink);
  line-height: 1.3;
}
.A-blog-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--a-ink-3);
  font-family: var(--a-mono);
  justify-content: flex-end;
}

.A-faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--a-line-soft); }
.A-faq-item { border-bottom: 1px solid var(--a-line-soft); }
.A-faq-item button {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--a-ink);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.A-faq-item button svg { color: var(--a-ink-3); transition: rotate .2s; }
.A-faq-item.is-open button svg { rotate: 45deg; }
.A-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.A-faq-item.is-open .A-faq-answer { grid-template-rows: 1fr; }
.A-faq-answer > p {
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--a-ink-2);
}
.A-faq-item.is-open .A-faq-answer > p { padding-bottom: 20px; }

/* Big CTA */
.A-bigcta {
  background: var(--a-ink);
  color: var(--a-white);
  position: relative;
  overflow: hidden;
}
.A-bigcta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 20% 40%, rgba(26,154,139,0.22), transparent),
    radial-gradient(ellipse 600px 400px at 85% 70%, rgba(26,154,139,0.15), transparent);
  pointer-events: none;
}
.A-bigcta-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
}
.A-bigcta-title {
  font-family: var(--a-font-display);
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 20px 0 24px;
}
.A-bigcta-title span { color: rgba(255,255,255,0.55); font-weight: 400; }
.A-bigcta-lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
  margin: 0 auto 32px;
}
.A-bigcta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.A-bigcta .A-eyebrow-light { justify-content: center; }

/* Footer */
.A-footer { background: var(--a-bg-alt); border-top: 1px solid var(--a-line); }
.A-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 60px;
}
.A-footer-brand img { height: 44px; width: auto; display: block; margin-bottom: 20px; }
.A-footer-brand p { font-size: 14.5px; color: var(--a-ink-2); line-height: 1.5; max-width: 38ch; margin: 0 0 20px; }
.A-footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--a-ink-2); }
.A-footer-contact a:hover { color: var(--a-accent-dark); }

.A-footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.A-footer-cols h4 {
  font-family: var(--a-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--a-ink-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.A-footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.A-footer-cols li { font-size: 14px; color: var(--a-ink-2); }
.A-footer-cols a:hover { color: var(--a-ink); }

.A-footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--a-line);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--a-ink-3);
  font-family: var(--a-mono);
}

/* Sticky mobile bar */
.A-sticky { display: none; }

@media (max-width: 900px) {
  .A-nav-links { display: none; }
  .A-nav-inner { padding: 14px 20px; gap: 16px; }
  .A-nav-actions { gap: 8px; }
  .A-nav-actions .A-btn { padding: 10px 14px; font-size: 13px; }
  .A-topbar-inner {
    padding: 8px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    font-size: 12px;
  }
  .A-topbar-left, .A-topbar-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }
  .A-hero-inner, .A-services-body, .A-services-panel,
  .A-tools-grid, .A-loc-grid,
  .A-blogfaq-grid, .A-footer-inner, .A-footer-cols {
    grid-template-columns: 1fr;
  }
  .A-test-card { padding: 32px 24px; }
  .A-test-card-foot { flex-direction: column; align-items: flex-start; }
  .A-test-card-treatment { align-items: flex-start; }
  .A-diff-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "g   g"
      "img img"
      "c   s"
      "t   s"
      "f   s";
  }
  .A-diff-card-media { min-height: 320px; }
  .A-loc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .A-nav-inner { padding: 12px 16px; gap: 12px; }
  .A-nav-actions .A-btn-ghost { display: none; }
  .A-nav-actions .A-btn-primary { padding: 10px 14px; font-size: 13px; }
  .A-nav .A-wa-logo { width: 16px; height: 16px; }
  .A-topbar-inner { padding: 7px 16px; font-size: 11.5px; }
  .A-topbar-left .A-topdot,
  .A-topbar-right .A-topdot { padding: 0 4px; }
  .A-diff-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "g"
      "img"
      "c"
      "s"
      "t"
      "f";
  }
  .A-diff-card-media { min-height: 280px; }
  .A-hero { padding-top: 32px; }
  .A-section { padding: 64px 20px; }
  .A-hero-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .A-hero-badge-label { align-self: flex-start; }
  .A-sticky {
    display: flex;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: var(--a-white);
    border: 1px solid var(--a-line);
    border-radius: 999px;
    padding: 6px;
    gap: 4px;
    z-index: 30;
    box-shadow: 0 8px 24px rgba(26,18,48,0.1);
  }
  .A-sticky-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: var(--a-ink-2);
    border-radius: 999px;
  }
  .A-sticky-primary { background: var(--a-ink); color: var(--a-white); }
  .A-footer-bottom { flex-direction: column; gap: 8px; }
}


/* ========== Ortodoncia page — extends Direction A ========== */
.O-hero { border-bottom: 1px solid var(--a-line-soft); }
.O-hero-inner { max-width: 1320px; margin: 0 auto; padding: 32px 32px 80px; }
.O-breadcrumb {
  font-family: var(--a-mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--a-ink-3);
  padding: 14px 0; border-top: 1px solid var(--a-line); border-bottom: 1px solid var(--a-line-soft);
  margin-bottom: 64px;
}
.O-breadcrumb a:hover { color: var(--a-accent-dark); }
.O-breadcrumb span { margin: 0 10px; opacity: 0.5; }
.O-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.O-hero-ctas { display: flex; gap: 12px; margin: 32px 0 40px; flex-wrap: wrap; }
.O-stats { display: flex; gap: 36px; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--a-line-soft); }
.O-stats > div { display: flex; flex-direction: column; gap: 4px; }
.O-stats dt { font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -0.025em; color: var(--a-ink); }
.O-stats dd { margin: 0; font-family: var(--a-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--a-ink-3); }
.O-hero-fig { margin: 0; position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--a-bg-alt); }
.O-hero-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.O-hero-fig figcaption {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(26,18,48,0.92); color: var(--a-white);
  padding: 7px 12px; border-radius: 999px;
  font-family: var(--a-mono); font-size: 11px; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}

.O-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--a-line); border: 1px solid var(--a-line); border-radius: 18px; overflow: hidden; }
.O-step { background: var(--a-bg); padding: 32px 28px 36px; min-height: 200px; }
.O-step-num { display: block; font-family: var(--a-mono); font-size: 12px; color: var(--a-accent-dark); letter-spacing: 0.06em; margin-bottom: 32px; }
.O-step h3 { font-size: 20px; font-weight: 500; line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.015em; }
.O-step p { font-size: 14.5px; line-height: 1.55; color: var(--a-ink-2); margin: 0; }

.O-compare-table { background: var(--a-white); border: 1px solid var(--a-line); border-radius: 18px; overflow: hidden; }
.O-compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; padding: 18px 28px; border-bottom: 1px solid var(--a-line-soft); align-items: center; font-size: 15px; color: var(--a-ink-2); }
.O-compare-row:last-child { border-bottom: none; }
.O-compare-row > div:not(:first-child) { padding-left: 24px; border-left: 1px solid var(--a-line-soft); }
.O-compare-head { padding: 24px 28px; align-items: end; background: var(--a-bg-alt); font-family: var(--a-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-ink-3); }
.O-compare-head strong { display: block; font-family: var(--a-font); font-size: 22px; font-weight: 500; text-transform: none; letter-spacing: -0.015em; color: var(--a-ink); margin-bottom: 3px; }
.O-compare-row:not(.O-compare-head) > div:first-child { font-family: var(--a-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--a-ink-3); }

.O-included-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.O-included-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--a-white); border: 1px solid var(--a-line); border-radius: 16px; overflow: hidden; }
.O-included-list li { padding: 18px 20px; font-size: 14.5px; color: var(--a-ink); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--a-line-soft); }
.O-included-list li:nth-child(odd) { border-right: 1px solid var(--a-line-soft); }
.O-included-list li:nth-last-child(-n+2) { border-bottom: none; }
.O-included-list li svg { color: var(--a-accent); flex-shrink: 0; }

.O-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.O-team-card { background: var(--a-white); border: 1px solid var(--a-line); border-radius: 16px; padding: 28px; }
.O-team-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--a-accent-soft); color: var(--a-accent-dark); font-size: 24px; font-weight: 500; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; letter-spacing: -0.02em; }
.O-team-card h3 { font-size: 20px; font-weight: 500; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.015em; }
.O-team-role { font-family: var(--a-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-accent-dark); margin: 0 0 12px; }
.O-team-note { font-size: 13.5px; color: var(--a-ink-2); margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
  .O-hero-grid, .O-included-grid { grid-template-columns: 1fr; }
  .O-steps, .O-team-grid { grid-template-columns: 1fr 1fr; }
  .O-included-list { grid-template-columns: 1fr; }
  .O-compare-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 20px; }
  .O-compare-row > div:not(:first-child) { padding-left: 0 !important; border-left: none !important; }
}


/* =============================================================
   FLOURISH LAYER — más morado, toque cálido, aire alegre
   ============================================================= */

/* Default display font = Newsreader serif for headline moments.
   When user picks "sans" in Tweaks, --a-font-display is set to sans. */
:root { --a-font-display: "Newsreader", "Inter Tight", Georgia, serif; }

/* Main headlines use Newsreader with mix of weights/italics */
.A-h1, .A-h2, .A-h3, .A-bigcta-title {
  font-family: var(--a-font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.A-h1 { font-weight: 400; letter-spacing: -0.025em; }
.A-h2 { font-weight: 400; letter-spacing: -0.02em; }
.A-h3 { font-weight: 400; letter-spacing: -0.015em; }

/* Italic serif accents inside headings: wrap key words in <em> */
.A-h1 em, .A-h2 em, .A-h3 em, .A-bigcta-title em {
  font-style: italic;
  font-family: var(--a-font-display);
  color: var(--a-accent-dark);
  font-weight: 400;
}

/* When user selects "sans" display, keep serif off */
html[data-display="sans"] .A-h1 em,
html[data-display="sans"] .A-h2 em,
html[data-display="sans"] .A-h3 em,
html[data-display="sans"] .A-bigcta-title em {
  font-style: italic;
  font-family: var(--a-font);
}

/* Hero: wash de morado + detalle curvo */
.A-hero {
  position: relative;
  background: radial-gradient(900px 520px at 88% 12%, var(--a-accent-wash) 0%, transparent 65%),
              radial-gradient(700px 460px at 0% 100%, var(--a-warm-soft) 0%, transparent 65%);
}
/* Eyebrow: darker-accented pill on light backgrounds */
.A-eyebrow {
  color: var(--a-accent-dark);
  background: var(--a-accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  gap: 8px;
}
.A-eyebrow-dark {
  color: var(--a-accent-dark);
  background: var(--a-accent-soft);
}
.A-eyebrow-light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.A-eyebrow-dot { background: var(--a-accent); }
.A-eyebrow-light .A-eyebrow-dot { background: var(--a-warm); }

/* Section-head underline: squiggle under the H2 in key sections */
.A-section-head h2.A-h2 { position: relative; display: block; width: fit-content; max-width: 100%; }
.A-section-head h2.A-h2::after {
  content: "";
  display: block;
  margin-top: 14px;
  height: 10px;
  width: 120px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'><path d='M2 6 Q 20 1 40 6 T 78 6 T 118 6' fill='none' stroke='%23B558FF' stroke-width='2.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
}
.A-section-head-center h2.A-h2::after { margin-left: auto; margin-right: auto; }

/* Differentiators — much more color */
.A-diff {
  background:
    radial-gradient(700px 480px at 95% 5%, var(--a-accent-wash) 0%, transparent 65%),
    radial-gradient(500px 400px at 0% 95%, var(--a-warm-soft) 0%, transparent 60%),
    var(--a-bg-alt);
}
.A-diff-guarantee em {
  font-family: var(--a-font-display);
  color: var(--a-warm);
}
.A-diff-guarantee span { color: var(--a-warm); }

/* Tool cards — colored number chips */
.A-tool-card-num {
  background: var(--a-accent-soft);
  color: var(--a-accent-dark);
  font-family: var(--a-font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
}
.A-tool-card-num-green { background: var(--a-warm-soft); color: var(--a-warm-dark); }

/* Testimonial area: warm rose tint */
.A-testimonials, .A-test-section {
  background: linear-gradient(180deg, transparent 0%, var(--a-warm-soft) 100%);
}

/* Locations cards: subtle lavender hover */
.A-loc-card:hover { background: var(--a-accent-wash); }

/* Big CTA — keep dark but with vivid purple glow */
.A-bigcta::before {
  background:
    radial-gradient(700px 500px at 80% 20%, rgba(181,88,255,0.35) 0%, transparent 60%),
    radial-gradient(500px 400px at 10% 90%, rgba(255,154,181,0.2) 0%, transparent 60%);
}
.A-bigcta-title { color: var(--a-white); }
.A-bigcta-title span { color: rgba(255,154,181,0.85); }

/* Sticky mobile bar — morado primary */
.A-sticky-primary { background: var(--a-accent) !important; }
.A-sticky-primary:hover { background: var(--a-accent-dark) !important; }

/* Nav CTA when it's a primary: use morado instead of ink */
.A-nav .A-btn-primary {
  background: var(--a-accent);
  color: var(--a-white);
}
.A-nav .A-btn-primary:hover { background: var(--a-accent-dark); }
.A-root a.A-nav .A-btn-primary,
.A-root a.A-btn-primary.A-nav-cta { color: var(--a-white); }

/* Hero primary CTA morado (reemplaza ink) */
.A-hero-ctas .A-btn-primary,
.A-root a.A-hero-ctas .A-btn-primary {
  background: var(--a-accent);
}
.A-hero-ctas .A-btn-primary:hover { background: var(--a-accent-dark); }

/* Scoped override: anchor color cascade already handled */
.A-root .A-btn-primary { color: var(--a-white); }

/* Services tab active: accent strip */
.A-services-tab.is-active {
  background: var(--a-white);
  border-color: var(--a-accent-soft);
  box-shadow: 0 2px 10px rgba(181,88,255,0.08), inset 3px 0 0 var(--a-accent);
}

/* Hero badge: warmer */
.A-hero-badge-label {
  background: var(--a-accent);
  color: var(--a-white);
}

/* Footer — rosa warm band */
.A-footer { background: var(--a-bg-alt); border-top: 3px solid var(--a-accent); }

/* Stats in hero-area or ortodoncia: morado numeric display */
.O-stats dt {
  font-family: var(--a-font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--a-accent-dark);
  font-size: 44px;
  letter-spacing: -0.02em;
}

/* Ortodoncia hero wash too */
.O-hero {
  background: radial-gradient(800px 500px at 90% 10%, var(--a-accent-wash) 0%, transparent 60%),
              radial-gradient(500px 400px at 0% 95%, var(--a-warm-soft) 0%, transparent 55%);
}
.O-step-num {
  font-family: var(--a-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--a-accent);
  letter-spacing: 0;
  margin-bottom: 28px;
}
.O-compare-head strong { font-family: var(--a-font-display); font-weight: 400; }
.O-team-avatar {
  background: linear-gradient(135deg, var(--a-accent-soft) 0%, var(--a-warm-soft) 100%);
  color: var(--a-accent-dark);
  font-family: var(--a-font-display);
  font-style: italic;
}

/* Subtle curvy divider between sections we want to highlight */
.A-flourish-divider {
  display: block;
  width: 48px;
  height: 12px;
  margin: 0 auto 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12'><path d='M2 8 Q 12 1 24 8 T 46 8' fill='none' stroke='%23FF9AB5' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Decorative asterisk/star marker for list items (used in A-included-list) */
.O-included-list li svg { color: var(--a-accent); }

/* Small screens: trim extras */
@media (max-width: 700px) {
  .A-section-head h2.A-h2::after { width: 80px; }
}

/* =============================================
   Dental 3D assets — organic placements
   ============================================= */

@keyframes A-float-bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}
@keyframes A-asset-fade {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* BigCTA — two floating dental renders flanking the closing CTA */
.A-bigcta-deco {
  position: absolute;
  height: auto;
  z-index: 1;
  background: transparent;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.45))
          drop-shadow(0 8px 16px rgba(181, 88, 255, 0.32));
  pointer-events: none;
  animation: A-float-bob 8s ease-in-out infinite;
}
.A-bigcta-deco-l {
  --rot: -14deg;
  top: 64px;
  left: 6%;
  width: 160px;
  animation-delay: 0s;
}
.A-bigcta-deco-r {
  --rot: 16deg;
  bottom: 56px;
  right: 5%;
  width: 200px;
  animation-delay: 2.6s;
}
@media (max-width: 900px) {
  .A-bigcta-deco-l { width: 90px; top: 24px; left: 4%; }
  .A-bigcta-deco-r { width: 110px; bottom: 28px; right: 4%; }
}
@media (max-width: 560px) {
  .A-bigcta-deco { display: none; }
}

/* Quoter — dental render reacts to treatment selection */
.A-quoter-result {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}
.A-quoter-result-visual {
  background: linear-gradient(155deg, var(--a-accent-wash), var(--a-warm-soft));
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  align-self: stretch;
}
.A-quoter-asset {
  width: 100%;
  max-width: 180px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 18px 26px rgba(26, 18, 48, 0.22))
          drop-shadow(0 4px 8px rgba(181, 88, 255, 0.18));
  pointer-events: none;
  animation: A-asset-fade 0.4s cubic-bezier(.2,.8,.2,1) both;
}
.A-quoter-result-info { min-width: 0; }
@media (max-width: 760px) {
  .A-quoter-result {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .A-quoter-result-visual { min-height: 130px; padding: 12px; }
  .A-quoter-asset { max-width: 130px; }
}

/* =============================================
   Animations — hero blur reveal + scroll reveal
   ============================================= */

/* Lenis smooth-scroll baseline */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Word-level blur reveal: hero h1 words animate left-to-right, line by line. */
.A-reveal-line {
  display: inline;
}
.A-reveal-word {
  display: inline-block;
  animation: A-blur-word 1s cubic-bezier(.22,.72,.12,1) both;
  animation-delay: calc(var(--i, 0) * var(--step, 68ms) + var(--base, 0ms));
  will-change: filter, opacity, transform;
}
@keyframes A-blur-word {
  0% {
    filter: blur(16px);
    opacity: 0;
    transform: translate3d(-10px, 8px, 0);
  }
  55% {
    filter: blur(3px);
    opacity: 1;
    transform: translate3d(0, 0.5px, 0);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: none;
  }
}

/* Hero lede: chunk-level blur fade — starts while h1 still finishing */
.A-lede-hero .A-lede-chunk {
  display: inline;
  animation: A-blur-chunk 1.15s cubic-bezier(.22,.72,.12,1) both;
  will-change: filter, opacity;
}
.A-lede-hero .A-lede-chunk-1 { animation-delay: 0.9s; }
.A-lede-hero .A-lede-chunk-2 { animation-delay: 1.4s; }
@keyframes A-blur-chunk {
  0% { filter: blur(12px); opacity: 0; }
  60% { filter: blur(2px); opacity: 1; }
  100% { filter: blur(0); opacity: 1; }
}

/* Hero supporting elements: timed cascade entry */
.A-topbar-anim { animation: A-fade-down 0.7s cubic-bezier(.22,.72,.12,1) both; }
.A-nav-anim { animation: A-fade-down 0.7s cubic-bezier(.22,.72,.12,1) both; animation-delay: 0.08s; }
.A-hero-media-anim { animation: A-fade-rise 1.2s cubic-bezier(.22,.72,.12,1) both; animation-delay: 0.3s; }
.A-hero-ctas-anim { animation: A-fade-rise 1s cubic-bezier(.22,.72,.12,1) both; animation-delay: 1.75s; }
.A-hero-badge-anim { animation: A-fade-rise 1s cubic-bezier(.22,.72,.12,1) both; animation-delay: 2s; }
.A-hero-strip-anim { animation: A-fade-rise 1s cubic-bezier(.22,.72,.12,1) both; animation-delay: 2.25s; }

@keyframes A-fade-down {
  0% { opacity: 0; transform: translate3d(0, -12px, 0); }
  100% { opacity: 1; transform: none; }
}
@keyframes A-fade-rise {
  0% { opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(8px); }
  60% { opacity: 1; filter: blur(2px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* Scroll reveal system — toggled by .is-visible from IntersectionObserver */
.A-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(8px);
  transition:
    opacity 0.95s cubic-bezier(.22,.72,.12,1),
    transform 0.95s cubic-bezier(.22,.72,.12,1),
    filter 0.95s cubic-bezier(.22,.72,.12,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.A-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.A-reveal-up { transform: translate3d(0, 36px, 0); }
.A-reveal-fade { transform: none; filter: blur(10px); }
.A-reveal-scale { transform: translate3d(0, 18px, 0) scale(0.96); }
.A-reveal-scale.is-visible { transform: none; }
.A-reveal-left { transform: translate3d(-32px, 0, 0); }
.A-reveal-right { transform: translate3d(32px, 0, 0); }

/* Stagger children via --child-i */
.A-reveal-stagger > .A-reveal {
  transition-delay: calc(var(--child-i, 0) * var(--d-step, 90ms) + var(--reveal-delay, 0ms));
}

/* =============================================
   Polish: hover / focus micro-interactions
   ============================================= */

.A-root .A-btn {
  transition:
    transform 0.28s cubic-bezier(.22,.72,.12,1),
    box-shadow 0.28s cubic-bezier(.22,.72,.12,1),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    filter 0.22s ease;
}
.A-btn-primary:hover,
.A-btn-dark:hover,
.A-btn-white:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 18px 30px -18px rgba(26, 18, 48, 0.38);
}
.A-btn-primary:active,
.A-btn-dark:active,
.A-btn-white:active {
  transform: translateY(0);
  filter: brightness(0.96);
}
.A-btn-outline:hover,
.A-btn-outline-light:hover,
.A-btn-ghost:hover { transform: translateY(-1px); }
.A-btn-text:hover { filter: brightness(1.05); }

/* Arrow nudge on CTA hover */
.A-btn svg {
  transition: transform 0.28s cubic-bezier(.22,.72,.12,1);
}
.A-btn:hover svg { transform: translateX(2px); }

/* Nav links: subtle underline grow */
.A-nav-links a {
  position: relative;
  transition: color 0.2s ease;
}
.A-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--a-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(.22,.72,.12,1);
}
.A-nav-links a:hover { color: var(--a-accent-dark); }
.A-nav-links a:hover::after { transform: scaleX(1); }

/* Nav — becomes sticky-styled when the user scrolls past the top */
.A-nav {
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    padding 0.3s cubic-bezier(.22,.72,.12,1);
}
.A-nav.is-scrolled {
  background: rgba(250, 250, 252, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--a-line-soft), 0 10px 26px -22px rgba(26, 18, 48, 0.22);
}

/* Testimonial card: smooth fade/scale when the active quote changes */
.A-test-card-body {
  animation: A-test-swap 0.5s cubic-bezier(.22,.72,.12,1) both;
  will-change: opacity, transform, filter;
}
@keyframes A-test-swap {
  0% { opacity: 0; transform: translate3d(0, 6px, 0); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* Cards: subtle lift */
.A-diff-card,
.A-tool-card,
.A-loc-card,
.A-services-tab,
.A-test-chip,
.A-blog-list li,
.A-faq-item {
  transition:
    transform 0.35s cubic-bezier(.22,.72,.12,1),
    box-shadow 0.35s cubic-bezier(.22,.72,.12,1),
    background 0.28s ease,
    border-color 0.28s ease;
}
.A-diff-card:hover,
.A-tool-card:hover,
.A-loc-card:not(.is-soon):hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -26px rgba(26, 18, 48, 0.24);
}
.A-blog-list li:hover { transform: translateX(2px); }

/* Services panel: animate contents whenever the active tab changes */
.A-services-panel-media img,
.A-services-panel-copy {
  animation: A-panel-in 0.55s cubic-bezier(.22,.72,.12,1) both;
}
.A-services-panel-media img { animation-duration: 0.7s; }
@keyframes A-panel-in {
  0% { opacity: 0; transform: translate3d(0, 10px, 0); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* Quoter asset swap already uses A-asset-fade; keep chips snappy on hover */
.A-chip {
  transition:
    transform 0.22s cubic-bezier(.22,.72,.12,1),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}
.A-chip:hover { transform: translateY(-1px); }

/* BigCTA deco: gentle parallax float */
.A-bigcta-deco-l { animation: A-float-l 6s ease-in-out infinite; }
.A-bigcta-deco-r { animation: A-float-r 7s ease-in-out infinite; }
@keyframes A-float-l {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(-2deg); }
}
@keyframes A-float-r {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(6deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(3deg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .A-reveal-word,
  .A-lede-hero .A-lede-chunk,
  .A-topbar-anim,
  .A-nav-anim,
  .A-hero-media-anim,
  .A-hero-ctas-anim,
  .A-hero-badge-anim,
  .A-hero-strip-anim,
  .A-reveal,
  .A-services-panel-media img,
  .A-services-panel-copy,
  .A-bigcta-deco-l,
  .A-bigcta-deco-r {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
