:root {
  --lp-primary: #1a2b3c;
  --lp-accent: #2ecc71;
  --lp-bg: #ffffff;
  --lp-muted: #64748b;
  --lp-soft: #f6f7f9;
  --lp-border: #e2e8f0;
}

.lp {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f172a;
}

.lp-container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* =========================
   BASE
   ========================= */
body {
  margin: 0;
}

.wp-site-blocks {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================
   HERO
   ========================= */
.lp-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  padding: 140px 0;
  color: #ffffff;
  text-align: left;
  background-image: url('/wp-content/themes/landing-custom/assets/images/hero.png');
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.35);
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.65) 35%,
      rgba(0, 0, 0, 0.25) 65%,
      rgba(0, 0, 0, 0.08) 100%);
}

.lp-hero .lp-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-left: 8%;
  margin-right: auto;
}

.lp-hero .lp-badge,
.lp-hero .lp-title,
.lp-hero .lp-subtitle {
  position: relative;
  z-index: 2;
}

.lp-hero .lp-badge {
  display: inline-block;
  width: fit-content;
  max-width: max-content;
  white-space: nowrap;
}

.lp-hero .lp-title {
  color: #ffffff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.03;
  margin: 18px 0 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.lp-hero .lp-subtitle {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 26px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  max-width: 56ch;
}

.lp-hero .lp-cta {
  justify-content: flex-start;
  margin-top: 14px;
}

.lp-hero .lp-btn {
  padding: 14px 22px;
  border-radius: 999px;
}

.lp-hero .lp-btn-primary {
  background: rgba(26, 43, 60, 0.92);
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.lp-hero .lp-btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.lp-hero .lp-btn-secondary:hover {
  background: #fff;
  color: #0f172a;
}

/* =========================
   GENERIC
   ========================= */
.lp-badge {
  display: inline-block;
  background: var(--lp-accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lp-title {
  font-size: clamp(34px, 5vw, 56px);
  margin: 18px 0 10px;
  color: var(--lp-primary);
  line-height: 1.05;
}

.lp-subtitle {
  max-width: 70ch;
  margin: 0 auto 22px;
  color: #334155;
  font-size: 1.08rem;
}

.lp-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.lp-btn {
  text-decoration: none;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 12px;
  display: inline-block;
}

.lp-btn-primary {
  background: var(--lp-primary);
  color: #fff;
}

.lp-btn-secondary {
  border: 2px solid var(--lp-primary);
  color: var(--lp-primary);
}

.lp-btn-secondary:hover {
  background: var(--lp-primary);
  color: #fff;
}

.lp-center {
  text-align: center;
  margin-bottom: 18px;
}

.lp-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #2563eb;
}

.lp-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

/* =========================
   HEADER FIXED
   ========================= */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.lp-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.lp-logo {
  height: 60px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.lp-brand:hover .lp-logo {
  transform: scale(1.02);
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lp-nav a {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
  font-weight: 800;
  color: #1f2a44;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lp-nav a:hover {
  color: var(--lp-accent);
  transform: translateY(-1px);
}

.lp-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--lp-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.lp-nav a:hover::after {
  transform: scaleX(1);
}

.lp-nav a.lp-nav-cta::after {
  display: none;
}

.lp-nav-cta {
  padding: 10px 16px;
  border-radius: 12px;
  background: #1f3149;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.lp-lang {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.lp-nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  cursor: pointer;
}

.lp-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
}

/* =========================
   SECTIONS
   ========================= */
.lp-section {
  padding: 64px 0;
  background: var(--lp-bg);
}

.lp-section-alt,
.lp-section-dark {
  position: relative;
  overflow: hidden;
}

.lp-section-dark {
  background:
    linear-gradient(180deg, rgba(10, 31, 62, 0.96), rgba(17, 46, 84, 0.98));
  color: #fff;
}

.lp-section-alt {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.lp-section-dark .lp-container,
.lp-section-alt .lp-container {
  max-width: 980px;
  position: relative;
  z-index: 2;
}

.lp-h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

.lp-h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.lp-p {
  margin: 0;
  color: #334155;
  line-height: 1.75;
}

.lp-p-light {
  color: rgba(255, 255, 255, 0.88);
}

.lp-section-dark .lp-h2,
.lp-section-alt .lp-h2 {
  text-align: center;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.lp-section-dark .lp-h2 {
  color: #fff;
}

.lp-section-alt .lp-h2 {
  color: #0f2440;
}

.lp-section-dark .lp-p,
.lp-section-alt .lp-p {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.9;
}

.lp-section-dark .lp-p {
  color: rgba(255, 255, 255, 0.9);
}

.lp-section-alt .lp-p {
  color: #334155;
}

.lp-section-dark .lp-container::after,
.lp-section-alt .lp-container::after {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin: 24px auto 0;
  background: var(--lp-accent);
  border-radius: 999px;
}

.lp-grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.lp-media {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.lp-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.lp-locations {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.lp-locations li {
  margin: 8px 0;
}

.lp-quote {
  text-align: center;
}

.lp-quote-title {
  margin-top: 24px;
  text-align: center;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  font-style: italic;
  color: #ffffff;
  opacity: 0.96;
}

/* =========================
   VALUE PROPOSITION CARDS
   ========================= */
.lp-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.lp-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
  opacity: 0.95;
}

.lp-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 204, 113, 0.45);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
}

.lp-card .lp-h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--lp-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lp-card .lp-p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  text-align: left;
  margin: 0;
}

/* =========================
   VALUES
   ========================= */
.lp-values {
  padding: 80px 0;
  background: linear-gradient(180deg, #274f86 0%, #2f5b97 100%);
  color: #fff;
}

.lp-values .lp-container {
  max-width: 1120px;
}

.lp-values .lp-h2 {
  color: #fff;
  text-align: center;
  font-size: clamp(34px, 4vw, 50px);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.lp-values .lp-center::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: #63e0c4;
}

.lp-values-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.lp-values-bar>* {
  min-height: 110px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(8, 20, 44, 0.16);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.lp-values-bar>*:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(99, 224, 196, 0.55);
}

.lp-values-bar span,
.lp-values-bar div,
.lp-values-bar p {
  margin: 0;
  padding: 0;
  min-height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: 1.4;
}

/* =========================
   FOUNDERS
   ========================= */
.lp-people {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px;
  margin-top: 34px;
  align-items: start;
}

/* Primera fila: 3 cards */
.lp-people .lp-person:nth-child(1),
.lp-people .lp-person:nth-child(2),
.lp-people .lp-person:nth-child(3) {
  grid-column: span 2;
}

/* Segunda fila: 2 cards centradas */
.lp-people .lp-person:nth-child(4) {
  grid-column: 2 / span 2;
}

.lp-people .lp-person:nth-child(5) {
  grid-column: 4 / span 2;
}

.lp-person {
  position: relative;
  background: #04163d;
  border: none;
  border-radius: 90px 0 90px 0;
  padding: 92px 26px 28px;
  text-align: center;
  overflow: visible;
  box-shadow: 0 20px 44px rgba(4, 22, 61, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  min-height: 420px;
}

.lp-person::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 132px;
  background: #fff;
  border-radius: 999px;
  z-index: 1;
}

.lp-person:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 52px rgba(4, 22, 61, 0.24);
}

.lp-avatar {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: 124px;
  border-radius: 999px;
  object-fit: cover;
  border: 6px solid #0b1d49;
  background: #fff;
  z-index: 2;
  filter: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.28s ease;
}

.lp-person:hover .lp-avatar {
  transform: translateX(-50%) translateY(-4px) scale(1.03);
}

.lp-person-name {
  margin: 18px 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

.lp-person-role {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d8e4ff;
}

.lp-person-bio {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.75;
  max-width: 28ch;
  margin: 0 auto 20px;
}

.lp-person .lp-btn,
.lp-person a.lp-btn,
.lp-person .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #ffffff;
  color: #04163d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  box-shadow: none;
}

/* Tablet */
@media (max-width: 980px) {
  .lp-people {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .lp-people .lp-person:nth-child(1),
  .lp-people .lp-person:nth-child(2),
  .lp-people .lp-person:nth-child(3),
  .lp-people .lp-person:nth-child(4),
  .lp-people .lp-person:nth-child(5) {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .lp-people {
    grid-template-columns: 1fr;
  }

  .lp-person {
    min-height: auto;
  }
}

/* =========================
   FOOTER
   ========================= */
.lp-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.88);
  padding: 44px 0 18px;
  margin-top: 40px;
}

.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.lp-footer-brand::before {
  content: "";
  width: 170px;
  height: 40px;
  display: inline-block;
  background-image: url('/wp-content/themes/landing-custom/assets/images/global_logo_blue_h.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.lp-footer-text {
  margin: 10px 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.72);
}

.lp-footer-links {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.lp-footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.lp-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.lp-footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* =========================
   FOOTER TYPOGRAPHY ALIGN
   ========================= */
.lp-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.88);
  padding: 52px 0 20px;
  margin-top: 40px;
}

.lp-footer,
.lp-footer p,
.lp-footer a,
.lp-footer span,
.lp-footer strong {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.lp-footer-brand::before {
  content: "";
  width: 170px;
  height: 40px;
  display: inline-block;
  background-image: url('/wp-content/themes/landing-custom/assets/images/global_logo_blue_h.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.lp-footer-text {
  margin: 12px 0 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

.lp-footer-links {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.lp-footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: color .2s ease, opacity .2s ease;
}

.lp-footer-links a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.lp-footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.65);
}

/* =========================
   CONTACT FORM
   ========================= */
#contacto .wpforms-container,
#contact .wpforms-container {
  margin-top: 16px;
}

#contacto .wpforms-form,
#contact .wpforms-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

#contacto .wpforms-form input[type="text"],
#contacto .wpforms-form input[type="email"],
#contacto .wpforms-form input[type="tel"],
#contacto .wpforms-form textarea,
#contacto .wpforms-form select,
#contact .wpforms-form input[type="text"],
#contact .wpforms-form input[type="email"],
#contact .wpforms-form input[type="tel"],
#contact .wpforms-form textarea,
#contact .wpforms-form select,
#wpforms-3763-field_8,
#wpforms-3822-field_8 {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 12px 12px !important;
  font-size: 14px !important;
}

#contacto .wpforms-form textarea,
#contact .wpforms-form textarea {
  min-height: 140px !important;
}

#contacto .wpforms-form button[type="submit"],
#contact .wpforms-form button[type="submit"] {
  background: #1a2b3c !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#contacto .wpforms-form button[type="submit"]:hover,
#contact .wpforms-form button[type="submit"]:hover {
  filter: brightness(1.05);
}

/* =========================
   LEGAL PAGES
   ========================= */
.lp-legal {
  padding: 64px 0;
  background: var(--lp-bg);
}

.lp-legal-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.lp-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 18px;
  color: var(--lp-muted);
  font-size: 14px;
}

.lp-legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: #fff;
}

.lp-legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.lp-legal-toc {
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 16px;
  background: var(--lp-soft);
}

.lp-legal-toc h2 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #0f172a;
}

.lp-legal-toc ol {
  margin: 0;
  padding-left: 18px;
}

.lp-legal-toc a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
}

.lp-legal-toc a:hover {
  text-decoration: underline;
}

.lp-legal h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: var(--lp-primary);
}

.lp-legal h2 {
  font-size: 20px;
  margin: 22px 0 10px;
  color: #0f172a;
}

.lp-legal h3 {
  font-size: 16px;
  margin: 18px 0 8px;
  color: #0f172a;
}

.lp-legal p,
.lp-legal li {
  color: #334155;
  line-height: 1.75;
  font-size: 15px;
}

.lp-legal ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.lp-legal a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-legal .lp-legal-divider {
  height: 1px;
  background: var(--lp-border);
  margin: 18px 0;
}

.lp-legal-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 14px;
  color: #1e3a8a;
}

.lp-legal-note strong {
  color: #1e3a8a;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px) {
  .lp-grid-3 {
    grid-template-columns: 1fr;
  }

  .lp-grid-2 {
    grid-template-columns: 1fr;
  }

  .lp-img {
    height: 260px;
  }

  .lp-people {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .lp-values-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-section .lp-h2,
  .lp-section .lp-p,
  .lp-section .lp-subtitle,
  .lp-section .lp-locations {
    text-align: center;
  }

  .lp-section .lp-locations {
    list-style: none;
    padding-left: 0;
  }

  .lp-section .lp-container {
    text-align: center;
  }

  .lp-hero,
  .lp-hero .lp-container {
    text-align: left;
  }
}

@media (max-width: 920px) {
  .lp-logo {
    height: 46px;
  }

  .lp-header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .lp-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .lp-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--lp-border);
  }

  .lp-header.is-open .lp-nav {
    display: flex;
  }

  .lp-nav a {
    display: block;
    width: 100%;
    padding: 10px 6px;
    font-size: 15px;
  }

  .lp-nav a.lp-nav-cta {
    width: auto !important;
    display: inline-flex !important;
    background: transparent !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 6px !important;
    box-shadow: none !important;
    font-weight: 700;
  }

  .lp-nav .lp-lang {
    width: auto !important;
    display: inline-flex !important;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .lp-hero {
    min-height: 86vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .lp-hero .lp-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 0 22px 30px !important;
  }

  .lp-hero .lp-cta {
    display: none !important;
  }

  .lp-hero .lp-title {
    font-size: 2.05rem !important;
    line-height: 1.12 !important;
  }

  .lp-hero .lp-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    max-width: 42ch !important;
  }
}

@media (max-width: 640px) {
  .lp-people {
    grid-template-columns: 1fr;
  }

  .lp-person {
    min-height: auto;
  }

  .lp-values-bar {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 980px) {
  .lp-legal-grid {
    grid-template-columns: 0.38fr 0.62fr;
    align-items: start;
  }

  .lp-legal-toc {
    position: sticky;
    top: 88px;
  }
}

/* =========================================
   PURPOSE / VISION PARALLAX FEEL
   ========================================= */

/* Base compartida */
.lp-section-dark,
.lp-section-alt {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- PURPOSE ---------- */
.lp-section-dark {
  background:
    linear-gradient(180deg, rgba(7, 27, 55, 0.86), rgba(10, 33, 67, 0.90)),
    url('/wp-content/themes/landing-custom/assets/images/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Capa decorativa */
.lp-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(46, 204, 113, 0.12), transparent 24%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 45%);
  pointer-events: none;
}

/* Contenido encima */
.lp-section-dark .lp-container {
  position: relative;
  z-index: 2;
  padding: 28px 0;
}

/* ---------- VISION ---------- */
.lp-section-alt {
  background:
    linear-gradient(180deg, rgba(246, 249, 252, 0.94), rgba(233, 240, 247, 0.96)),
    url('/wp-content/themes/landing-custom/assets/images/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.lp-section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(46, 204, 113, 0.10), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(26, 43, 60, 0.06), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}

.lp-section-alt .lp-container {
  position: relative;
  z-index: 2;
  padding: 28px 0;
}

/* ---------- texto con más presencia ---------- */
.lp-section-dark .lp-h2,
.lp-section-alt .lp-h2 {
  position: relative;
  z-index: 2;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.lp-section-dark .lp-p,
.lp-section-alt .lp-p {
  position: relative;
  z-index: 2;
}

.lp-section-dark .lp-container::after,
.lp-section-alt .lp-container::after {
  position: relative;
  z-index: 2;
}

/* ---------- tarjeta interior opcional para destacar contenido ---------- */
.lp-section-dark .lp-container,
.lp-section-alt .lp-container {
  border-radius: 24px;
}

.lp-section-dark .lp-container {
  background: rgba(8, 24, 48, 0.20);
  backdrop-filter: blur(2px);
}

.lp-section-alt .lp-container {
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(2px);
}

/* ---------- ajuste mobile/tablet ---------- */
@media (max-width: 980px) {

  .lp-section-dark,
  .lp-section-alt {
    background-attachment: scroll;
  }

  .lp-section-dark .lp-container,
  .lp-section-alt .lp-container {
    padding: 12px 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }
}
@media (max-width: 920px) {
  .lp-logo {
    height: 46px;
  }

  body {
    padding-top: 78px;
  }

  .lp-header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .lp-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .lp-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--lp-border);
  }

  .lp-header.is-open .lp-nav {
    display: flex;
  }

  .lp-nav a {
    display: block;
    width: 100%;
    padding: 10px 6px;
    font-size: 15px;
  }

  .lp-nav a.lp-nav-cta {
    width: auto !important;
    display: inline-flex !important;
    background: transparent !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 6px !important;
    box-shadow: none !important;
    font-weight: 700;
  }

  .lp-nav .lp-lang {
    width: auto !important;
    display: inline-flex !important;
    margin-top: 8px;
  }
}

/* =========================================
   OVERRIDES FINAL: PURPOSE / VISION / VALUES
   ========================================= */

/* ---------- PURPOSE + VISION ---------- */
.lp-section-dark,
.lp-section-alt {
  padding: 88px 0 !important;
  position: relative;
  overflow: hidden;
}

.lp-section-dark {
  background:
    linear-gradient(180deg, rgba(6, 24, 52, 0.86), rgba(8, 30, 64, 0.90)),
    url('/wp-content/themes/landing-custom/assets/images/hero.png') center/cover no-repeat !important;
}

.lp-section-alt {
  background:
    linear-gradient(180deg, rgba(246, 249, 252, 0.94), rgba(236, 242, 248, 0.96)),
    url('/wp-content/themes/landing-custom/assets/images/hero.png') center/cover no-repeat !important;
}

/* capa decorativa */
.lp-section-dark::before,
.lp-section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-section-dark::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(46, 204, 113, 0.10), transparent 22%),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.08), transparent 20%);
}

.lp-section-alt::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(46, 204, 113, 0.08), transparent 22%),
    radial-gradient(circle at 84% 70%, rgba(26, 43, 60, 0.06), transparent 18%);
}

/* panel central */
.lp-section-dark .lp-container,
.lp-section-alt .lp-container {
  max-width: 980px !important;
  position: relative;
  z-index: 2;
  padding: 44px 48px !important;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.lp-section-dark .lp-container {
  background: rgba(6, 22, 47, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lp-section-alt .lp-container {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* títulos */
.lp-section-dark .lp-h2,
.lp-section-alt .lp-h2 {
  font-size: clamp(38px, 4vw, 56px) !important;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px !important;
  text-align: center !important;
}

.lp-section-dark .lp-h2 {
  color: #fff !important;
}

.lp-section-alt .lp-h2 {
  color: #0f2440 !important;
}

/* párrafos */
.lp-section-dark .lp-p,
.lp-section-alt .lp-p {
  max-width: 860px;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: 1.06rem !important;
  line-height: 1.9 !important;
}

.lp-section-dark .lp-p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.lp-section-alt .lp-p {
  color: #334155 !important;
}

/* cita */
.lp-quote-title {
  margin-top: 28px !important;
  text-align: center !important;
  font-size: clamp(28px, 3vw, 46px) !important;
  line-height: 1.3 !important;
  font-style: italic;
  color: #ffffff !important;
  max-width: 18ch;
  margin-left: auto !important;
  margin-right: auto !important;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* línea decorativa */
.lp-section-dark .lp-container::after,
.lp-section-alt .lp-container::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin: 28px auto 0 !important;
  border-radius: 999px;
  background: var(--lp-accent);
}

/* ---------- VALUES ---------- */
.lp-values {
  padding: 92px 0 !important;
  background:
    radial-gradient(circle at top left, rgba(99, 224, 196, 0.08), transparent 25%),
    linear-gradient(180deg, #2f5b97 0%, #294f84 100%) !important;
  color: #fff;
}

.lp-values .lp-container {
  max-width: 1120px !important;
}

.lp-values .lp-center {
  margin-bottom: 28px !important;
}

.lp-values .lp-h2 {
  color: #fff !important;
  text-align: center !important;
  font-size: clamp(38px, 4vw, 54px) !important;
  letter-spacing: -0.03em;
  margin-bottom: 12px !important;
}

.lp-values .lp-center::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: #63e0c4;
}

/* cambiar de grid rígido a layout más elegante */
.lp-values-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 18px !important;
  margin-top: 34px !important;
}

/* tarjetas de valores */
.lp-values-bar > * {
  flex: 1 1 180px;
  max-width: 200px;
  min-height: 128px !important;
  padding: 22px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.10) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 16px 30px rgba(8, 20, 44, 0.16) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease !important;
  position: relative;
  overflow: hidden;
}

/* pequeña barra superior */
.lp-values-bar > *::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(99, 224, 196, 0.9);
}

/* texto de cada valor */
.lp-values-bar span,
.lp-values-bar div,
.lp-values-bar p {
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1.35 !important;
}

/* hover */
.lp-values-bar > *:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(99, 224, 196, 0.55) !important;
}

/* tamaños responsive */
@media (max-width: 980px) {
  .lp-section-dark,
  .lp-section-alt,
  .lp-values {
    padding: 72px 0 !important;
  }

  .lp-section-dark .lp-container,
  .lp-section-alt .lp-container {
    padding: 34px 24px !important;
    border-radius: 22px;
  }

  .lp-section-dark .lp-h2,
  .lp-section-alt .lp-h2,
  .lp-values .lp-h2 {
    font-size: clamp(32px, 8vw, 44px) !important;
  }

  .lp-section-dark .lp-p,
  .lp-section-alt .lp-p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
  }

  .lp-values-bar > * {
    flex: 1 1 calc(50% - 18px);
    max-width: none;
  }
}

@media (max-width: 640px) {
  .lp-section-dark .lp-container,
  .lp-section-alt .lp-container {
    padding: 28px 18px !important;
  }

  .lp-values-bar {
    gap: 14px !important;
  }

  .lp-values-bar > * {
    flex: 1 1 100%;
    min-height: 96px !important;
    padding: 18px 16px !important;
  }

  .lp-values-bar span,
  .lp-values-bar div,
  .lp-values-bar p {
    font-size: 14px !important;
  }
}


/* =========================================
   FIX FINAL: VALUES + CONTACT ALIGN
   ========================================= */

/* -------- VALUES: más limpio, menos forzado -------- */
.lp-values {
  padding: 84px 0 !important;
  background: linear-gradient(180deg, #2f5b97 0%, #294f84 100%) !important;
}

.lp-values .lp-center {
  text-align: center !important;
  margin-bottom: 26px !important;
}

.lp-values .lp-h2 {
  color: #fff !important;
  text-align: center !important;
  font-size: clamp(38px, 4vw, 52px) !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.03em !important;
}

.lp-values .lp-center::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: #63e0c4;
}

.lp-values-bar {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(160px, 1fr)) !important;
  gap: 18px !important;
  margin-top: 34px !important;
  justify-content: center !important;
}

.lp-values-bar > * {
  min-height: 96px !important;
  padding: 18px 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease !important;
  position: relative;
}

.lp-values-bar > *::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(99, 224, 196, 0.95);
}

.lp-values-bar > *:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(99, 224, 196, 0.45) !important;
}

.lp-values-bar span,
.lp-values-bar div,
.lp-values-bar p {
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1.35 !important;
}

@media (max-width: 980px) {
  .lp-values-bar {
    grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .lp-values-bar {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================
   VALUES REDESIGN FINAL
   ========================================= */
.lp-values {
  padding: 92px 0 !important;
  background:
    radial-gradient(circle at top left, rgba(99, 224, 196, 0.07), transparent 24%),
    linear-gradient(180deg, #2f5b97 0%, #294f84 100%) !important;
  color: #fff;
}

.lp-values .lp-container {
  max-width: 1140px !important;
}

.lp-values .lp-center {
  text-align: center !important;
  margin-bottom: 34px !important;
}

.lp-values .lp-h2 {
  color: #fff !important;
  text-align: center !important;
  font-size: clamp(38px, 4vw, 54px) !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.03em !important;
}

.lp-values .lp-center::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: #63e0c4;
}

.lp-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: stretch;
}

.lp-value-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 18px 34px rgba(8, 20, 44, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease;
  overflow: hidden;
}

.lp-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 999px;
  background: rgba(99, 224, 196, 0.95);
}

.lp-value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(99, 224, 196, 0.45);
  box-shadow: 0 24px 40px rgba(8, 20, 44, 0.22);
}

.lp-value-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 28px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.lp-value-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lp-value-text {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 14px;
  line-height: 1.65;
}

/* Tablet */
@media (max-width: 1100px) {
  .lp-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .lp-values {
    padding: 72px 0 !important;
  }

  .lp-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .lp-value-card {
    padding: 24px 16px 20px;
    border-radius: 18px;
  }

  .lp-value-title {
    font-size: 16px;
  }

  .lp-value-text {
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .lp-values-grid {
    grid-template-columns: 1fr;
  }
}

/* -------- CONTACT: evitar que se centre todo -------- */
#contacto,
#contact,
#contacto .lp-container,
#contact .lp-container,
#contacto .wpforms-container,
#contact .wpforms-container,
#contacto .wpforms-form,
#contact .wpforms-form {
  text-align: left !important;
}

#contacto .lp-h2,
#contact .lp-h2,
#contacto .lp-h3,
#contact .lp-h3,
#contacto .lp-p,
#contact .lp-p,
#contacto .lp-subtitle,
#contact .lp-subtitle,
#contacto label,
#contact label,
#contacto .wpforms-field-label,
#contact .wpforms-field-label {
  text-align: left !important;
}

#contacto .lp-center,
#contact .lp-center {
  text-align: left !important;
  margin-bottom: 18px !important;
}

#contacto .lp-center::after,
#contact .lp-center::after {
  display: none !important;
}

#contacto .wpforms-container,
#contact .wpforms-container {
  margin: 20px 0 0 !important;
  max-width: 760px;
}

#contacto .wpforms-form,
#contact .wpforms-form {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html,
body {
  overflow-x: hidden;
}

body {
  padding-top: 88px;
}

.wp-site-blocks,
.site,
.site-content,
.wp-site-blocks>* {
  overflow: visible;
}


#wpforms-3763-field_8,
#wpforms-3822-field_8 {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 12px 12px !important;
  font-size: 14px !important;
}
