/* Landing Servicio (rediseño) — page-templates/landing-servicio-v2*.php
   Typography: Montserrat, the site-wide face already loaded by Elementor. */

.sv2 {
  --sv2-ink: #111c38;
  --sv2-navy: #1a284f;
  --sv2-blue: #005da3;
  --sv2-blue-dark: #004a83;
  --sv2-paper: #ffffff;
  --sv2-mist: #eef2f7;
  --sv2-line: #d5dce6;
  --sv2-muted: #4a5670;
  --sv2-marker: #ffe45c;

  --sv2-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sv2-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --sv2-gutter: 16px;
  --sv2-section: clamp(4rem, 9vw, 7.5rem);

  background: var(--sv2-paper);
  color: var(--sv2-ink);
  font-family: var(--sv2-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}

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

:where(.sv2) h1,
:where(.sv2) h2,
:where(.sv2) h3 {
  margin: 0;
}

.sv2 h1,
.sv2 h2,
.sv2 h3 {
  font-family: var(--sv2-display);
  color: var(--sv2-ink);
  font-weight: 700;
  text-wrap: balance;
}

:where(.sv2) p {
  margin: 0;
}

.sv2 a {
  color: inherit;
}

.sv2 :focus-visible {
  outline: 2px solid var(--sv2-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.sv2-wrap {
  width: min(1200px, 100% - 2 * var(--sv2-gutter));
  margin-inline: auto;
}

.sv2-mono {
  font-family: var(--sv2-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.sv2 .ga-breadcrumbs {
  width: min(1200px, 100% - 2 * var(--sv2-gutter));
  margin-inline: auto;
  padding: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--sv2-muted);
}

.sv2 .ga-breadcrumbs a {
  color: var(--sv2-muted);
}

.sv2 .ga-breadcrumbs [aria-current="page"] {
  color: var(--sv2-ink);
}

/* ── Hero ─────────────────────────────────────────── */

.sv2-hero {
  padding: clamp(2rem, 5vw, 4.5rem) 0 0;
}

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

.sv2-kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sv2-blue);
  margin-bottom: 1.25rem;
}

.sv2 .sv2-title {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 11ch;
}

.sv2 .sv2-title-long {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.sv2-lead {
  margin-top: 1.75rem;
  max-width: 50ch;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
  color: var(--sv2-ink);
}

.sv2-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.25rem;
}

.sv2 .sv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border-radius: 6px;
  background: var(--sv2-blue);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.sv2 .sv2-btn:hover {
  background: var(--sv2-blue-dark);
  color: #fff;
}

.sv2 .sv2-btn-quiet {
  background: transparent;
  color: var(--sv2-ink);
  box-shadow: inset 0 0 0 1.5px var(--sv2-ink);
}

.sv2 .sv2-btn-quiet:hover {
  background: var(--sv2-ink);
  color: #fff;
}

.sv2 .sv2-link {
  font-weight: 600;
  color: var(--sv2-blue);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}

.sv2 .sv2-link:hover {
  color: var(--sv2-blue-dark);
}

.sv2-rating {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--sv2-muted);
}

.sv2-rating-stars {
  color: #e8a400;
  letter-spacing: 0.08em;
}

.sv2 .sv2-rating a {
  color: var(--sv2-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--sv2-line);
}

.sv2 .sv2-rating a:hover {
  border-color: var(--sv2-ink);
}

/* Team photo sits on the page white, so the people stand in the layout. */
.sv2-hero-side {
  position: relative;
  align-self: center;
}

.sv2-team {
  margin: 0;
}

.sv2-team-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2048 / 1659;
  object-fit: cover;
  object-position: 20% 0;
  mix-blend-mode: multiply;
  filter: brightness(1.04) contrast(1.02);
}

/* Signature: the next tax deadline, highlighted like a date in a desk diary. */
.sv2-deadline {
  position: absolute;
  left: clamp(-4.5rem, -5vw, -1rem);
  bottom: -2.25rem;
  width: 16rem;
  padding: 1.15rem 1.4rem 1.25rem;
  background: var(--sv2-paper);
  color: var(--sv2-ink);
  border: 1.5px solid var(--sv2-ink);
  border-radius: 4px;
}

.sv2-deadline-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sv2-muted);
}

.sv2-deadline-date time {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.sv2-deadline-day {
  font-family: var(--sv2-display);
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.sv2-deadline-day mark {
  background: linear-gradient(transparent 52%, var(--sv2-marker) 52%, var(--sv2-marker) 88%, transparent 88%);
  color: var(--sv2-ink);
  padding: 0 0.1em;
  margin-left: -0.1em;
}

.sv2-deadline-month {
  font-family: var(--sv2-display);
  font-weight: 600;
  font-size: 1.125rem;
}

.sv2-deadline-meta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sv2-line);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sv2-muted);
}

.sv2-deadline-meta .sv2-mono {
  display: block;
  color: var(--sv2-ink);
  font-size: 0.9375rem;
}

.sv2-deadline-note {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--sv2-ink);
  font-weight: 500;
}

/* Facts strip under the hero */
.sv2-facts {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 2rem 0 0;
  border-top: 1px solid var(--sv2-line);
}

.sv2-sublead {
  font-family: var(--sv2-display);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.sv2-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.sv2-trust li {
  position: relative;
  padding-top: 0.9rem;
  font-size: 0.9688rem;
  line-height: 1.45;
  color: var(--sv2-ink);
}

.sv2-trust li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.5rem;
  height: 2px;
  background: var(--sv2-blue);
}

/* ── Sections ─────────────────────────────────────── */

.sv2-section {
  padding: var(--sv2-section) 0;
}

.sv2 .sv2-h2 {
  font-size: clamp(1.625rem, 2.8vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 20ch;
}

.sv2-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.sv2-split > .sv2-h2 {
  position: sticky;
  top: 2rem;
}

/* Services: an index, not a card grid */
.sv2-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 3vw, 3rem);
}

.sv2-service {
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid var(--sv2-line);
}

.sv2 .sv2-service h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.sv2-service p {
  margin-top: 0.6rem;
  color: var(--sv2-muted);
  font-size: 1rem;
}

/* Process: a real sequence, so it is numbered */
.sv2-process {
  background: var(--sv2-mist);
}

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

.sv2-steps li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--sv2-ink);
}

.sv2-step-num {
  display: block;
  font-size: 0.8125rem;
  color: var(--sv2-blue);
  margin-bottom: 0.9rem;
}

.sv2 .sv2-steps h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.sv2-steps p {
  margin-top: 0.6rem;
  color: var(--sv2-muted);
  font-size: 1rem;
}

/* Reviews */
.sv2-reviews-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2rem;
}

.sv2-quotes {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-auto-rows: auto;
  gap: 2rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.sv2-quote {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sv2-line);
}

.sv2-quote-lead {
  grid-row: span 2;
  border-top: 2px solid var(--sv2-ink);
}

.sv2-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  quotes: "«" "»";
}

.sv2-quote blockquote p::before {
  content: open-quote;
}

.sv2-quote blockquote p::after {
  content: close-quote;
}

.sv2-quote blockquote p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--sv2-ink);
}

.sv2-quote-lead blockquote p {
  font-family: var(--sv2-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.sv2-quote figcaption {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--sv2-muted);
}

.sv2-quote figcaption strong {
  color: var(--sv2-ink);
  font-weight: 600;
}

/* Contact */
.sv2-contact {
  background: var(--sv2-navy);
  color: #fff;
  scroll-margin-top: 1rem;
}

.sv2-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.sv2 .sv2-contact .sv2-h2 {
  color: #fff;
}

.sv2-contact-text {
  margin-top: 1.25rem;
  max-width: 42ch;
  color: #dbe3f0;
}

.sv2-contact-points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.sv2-contact-points li {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 500;
}

.sv2-contact-points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.sv2-direct {
  margin-top: 2.5rem;
  display: grid;
  justify-items: start;
  gap: 0.5rem;
}

.sv2-direct-label {
  font-size: 0.875rem;
  color: #b9c6de;
}

.sv2 .sv2-direct-phone {
  font-family: var(--sv2-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}

.sv2 .sv2-direct-phone:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 2px;
}

.sv2 .sv2-link-light {
  color: #fff;
}

.sv2 .sv2-link-light:hover {
  color: var(--sv2-marker);
}

.sv2-direct-address {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: #b9c6de;
}

.sv2-contact-copy :focus-visible {
  outline-color: var(--sv2-marker);
}

.sv2-form {
  background: var(--sv2-paper);
  color: var(--sv2-ink);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.sv2-form .wpcf7-form > p,
.sv2-form .wpcf7-form > label {
  margin: 0 0 1.1rem;
}

.sv2-form .wpcf7-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sv2-ink);
}

.sv2-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.4rem;
}

.sv2-form input[type="text"],
.sv2-form input[type="email"],
.sv2-form input[type="tel"],
.sv2-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #7d889c;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: var(--sv2-ink);
  transition: border-color 0.15s ease;
}

.sv2-form textarea {
  min-height: 7.5rem;
  max-height: 14rem;
  resize: vertical;
}

.sv2-form input:hover,
.sv2-form textarea:hover {
  border-color: var(--sv2-muted);
}

.sv2-form input:focus,
.sv2-form textarea:focus {
  outline: 2px solid var(--sv2-blue);
  outline-offset: 0;
  border-color: var(--sv2-blue);
}

.sv2-form .wpcf7-form label:has(.wpcf7-acceptance) {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--sv2-muted);
}

.sv2-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.sv2-form .wpcf7-acceptance a {
  color: var(--sv2-blue);
}

.sv2 .sv2-form .wpcf7-submit,
.sv2 .sv2-form .wpcf7-submit:focus {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.4rem;
  border: 0;
  border-radius: 6px;
  background: var(--sv2-blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  padding: 0 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.sv2 .sv2-form .wpcf7-submit:hover {
  background: var(--sv2-blue-dark);
}

.sv2 .sv2-form .wpcf7-submit:disabled {
  background: #9aa6b8;
  cursor: not-allowed;
}

.sv2-form .wpcf7-spinner {
  display: block;
  margin: 0.75rem auto 0;
}

.sv2-form .wpcf7-not-valid-tip {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.35rem;
}

.sv2-form .wpcf7-response-output {
  margin: 1rem 0 0 !important;
  border-radius: 6px;
  font-size: 0.9375rem;
}

/* FAQ */
.sv2-faq-list details {
  border-top: 1px solid var(--sv2-line);
}

.sv2-faq-list details:last-child {
  border-bottom: 1px solid var(--sv2-line);
}

.sv2-faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--sv2-display);
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sv2-ink);
}

.sv2-faq-list summary::-webkit-details-marker {
  display: none;
}

.sv2-faq-list summary::before,
.sv2-faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--sv2-ink);
  transition: transform 0.2s ease;
}

.sv2-faq-list summary::after {
  transform: rotate(90deg);
}

.sv2-faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.sv2-faq-list summary:hover {
  color: var(--sv2-blue);
}

.sv2-faq-list details p {
  padding: 0 2.5rem 1.6rem 0;
  max-width: 68ch;
  color: var(--sv2-muted);
}

/* Mobile action dock: the only floating element on the page. */
.sv2-dock {
  display: none;
}

/* The site-wide WhatsApp bubble duplicates the dock and the hero link here. */
body:has(.sv2) .qlwapp {
  display: none !important;
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 1024px) {
  .sv2-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .sv2-deadline {
    left: 0;
  }
}

@media (max-width: 900px) {
  .sv2-hero-grid,
  .sv2-facts,
  .sv2-split,
  .sv2-contact-grid,
  .sv2-quotes {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv2-split > .sv2-h2 {
    position: static;
  }

  .sv2-quote-lead {
    grid-row: auto;
  }

  .sv2-hero-side {
    display: grid;
    gap: 0;
  }

  .sv2-deadline {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -1px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-items: center;
  }

  .sv2-deadline-label,
  .sv2-deadline-meta,
  .sv2-deadline-note {
    grid-column: 1 / -1;
  }

  body:has(.sv2) {
    padding-bottom: 4.5rem;
  }

  .sv2-dock {
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0.5rem;
    padding: 0.6rem var(--sv2-gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--sv2-line);
    transition: transform 0.25s ease;
  }

  .sv2-js .sv2-dock {
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .sv2-js .sv2-dock.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }

  .sv2 .sv2-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1.5px var(--sv2-ink);
    color: var(--sv2-ink);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
  }

  .sv2 .sv2-dock a.sv2-dock-main {
    background: var(--sv2-blue);
    box-shadow: none;
    color: #fff;
  }
}

@media (max-width: 560px) {
  .sv2 {
    font-size: 1rem;
  }

  .sv2-hero {
    padding-top: 1.5rem;
  }

  .sv2-kicker {
    margin-bottom: 0.9rem;
  }

  .sv2-lead {
    margin-top: 1.25rem;
  }

  .sv2-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .sv2 .sv2-btn {
    padding: 0 0.75rem;
    font-size: 0.9375rem;
  }

  .sv2 .sv2-actions .sv2-link {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.4rem;
  }

  .sv2-trust,
  .sv2-services-list,
  .sv2-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv2-deadline-day {
    font-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv2 *,
  .sv2-dock {
    transition: none !important;
  }
}
