/* LGS Servicios Gutenberg */
.lgs-home {
  --lgs-navy: #1f2937;
  --lgs-blue: #2563eb;
  --lgs-gray: #4b5563;
  --lgs-white: #ffffff;
  --lgs-bg-soft: #f8fafc;
  --lgs-bg-muted: #f1f5f9;
  --lgs-border: #e2e8f0;
  color: var(--lgs-navy);
}

.lgs-home .lgs-section {
  padding: 76px 0;
}

.lgs-home .lgs-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.lgs-home .lgs-max-text {
  max-width: 860px;
}

.lgs-home .lgs-eyebrow,
.editor-styles-wrapper .lgs-home .lgs-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lgs-home .lgs-h1,
.editor-styles-wrapper .lgs-home .lgs-h1 {
  margin: 0 0 24px;
  color: var(--lgs-navy);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 850;
}

.lgs-home .lgs-h2,
.editor-styles-wrapper .lgs-home .lgs-h2 {
  margin: 0 0 18px;
  color: var(--lgs-navy);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 850;
}

.lgs-home .lgs-text-lg,
.editor-styles-wrapper .lgs-home .lgs-text-lg {
  margin: 0;
  color: var(--lgs-gray);
  font-size: 20px;
  line-height: 1.7;
}

.lgs-home .lgs-text-md,
.editor-styles-wrapper .lgs-home .lgs-text-md {
  margin: 0;
  color: var(--lgs-gray);
  font-size: 17px;
  line-height: 1.7;
}

.lgs-home .lgs-kicker,
.editor-styles-wrapper .lgs-home .lgs-kicker {
  margin: 0 0 12px;
  color: var(--lgs-blue);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lgs-home .lgs-services-hero {
  background: var(--lgs-bg-soft);
  border-bottom: 1px solid var(--lgs-border);
}

.lgs-home .lgs-services-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.lgs-home .lgs-service-feature {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lgs-border);
  border-radius: 14px;
  background: var(--lgs-white);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.lgs-home .lgs-service-feature-image {
  width: 100%;
  height: 280px;
  margin: 0;
  overflow: hidden;
  background: var(--lgs-bg-muted);
}

.lgs-home .lgs-service-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lgs-home .lgs-service-feature-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lgs-home .lgs-service-feature-content .lgs-text-md {
  flex: 1;
}

.lgs-home .lgs-service-list,
.editor-styles-wrapper .lgs-home .lgs-service-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.lgs-home .lgs-service-list li,
.editor-styles-wrapper .lgs-home .lgs-service-list li {
  position: relative;
  padding-left: 24px;
  color: var(--lgs-gray);
  font-size: 16px;
  line-height: 1.5;
}

.lgs-home .lgs-service-list li::before,
.editor-styles-wrapper .lgs-home .lgs-service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lgs-blue);
  font-weight: 800;
}

.lgs-home .wp-block-buttons {
  margin-top: auto;
}

.lgs-home .wp-block-button.lgs-btn .wp-block-button__link,
.lgs-home a.lgs-btn,
.editor-styles-wrapper .lgs-home .wp-block-button.lgs-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lgs-home .wp-block-button.lgs-btn-primary .wp-block-button__link,
.editor-styles-wrapper .lgs-home .wp-block-button.lgs-btn-primary .wp-block-button__link {
  background: var(--lgs-navy);
  color: #ffffff;
}

.lgs-home .wp-block-button.lgs-btn-blue .wp-block-button__link,
.editor-styles-wrapper .lgs-home .wp-block-button.lgs-btn-blue .wp-block-button__link {
  background: var(--lgs-blue);
  color: #ffffff;
}

.lgs-home .wp-block-button.lgs-btn-white .wp-block-button__link,
.editor-styles-wrapper .lgs-home .wp-block-button.lgs-btn-white .wp-block-button__link {
  background: #ffffff;
  color: var(--lgs-navy);
}

.lgs-home .wp-block-button.lgs-btn .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.lgs-home .lgs-services-cta-box {
  padding: 64px 40px;
  border-radius: 14px;
  background: var(--lgs-navy);
  color: var(--lgs-white);
  text-align: center;
}

.lgs-home .lgs-services-cta-box .lgs-h2,
.lgs-home .lgs-services-cta-box h2,
.editor-styles-wrapper .lgs-home .lgs-services-cta-box .lgs-h2,
.editor-styles-wrapper .lgs-home .lgs-services-cta-box h2 {
  color: #ffffff !important;
}

.lgs-home .lgs-services-cta-box .lgs-text-lg,
.lgs-home .lgs-services-cta-box p,
.editor-styles-wrapper .lgs-home .lgs-services-cta-box .lgs-text-lg,
.editor-styles-wrapper .lgs-home .lgs-services-cta-box p {
  color: #cbd5e1 !important;
}

.lgs-home .lgs-services-cta-box .lgs-text-lg {
  max-width: 720px;
  margin: 0 auto 30px;
}

.lgs-home .lgs-services-cta-box .lgs-buttons {
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .lgs-home .lgs-section {
    padding: 54px 0;
  }

  .lgs-home .lgs-container {
    width: min(100% - 28px, 1180px);
  }

  .lgs-home .lgs-services-main-grid {
    grid-template-columns: 1fr;
  }

  .lgs-home .lgs-service-feature-image {
    height: 230px;
  }

  .lgs-home .lgs-service-feature-content {
    padding: 26px;
  }

  .lgs-home .lgs-services-cta-box {
    padding: 30px;
  }
}
