/* Final service landing (landing-servicio-local.php) — loaded after servicio-v2.css.
   Navy hero from variant B, topic picker from variant C, four people below. */

.sv2e {
  --sv2-form-blue: #eaf1f8;
  --sv2-form-rule: #9fb9d6;
}

.sv2e h2,
.sv2e h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navy band: breadcrumbs + hero */
.sv2e-band {
  background: var(--sv2-navy);
  color: #fff;
}

.sv2e .sv2e-band .ga-breadcrumbs,
.sv2e .sv2e-band .ga-breadcrumbs a,
.sv2e .sv2e-band .ga-breadcrumbs [aria-current="page"] {
  color: #b9c6de;
}

.sv2e .sv2e-band .ga-breadcrumbs li + li::before {
  color: #6f7fa3;
}

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

.sv2e-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.sv2e .sv2-kicker {
  color: #b9c6de;
}

.sv2e .sv2-title {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 11ch;
}

.sv2e .sv2-title-long {
  max-width: 24ch;
  line-height: 1.12;
}

.sv2e .sv2-lead {
  color: #dbe3f0;
}

.sv2e-band :focus-visible {
  outline-color: var(--sv2-marker);
}

.sv2e .sv2e-phone {
  display: inline-grid;
  gap: 0.1rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--sv2-body);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.sv2e-phone-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b9c6de;
  letter-spacing: 0;
}

.sv2e .sv2e-phone:hover {
  color: var(--sv2-marker);
}

.sv2e .sv2-rating {
  color: #b9c6de;
}

.sv2e .sv2-rating a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* Topic picker: a pale paper form card on the navy band */
.sv2e-picker {
  background: var(--sv2-form-blue);
  color: var(--sv2-ink);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.sv2e-picker :focus-visible {
  outline-color: var(--sv2-blue);
}

.sv2e-step-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sv2-blue);
}

.sv2e .sv2e-picker-title {
  margin-top: 0.6rem;
  font-family: var(--sv2-display);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.2;
  color: var(--sv2-ink);
}

.sv2e-picker-text {
  margin-top: 0.4rem;
  color: var(--sv2-muted);
  font-size: 0.9688rem;
}

.sv2e-topics {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
}

.sv2 .sv2e-topics .sv2e-topic,
.sv2 .sv2e-topics .sv2e-topic:hover,
.sv2 .sv2e-topics .sv2e-topic:focus {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.6rem 0.9rem;
  background: var(--sv2-paper);
  border: 1px solid var(--sv2-form-rule);
  border-radius: 4px;
  color: var(--sv2-ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sv2e-topic::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--sv2-muted);
  border-radius: 50%;
  transition: border-color 0.15s ease, border-width 0.15s ease;
}

.sv2 .sv2e-topics .sv2e-topic:hover {
  border-color: var(--sv2-navy);
  box-shadow: inset 0 0 0 1px var(--sv2-navy);
}

.sv2e-topic:hover::before {
  border-color: var(--sv2-blue);
  border-width: 5px;
}

.sv2 .sv2e-picker .sv2e-back,
.sv2 .sv2e-picker .sv2e-back:hover,
.sv2 .sv2e-picker .sv2e-back:focus {
  background: none;
  border: 0;
  padding: 0;
  color: var(--sv2-ink);
  font: inherit;
  font-family: var(--sv2-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  border-radius: 0;
  cursor: pointer;
}

.sv2e .sv2e-form {
  background: transparent;
  padding: 0;
  margin-top: 1.25rem;
  border-radius: 0;
}

/* Without JS both steps show, so the form still works. */
.sv2e-picker.is-enhanced[data-step="1"] .sv2e-step-2,
.sv2e-picker.is-enhanced[data-step="2"] .sv2e-step-1 {
  display: none;
}

.sv2e-picker:not(.is-enhanced) .sv2e-step-2 {
  margin-top: 2rem;
}

.sv2e-picker:not(.is-enhanced) .sv2e-back,
.sv2e-picker:not(.is-enhanced) .sv2e-step-2 .sv2e-picker-title {
  display: none;
}

.sv2e-picker.is-enhanced[data-step="2"] {
  animation: sv2e-in 0.2s ease;
}

@keyframes sv2e-in {
  from {
    opacity: 0.4;
  }
}

/* People */
/* Tinted band so it does not run into the white services section below. */
.sv2e-people {
  background: var(--sv2-mist);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.sv2e-people-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}

.sv2e .sv2e-people-head .sv2-sublead {
  font-family: var(--sv2-display);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  font-weight: 500;
  max-width: 40ch;
}

.sv2e-people-list {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.sv2e-people-list li {
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.sv2e-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--sv2-mist);
  margin-bottom: 0.75rem;
  border-radius: 4px;
}

.sv2e-people-list strong {
  font-family: var(--sv2-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.sv2e-people-list span {
  font-size: 0.9375rem;
  color: var(--sv2-muted);
}

/* Firm facts: one white strip, so they don't read as captions of the portraits. */
.sv2e .sv2e-trust {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--sv2-paper);
  border-radius: 8px;
  padding: 1.5rem 0;
}

.sv2e .sv2e-trust li {
  padding: 0 1.5rem 0 3.25rem;
  font-weight: 600;
  align-self: center;
}

.sv2e .sv2e-trust li + li {
  border-left: 1px solid var(--sv2-line);
}

.sv2e .sv2e-trust li::before {
  top: 0.1rem;
  left: 1.5rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--sv2-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

@media (max-width: 900px) {
  .sv2e-hero-grid,
  .sv2e-people-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv2e-people-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sv2e .sv2e-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .sv2e .sv2e-trust li:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .sv2e .sv2-actions {
    display: flex;
  }

  .sv2e .sv2e-phone {
    border-right: 0;
    padding-right: 0;
  }

  .sv2e .sv2e-trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv2e .sv2e-trust li + li {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv2e-picker.is-enhanced[data-step="2"] {
    animation: none;
  }
}
