.sv-section {
  position: relative;
  z-index: 1;
  color: #f1f0eb;
  padding: 7rem 2.5rem;
}
.sv-inner { max-width: 1240px; margin: 0 auto; }
.sv-heading {
  margin: 0 0 3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.sv-heading span { color: var(--orange); }
.sv-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.sv-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #383834;
}
.sv-tab {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 104px;
  padding: 1.35rem 0;
  border-bottom: 1px solid #383834;
  background: transparent;
  color: #b7b7b0;
  text-align: left;
  font-family: var(--font-display);
  text-decoration: none;
  transition: color 200ms ease;
}
.sv-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms ease;
}
.sv-tab:hover, .sv-tab[data-active="true"] { color: #f1f0eb; }
.sv-tab[data-active="true"]::after { transform: scaleX(1); }
.sv-tab-copy { display: grid; gap: 9px; min-width: 0; }
.sv-tab-title {
  font-size: clamp(1.5rem, 2.55vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.sv-tab-description {
  color: #a3a39c;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.sv-tab[data-active="true"] .sv-tab-description { color: #cccac2; }
.sv-tab-art { display: none; }
.sv-tab-arrow {
  display: inline-flex;
  color: #888880;
  transform: rotate(45deg);
  transition: color 200ms ease, transform 300ms ease;
}
.sv-tab[data-active="true"] .sv-tab-arrow {
  color: var(--orange);
  transform: rotate(0);
}
.sv-tab:focus-visible {
  outline: 2px solid var(--site-accent, #ff5000);
  outline-offset: 5px;
}
/* Each service has a little working-world composition, rather than a cutout. */
.sv-art { position: relative; min-width: 0; align-self: center; }
.sv-art-stage { position: relative; aspect-ratio: 600 / 520; }
.sv-art-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(14px) scale(.95) rotate(-2deg);
  transition: opacity 280ms ease, transform 550ms cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.sv-art-panel.is-active { opacity: 1; transform: none; }
.sv-scene { display: block; width: 100%; height: auto; overflow: visible; }







.sv-art-caption {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px 0;
}
.sv-art-caption-line { width: 44px; height: 2px; background: var(--orange); flex: none; }
.sv-art-caption strong {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.045em;
  animation: services-detail-in 300ms ease both;
}
@keyframes services-detail-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
  .sv-section { padding: 4.5rem 1.25rem; scroll-margin-top: 80px; }
  .sv-heading { margin-bottom: 2rem; }
  .sv-editorial { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sv-tab {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 12px;
    min-height: 104px;
    padding: 1rem 0;
    color: #f1f0eb;
  }
  .sv-tab-art { display: block; width: 44px; align-self: start; padding-top: 3px; }
  .sv-tab-title { font-size: clamp(1.125rem, 4.6vw, 1.75rem); line-height: 1.2; letter-spacing: -.035em; }
  .sv-tab-description { font-size: 12px; line-height: 1.5; }
  .sv-tab-copy { gap: 7px; }
  .sv-tab-arrow { color: var(--orange); transform: none; }
  .sv-tab-arrow svg { width: 20px; height: 20px; }
  .sv-art { display: none; }
}
@media (max-width: 359px) {
  .sv-tab { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 10px; }
  .sv-tab-art { width: 36px; }
}
@media (max-width: 700px) {
  /* Before hydration and without JavaScript, every topic remains readable. */
  .compare-section[data-mobile-stack="false"] .compare-board { padding-right: 0; gap: 24px; }
  .compare-section[data-mobile-stack="false"] .compare-topic { grid-area: auto; transform: none; filter: none; opacity: 1; cursor: default; }
  .compare-section[data-mobile-stack="false"] .compare-topic > * { visibility: visible; }
  .compare-section[data-mobile-stack="false"] .compare-controls,
  .compare-section[data-mobile-stack="false"] .compare-tap-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-tab, .sv-tab::after, .sv-tab-arrow, .sv-art-panel { transition: none; }
  .sv-art-panel { transform: none; }

  .sv-art-caption strong { animation: none; }
}

/* Static backdrop: diagonal extruded LUSORA plus flowing lines, drawn in one
   SVG (letters as paths, no font or JS). It starts at the top of #servicos
   and, through its aspect ratio, reaches down behind reviews and contact. */
.sv-section::before {
  content: "";
  opacity: .55;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1000 / 1300;
  z-index: -1;
  background: url("/assets/images/lusora-backdrop.svg") top center / 100% auto
    no-repeat;
  pointer-events: none;
}
@media (max-width: 767px) {
  .sv-section::before {
    aspect-ratio: 1000 / 5300;
    background-image: url("/assets/images/lusora-backdrop-narrow.svg");
  }
}

/* Comparison: keep each problem beside its concrete deliverables. */
.compare-section { position: relative; z-index: 1; color: #f1f0eb; padding: 3rem 2.5rem 8rem; }
.compare-inner { max-width: 1240px; margin: 0 auto; }
.compare-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 24px; }
.compare-heading { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -.055em; text-wrap: balance; }
.compare-lead { max-width: 68ch; margin: 0; font-size: 15px; line-height: 1.7; color: #b8b7b0; }
/* No frame: rows separate by space, columns by alignment. */
.compare-board { display: grid; row-gap: clamp(2.5rem, 4.5vw, 3.75rem); }
.compare-columns, .compare-topic { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.65fr); column-gap: clamp(2rem, 4vw, 4rem); }
.compare-columns { margin-bottom: calc(-1 * clamp(1rem, 2vw, 1.75rem)); }
.compare-columns p { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: #8f8e86; }
.compare-columns p:last-child { color: var(--orange); font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.025em; }
.compare-columns svg { flex: none; }
.compare-before, .compare-after { min-width: 0; }
.compare-after h3 { margin: 0 0 18px; color: #f1f0eb; font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.compare-topic ul { list-style: none; margin: 0; padding: 0; }
/* Problems line up with the topic title's baseline region. */
.compare-before ul { display: grid; gap: 12px; padding-top: calc(clamp(1.3rem, 1.9vw, 1.6rem) * 1.2 + 18px); }
.compare-before li { display: flex; align-items: flex-start; gap: 10px; color: #a3a29a; font-size: 14.5px; line-height: 1.55; }
.compare-cross { flex: none; margin-top: .25em; }
.compare-cross path { stroke: #85847a; stroke-width: 1.6; stroke-linecap: round; }
.compare-after { color: #f1f0eb; }
.compare-after ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.compare-after li { display: flex; gap: 9px; align-items: flex-start; }
.compare-check { flex: none; margin-top: 1px; }
.compare-check path { stroke: #ff5000; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.compare-after strong { display: block; margin-bottom: 2px; color: #f1f0eb; font-size: 15.5px; font-weight: 550; line-height: 1.4; letter-spacing: -.01em; }
.compare-after li span { display: block; color: #a3a29a; font-size: 14px; line-height: 1.5; }
.compare-mobile-label, .compare-count, .compare-dots, .compare-tap-hint, .compare-controls { display: none; }
.compare-announcement { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
  .compare-intro { grid-template-columns: 1fr; gap: 16px; }
  .compare-after ul { gap: 14px 20px; }
}
@media (max-width: 700px) {
  .compare-section { padding: 2rem 20px 6.5rem; overflow-x: clip; }
  .compare-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .compare-heading { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .compare-lead { font-size: 15px; line-height: 1.7; }
  /* Phones: the topics stack like cards, the ones waiting peeking out on the
     right so the count is visible; a tap sends the top card to the back.
     Inside a card: number, title, the agency problems (quiet), then what
     Lusora delivers (bright). Cards need a surface so the stack reads. */
  .compare-board { display: grid; padding-right: 22px; }
  .compare-columns { display: none; }
  .compare-topic {
    --card-glow: rgba(255,80,0, .16);
    grid-area: 1 / 1;
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(6, auto) 1fr;
    padding: 22px 20px 18px;
    overflow: hidden;
    border-radius: 22px;
    background:
      radial-gradient(120% 60% at 100% 0%, var(--card-glow), transparent 60%),
      var(--card-texture, url("/assets/images/compare-card-lines-dark.svg")) center top / cover no-repeat,
      var(--site-panel, #191917);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px -24px rgba(0, 0, 0, .7);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform-origin: 100% 50%;
    transition: transform 460ms cubic-bezier(.22, 1, .36, 1), opacity 300ms ease, filter 300ms ease;
  }
  .compare-topic[data-pos="0"] { z-index: 4; }
  .compare-topic[data-pos="1"] { z-index: 3; transform: translateX(11px) scale(.94); filter: brightness(.8); }
  .compare-topic[data-pos="2"] { z-index: 2; transform: translateX(21px) scale(.88); filter: brightness(.65); }
  .compare-topic[data-pos="3"] { z-index: 1; transform: translateX(21px) scale(.88); filter: brightness(.65); opacity: 0; }
  .compare-topic:not([data-pos="0"]) > * { visibility: hidden; transition: visibility 0s 120ms; }
  .compare-topic[data-leaving] { animation: compare-card-out 600ms cubic-bezier(.4, 0, .2, 1) both; }
  .compare-topic[data-leaving] > * { visibility: visible; }
  @keyframes compare-card-out {
    0% { z-index: 5; transform: none; opacity: 1; filter: none; }
    45% { z-index: 5; transform: translate(-112%, 0) rotate(-6deg); opacity: 1; filter: none; }
    46% { z-index: 0; }
    100% { z-index: 0; transform: translateX(21px) scale(.88); opacity: 0; filter: brightness(.65); }
  }
  .compare-before, .compare-after { display: contents; }
  .compare-count {
    display: flex;
    align-items: baseline;
    gap: 4px;
    grid-row: 1;
    color: var(--site-muted, #aaa99f);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .compare-count b { color: var(--orange, #ff5000); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
  .compare-after h3 { grid-row: 2; margin: 0; padding: 8px 0 18px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.03em; }
  .compare-mobile-label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 0 10px; color: var(--site-muted, #aaa99f); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .compare-mobile-label::after { content: ""; flex: 1; height: 1px; background: var(--site-rule, #393933); }
  .compare-before .compare-mobile-label { grid-row: 3; }
  .compare-before ul { grid-row: 4; display: grid; gap: 7px; padding: 0 0 20px; }
  .compare-before li { gap: 8px; font-size: 13px; line-height: 1.4; color: var(--site-muted, #8f8e86); text-decoration: line-through; text-decoration-color: rgba(143, 142, 134, .45); text-decoration-thickness: 1px; }
  .compare-cross { width: 12px; height: 12px; margin-top: .22em; }
  .compare-after .compare-mobile-label { grid-row: 5; color: var(--orange, #ff5000); }
  .compare-after .compare-mobile-label::after { background: linear-gradient(90deg, rgba(255,80,0, .5), transparent); }
  .compare-after ul { grid-row: 6; grid-template-columns: 1fr; gap: 14px; padding-top: 4px; }
  .compare-after li { gap: 10px; }
  .compare-check { width: 18px; height: 18px; margin-top: 1px; }
  .compare-after strong { font-size: 14.5px; line-height: 1.3; }
  .compare-after li span { margin-top: 2px; font-size: 13px; line-height: 1.4; }
  .compare-tap-hint { grid-row: 7; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--site-rule, #393933); color: var(--site-muted, #aaa99f); font-size: 12px; }
  .compare-tap-hint svg path { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .compare-controls { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 10px; }
  .compare-step { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--site-muted, #aaa99f); font-size: 20px; cursor: pointer; transition: color .2s ease; }
  .compare-step:hover, .compare-step:focus-visible { color: var(--orange, #ff5000); }
  .compare-dots { display: flex; justify-content: center; gap: 0; }
  .compare-dots button { display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .compare-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--site-rule, #393933); transition: background-color .2s ease; }
  .compare-dots button[aria-current="true"]::before { background: var(--orange, #ff5000); }
}
@media (prefers-reduced-motion: reduce) {
  .compare-topic { transition: none; }
  .compare-topic[data-leaving] { animation: none; }
}

/* Home page: free site check (HomeSeoCheck), right after the services. */
.hsc-section { position: relative; z-index: 1; padding: 0 2.5rem 7rem; color: var(--site-text, #f1f0eb); }
.hsc-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--site-rule, #33332f); }
.hsc-copy h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -.03em; }
.hsc-copy h2 span { color: var(--orange); }
.hsc-field { display: flex; align-items: baseline; gap: 1.5rem; border-bottom: 1.5px solid var(--site-text, #f1f0eb); transition: border-color 180ms ease; }
.hsc-field:focus-within { border-color: #ff5000; }
.hsc-field input { flex: 1; min-width: 0; padding: .5rem 0 .75rem; border: 0; background: transparent; color: var(--site-text, #f1f0eb); font: 500 clamp(1.5rem, 3vw, 2.25rem) var(--font-display, inherit); letter-spacing: -.02em; outline: 0; }
.hsc-field input::placeholder { color: #6f6e68; }
.hsc-field input:focus-visible { outline: 0; }
.hsc-field button { padding: 0; border: 0; background: none; color: var(--site-text, #f1f0eb); font: 600 1.0625rem Sora, Arial, sans-serif; white-space: nowrap; cursor: pointer; transition: color 180ms ease; }
.hsc-field button span { display: inline-block; transition: transform 180ms ease; }
.hsc-field button:hover { color: #ff5000; }
.hsc-field button:hover span { transform: translateX(4px); }
.hsc-field button:focus-visible { outline: 2px solid var(--site-accent, #ff5000); outline-offset: 4px; }
.hsc-form[data-state="loading"] button { opacity: .6; cursor: progress; }
.hsc-note { margin: .75rem 0 0; color: var(--site-muted, #aaa9a3); font-size: .8125rem; }
.hsc-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hsc-result { grid-column: 1 / -1; }
.hsc-result:empty { display: none; }
.hsc-error { margin: 0; padding: 1rem 1.25rem; border-radius: 14px; background: rgba(255,80,0, .1); color: var(--site-text, #f1f0eb); }
.hsc-head { display: flex; align-items: center; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--site-rule, #33332f); }
.hsc-head strong { font-family: var(--font-display); font-size: 3rem; font-weight: 500; letter-spacing: -.04em; color: var(--orange); }
.hsc-head strong small { font-size: 1.25rem; color: var(--site-muted, #aaa9a3); }
.hsc-head span { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; }
.hsc-head em { font-style: normal; font-weight: 400; color: var(--site-muted, #aaa9a3); font-size: .875rem; overflow-wrap: anywhere; }
.hsc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 2rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.hsc-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: .75rem; padding: .625rem 0; border-bottom: 1px solid var(--site-rule, #33332f); }
.hsc-list i { width: 10px; height: 10px; margin-top: .375rem; border-radius: 50%; background: #2f9e64; }
.hsc-list li[data-status="warn"] i { background: #e2a93b; }
.hsc-list li[data-status="fail"] i { background: #e0445a; }
.hsc-list strong { font-size: .9375rem; font-weight: 600; }
.hsc-list span { grid-column: 2; color: var(--site-muted, #aaa9a3); font-size: .8125rem; overflow-wrap: anywhere; }
.hsc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.hsc-cta p { margin: 0; flex: 1 1 280px; font-weight: 500; }
.hsc-cta a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; background: #ff5000; color: var(--ls-on-action); font-weight: 600; text-decoration: none; }
.hsc-cta a.hsc-more { padding: 0; background: none; color: var(--site-text, #f1f0eb); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .hsc-section { padding: 0 1rem 4rem; }
  .hsc-inner { grid-template-columns: minmax(0, 1fr); }
  .hsc-list { grid-template-columns: minmax(0, 1fr); }
}
