body.page-template-page-templates-landing-servicio-local,
body.page-template-landing-servicio-local {
  --ga-service-bg: #f3f7fd;
  --ga-service-surface: #ffffff;
  --ga-service-text: #20324f;
  --ga-service-muted: #4d6286;
  --ga-service-primary: #1a284f;
  --ga-service-secondary: #005da3;
  --ga-service-accent: #2a78b8;
  --ga-service-border: #d7e3f2;
}

body.page-template-page-templates-landing-servicio-local .site-header .custom-logo-link img,
body.page-template-page-templates-landing-servicio-local .site-branding img,
body.page-template-landing-servicio-local .site-header .custom-logo-link img,
body.page-template-landing-servicio-local .site-branding img {
  width: auto;
  max-height: 68px;
}

.ga-service-page {
  color: var(--ga-service-text);
  background:
    radial-gradient(circle at 86% 7%, #e0edff 0%, transparent 48%),
    linear-gradient(180deg, #f6faff 0%, #eef5fd 42%, #ffffff 100%);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.ga-service-page h1,
.ga-service-page h2,
.ga-service-page h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #1a284f;
  letter-spacing: -0.02em;
}

.ga-service-wrap {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ── HERO ─────────────────────────────────────────── */

.ga-service-hero {
  padding: 4rem 0 2.8rem;
}

.ga-service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 2rem;
  align-items: start;
}

.ga-service-hero-copy {
  max-width: 660px;
}

/* Kicker: pill badge */
.ga-service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.28rem 0.88rem;
  background: rgba(0, 93, 163, 0.08);
  border: 1px solid rgba(0, 93, 163, 0.2);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: var(--ga-service-secondary);
  font-size: 0.75rem;
}

.ga-service-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  margin: 0;
  max-width: 18ch;
  line-height: 1.07;
  color: #111e38;
}

.ga-service-lead {
  margin: 0.95rem 0 0;
  font-size: 1.1rem;
  max-width: 58ch;
  color: #233d65;
  font-weight: 500;
  line-height: 1.55;
}

.ga-service-sublead {
  margin: 0.55rem 0 0;
  max-width: 56ch;
  color: var(--ga-service-muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

/* Trust items: checkmark style */
.ga-service-trust {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.42rem;
}

.ga-service-trust li {
  position: relative;
  padding-left: 1.55rem;
  color: #1e3557;
  font-size: 0.97rem;
  font-weight: 500;
}

.ga-service-trust li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23005da3' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  top: 0.05em;
  line-height: 1;
}

/* CTA row: primary + WhatsApp same weight, phone as ghost */
.ga-service-cta-row {
  margin-top: 1.55rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.ga-service-btn {
  text-decoration: none;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.ga-service-btn:hover {
  transform: translateY(-2px);
}

.ga-service-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #005da3 0%, #1e77be 100%);
  box-shadow: 0 10px 28px rgba(0, 93, 163, 0.28);
}

.ga-service-btn-primary:hover {
  box-shadow: 0 14px 32px rgba(0, 93, 163, 0.36);
}

.ga-service-btn-secondary {
  color: var(--ga-service-primary);
  border-color: #91b2d9;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  padding: 0.7rem 1.1rem;
}

.ga-service-btn-secondary:hover {
  border-color: var(--ga-service-secondary);
  color: var(--ga-service-secondary);
}

.ga-service-btn-whatsapp {
  color: #ffffff;
  background: linear-gradient(135deg, #1dbc5c 0%, #25d366 100%);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
}

.ga-service-btn-whatsapp:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

/* Social proof micro-line below CTAs */
.ga-service-social-proof-line {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.84rem;
  color: var(--ga-service-muted);
}

.ga-service-social-proof-line .ga-stars {
  color: #f0a800;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
}

.ga-service-social-proof-line span + span::before {
  content: "·";
  margin-right: 0.5rem;
}

/* ── FORM CARD ────────────────────────────────────── */

.ga-service-form-card {
  background: var(--ga-service-surface);
  border: 1px solid #c8daf0;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 24px 48px rgba(26, 40, 79, 0.14), 0 4px 12px rgba(26, 40, 79, 0.06);
  position: sticky;
  top: 86px;
  overflow: hidden;
}

/* Colored header band inside form card */
.ga-service-form-card-inner {
  padding: 1.3rem 1.3rem 1.4rem;
}

.ga-service-team-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 200px;
  object-fit: cover;
  object-position: top;
}

.ga-service-form-card h2 {
  font-size: 1.28rem;
  margin: 1rem 0 0;
  color: #111e38;
  line-height: 1.25;
}

.ga-service-form-card > p,
.ga-service-form-card-inner > p {
  margin-top: 0.45rem;
  color: var(--ga-service-muted);
  font-size: 0.93rem;
}

.ga-service-form-points {
  margin: 0.75rem 0 0.9rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.ga-service-form-points li {
  color: #1a3457;
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.ga-service-form-points li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23009b4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  top: 0.1em;
}

/* ── FORM FIELDS ──────────────────────────────────── */

.ga-service-form-shortcode .wpcf7-form p {
  margin: 0 0 0.28rem;
}

.ga-service-form-shortcode .wpcf7 input,
.ga-service-form-shortcode .wpcf7 textarea,
.ga-service-form-shortcode .wpcf7 select,
.ga-service-form-shortcode input,
.ga-service-form-shortcode textarea,
.ga-service-form-shortcode select {
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid #c8d8ee;
  padding: 0.6rem 0.72rem;
  background: #f9fbff;
  color: #1e3353;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ga-service-form-shortcode .wpcf7 textarea,
.ga-service-form-shortcode textarea {
  min-height: 64px;
  max-height: 120px;
  resize: vertical;
}

.ga-service-form-shortcode .wpcf7 label,
.ga-service-form-shortcode label {
  display: block;
  font-weight: 600;
  color: #1e3457;
  font-size: 0.87rem;
  margin-bottom: 0.28rem;
}

.ga-service-form-shortcode .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.18rem;
}

.ga-service-form-shortcode .wpcf7 input:focus,
.ga-service-form-shortcode .wpcf7 textarea:focus,
.ga-service-form-shortcode .wpcf7 select:focus,
.ga-service-form-shortcode input:focus,
.ga-service-form-shortcode textarea:focus,
.ga-service-form-shortcode select:focus {
  border-color: #3a8fd4;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 143, 212, 0.18);
}

/* Submit button */
.ga-service-form-shortcode .wpcf7-submit,
.ga-service-form-shortcode input[type="submit"] {
  background: linear-gradient(135deg, #005da3 0%, #1e77be 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.9rem 1.25rem;
  width: 100%;
  margin-top: 0.55rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 22px rgba(0, 93, 163, 0.28);
}

.ga-service-form-shortcode .wpcf7-submit:hover,
.ga-service-form-shortcode input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 93, 163, 0.36);
}

.ga-service-form-shortcode .wpcf7-submit:disabled,
.ga-service-form-shortcode input[type="submit"]:disabled,
.ga-service-form-shortcode .wpcf7-submit.submitting {
  background: linear-gradient(135deg, #005da3 0%, #1e77be 100%) !important;
  color: #ffffff !important;
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.ga-service-form-shortcode .wpcf7-not-valid-tip {
  margin-top: 0.22rem;
  font-size: 0.82rem;
  color: #c0392b;
}

/* Acceptance / Legal checkbox */
.ga-service-form-shortcode .wpcf7-acceptance .wpcf7-list-item {
  margin: 0.4rem 0 0;
}

.ga-service-form-shortcode .wpcf7-acceptance label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400 !important;
  color: #2d4568;
  font-size: 0.82rem;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 0;
}

.ga-service-form-shortcode .wpcf7-acceptance .wpcf7-list-item-label {
  display: inline;
}

.ga-service-form-shortcode .wpcf7-acceptance a {
  color: #005da3;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ga-service-form-shortcode .wpcf7-acceptance a:hover {
  color: #004080;
}

.ga-service-form-shortcode .wpcf7-acceptance input[type="checkbox"] {
  display: inline-block !important;
  width: 1rem !important;
  height: 1rem !important;
  min-height: unset !important;
  margin: 0.18rem 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  accent-color: #1f75bb;
  cursor: pointer;
}

/* Privacy note below submit */
.ga-service-form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.79rem;
  color: #8fa3be;
  text-align: center;
}

.ga-service-form-shortcode .wpcf7-response-output {
  border-radius: 10px;
  margin: 0.8rem 0 0;
  padding: 0.75rem;
  font-size: 0.9rem;
}

/* ── SECTIONS ─────────────────────────────────────── */

.ga-service-benefits,
.ga-service-process,
.ga-service-reviews,
.ga-service-faq {
  padding: 2.4rem 0;
}

.ga-service-benefits {
  background: #eff5ff;
  border-top: 1px solid #d7e3f2;
  border-bottom: 1px solid #d7e3f2;
}

.ga-service-process {
  background: #f6faff;
}

.ga-service-benefits h2,
.ga-service-process h2,
.ga-service-reviews h2,
.ga-service-faq h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  margin: 0 0 1.2rem;
}

/* Cards grid */
.ga-service-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ga-service-card {
  background: #ffffff;
  border: 1px solid var(--ga-service-border);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(26, 40, 79, 0.06);
  border-top: 3px solid #aecef2;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ga-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(26, 40, 79, 0.1);
  border-top-color: #005da3;
}

.ga-service-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: #111e38;
}

.ga-service-card p {
  margin: 0.5rem 0 0;
  color: var(--ga-service-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Process steps */
.ga-service-steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: ga-step;
}

.ga-service-steps li {
  background: #ffffff;
  border: 1px solid var(--ga-service-border);
  border-radius: 14px;
  padding: 1.1rem;
  position: relative;
}

.ga-service-steps li::before {
  counter-increment: ga-step;
  content: counter(ga-step);
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  background: linear-gradient(135deg, #005da3 0%, #1e77be 100%);
  margin-bottom: 0.6rem;
  box-shadow: 0 4px 10px rgba(0, 93, 163, 0.2);
}

.ga-service-steps strong {
  color: #111e38;
  display: block;
  font-size: 1rem;
}

.ga-service-steps p {
  margin: 0.4rem 0 0;
  color: var(--ga-service-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Reviews */
.ga-service-review .ga-service-stars {
  color: #f0ad2e;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.6rem;
}

.ga-service-review p {
  font-size: 0.97rem;
  color: #2d4a75;
  line-height: 1.55;
  font-style: italic;
}

.ga-service-review .ga-service-author {
  margin-top: 0.75rem;
  display: inline-block;
  font-weight: 700;
  font-style: normal;
  color: #111e38;
  font-size: 0.9rem;
}

/* FAQ */
.ga-service-faq details {
  background: #ffffff;
  border: 1px solid var(--ga-service-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-top: 0.55rem;
  transition: box-shadow 0.15s ease;
}

.ga-service-faq details[open] {
  box-shadow: 0 4px 16px rgba(26, 40, 79, 0.07);
  border-color: #b8cfe8;
}

.ga-service-faq summary {
  font-weight: 700;
  cursor: pointer;
  color: #111e38;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ga-service-faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ga-service-secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ga-service-faq details[open] summary::after {
  transform: rotate(45deg);
}

.ga-service-faq p {
  margin: 0.62rem 0 0;
  color: var(--ga-service-muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

/* ── RESPONSIVE ───────────────────────────────────── */

@media (max-width: 980px) {
  .ga-service-hero-grid,
  .ga-service-grid-3,
  .ga-service-steps {
    grid-template-columns: 1fr;
  }

  .ga-service-hero {
    padding-top: 3rem;
  }

  .ga-service-form-card {
    position: static;
    top: auto;
  }
}

@media (max-width: 560px) {
  .ga-service-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: normal;
  }

  .ga-service-cta-row {
    flex-direction: column;
    gap: 0.55rem;
  }

  .ga-service-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .ga-service-social-proof-line {
    justify-content: center;
    text-align: center;
  }
}
